• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
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.
 
You definitely can make titular titles while you already have one (the only reason I noticed that it didn't work like that was I tested and it and saw it still there). Events are a really obtuse way of having to get around it, so I guess I'll have to just place them in order of which is more likely to get made. Was mostly just to clean the UI up for more congested title areas (like in my mod England has quite a few). Thanks for the idea though :)
 
I tried doing the same with various italian kingdoms and unfortunately right now it doesn't seem possible, but the modding petition has it listed as one of the things that would make modding easier for us. You could sign that petition I guess, hopefully it'll get the developers attention.
 
I don't like this My Documents directory one bit, I wish it were all in one place :(

But thank you! :D

you can move it by creating a text file in your CK folder named userdir.txt.
you can define in it where you want to move the folder. if you put only one dot "." in it, it will use your CK2 folder ; this can make some mods don't loading.

Another quick question: Is it possible to change the percentage of counties needed to create/usurp a title (i.e. from 50% to 51%)?
nope but you can play individually for specific titles with the creation requirements (has_landed_titles = d_XXX) works with any title requirements except county level title.
 
Can rivers have more than one source (green pixel) ?
Also, what do the yellow pixels mean? I've only noticed them in the nile delta.


1. you don't need more than one for a group of connected rivers. it permits the determination of the direction of the flow : spring >> mouth of the river.
2. yellow dot is to split rivers (to make a delta f.e.) - I think you cannot join it again later (to make an island in the rivers f.e.). Rhône and Rhine rivers also uses this yellow pixel.
 
1. you don't need more than one for a group of connected rivers. it permits the determination of the direction of the flow : spring >> mouth of the river.
2. yellow dot is to split rivers (to make a delta f.e.) - I think you cannot join it again later (to make an island in the rivers f.e.). Rhône and Rhine rivers also uses this yellow pixel.

Thanks for the info :)
 
you can move it by creating a text file in your CK folder named userdir.txt.
you can define in it where you want to move the folder. if you put only one dot "." in it, it will use your CK2 folder ; this can make some mods don't loading..

thanks for the info! I'll probably just learn to live with it, though, don't want to risk messing with mods.

I would do:

