@@ -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
0 commit comments