@@ -912,9 +912,15 @@ settlement_decisions = {
912912 }
913913 }
914914
915- if = {
916- limit = { NOT = { holder = FROM } }
917- usurp_title = FROM
915+ county = {
916+ show_scope_change = no
917+
918+ save_event_target_as = base_title
919+
920+ if = {
921+ limit = { NOT = { holder = FROM } }
922+ usurp_title = FROM
923+ }
918924 }
919925
920926 if = {
@@ -928,31 +934,10 @@ settlement_decisions = {
928934 capital = PREV
929935 }
930936
931- custom_tooltip = {
932- text = TT_BUILD_TRIBAL_HOLDINGS
933- }
934-
935- location = {
936- county = {
937- save_event_target_as = primary_title
938- }
939- }
937+ custom_tooltip = { text = TT_BUILD_TRIBAL_HOLDINGS }
940938
941939 FROM = {
942940 show_scope_change = no
943- # primary_title = {
944- # ROOT = {
945- # custom_tooltip = {
946- # text = TT_KHAN_INDEPENDENCE
947- # }
948- #
949- # most_prestigious_clan_vassal = {
950- # custom_tooltip = {
951- # text = TT_NEW_KHAN
952- # }
953- # }
954- # }
955- # }
956941
957942 if = {
958943 limit = { ai = no }
@@ -963,18 +948,18 @@ settlement_decisions = {
963948 }
964949 }
965950
966- any_vassal = {
967- limit = { government = nomadic_government }
968- set_government_type = tribal_government
951+ hidden_effect = {
952+ any_vassal = {
953+ limit = { government = nomadic_government }
954+ set_government_type = tribal_government
955+ }
969956 }
970957
971958 set_government_type = tribal_government
972959
973960 if = {
974961 limit = { lower_real_tier_than = KING }
975962
976- save_event_target_as = title_name_target
977-
978963 create_title = {
979964 tier = KING
980965 landless = no
@@ -983,13 +968,13 @@ settlement_decisions = {
983968 culture = ROOT_FROM
984969 holder = ROOT_FROM
985970 name = TRIBAL_CUSTOM
986- base_title = event_target:primary_title
971+ base_title = event_target:base_title
987972 copy_title_laws = yes
988973 }
989974 }
990975
991976 if = {
992- limit = { higher_tier_than = count }
977+ limit = { higher_real_tier_than = COUNT }
993978
994979 primary_title = {
995980 show_scope_change = no
@@ -1010,11 +995,7 @@ settlement_decisions = {
1010995 location = {
1011996 FROM = {
1012997 any_realm_province = {
1013- limit = {
1014- any_province_holding = {
1015- holding_type = tribal
1016- }
1017- }
998+ limit = { has_tribal = yes }
1018999
10191000 ROOT_FROM = {
10201001 spawn_unit = {
@@ -1139,6 +1120,8 @@ settlement_decisions = {
11391120 effect = {
11401121 # Change culture and religion of new capital province and possibly more provinces depending on nomad population_and_manpower
11411122 location = {
1123+ show_scope_change = no
1124+
11421125 if = {
11431126 limit = {
11441127 NOT = { culture = FROM }
@@ -1314,7 +1297,7 @@ settlement_decisions = {
13141297 if = {
13151298 limit = {
13161299 FROM = {
1317- dynasty = 708 #Ýrpád
1300+ dynasty = 708 # Árpád
13181301 has_landed_title = k_hungary
13191302 }
13201303 }
@@ -1371,37 +1354,32 @@ settlement_decisions = {
13711354 }
13721355 }
13731356
1374- if = {
1375- limit = { NOT = { holder = FROM } }
1376- usurp_title = FROM
1357+ dejure_liege_title = {
1358+ show_scope_change = no
1359+
1360+ if = {
1361+ limit = { NOT = { holder = FROM } }
1362+ usurp_title = FROM
1363+ }
13771364 }
13781365
1379- hidden_tooltip = {
1366+ hidden_effect = {
13801367 if = {
13811368 limit = { is_capital = no }
13821369 make_capital_holding = yes
13831370 }
13841371 }
13851372
13861373 FROM = {
1374+ show_scope_change = no
1375+
13871376 capital = PREV
1377+ custom_tooltip = { text = TT_KHAN_INDEPENDENCE }
13881378
1389- primary_title = {
1379+ most_prestigious_clan_vassal = {
13901380 show_scope_change = no
13911381
1392- ROOT_FROM = {
1393- show_scope_change = no
1394-
1395- custom_tooltip = {
1396- text = TT_KHAN_INDEPENDENCE
1397- }
1398-
1399- most_prestigious_clan_vassal = {
1400- custom_tooltip = {
1401- text = TT_NEW_KHAN
1402- }
1403- }
1404- }
1382+ custom_tooltip = { text = TT_NEW_KHAN }
14051383 }
14061384
14071385 if = {
@@ -1463,16 +1441,13 @@ settlement_decisions = {
14631441
14641442 primary_title = {
14651443 show_scope_change = no
1466-
14671444 add_law = centralization_0
14681445 }
14691446 }
14701447 }
14711448
14721449 any_player = {
1473- limit = {
1474- NOT = { character = ROOT_FROM }
1475- }
1450+ limit = { NOT = { character = ROOT_FROM } }
14761451 narrative_event = { id = HL.1 }
14771452 }
14781453 }
@@ -1509,6 +1484,7 @@ settlement_decisions = {
15091484 has_landed_title = e_mongol_empire
15101485 has_landed_title = e_golden_horde
15111486 has_landed_title = e_chagatai
1487+ has_landed_title = e_il-khanate
15121488 }
15131489 }
15141490 }
@@ -1517,7 +1493,7 @@ settlement_decisions = {
15171493 mult_modifier = {
15181494 factor = 100
15191495 FROM = {
1520- dynasty = 708 # Ýrpád
1496+ dynasty = 708 # Árpád
15211497 }
15221498 }
15231499 }
@@ -1767,24 +1743,12 @@ settlement_decisions = {
17671743 show_scope_change = no
17681744
17691745 capital = PREV
1746+ custom_tooltip = { text = TT_KHAN_INDEPENDENCE }
17701747
1771- primary_title = {
1748+ most_prestigious_clan_vassal = {
17721749 show_scope_change = no
17731750
1774- FROM = {
1775- show_scope_change = no
1776-
1777- custom_tooltip = {
1778- text = TT_KHAN_INDEPENDENCE
1779- }
1780-
1781- most_prestigious_clan_vassal = {
1782- show_scope_change = no
1783- custom_tooltip = {
1784- text = TT_NEW_KHAN
1785- }
1786- }
1787- }
1751+ custom_tooltip = { text = TT_NEW_KHAN }
17881752 }
17891753 }
17901754
0 commit comments