I looked into vanilla files to check cordoba (k_andalusia.txt) and see how they set their unique buildings.Still doesn't work, I'm afraid. The province history file is like this, as well:
70 = { #LUND culture = norse religion = norse_pagan holding = tribal_holding special_building = uppakra_temple_01 965.1.1 = { culture = danish religion = catholic } 1020.1.1 = { holding = castle_holding } 1066.1.1 = { buildings = { common_tradeport_01 cereal_fields_01 pastures_01 } } }
However, I have this idea to separate the building from the other modifications that I've done on my personal mod. If it still crashes even if the building is a separate mod, I'm gonna take a guess and assume there's something up for me with the game.
UPDATE: Still crashes. Gonna try and verify the game files.
UPDATE 2: No luck there, either. I've run out of ideas for now.
Code:
1995 = { # CORDOBA
# Misc
culture = visigothic
religion = catholic
holding = castle_holding
# History
800.1.1 = { culture = andalusian }
812.1.1 = { religion = muwalladi }
867.1.1 = {
special_building_slot = holy_site_great_mosque_of_cordoba_01
special_building = holy_site_great_mosque_of_cordoba_01
}
<...>
}
------
I have two questions of my own.
1) CK2 had dynamic flags (flag@char_id). Is there any such equivalent in CK3?
2) is there any way to attach a multi-property (at least two) data object to a character in CK3? For example, if I want to attach a permanent variable to a character that holds a numerical value and a character value to, for example, add a loyalty/admiration/envy/whatever mechanic? Or, for example, to add a variable that stores a title and a numerical value representing how much a character desires it, so we can have storylines revolving around rulers deliberately aiming towards certain titles for personal reasons (reclaim ancestral lands, etc.)
-addendum to question 2: CK2 didn't have anything of those sorts as far as I'm aware. My workaround was to create an object which would store the required data/properties as permanent_event_targets (equivalent to CK3's variables, if I understand them correctly). And while I'm pretty pretty sure I can do the same thing in CK3, it makes the code very unwieldy, to say nothing of the impact adding hundreds of artifacts on game performance. So i'm curious if there're better options
Last edited: