Skip to content

Commit 553d802

Browse files
authored
Merge pull request #62 from ck2plus/beta2fixes
Beta2fixes
2 parents 70f612c + 30254e5 commit 553d802

130 files changed

Lines changed: 31396 additions & 42264 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CleanSlate/common/disease/00_disease.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ bubonic_plague = {
914914
}
915915

916916
excluded_regions = {
917-
world_europe_west_brittania
917+
world_europe_west_britannia
918918
}
919919
}
920920

@@ -1033,7 +1033,7 @@ bubonic_plague = {
10331033
}
10341034

10351035
excluded_regions = {
1036-
world_europe_west_brittania
1036+
world_europe_west_britannia
10371037
}
10381038
}
10391039

@@ -1153,7 +1153,7 @@ bubonic_plague = {
11531153
}
11541154

11551155
excluded_regions = {
1156-
world_europe_west_brittania
1156+
world_europe_west_britannia
11571157
}
11581158
}
11591159

@@ -1268,7 +1268,7 @@ bubonic_plague = {
12681268
}
12691269

12701270
excluded_regions = {
1271-
world_europe_west_brittania
1271+
world_europe_west_britannia
12721272
}
12731273
}
12741274

CleanSlate/common/on_actions/11_conclave.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,6 @@ on_mercenary_captain_replacement = {
202202
# new_character is empty or a third party
203203
GRANT_LANDED_TITLE_INTERACTION_ACCEPT_EVENT = {
204204
events = {
205-
# ZE.7000 # Check for Gain Any Title ambition
205+
ZE.7000 # Check for Gain Any Title ambition
206206
}
207207
}

CleanSlate/common/scripted_effects/00_scripted_effects.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6983,7 +6983,7 @@ princely_elective_apply_elector_setup_effect = {
69836983
world_europe_west_iberia = {
69846984
princely_elective_spain_elector_setup_effect = yes
69856985
}
6986-
world_europe_west_brittania = {
6986+
world_europe_west_britannia = {
69876987
princely_elective_britannia_elector_setup_effect = yes
69886988
}
69896989
fallback = { # If outside usual borders, default to Germania

CleanSlate/common/traits/00_leadership_traits.txt

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -194,24 +194,6 @@ organizer = {
194194
}
195195
}
196196

197-
peasant_leader = {
198-
leader = yes
199-
rebel_inherited = yes
200-
customizer = no
201-
202-
diplomacy = -5
203-
combat_rating = 3 #new value!
204-
205-
same_opinion = 25
206-
207-
vassal_opinion = -10
208-
209-
male_insult = INSULT_PEASANT
210-
male_insult_adj = INSULT_LOWBORN
211-
female_insult = INSULT_PEASANT_WOMAN
212-
female_insult_adj = INSULT_LOWBORN
213-
}
214-
215197
rough_terrain_expert = {
216198
leader = yes
217199
random = no

CleanSlate/common/traits/00_special.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,20 @@ malnourished = {
153153

154154
ai_zeal = -20
155155
}
156+
157+
peasant_leader = {
158+
rebel_inherited = yes
159+
customizer = no
160+
161+
diplomacy = -5
162+
combat_rating = 3 #new value!
163+
164+
same_opinion = 25
165+
166+
vassal_opinion = -10
167+
168+
male_insult = INSULT_PEASANT
169+
male_insult_adj = INSULT_LOWBORN
170+
female_insult = INSULT_PEASANT_WOMAN
171+
female_insult_adj = INSULT_LOWBORN
172+
}

CleanSlate/decisions/settlement_decisions.txt

Lines changed: 40 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)