I'm trying to make a set of titular kingdoms exclusive to one another but have hit a roadblock; namely that I can't exclude k_something if it hasn't been defined yet. For example:
Code:k_sardinia = { color={ 170 200 170 } capital = 326 # Cagliari culture = italian allow = { culture = italian religion = catholic NOT = { has_landed_title = k_italy has_landed_title = k_lucca has_landed_title = k_marino has_landed_title = k_venice has_landed_title = k_tuscany has_landed_title = k_genoa has_landed_title = e_hre } } }
Which comes above all on the list but e_hre and k_italy. This results in it only recognizing those 2. Now I could move it to below the ones in question, but I'd like to make the all the titles in that list mutually exclusive TO EACH OTHER for in-game creation (for example, you can't make the Kingdom of Sardinia, if you are already the king of venice and vice-versa). Anyone got any ideas on how to work around this?
AFAIK you can only create a titular kingdom if you don't have a kingdom title already. So it should not be an issue. You can also put always = no in the allow scope (which makes it so that the titles cannot be created in the usual way) and make events to create these titular titles.