Code:
any_demesne_province = { limit = { OR = { province_id = 235 #Lombardia province_id = X [add every province ID this way that you want] } } }

This is the nasty, rough way to do it, but since you are focusing on k_italy, then you could limit it to important provinces like Lombardia, Genoa, Rome, or Tuscany. I've spent many hours with triggers like this, and I know it's a pain, but it is the way to get what you want. Or at least it should work.

I'd thought of this, the only problem is now with assimilation, since I want to do this with all kingdoms and duchies; for example if Duchy of Burgundy is assimilated into the K. of France, I would want the King of France to be able to form D. Burgundy w/o needing the provinces. This is why I was trying to use de_jure_liege

Upon experimenting and looking at some events, though, it appears de_jure_liege refers to a character being the de jure liege of another character... :( is there no way to determine in code if a title is the de jure liege title of a province (or another title)?

If not I guess I will have to do the provinces... not a terrible compromise I guess...
 
I have very little modding experience but I wanted to make it so any culture could instate true cognatic succession. It seems like it ought to be a simple fix but thus far my attempts have been unsuccessful. Can anyone tell me what needs to be added/removed to make this happen?
 
Just a quick question. Does the 'tier = baron' line mean that only baronies are effected within provincial events? The validator tells me that the line 'has_siege = yes' is invalid. I'm pretty sure it is not however what line should then be used to set the state of the event to be during a siege? Thanks.
 
Last edited:
I have very little modding experience but I wanted to make it so any culture could instate true cognatic succession. It seems like it ought to be a simple fix but thus far my attempts have been unsuccessful. Can anyone tell me what needs to be added/removed to make this happen?

in \crusader kings ii\decisions\succession_laws.txt

Code:
true_cognatic_succession = {
		male_dynasty_opinion = -10
		
		potential = {
			OR = {
				is_landless_type_title = no
				title = e_golden_horde
				title = e_il-khanate
				title = e_timurids
			}
			
			OR = {
				AND = {
					tier = baron
					is_feudal = yes
				}
				holder_scope = { is_feudal = yes }
			}
			
			is_primary_type_title = no
			NOT = { holder_scope = { religion_group = muslim }  }
		}
		allow = {
			[B][U]holder_scope = { culture = basque }[/U][/B]
		}
		effect = {
			gender_succ = true_cognatic
		}
		revoke_allowed = {
			always = no
		}			
	}
}

replace bolded and underlined with

Code:
always = yes
 
Last edited:
I have very little modding experience but I wanted to make it so any culture could instate true cognatic succession. It seems like it ought to be a simple fix but thus far my attempts have been unsuccessful. Can anyone tell me what needs to be added/removed to make this happen?
in decisions/succession_laws.txt, in the brackets of true_cognatic_succession, delete "allow={...}". Since the culture restriction is the only thing there, I think you shouldn't need it.
 
Last edited:
What would the code look like to restrict a titular kingdom title from being made by someone who already has (any) other king title?

Using this as an example:

Code:
k_austria = {
	color = { 0 255 238 }
	capital = 449 # Osterreich
	culture = german
	allow = {
		culture = german
		religion_group = christian
	}
	
	title_prefix = "ARCHDUKE_OF"
	title = "ARCHDUKE"
}

Additionally, is there anyway to make Republics form king tier titles? They seem to not do it (even when I define a republic only title for them) and they have all the conditions met. Is there something I need to include in the definition?
 
I am having more trouble with my title creation/usurp restrictions, and this one makes no sense, because it works for some titles but not others, let me show you:
Code:
	# Creation/usurpation trigger
	allow = {
		religion_group = christian
		OR = {
			NOT = { tier = EMPEROR }
			any_demesne_province = {
				limit = {
					OR = {
						province_id = 112 #Paris
						province_id = 138 #Orleans
					}
				}
			}
		}
	}

This works just fine for France and Burgundy.

However, for Aquitaine, Aragon, Navarra and others:

Code:
	# Creation/usurpation trigger
	allow = {
		religion_group = christian
		OR = {
			NOT = { tier = EMPEROR }
			any_demesne_province = {
				limit = {
					OR = {
						province_id = 149 #Bordeaux
						province_id = 214 #Toulouse
						province_id = 141 #Poitiers
					}
				}
			}
		}
	}

I get an invalid "Barony of }" and the kingdom disappears from the game, though its color on the de jure map is still there

baronyof.jpg


No, there are no extra brackets or unclosed brackets anywhere. This doesn't make any sense.

Entire section of landed_titles for france, aquitaine, and aragon:

Code:
k_france = {
	color={ 15 27 187 }
	color2={ 255 255 20 }
	capital = 112 # Ile de France
	dignity = 20 # Counted as having this many more counties than it does
	
	culture = frankish
	
	catholic = 700 # Crusade target weight
	
	d_berry = {
		color={ 24 52 226 }
		color2={ 255 255 255 }
		
		c_tourraine = {
			color={ 27 55 229 }
			color2={ 255 255 255 }
			
			b_chinon = {
			}
			b_tours = {
			}
			b_beaulieu = {
			}
			b_amboise = {
			}
			b_loches = {
			}
			b_langeais = {
			}
			b_fierbois = {
			}
			b_montbazon = {
			}
		}
		c_bourges = {
			color={ 30 58 232 }
			color2={ 255 255 255 }
			
			b_chateauroux = {
			}
			b_deols = {
			}
			b_bourges = {
			}
			b_issoudun = {
			}
			b_stsatur = {
			}
			b_sancerre = {
			}
			b_mehun = {
			}
			b_vierzon = {
			}
		}
	}
	d_anjou = {
		color={ 43 24 226 }
		color2={ 255 255 255 }
		
		c_anjou = {
			color={ 45 26 228 }
			color2={ 255 255 255 }
			
			b_vihiers = {
			}
			b_angers = {
			}
			b_fontevraud = {
			}
			b_saumur = {
			}
			b_montsoreau = {
			}
			b_cholet = {
			}
			b_treves = {
			}
			b_chateaugontier = {
			}
		}
		c_maine = {
			color={ 49 30 232 }
			color2={ 255 255 255 }
			
			b_le_mans = {
			}
			b_beaumont = {
			}
			b_evron = {
			}
			b_mayenne = {
			}
			b_laval = {
			}
			b_sable = {
			}
			b_craon = {
			}
			b_montenay = {
			}
		}
	}
	d_normandy = {
		color={ 71 24 226 }
		color2={ 255 255 255 }
		
		culture = norman
		
		c_evreux = {
			color={ 74 27 229 }
			color2={ 255 255 255 }
			
			b_evreux = {
			}
			b_falaise = {
			}
			b_lisieux = {
			}
			b_alencon = {
			}
			b_argentan = {
			}
			b_sees = {
			}
			b_verneuil = {
			}
			b_honfleur = {
			}
		}
		c_avranches = {
			color={ 77 30 232 }
			color2={ 255 255 255 }
			
			b_caen = {
			}
			b_coutances = {
			}
			b_bayeux = {
			}
			b_avranches = {
			}
			b_mortain = {
			}
			b_domfront = {
			}
			b_barfleur = {
			}
			b_cherbourg = {
			}
		}
		c_vexin = {
			color={ 80 33 235 }
			color2={ 255 255 255 }
			
			b_larocheguyon = {
			}
			b_mantes = {
			}
			b_pontoise = {
			}
			b_harcourt = {
			}
			b_gisors = {
			}
			b_andely = {
			}
			b_ivry = {
			}
			b_abbayedemortemer = {
			}
		}
		c_arques = {
			color={ 83 36 238 }
			color2={ 255 255 255 }
			
			b_fecamp = {
			}
			b_rouen = {
			}
			b_lillebonne = {
			}
			b_harfleur = {
			}
			b_arques = {
			}
			b_dieppe = {
			}
			b_jumieges = {
			}
			b_longueville = {
			}
		}
		c_eu = {
			color={ 86 39 241 }
			color2={ 255 255 255 }
			
			b_eu = {
			}
			b_mortemer = {
			}
			b_gournay = {
			}
			b_aumale = {
			}
			b_forges = {
			}
			b_drincourt = {
			}
			b_neufchatel-en-bray = {
			}
			b_serqueux = {
			}
		}
	}
	d_orleans = {
		color={ 126 124 226 }
		color2={ 255 255 255 }
		
		c_orleans = {
			color={ 94 32 234 }
			color2={ 255 255 255 }
			
			b_gien = {
			}
			b_orleans = {
			}
			b_fleury = {
			}
			b_lepuiset = {
			}
			b_sully = {
			}
			b_meung = {
			}
			b_janville = {
			}
			b_jargeau = {
			}
		}
		c_blois = {
			color={ 90 28 230 }
			color2={ 255 255 255 }
			
			b_beaugency = {
			}
			b_blois = {
			}
			b_staignan = {
			}
			b_chaumontsurloire = {
			}
			b_montrichard = {
			}
			b_fougeressurbievre = {
			}
			b_romorantin = {
			}
			b_stgeorgesdubois = {
			}
		}
		c_vendome = {
			color={ 47 28 230 }
			color2={ 255 255 255 }
			
			b_lavardin = {
			}
			b_vendome = {
			}
			b_cloyes = {
			}
			b_freteval = {
			}
			b_chateaurenault = {
			}
			b_montoire = {
			}
			b_montmirail = {
			}
			b_stavit = {
			}
		}
		c_chartres = {
			color={ 98 36 238 }
			color2={ 255 255 255 }
			
			b_chateaudun = {
			}
			b_chartres = {
			}
			b_dreux = {
			}
			b_nogent = {
			}
			b_gallardon = {
			}
			b_epernon = {
			}
			b_bonneval = {
			}
			b_tiron = {
			}
		}
	}
	d_champagne = {
		color={ 95 24 226 }
		color2={ 255 255 255 }
		
		c_troyes = {
			color={ 99 28 230 }
			color2={ 255 255 255 }
			
			b_brienne = {
			}
			b_troyes = {
			}
			b_langres = {
			}
			b_chaumont = {
			}
			b_clairvaux = {
			}
			b_rosnay = {
			} 
			b_joinville = {
			}
			b_chacenay = {
			}
		}
		c_reims = {
			color={ 101 30 232 }
			color2={ 255 255 255 }
			
			b_reims = {
			}
			b_chateauthierry = {
			}
			b_provins = {
			}
			b_chalons = {
			}
			b_chatillon = {
			}
			b_vertus = {
			}
			b_epernay = {
			}
			b_roucy = {
			}
		}
		c_sens = {
			color={ 102 40 242 }
			color2={ 255 255 255 }
			
			b_montargis = {
			}
			b_sens = {
			}
			b_nemours = {
			}
			b_chateaulandon = {
			}
			b_nogentsurseine = {
			}
			b_joigny = {
			}
			b_montereau = {
			}
			b_villeneuveleroi = {
			}
		}
	}
	d_valois = {
		color={ 35 141 208 }
		color2={ 255 255 255 }
		capital = 112 # Ile de France
		
		c_ile_de_france = {
			color={ 38 144 211 }
			color2={ 255 255 255 }
			
			b_paris = {
			}
			b_melun = {
			}
			b_stdenis = {
			}
			b_meaux = {
			}
			b_etampes = {
			}
			b_montfortlamaury = {
			}
			b_senlis = {
			}
			b_compiegne = {
			}
		}
		c_vermandois = {
			color={ 41 147 214 }
			color2={ 255 255 255 }
			
			b_coucy = {
			}
			b_stquentin = {
			}
			b_laon = {
			}
			b_crepy = {
			}
			b_montaigu = {
			}
			b_rethel = {
			}
			b_guise = {
			}
			b_signy = {
			}
		}
		c_amiens = {
			color={ 44 151 217 }
			color2={ 255 255 255 }
			
			b_peronne = {
			}
			b_amiens = {
			}
			b_beauvais = {
			}
			b_soissons = {
			}
			b_corbie = {
			}
			b_noyon = {
			}
			b_montdidier = {
			}
			b_breteuil = {
			}
		}
	}
	# Creation/usurpation trigger
	allow = {
		religion_group = christian
		OR = {
			NOT = { tier = EMPEROR }
			any_demesne_province = {
				limit = {
					OR = {
						province_id = 112 #Paris
						province_id = 138 #Orleans
					}
				}
			}
		}
	}
}

k_aquitaine = {
	color={ 54 50 226 }
	color2={ 255 255 20 }
	capital = 149 # Bordaeux
	
	culture = occitan
	
	catholic = 700 # Crusade target weight
	
	d_aquitaine = {
		color={ 54 10 243 }
		color2={ 255 255 255 }
		dignity = 10 # Counted as having 10 more counties than it does
		capital = 149 # Bordaeux
		
		culture = occitan
		
		c_bordeaux = {
			color={ 58 14 247 }
			color2={ 255 255 255 }
			
			b_castillon = {
			}
			b_bordeaux = {
			}
			b_stemilion = {
			}
			b_blaye = {
			}
			b_bourg = {
			}
			b_lasauve = {
			}
			b_lareole = {
			}
			b_libourne = {
			}
		}
		c_agen = {
			color={ 62 18 251 }
			color2={ 255 255 255 }
			
			b_penne = {
			}
			b_cahors = {
			}
			b_agen = {
			}
			b_luzech = {
			}
			b_moissac = {
			}
			b_figeac = {
			}
			b_rocamadour = {
			}
			b_blanquefort = {
			}
		}
		c_perigord = {
			color={ 66 22 255 }
			color2={ 255 255 255 }
			
			b_baneuil = {
			}
			b_perigueux = {
			}
			b_sarlat = {
			}
			b_biron = {
			}
			b_auberoche = {
			}
			b_bergerac = {
			}
			b_chancelade = {
			}
			b_bonaguil = {
			}
		}
		c_angouleme = {
			color={ 70 26 255 }
			color2={ 255 255 255 }
			
			b_jarnac = {
			}
			b_angouleme = {
			}
			b_bassac = {
			}
			b_larochefoucauld = {
			}
			b_cognac = {
			}
			b_richemont = {
			}
			b_fontdouce = {
			}
			b_latranchade = {
			}
		}
	}
	d_toulouse = {
		color={ 10 16 243 }
		color2={ 255 255 255 }
		
		culture = occitan
		
		c_montpellier = {
			color={ 10 16 243 }
			color2={ 255 255 255 }
			
			b_beaucaire = {
			}
			b_montpellier = {
			}
			b_maguelone = {
			}
			b_nimes = {
			}
			b_aiguesmortes = {
			}
			b_bagnolssurceze = {
			}
			b_saintguilhemledesert = {
			}
			b_melgueil = {
			}
		}
		c_viviers = {
			color={ 12 18 245 }
			color2={ 255 255 255 }
			
			b_aubenas = {
			}
			b_tournon = {
			}
			b_viviers = {
			}
			b_albalaromaine = {
			}
			b_privas = {
			}
			b_lecheylard = {
			}
			b_largentiere = {
			}
			b_joyeuse = {
			}
		}
		c_narbonne = {
			color={ 14 20 247 }
			color2={ 255 255 255 }
			
			b_albi = {
			} 
			b_narbonne = {
			} 
			b_agde = {
			} 
			b_beziers = {
			} 
			b_puisserguier = {
			} 
			b_stponsdethomieres = {
			} 
			b_castres = {
			} 
			b_queribus = {
			} 
		}
		c_carcassonne = {
			color={ 16 22 249 }
			color2={ 255 255 255 }
			
			b_saissac = {
			} 
			b_carcassonne = {
			} 
			b_alet = {
			} 
			b_termes = {
			} 
			b_lagrasse = {
			} 
			b_lastours = {
			} 
			b_cabaret = {
			} 
			b_minerve = {
			}
		}
		c_toulouse = {
			color={ 18 24 251 }
			color2={ 255 255 255 }
			
			b_castelnaudary = {
			} 
			b_toulouse = {
			} 
			b_lavaur = {
			} 
			b_montauban = {
			} 
			b_lombez = {
			} 
			b_hautpoul = {
			} 
			b_montgiscard = {
			} 
			b_muret = {
			} 
		}
		c_rouergue = {
			color={ 20 28 253 }
			color2={ 255 255 255 }
			
			b_rodez = {
			} 
			b_millau = {
			} 
			b_vabres = {
			} 
			b_najac = {
			} 
			b_villefranche = {
			} 
			b_caylus = {
			} 
			b_staffrique = {
			} 
			b_estaing = {
			} 
		}
	}
	d_gascogne = {
		color={ 81 30 243 }
		color2={ 255 255 255 }
		
		culture = occitan
		
		c_foix = {
			color={ 24 13 246 }
			color2={ 255 255 255 }
			
			b_foix = {
			} 
			b_pamiers = {
			} 
			b_mirepoix = {
			} 
			b_montsegur = {
			} 
			b_stbertrand = {
			}  
			b_roquefeuil = {
			} 
			b_stgaudens = {
			}  
			b_usson = {
			} 
		}
		c_bearn = {
			color={ 27 16 249 }
			color2={ 255 255 255 }
			
			b_pau = {
			}
			b_morlaas = {
			} 
			b_lescar = {
			}
			b_tarbes = {
			}
			b_mauleonlicharre = {
			}
			b_orthez = {
			}
			b_oloron = {
			}
			b_montaner = {
			}
		}
		c_armagnac = {
			color={ 30 19 252 }
			color2={ 255 255 255 }
			
			b_castelnau = {
			}
			b_auch = {
			}
			b_condom = {
			}
			b_lectoure = {
			}
			b_lisle = {
			}
			b_eauze = {
			}
			b_mirande = {
			}
			b_laplume = {
			}
		}
		c_labourd = {
			color={ 33 22 255 }
			color2={ 255 255 255 }
			
			b_sauveterre = {
			}
			b_bayonne = {
			}
			b_stsever = {
			}
			b_dax = {
			}
			b_aire = {
			}
			b_labastideclairence = {
			}
			b_sorde = {
			}
			b_hasparren = {
			}
		}
		c_albret = {
			color={ 36 25 255 }
			color2={ 255 255 255 }
			
			b_labrit = {
			}
			b_tartas = {
			}
			b_bazas = {
			}
			b_roquefort = {
			}
			b_montdemarsan = {
			}
			b_gabarret = {
			}
			b_mimizan = {
			}
			b_latestedebuch = {
			}
		}
	}
	d_poitou = {
		color={ 24 95 226 }
		color2={ 255 255 255 }
		
		culture = occitan
		
		c_lusignan = {
			color={ 28 97 228 }
			color2={ 255 255 255 }
			
			b_lusignan = {
			}
			b_charroux = {
			}
			b_niort = {
			}
			b_melle = {
			}
			b_civray = {
			}
			b_maillezais = {
			}
			b_confolens = {
			}
			b_stmaixent = {
			}
		}
		c_saintonge = {
			color={ 30 99 230 }
			color2={ 255 255 255 }
			
			b_montguyon = {
			}
			b_saintes = {
			}
			b_stjeandangely = {
			}
			b_villeneuve = {
			}
			b_tonnay = {
			}
			b_aulnay = {
			}
			b_royan = {
			}
			b_taillebourg = {
			}
		}
		c_poitiers = {
			color={ 32 101 232 }
			color2={ 255 255 255 }
			
			b_chauvigny = {
			}
			b_poitiers = {
			}
			b_stsavin = {
			}
			b_moncontour = {
			}
			b_mirebeau = {
			}
			b_parthenay = {
			}
			b_loudun = {
			}
			b_chatellerault = {
			}
		}
		c_thouars = {
			color={ 34 103 234 }
			color2={ 255 255 255 }
			
			b_thouars = {
			}
			b_larochelle = {
			}
			b_lucon = {
			}
			b_chatelaillon = {
			}
			b_bressuire = {
			}
			b_olonne = {
			}
			b_mauleon = {
			}
			b_fontenay = {
			}
		}
	}
	d_auvergne = {
		color={ 24 171 226 }
		color2={ 255 255 255 }
		
		culture = occitan
		
		c_auvergne = {
			color={ 26 173 228 }
			color2={ 255 255 255 }
			
			b_tournoel = {
			}
			b_clermont = {
			}
			b_mozac = {
			}
			b_murol = {
			}
			b_aurillac = {
			}
			b_carlat = {
			}
			b_brioude = {
			}
			b_domeyrat = {
			}
		}
		c_gevaudan = {
			color={ 28 175 230 }
			color2={ 255 255 255 }
			
			b_grezes = {
			}
			b_mende = {
			}
			b_lepuy = {
			}
			b_apchier = {
			}
			b_marvejols = {
			}
			b_florac = {
			}
			b_stsauveur = {
			}
			b_tournel = {
			}
		}
	}
	d_bourbon = {
		color={ 74 133 186 }
		color2={ 255 255 255 }
		
		c_bourbon = {
			color={ 28 147 230 }
			color2={ 255 255 255 }
			
			b_bourbon = {
			}
			b_moulins = {
			}
			b_lancy = {
			}
			b_montlucon = {
			}
			b_vichy = {
			}
			b_murat = {
			}
			b_souvigny = {
			}
			b_montpensier = {
			}
		}
		c_limousin = {
			color={ 32 151 234 }
			color2={ 255 255 255 }
			
			b_turenne = {
			}
			b_limoges = {
			}
			b_comborn = {
			}
			b_rochechouart = {
			}
			b_thiviers = {
			}
			b_stleonard = {
			}
			b_ventadour = {
			}
			b_chalus = {
			}
		}
		c_la_marche = {
			color={ 36 155 240 }
			color2={ 255 255 255 }
			
			b_crozant = {
			}
			b_bellac = {
			}
			b_gueret = {
			}
			b_aubusson = {
			}
			b_boussac = {
			}
			b_lasouterraine = {
			}
			b_bourganeuf = {
			}
			b_jouillat = {
			}
		}
	}
	# Creation/usurpation trigger
	allow = {
		religion_group = christian
		OR = {
			NOT = { tier = EMPEROR }
			any_demesne_province = {
				limit = {
					OR = {
						province_id = 149 #Bordeaux
						province_id = 214 #Toulouse
						province_id = 141 #Poitiers
					}
				}
			}
		}
	}
}

k_aragon = {
	color = { 166 98 22 }
	color2={ 230 0 0 }
	
	capital = 204 # Barcelona
	
	culture = castillan

	d_aragon = {
		color = { 166 68 72 }
		color2={ 255 255 255 }
		
		c_albarracin = {
			color = { 113 235 3 }
			color2={ 255 255 255 }
			
			b_albarracin = {
			}
			b_teruel = {
			}
			b_hijar = {
			}
			b_utrillas = {
			}
			b_calanda = {
			}
			b_montalban = {
			}
			b_alcaniz = {
			}
			b_calamocha = {
			}
		}
		c_alto_aragon = {
			color = { 255 216 6 }
			color2={ 255 255 255 }
			
			b_jaca = {
			}
			b_huesca = {
			}
			b_barbastro = {
			}
			b_loarre = {
			}
			b_ayerbe = {
			}
			b_almudevar = {
			}
			b_uncastillo = {
			}
			b_alquezar = {
			}
		}
		c_zaragoza = {
			color = { 255 219 9 }
			color2={ 255 255 255 }
			
			b_alagon = {
			}
			b_zaragoza = {
			}
			b_veruela = {
			}
			b_caspe = {
			}
			b_borja = {
			}
			b_medianadearagon = {
			}
			b_ejea = {
			}
			b_epila = {
			}
		}
		c_calatayud = {
			color = { 142 222 42 }
			color2={ 255 255 255 }
			
			b_calatayud = {
			}
			b_piedra = {
			}
			b_alhamadearagon = {
			}
			b_nuevalos = {
			}
			b_daroca = {
			}
			b_munebrega = {
			}
			b_calmarza = {
			}
			b_cimballa = {
			}
		}
	}
	d_barcelona = {
		color = { 166 100 72 }
		color2={ 255 255 255 }
		
		culture = catalan
		
		c_barcelona = {
			color = { 255 232 4 }
			color2={ 255 255 255 }
			
			b_berga = {
			}
			b_barcelona = {
			}
			b_vic = {
			}
			b_manresa = {
			}
			b_osona = {
			}
			b_igualada = {
			}
			b_vallparadis = {
			}
			b_provencana = {
			}
		}
		c_urgell = {
			color = { 255 236 8 }
			color2={ 255 255 255 }
			
			b_pallars = {
			}
			b_urgell = {
			}
			b_suert = {
			}
			b_viella = {
			}
			b_puigcerda = {
			}
			b_valledebohi = {
			}
			b_elpuidesegur = {
			}
			b_tremp = {
			}
		}
		c_rosello = {
			color = { 255 240 12 }
			color2={ 255 255 255 }
			
			b_cotlliure = {
			}
			b_perpinya = {
			}
			b_elna = {
			}
			b_cuixa = {
			}
			b_prada = {
			}
			b_oltrera = {
			}
			b_canigo = {
			}
			b_ceret = {
			}
		}
		c_empuries = {
			color = { 255 244 16 }
			color2={ 255 255 255 }
			
			b_empuries = {
			}
			b_labisbaldemporda = {
			}
			b_girona = {
			}
			b_figueras = {
			}
			b_cerdana = {
			}
			b_besalu = {
			}
			b_banyoles = {
			}
			b_castelldaro = {
			}
		}
		c_lleida = {
			color = { 255 248 20 }
			color2={ 255 255 255 }
			
			b_lleida = {
			}
			b_cervera = {
			}
			b_solsona = {
			}
			b_agramunt = {
			}
			b_tarrega = {
			}
			b_balaguer = {
			}
			b_borgesblanques = {
			}
			b_verdu = {
			}
		}
		c_tarragona = {
			color = { 255 252 24 }
			color2={ 255 255 255 }
			
			b_tarragona = {
			}
			b_spantortosa = {
			}
			b_cambrils = {
			}
			b_reus = {
			}
			b_montblanc = {
			}
			b_vendrell = {
			}
			b_amposta = {
			}
			b_sancugat = {
			}
		}
	}
	d_valencia = {
		color = { 48 167 45 }
		color2={ 255 255 255 }
		
		c_castellon = {
			color = { 255 242 2 }
			color2={ 255 255 255 }
			
			b_castellon = {
			}
			b_alpuente = {
			}
			b_nules = {
			}
			b_vinaros = {
			}
			b_morella = {
			}
			b_vilarreal = {
			}
			b_burriana = {
			}
			b_alcalaten = {
			}
		}
		c_valencia = {
			color = { 255 244 4 }
			color2={ 255 255 255 }
			
			b_gandia = {
			}
			b_valencia = {
			}
			b_jativa = {
			}
			b_cuartdepoblet = {
			}
			b_alberique = {
			}
			b_alacuas = {
			}
			b_torrent = {
			}
			b_chiva = {
			}
		}
		c_denia = {
			color = { 255 246 6 }
			color2={ 255 255 255 }
			
			b_denia = {
			}
			b_alicante = {
			}
			b_elche = {
			}
			b_villena = {
			}
			b_orihuela = {
			}
			b_castalla = {
			}
			b_albatera = {
			}
			b_benissa = {
			}
		}
	}
	d_mallorca = {
		color = { 68 126 72 }
		color2={ 255 255 255 }
		
		c_mallorca = {
			color = { 255 249 3 }
			color2={ 255 255 255 }
			
			b_alcudia = {
			}
			b_palma = {
			}
			b_algaida = {
			}
			b_felanitx = {
			}
			b_santaponsa = {
			}
			b_eivissa = {
			}
			b_manacor = {
			}
			b_formentera = {
			}
		}
		c_menorca = {
			color = { 255 252 6 }
			color2={ 255 255 255 }
			
			b_ciutadella = {
			} 
			b_mahon = {
			}
			b_alaior = {
			}
			b_santaagueda = {
			}
			b_esmercadal = {
			}
			b_santlluis = {
			}
			b_ferreries = {
			}
			b_escastell = {
			}
		}
	}
	# Creation/usurpation trigger
	allow = {
		religion_group = christian
		OR = {
			NOT = { tier = EMPEROR }
			any_demesne_province = {
				limit = {
					OR = {
						province_id = 204 #Barcelona
						province_id = 207 #Alto Aragon
						province_id = 202 #Zaragoza
						province_id = 171 #Valencia
					}
				}
			}
		}
	}
}
 
Last edited:
They may not have the money yet? If its not that, you could give it to them by event if they meet the conditions

I've seen a Doge sit on ~2k gold and >100 piety and refuse to form it still. There must be some other restriction in place preventing them from doing it. How would I go about doing it by event? (completely clueless on events). Ideally it would need to be compatible with CK2+, the easier the better.

Thanks for the code :). The Austria bit was more of an example. I have a lot of Saxon king titles in England and since I can't make them mutually exclusive directly I will be using that line to make them indirectly exclusive.

From what I've seen the AI doesn't make titular kingdoms unless:

They have no means of getting a de Jure kingdom title easily
They are not already a king or emperor
They are not a republic
 
Last edited:
What controls the Terra Incognita? The land provinces are in definition.csv but I don't know how to keep it as PTI, and the 255,255,255 sea terra incognita isn't in definition.csv at all.
To have a province act like Siberia and the Sahara does, simply don't mention them in landed_titles, and don't give them a history file.
 
tier = KING only does king (doesn't stop emperor level). Which is fine :)