@@ -340,8 +340,8 @@ other_claim = {
340340 if = {
341341 limit = {
342342 OR = {
343- tag = k_papal_state
344- tag = d_fraticelli
343+ title = k_papal_state
344+ title = d_fraticelli
345345 }
346346 }
347347 FROM = {
@@ -7191,10 +7191,10 @@ pagan_subjugation = {
71917191 any_war = {
71927192 AND = {
71937193 defender = { character = PREVPREV }
7194- using_cb = pagan_subjugation
71957194 OR = {
7195+ using_cb = pagan_subjugation
71967196 using_cb = nomad_subjugation
7197- }
7197+ }
71987198 }
71997199 }
72007200 }
@@ -12058,8 +12058,21 @@ cb_liberate_nomad_duchy = {
1205812058 factor = 100
1205912059 }
1206012060
12061- ai_will_do = {
12061+ ai_will_do = {
1206212062 factor = 1
12063+ modifier = {
12064+ factor = 0.1
12065+ NOT = {
12066+ any_direct_de_jure_vassal_title = {
12067+ any_direct_de_jure_vassal_title = {
12068+ OR = {
12069+ holding_type = castle
12070+ holding_type = city
12071+ }
12072+ }
12073+ }
12074+ }
12075+ }
1206312076 }
1206412077}
1206512078
@@ -12105,15 +12118,16 @@ cb_minor_clan_revolt = {
1210512118 }
1210612119
1210712120 on_success_title = {
12121+ usurp_title_plus_barony_if_unlanded = { target = ROOT type = revolt }
12122+
1210812123 ROOT = {
12109- set_government_type = feudal_government
12110-
1211112124 primary_title = {
1211212125 set_title_nomad = { title = THIS status = no }
1211312126 }
12127+
12128+ set_government_type = feudal_government
1211412129 }
1211512130
12116- usurp_title_plus_barony_if_unlanded = { target = ROOT type = revolt }
1211712131 ROOT = {
1211812132 set_government_type = nomadic_government
1211912133 set_defacto_liege = FROM
@@ -12179,6 +12193,10 @@ cb_minor_clan_revolt = {
1217912193 }
1218012194 }
1218112195 }
12196+
12197+ on_attacker_leader_death = {
12198+ end_war = invalid
12199+ }
1218212200
1218312201 attacker_ai_victory_worth = {
1218412202 factor = -1 # always accept
@@ -12206,6 +12224,20 @@ nomad_subjugation = {
1220612224 is_permanent = yes
1220712225 can_ask_to_join_war = yes
1220812226
12227+ can_use_gui = {
12228+ #higher_tier_than between ROOT and FROM would be better but its tooltip doesn't say anything about comparing character tiers
12229+ OR = {
12230+ ROOT = {
12231+ higher_tier_than = king
12232+ }
12233+ NOT = {
12234+ FROM = {
12235+ tier = emperor
12236+ }
12237+ }
12238+ }
12239+ }
12240+
1220912241 can_use = {
1221012242 ROOT = {
1221112243 is_nomadic = yes
@@ -12287,6 +12319,7 @@ nomad_subjugation = {
1228712319 any_demesne_title = {
1228812320 limit = {
1228912321 higher_tier_than = ROOT
12322+ NOT = { controls_religion = yes }
1229012323 }
1229112324 ROOT = { grant_title = { target = PREV type = invasion } }
1229212325 add_pressed_claim = PREV
@@ -12305,10 +12338,38 @@ nomad_subjugation = {
1230512338 any_demesne_title = {
1230612339 limit = {
1230712340 tier = ROOT
12341+ NOT = { controls_religion = yes }
1230812342 }
1230912343 ROOT = { grant_title = { target = PREV type = invasion } }
1231012344 add_pressed_claim = PREV
1231112345 }
12346+
12347+ if = {
12348+ limit = {
12349+ any_demesne_title = {
12350+ NOT = { controls_religion = yes }
12351+ }
12352+ }
12353+ set_defacto_liege = ROOT
12354+ }
12355+ if = {
12356+ limit = {
12357+ any_demesne_title = {
12358+ controls_religion = yes
12359+ }
12360+ }
12361+ any_vassal = {
12362+ set_defacto_liege = ROOT
12363+ }
12364+ any_demesne_title = {
12365+ limit = {
12366+ NOT = { controls_religion = yes }
12367+ }
12368+ ROOT = {
12369+ grant_title = { target = PREV type = invasion }
12370+ }
12371+ }
12372+ }
1231212373 }
1231312374 }
1231412375 }
0 commit comments