Skip to content

Commit 70f612c

Browse files
authored
Merge pull request #60 from ck2plus/events/base---review
Events/base review
2 parents 52a42ea + e407732 commit 70f612c

93 files changed

Lines changed: 20948 additions & 28985 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/cb_types/china_cbs.txt

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ offmap_submission = {
194194
set_title_flag = rebel_general_title
195195
adjective = e_china_west_governor_adj # Use WP adj as it is "Chinese" but also gives the right one in different languages
196196

197-
random_list = { #R andom Empire name that China doesn't have
197+
random_list = { # Random Empire name that China doesn't have
198198
1 = {
199199
trigger = { offmap_china = { NOT = { has_offmap_name = tang_china } } }
200200
set_name = "Tang Empire"
@@ -767,7 +767,7 @@ tributary_offmap_cb = {
767767
}
768768

769769
hidden_effect = {
770-
if = { #Makes China have a chance of leaving Expansionist policy...
770+
if = { # Makes China have a chance of leaving Expansionist policy...
771771
limit = {
772772
is_offmap_tag = offmap_china
773773

@@ -804,7 +804,7 @@ tributary_offmap_cb = {
804804
}
805805

806806
on_attacker_leader_death = {
807-
#end_war = invalid
807+
# end_war = invalid
808808
}
809809

810810
attacker_ai_victory_worth = {
@@ -1139,7 +1139,7 @@ force_open_china_cb = {
11391139
}
11401140

11411141
custom_tooltip = {
1142-
text = angered_china_tt #Scripter! Update this is you change the value below.
1142+
text = angered_china_tt # Scripter! Update this is you change the value below.
11431143

11441144
add_character_modifier = {
11451145
name = angered_china_modifier
@@ -1494,17 +1494,7 @@ invasion_of_china_cb = {
14941494
clr_character_flag = given_temple_name_by_script
14951495
set_name = ""
14961496

1497-
if = {
1498-
limit = { is_government_potential = muslim_government }
1499-
set_government_type = muslim_government
1500-
}
1501-
else_if = {
1502-
limit = { is_government_potential = theocratic_feudal_government }
1503-
set_government_type = theocratic_feudal_government
1504-
}
1505-
else = {
1506-
set_government_type = feudal_government
1507-
}
1497+
set_correct_feudal_government_type_effect = yes
15081498
}
15091499
}
15101500

@@ -1635,7 +1625,7 @@ invasion_of_china_cb = {
16351625
}
16361626

16371627
custom_tooltip = {
1638-
text = angered_china_tt #Scripter! Update this is you change the value below.
1628+
text = angered_china_tt # Scripter! Update this is you change the value below.
16391629

16401630
add_character_modifier = {
16411631
name = angered_china_modifier
@@ -1716,7 +1706,7 @@ invasion_of_china_cb = {
17161706
}
17171707

17181708
custom_tooltip = {
1719-
text = angered_china_tt #Scripter! Update this is you change the value below.
1709+
text = angered_china_tt # Scripter! Update this is you change the value below.
17201710

17211711
add_character_modifier = {
17221712
name = angered_china_modifier

CleanSlate/common/objectives/00_ambitions.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,6 @@ obj_have_a_daughter = {
12671267
}
12681268
}
12691269

1270-
12711270
obj_have_a_son = {
12721271
type = character
12731272

@@ -2030,7 +2029,10 @@ obj_lower_decadence = {
20302029
}
20312030

20322031
abort = {
2033-
is_incapable = yes
2032+
OR = {
2033+
is_incapable = yes
2034+
uses_decadence = no
2035+
}
20342036
}
20352037

20362038
abort_effect = {
@@ -2843,12 +2845,10 @@ obj_gain_any_title = {
28432845
is_landed = no
28442846
independent = yes
28452847
is_incapable = yes
2846-
has_character_flag = obj_gain_any_title_abandoned
28472848
}
28482849
}
28492850

28502851
abort_effect = {
2851-
clr_character_flag = obj_gain_any_title_abandoned
28522852
}
28532853

28542854
chance = {

0 commit comments

Comments
 (0)