Not entirely sure whether this is intended behavior or not, but I thought I'd report it just in case. It appears that any completed culture-specific buildings (i.e., longbow range, schiltron, heavy infantry camp, horse breeders, lists, fast horse breeders, pike formations, or armories) will disappear entirely if the province's rulership changes to a different culture, and have to be rebuilt if the culture changes back.
Arguably, this makes sense for a hostile takeover by a different culture - but when a legitimate heir happens to grow up as a different culture by one of the myriad mechanisms this can happen in the game, it's a little counterintuitive that the national military buildings would be immediately razed to the ground when he takes over. Particularly if the different culture is only in charge large enough for the kid's guardian to tutor him back to Italian.
Anyway. Intended? Not?
If it's not intended (or, perhaps, if the peaceful succession of a different culture was not considered), I would tentatively suggest that perhaps the potential for the building should depend on the province culture, and that allowing it to be built should require the ruler culture to match. If I understand the code correctly, that would then allow the unique buildings to remain in place when ruling culture changes, waiting for a switch back - but, if the new ruling culture actually takes hold in the province, the institutions of the old would naturally go away.
edit: To that end, the following code appears to work fairly nicely.
While I haven't directly verified it, the province modifier check should serve to demolish the buildings if another culture group forcibly conquers the territory.
Arguably, this makes sense for a hostile takeover by a different culture - but when a legitimate heir happens to grow up as a different culture by one of the myriad mechanisms this can happen in the game, it's a little counterintuitive that the national military buildings would be immediately razed to the ground when he takes over. Particularly if the different culture is only in charge large enough for the kid's guardian to tutor him back to Italian.
Anyway. Intended? Not?
If it's not intended (or, perhaps, if the peaceful succession of a different culture was not considered), I would tentatively suggest that perhaps the potential for the building should depend on the province culture, and that allowing it to be built should require the ruler culture to match. If I understand the code correctly, that would then allow the unique buildings to remain in place when ruling culture changes, waiting for a switch back - but, if the new ruling culture actually takes hold in the province, the institutions of the old would naturally go away.
edit: To that end, the following code appears to work fairly nicely.
Code:
potential = {
OR = {
culture = (culture 1)
culture = (culture 2)
...
}
NOT = { has_province_modifier = occupied_different_culturegroup }
}
trigger = {
FROM = {
culture = PREV
}
(other triggers if necessary for the higher-level buildings)
}
Last edited:
Upvote
0