add_namespace = Japan add_namespace = japan_classic add_namespace = JAP_territorial add_namespace = JAP_historical add_namespace = JAP_diplomacy add_namespace = JAP_news add_namespace = Japan_economy add_namespace = JAP_electronics add_namespace = JAP_ai #China is Demanding the Senkaku Islands! country_event = { id = Japan.8 title = Japan.8.t desc = Japan.8.d picture = GFX_CHI_generic is_triggered_only = yes option = { name = Japan.8.a #Let them have their fishing rights... log = "[GetDateText]: [This.GetName]: Japan.8.a executed" if = { limit = { NOT = { has_government = nationalist } } add_popularity = { ideology = nationalist popularity = 0.05 } } else = { add_popularity = { ideology = democratic popularity = 0.05 } } recalculate_party = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = CHI.id } set_temp_variable = { influence_target = JAP.id } change_influence_percentage = yes CHI = { country_event = { days = 2 id = Japan.4 } } ai_chance = { base = 20 modifier = { factor = 2 ROOT = { OR = { AND = { check_variable = { influence_array^0 = CHI } check_variable = { influence_array_val^0 > 19.999 } } AND = { check_variable = { influence_array^1 = CHI } check_variable = { influence_array_val^1 > 19.999 } } AND = { check_variable = { influence_array^2 = CHI } check_variable = { influence_array_val^2 > 19.999 } } AND = { check_variable = { influence_array^3 = CHI } check_variable = { influence_array_val^3 > 19.999 } } } } } modifier = { factor = 2 ROOT = { OR = { AND = { check_variable = { influence_array^0 = CHI } check_variable = { influence_array_val^0 > 39.999 } } AND = { check_variable = { influence_array^1 = CHI } check_variable = { influence_array_val^1 > 39.999 } } AND = { check_variable = { influence_array^2 = CHI } check_variable = { influence_array_val^2 > 39.999 } } } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression < 0 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression < -10 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression < -20 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression < -30 } } } modifier = { factor = 4 CHI = { has_completed_focus = CHI_New_World_Order } } } } option = { name = Japan.8.b #Japan will not be intimidated! log = "[GetDateText]: [This.GetName]: Japan.8.b executed" if = { limit = { has_government = nationalist } add_popularity = { ideology = nationalist popularity = 0.05 } } if = { limit = { has_government = democratic } add_popularity = { ideology = democratic popularity = 0.05 } } recalculate_party = yes add_war_support = 0.02 CHI = { add_opinion_modifier = { target = JAP modifier = resisted_territorial_ambition } country_event = { days = 2 id = Japan.5 } } ai_chance = { base = 80 modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression > 0 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression > 10 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression > 20 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression > 30 } } } } } } #Japan has Handed Over the Islands! #It is triggered by China’s national focus, so don’t delete it! country_event = { id = Japan.4 title = Japan.4.t desc = Japan.4.d picture = GFX_politics_negotiations is_triggered_only = yes option = { name = Japan.4.a #Perhaps the Japanese have some sense after all! JAP = { if = { limit = { NOT = { has_government = nationalist } } add_popularity = { ideology = nationalist popularity = 0.05 } } else = { add_popularity = { ideology = democratic popularity = 0.05 } } recalculate_party = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = CHI.id } change_influence_percentage = yes } CHI = { transfer_state = 939 } log = "[GetDateText]: [This.GetName]: Japan.4.a executed" } } #Japan Remains Defiant! country_event = { id = Japan.5 title = Japan.5.t desc = Japan.5.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = Japan.5.a #They will regret this... effect_tooltip = { JAP = { if = { limit = { has_government = nationalist } add_popularity = { ideology = nationalist popularity = 0.05 } } if = { limit = { has_government = democratic } add_popularity = { ideology = democratic popularity = 0.05 } } add_war_support = 0.02 } CHI = { add_opinion_modifier = { target = JAP modifier = resisted_territorial_ambition } } } log = "[GetDateText]: [This.GetName]: Japan.5.a executed" } } #Chinese jets have fired on the aircraft we scrambled to intercept them! country_event = { id = Japan.6 title = Japan.6.t desc = Japan.6.d picture = GFX_CAN_airstrikes_iraq_syria is_triggered_only = yes option = { name = Japan.6.a #We have a right to self-defense! log = "[GetDateText]: [This.GetName]: Japan.6.a executed" create_wargoal = { type = topple_government target = CHI } ai_chance = { base = 5 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH naval_strength_ratio = { tag = CHI ratio > 1.5 } } modifier = { add = 50 CHI = { has_completed_focus = CHI_New_World_Order } } modifier = { factor = 0 JAP_article_nine_hard_threat = no NOT = { has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression > 0 } } } } } option = { trigger = { any_of_scopes = { array = ROOT.guaranteeing_nations exists = yes has_guaranteed = ROOT } } name = Japan.6.b #We should call upon our protectors! create_wargoal = { type = topple_government target = CHI } every_country = { limit = { has_guaranteed = JAP } create_wargoal = { type = topple_government target = CHI } } log = "[GetDateText]: [This.GetName]: Japan.6.b executed" ai_chance = { base = 5 modifier = { factor = 0 JAP_article_nine_hard_threat = no NOT = { has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression > 10 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression > 20 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression > 30 } } } } } option = { name = Japan.6.c #This was probably an accident... ai_chance = { base = 20 modifier = { factor = 10 NOT = { has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression < 0 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression < -10 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression < -20 } } } modifier = { factor = 2 CHI = { check_variable = { CHI_chinese_aggression < -30 } } } } } } #Chinese and Japanese Fighter Jets Engage in Aerial Combat news_event = { id = Japan.7 title = Japan.7.t desc = Japan.7.d picture = GFX_united_states_air_force is_triggered_only = yes option = { name = Japan.7.a #Is a second Sino-Japanese War on the horizon? } } #Akihito abdicates #on_action event country_event = { id = Japan.3 title = Japan.3.t desc = Japan.3.d picture = GFX_JAP_generic is_triggered_only = yes trigger = { original_tag = JAP has_idea = idea_JAP_emperor_akihito } option = { name = Japan.3.a log = "[GetDateText]: [This.GetName]: Japan.3.a executed" if = { limit = { has_idea = idea_JAP_emperor_akihito } swap_ideas = { remove_idea = idea_JAP_emperor_akihito add_idea = idea_JAP_emperor_naruhito } } create_country_leader = { name = "Naruhito" picture = "Naruhito.dds" expire = "2050.1.1" ideology = Monarchist traits = { nationalist_Monarchist emperor_of_japan } } } } #Proclamation of the Empire country_event = { id = Japan.105 title = Japan.105.t desc = Japan.105.d picture = GFX_JAP_generic is_triggered_only = yes option = { name = Japan.105.a log = "[GetDateText]: [This.GetName]: Japan.105.a executed" drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant set_cosmetic_tag = JAP_EMPIRE clr_country_flag = dynamic_flag add_country_leader_trait = emperor_of_the_continent ai_chance = { base = 1 } } option = { name = Japan.105.b log = "[GetDateText]: [This.GetName]: Japan.105.b executed" drop_cosmetic_tag = yes clear_variable = dynamic_flag_variant set_cosmetic_tag = JAP_EMPIRE_NAVAL clr_country_flag = dynamic_flag add_country_leader_trait = emperor_of_the_seas ai_chance = { base = 1 modifier = { factor = 5 has_completed_focus = JAP_national_shipbuilding_plan } } } } #---------------------------------------------------------------- #historical events #---------------------------------------------------------------- #Keizo Obuchi suffers a stroke country_event = { id = japan_classic.15 title = japan_classic.15.t desc = japan_classic.15.d picture = GFX_hospital is_triggered_only = yes trigger = { has_country_leader = { name = "Keizo Obuchi" } } immediate = { log = "[GetDateText]: [Root.GetName]: event japan_classic.15" hidden_effect = { country_event = { id = japan_classic.16 days = 4 } } } option = { #Let's pray for the best name = japan_classic.15.o1 log = "[GetDateText]: [This.GetName]: japan_classic.15.o1 executed" add_stability = -0.02 } } country_event = { id = japan_classic.16 title = japan_classic.16.t desc = japan_classic.16.d picture = GFX_JAP_event_mori_becomes_pm is_triggered_only = yes fire_only_once = yes trigger = { check_variable = { ruling_party = 1 } } immediate = { log = "[GetDateText]: [Root.GetName]: event japan_classic.16" } option = { name = japan_classic.16.o1 log = "[GetDateText]: [This.GetName]: japan_classic.16.o1 executed" set_temp_variable = { party_popularity_increase = -0.05 } change_relative_party_popularity = yes set_variable = { conservatism_leader = 0 } custom_effect_tooltip = JAP_pm_mori_takes_office_tt set_leader = yes } } #Yoshirō Mori's Emperor gaffe country_event = { id = japan_classic.18 title = japan_classic.18.t desc = japan_classic.18.d picture = GFX_JAP_event_mori_gaffe is_triggered_only = yes trigger = { has_country_leader = { name = "Yoshiro Mori" } } immediate = { log = "[GetDateText]: [Root.GetName]: event japan_classic.18" } option = { #What a fool! name = japan_classic.18.o1 log = "[GetDateText]: [This.GetName]: japan_classic.18.o1 executed" add_stability = -0.01 add_political_power = -10 set_temp_variable = { party_popularity_increase = -0.03 } change_relative_party_popularity = yes ai_chance = { base = 90 } } option = { #Double down on his statement name = japan_classic.18.o2 log = "[GetDateText]: [This.GetName]: japan_classic.18.o2 executed" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes add_stability = -0.04 add_political_power = -25 country_event = { id = Japan.01 days = 30 random_days = 10 } ai_chance = { base = 10 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } modifier = { factor = 999 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } } } country_event = { id = Japan.01 title = Japan.01.t desc = Japan.01.d picture = GFX_JAP_event_ultranationalism is_triggered_only = yes option = { #What a fool! name = Japan.01.a log = "[GetDateText]: [This.GetName]: Japan.01.a executed" add_stability = 0.02 ai_chance = { base = 1 } } option = { #Double down on his statement name = Japan.01.b log = "[GetDateText]: [This.GetName]: Japan.01.b executed" add_timed_idea = { idea = JAP_crown_centered years = 1 } add_stability = -0.05 set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes ai_chance = { base = 1 modifier = { factor = 999 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } } } #2000 Tottori Earthquake country_event = { id = JAP_historical.121006001 title = JAP_historical.121006001.t desc = JAP_historical.121006001.d picture = GFX_JAP_event_tottori_earthquake is_triggered_only = yes fire_only_once = yes trigger = { controls_state = 611 NOT = { 611 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.121006001 - disaster_help" 611 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.121006001 - disaster_leave" 611 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1.0 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #Ehime-Maru Disaster country_event = { id = JAP_historical.130210001 title = JAP_historical.130210001.t desc = JAP_historical.130210001.d picture = GFX_JAP_event_ehime_maru_disaster is_triggered_only = yes fire_only_once = yes #action option = { name = JAP_historical.130210001.oA log = "[GetDateText]: [Root.GetName]: JAP_historical.130210001.oA" add_political_power = -10 ai_chance = { base = 10 modifier = { is_historical_focus_on = yes has_country_leader = { name = "Yoshiro Mori" } factor = 0 } } } #golf option = { name = JAP_historical.130210001.oB log = "[GetDateText]: [Root.GetName]: JAP_historical.130210001.oB" add_stability = -0.03 set_temp_variable = { party_popularity_increase = -0.05 } change_relative_party_popularity = yes if = { limit = { has_country_leader = { name = "Yoshiro Mori" } } set_country_flag = MDMOSJAP_PROGOLFER_MORI custom_effect_tooltip = JAP_koizumi_appear_TT } ai_chance = { base = 1 } } } #2001 Geiyo Earthquake country_event = { id = JAP_historical.130324001 title = JAP_historical.130324001.t desc = JAP_historical.130324001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture = GFX_news_event_hearts_of_iron_4 trigger = { controls_state = 611 controls_state = 610 NOT = { 611 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.130324001 - disaster_help" 611 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.25 } } } 610 = { if = { limit = { NOT = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.05 } } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.130324001 - disaster_leave" 611 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1.0 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.5 } } } 610 = { if = { limit = { NOT = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.1 } } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } country_event = { id = JAP_historical.20010426 title = JAP_historical.20010426.t desc = JAP_historical.20010426.d picture = GFX_JAP_event_junichiro_pm is_triggered_only = yes fire_only_once = yes trigger = { has_country_leader = { name = "Yoshiro Mori" } has_country_flag = MDMOSJAP_PROGOLFER_MORI check_variable = { ruling_party = 1 } } option = { name = JAP_historical.20010426.oA log = "[GetDateText]: [This.GetName]: JAP_historical.20010426.oA executed" set_variable = { conservatism_leader = 0 } custom_effect_tooltip = JAP_pm_koizumi_takes_office_tt set_leader = yes set_temp_variable = { party_popularity_increase = 0.15 } change_relative_party_popularity = yes set_country_flag = JAP_KOIZUMI_HISTRICAL_APPEARANCE ai_chance = { base = 1 } } } #Kabukicho Building Fire country_event = { id = JAP_historical.9130901001 title = JAP_historical.9130901001.t desc = JAP_historical.9130901001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture option = { name = JAP_historical.9130901001.oA log = "[GetDateText]: [Root.GetName]: JAP_historical.9130901001.oA" add_stability = -0.01 } } #The Birth of Princess Aiko country_event = { id = JAP_historical.131201001 title = JAP_historical.131201001.t desc = JAP_historical.131201001.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes #picture option = { name = JAP_historical.131201001.oA log = "[GetDateText]: [Root.GetName]: JAP_historical.131201001.oA" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.01 } set_temp_variable = { temp_outlook_increase = 0.01 } change_relative_party_popularity = yes } } #2003 Miyagi Earthquake country_event = { id = JAP_historical.150526001 title = JAP_historical.150526001.t desc = JAP_historical.150526001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 616 NOT = { 616 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.150526001 - disaster_help" 616 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.25 } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.150526001 - disaster_leave" 616 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #2003 Second Miyagi Consecutive Earthquakes country_event = { id = JAP_historical.150726001 title = JAP_historical.150726001.t desc = JAP_historical.150726001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 616 NOT = { 616 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.150726001 - disaster_help" 616 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.5 } } if = { limit = { air_base > 0 } damage_building = { type = air_base damage = 0.25 } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.150726001 - disaster_leave" 616 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1.0 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1.0 } } if = { limit = { air_base > 0 } damage_building = { type = air_base damage = 0.5 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #2003 Hokkaido earthquake country_event = { id = JAP_historical.150926001 title = JAP_historical.150926001.t desc = JAP_historical.150926001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 617 NOT = { 617 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.150926001 - disaster_help" 617 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.75 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.5 } } if = { limit = { naval_base > 0 } damage_building = { type = naval_base damage = 0.5 } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.150926001 - disaster_leave" 617 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1.5 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1.0 } } if = { limit = { naval_base > 0 } damage_building = { type = naval_base damage = 1.0 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #2004 Chuetsu Earthquake country_event = { id = JAP_historical.161023001 title = JAP_historical.161023001.t desc = JAP_historical.161023001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 613 NOT = { 613 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.161023001 - disaster_help" 613 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1.5 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 1.0 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 0.5 } } } newline = yes medium_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.161023001 - disaster_leave" 613 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 3.0 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 2.0 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 1.0 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #2005 Fukuoka Earthquake country_event = { id = JAP_historical.170320001 title = JAP_historical.170320001.t desc = JAP_historical.170320001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 609 NOT = { 609 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.170320001 - disaster_help" 609 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.25 } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.170320001 - disaster_leave" 609 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1.0 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.5 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #Derailment Accident on the Fukuchiyama Line country_event = { id = JAP_historical.170425001 title = JAP_historical.170425001.t desc = JAP_historical.170425001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.170425001 - disaster_help" add_political_power = -50 add_stability = -0.01 ai_chance = { base = 95 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.170425001 - disaster_leave" add_stability = -0.05 ai_chance = { base = 5 } } } #The Birth of Prince Hisahito country_event = { id = JAP_historical.180906001 title = JAP_historical.180906001.t desc = JAP_historical.180906001.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes #picture option = { name = JAP_historical.180906001.oA log = "[GetDateText]: [Root.GetName]: JAP_historical.180906001.oA" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.02 } set_temp_variable = { temp_outlook_increase = 0.02 } change_relative_party_popularity = yes } } #Koizumi or Abe country_event = { id = JAP_historical.20060926 title = JAP_historical.20060926.t desc = JAP_historical.20060926.d picture = GFX_JAP_event_junichiro_abe is_triggered_only = yes trigger = { has_country_leader = { name = "Junichiro Koizumi" } has_country_flag = JAP_KOIZUMI_HISTRICAL_APPEARANCE check_variable = { ruling_party = 1 } } option = { name = JAP_historical.20060926.oA ai_chance = { base = 1 modifier = { is_historical_focus_on = yes factor = 0 } } } option = { name = JAP_historical.20060926.oB log = "[GetDateText]: [This.GetName]: JAP_historical.20060926.oB executed" set_variable = { conservatism_leader = 0 } custom_effect_tooltip = JAP_pm_abe_takes_office_tt set_leader = yes set_country_flag = JAP_ABE_FIRST_HISTRICAL_APPEARANCE ai_chance = { base = 10 } } } #The Lost Pension country_event = { id = JAP_historical.190216001 title = JAP_historical.190216001.t desc = JAP_historical.190216001.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes #picture option = { name = JAP_historical.190216001.oA log = "[GetDateText]: [Root.GetName]: JAP_historical.190216001.oA" add_political_power = -400 add_stability = -0.05 set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes } } #Matsuoka's Scandal country_event = { id = JAP_historical.20070307 title = JAP_historical.20070307.t desc = JAP_historical.20070307.d picture = GFX_JAP_event_matsuoka_scandal is_triggered_only = yes fire_only_once = yes trigger = { check_variable = { ruling_party = 1 } } option = { name = JAP_historical.20070307.oA log = "[GetDateText]: [This.GetName]: JAP_historical.20070307.oA executed" add_political_power = -50 set_country_flag = JAP_MATSUOKA_SCANDAL ai_chance = { base = 1 modifier = { is_historical_focus_on = yes factor = 0 } } } option = { name = JAP_historical.20070307.oB log = "[GetDateText]: [This.GetName]: JAP_historical.20070307.oB executed" set_temp_variable = { party_popularity_increase = -0.02 } change_relative_party_popularity = yes set_country_flag = JAP_MATSUOKA_SCANDAL ai_chance = { base = 1 } } } #2007 Noto Earthquake country_event = { id = JAP_historical.190325001 title = JAP_historical.190325001.t desc = JAP_historical.190325001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 613 NOT = { 613 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.190325001 - disaster_help" 613 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.25 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.1 } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.190325001 - disaster_leave" 613 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.2 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #Matsuoka's suicide country_event = { id = JAP_historical.20070528 title = JAP_historical.20070528.t desc = JAP_historical.20070528.d picture = GFX_generic_tractor_manufacturer is_triggered_only = yes trigger = { has_country_flag = JAP_MATSUOKA_SCANDAL } option = { name = JAP_historical.20070528.oA log = "[GetDateText]: [This.GetName]: JAP_historical.20070528.oA executed" set_temp_variable = { party_popularity_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } #Kyuuma's gaffe country_event = { id = JAP_historical.20070704 title = JAP_historical.20070704.t desc = JAP_historical.20070704.d picture = GFX_nuclear_test is_triggered_only = yes fire_only_once = yes trigger = { check_variable = { ruling_party = 1 } } option = { name = JAP_historical.20070704.oA log = "[GetDateText]: [This.GetName]: JAP_historical.20070704.oA executed" set_temp_variable = { party_popularity_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } #2007 Chuetsu Offshore Earthquake country_event = { id = JAP_historical.190716001 title = JAP_historical.190716001.t desc = JAP_historical.190716001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 613 NOT = { 613 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.190716001 - disaster_help" 613 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.25 } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.190716001 - disaster_leave" 613 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #Akagi's Scandal country_event = { id = JAP_historical.20070801 title = JAP_historical.20070801.t desc = JAP_historical.20070801.d picture = GFX_court is_triggered_only = yes trigger = { has_country_flag = JAP_MATSUOKA_SCANDAL } option = { name = JAP_historical.20070801.oA log = "[GetDateText]: [This.GetName]: JAP_historical.20070801.oA executed" set_temp_variable = { party_popularity_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } #Abe or Fukuda country_event = { id = JAP_historical.20070926 title = JAP_historical.20070926.t desc = JAP_historical.20070926.d picture = GFX_JAP_event_abe_fukuda is_triggered_only = yes fire_only_once = yes trigger = { has_country_leader = { name = "Shinzo Abe" } has_country_flag = JAP_ABE_FIRST_HISTRICAL_APPEARANCE check_variable = { ruling_party = 1 } } option = { name = JAP_historical.20070926.oA ai_chance = { base = 1 modifier = { is_historical_focus_on = yes factor = 0 } } } option = { name = JAP_historical.20070926.oB log = "[GetDateText]: [This.GetName]: JAP_historical.20070926.oB executed" set_variable = { conservatism_leader = 0 } custom_effect_tooltip = JAP_pm_fukuda_takes_office_tt set_leader = yes set_country_flag = JAP_FUKUDA_HISTRICAL_APPEARANCE ai_chance = { base = 10 } } } #2008 Iwate-Miyagi Nairiku Earthquake country_event = { id = JAP_historical.200614001 title = JAP_historical.200614001.t desc = JAP_historical.200614001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 616 NOT = { 616 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.200614001 - disaster_help" 616 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.200614001 - disaster_leave" 616 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 1.0 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #Fukuda or Asō? country_event = { id = JAP_historical.20080924 title = JAP_historical.20080924.t desc = JAP_historical.20080924.d picture = GFX_JAP_event_fukuda_aso is_triggered_only = yes fire_only_once = yes trigger = { has_country_leader = { name = "Yasuo Fukuda" } has_country_flag = JAP_FUKUDA_HISTRICAL_APPEARANCE check_variable = { ruling_party = 1 } } option = { name = JAP_historical.20080924.oA ai_chance = { base = 1 modifier = { is_historical_focus_on = yes factor = 0 } } } option = { name = JAP_historical.20080924.oB log = "[GetDateText]: [This.GetName]: JAP_historical.20080924.oB executed" set_variable = { conservatism_leader = 0 } custom_effect_tooltip = JAP_pm_aso_takes_office_tt set_leader = yes ai_chance = { base = 10 } } } country_event = { id = JAP_historical.20030926 title = JAP_historical.20030926.t desc = JAP_historical.20030926.d picture = GFX_treaty is_triggered_only = yes fire_only_once = yes trigger = { tag = JAP neutrality_neutral_conservatism_in_power_or_coalition = no has_country_flag = JAP_liberal_party_flag } immediate = { clr_country_flag = JAP_liberal_party_flag } option = { name = JAP_historical.20030926.a log = "[GetDateText]: [This.GetName]: JAP_historical.20030926.a executed" set_temp_variable = { var = tmp_liberal value = var:party_pop_array^14 } set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = tmp_liberal } set_temp_variable = { temp_outlook_increase = tmp_liberal } change_relative_party_popularity = yes set_temp_variable = { var = tmp_liberal value = var:party_pop_array^14 } multiply_temp_variable = { var = tmp_liberal value = -1 } set_temp_variable = { party_index = 14 } set_temp_variable = { party_popularity_increase = tmp_liberal } set_temp_variable = { temp_outlook_increase = tmp_liberal } change_relative_party_popularity = yes ai_chance = { base = 1 } } } country_event = { id = JAP_historical.20090808 title = JAP_historical.20090808.t desc = JAP_historical.20090808.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes trigger = { tag = JAP neutrality_neutral_conservatism_in_power_or_coalition = no NOT = { has_country_flag = JAP_your_party_end_flag } } immediate = { if = { limit = { has_country_flag = JAP_liberal_party_flag } clr_country_flag = JAP_liberal_party_flag } set_country_flag = JAP_your_party_flag } option = { name = JAP_historical.20090808.a log = "[GetDateText]: [This.GetName]: JAP_historical.20090808.a executed" set_temp_variable = { party_index = 14 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } country_event = { id = JAP_historical.20120928 title = JAP_historical.20120928.t desc = JAP_historical.20120928.d picture = GFX_computer is_triggered_only = yes fire_only_once = yes trigger = { tag = JAP neutrality_neutral_libertarian_in_power_or_coalition = no NOT = { has_country_flag = JAP_innovation_party_flag } } immediate = { set_country_flag = JAP_innovation_party_flag } option = { name = JAP_historical.20120928.a log = "[GetDateText]: [This.GetName]: JAP_historical.20120928.a executed" set_temp_variable = { party_index = 16 } set_temp_variable = { party_popularity_increase = 0.12 } set_temp_variable = { temp_outlook_increase = 0.12 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } country_event = { id = JAP_historical.20141128 title = JAP_historical.20141128.t desc = JAP_historical.20141128.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes trigger = { tag = JAP neutrality_neutral_conservatism_in_power_or_coalition = no has_country_flag = JAP_your_party_flag } immediate = { clr_country_flag = JAP_your_party_flag set_country_flag = JAP_your_party_end_flag } option = { name = JAP_historical.20141128.a log = "[GetDateText]: [This.GetName]: JAP_historical.20141128.a executed" set_temp_variable = { var = tmp_your value = var:party_pop_array^14 } multiply_temp_variable = { var = tmp_your value = -1 } set_temp_variable = { party_index = 14 } set_temp_variable = { party_popularity_increase = tmp_your } set_temp_variable = { temp_outlook_increase = tmp_your } change_relative_party_popularity = yes ai_chance = { base = 1 } } } country_event = { id = JAP_historical.20170925 title = JAP_historical.20170925.t desc = JAP_historical.20170925.d picture = GFX_treaty is_triggered_only = yes fire_only_once = yes trigger = { tag = JAP neutrality_neutral_conservatism_in_power_or_coalition = no western_liberal_are_in_power_or_coalition = no NOT = { has_country_flag = JAP_constitutional_democratic_party_flag } } immediate = { set_country_flag = JAP_hope_party_flag set_country_flag = JAP_constitutional_democratic_party_flag } option = { name = JAP_historical.20170925.a log = "[GetDateText]: [This.GetName]: JAP_historical.20170925.a executed" set_temp_variable = { party_index = 14 } set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes newline = yes custom_effect_tooltip = JAP_historical.20170925_TT ai_chance = { base = 1 } } } country_event = { id = JAP_historical.20180507 title = JAP_historical.20180507.t desc = JAP_historical.20180507.d picture = GFX_political_deal is_triggered_only = yes fire_only_once = yes trigger = { tag = JAP neutrality_neutral_conservatism_in_power_or_coalition = no NOT = { has_country_flag = JAP_democratic_party_for_the_people_flag } } immediate = { clr_country_flag = JAP_hope_party_flag set_country_flag = JAP_democratic_party_for_the_people_flag } option = { name = JAP_historical.20180507.a log = "[GetDateText]: [This.GetName]: JAP_historical.20180507.a executed" custom_effect_tooltip = JAP_historical.20180507_TT ai_chance = { base = 1 } } } country_event = { id = JAP_historical.20190401 title = JAP_historical.20190401.t desc = JAP_historical.20190401.d picture = GFX_politics_cut_taxes is_triggered_only = yes fire_only_once = yes trigger = { tag = JAP emerging_anarchist_communism_in_power_or_coalition = no NOT = { has_country_flag = JAP_reiwa_shinsengumi_flag } } immediate = { set_country_flag = JAP_reiwa_shinsengumi_flag } option = { name = JAP_historical.20190401.a log = "[GetDateText]: [This.GetName]: JAP_historical.20190401.a executed" set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } country_event = { id = JAP_historical.20220710 title = JAP_historical.20220710.t desc = JAP_historical.20220710.d picture = GFX_treaty is_triggered_only = yes fire_only_once = yes trigger = { tag = JAP nationalist_right_wing_populists_are_in_power_or_coalition = no NOT = { has_country_flag = JAP_party_of_do_it_yourself_flag } } immediate = { set_country_flag = JAP_party_of_do_it_yourself_flag } option = { name = JAP_historical.20220710.a log = "[GetDateText]: [This.GetName]: JAP_historical.20220710.a executed" set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.03 } set_temp_variable = { temp_outlook_increase = 0.03 } change_relative_party_popularity = yes ai_chance = { base = 1 } } } #2009 Shizuoka Earthquake country_event = { id = JAP_historical.210811001 title = JAP_historical.210811001.t desc = JAP_historical.210811001.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 613 NOT = { 613 = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } } } #National Aid option = { name = JAP_historical.disaster_help log = "[GetDateText]: [Root.GetName]: JAP_historical.210811001 - disaster_help" 613 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.25 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.25 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 0.25 } } } newline = yes small_expenditure = yes ai_chance = { base = 75 } } #Self-Determination option = { name = JAP_historical.disaster_leave log = "[GetDateText]: [Root.GetName]: JAP_historical.210811001 - disaster_leave" 613 = { if = { limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.5 } } if = { limit = { industrial_complex > 0 } damage_building = { type = industrial_complex damage = 0.5 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 0.5 } } } add_stability = -0.01 set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes ai_chance = { base = 15 modifier = { is_historical_focus_on = yes factor = 0 } } } } #3.11 country_event = { id = JAP_historical.20110311 title = JAP_historical.20110311.t desc = JAP_historical.20110311.d picture = GFX_broken_infrastructure is_triggered_only = yes fire_only_once = yes #picture trigger = { controls_state = 616 controls_state = 615 } immediate = { set_variable = { JAP_once_millennium_disaster_stability_factor = -0.25 } set_variable = { JAP_once_millennium_disaster_political_power_factor = -0.20 } set_variable = { JAP_once_millennium_disaster_consumer_goods_factor = 0.20 } set_variable = { JAP_once_millennium_disaster_energy_gain_multiplier = -0.20 } 616 = { if = { limit = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } set_variable = { JAP_scars_earthquake_and_tsunami_state_production_speed_buildings_factor = -0.25 } set_variable = { JAP_scars_earthquake_and_tsunami_state_resources_factor = -0.15 } set_variable = { JAP_scars_earthquake_and_tsunami_state_productivity_growth_modifier = -0.15 } } else = { set_variable = { JAP_scars_earthquake_and_tsunami_state_production_speed_buildings_factor = -0.50 } set_variable = { JAP_scars_earthquake_and_tsunami_state_resources_factor = -0.30 } set_variable = { JAP_scars_earthquake_and_tsunami_state_productivity_growth_modifier = -0.30 } } } 615 = { if = { limit = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } set_variable = { JAP_scars_earthquake_state_production_speed_buildings_factor = -0.10 } set_variable = { JAP_scars_earthquake_state_resources_factor = -0.075 } set_variable = { JAP_scars_earthquake_state_productivity_growth_modifier = -0.05 } } else = { set_variable = { JAP_scars_earthquake_state_production_speed_buildings_factor = -0.20 } set_variable = { JAP_scars_earthquake_state_resources_factor = -0.15 } set_variable = { JAP_scars_earthquake_state_productivity_growth_modifier = -0.10 } } } set_country_flag = JAP_great_east_japan_earthquake_flag mark_focus_tree_layout_dirty = yes } option = { name = JAP_historical.20110311.a log = "[GetDateText]: [This.GetName]: JAP_historical.20110311.a executed" 616 = { if = { limit = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } if = { limit = { infrastructure > 1 } remove_building = { type = infrastructure level = 2 } } if = { limit = { internet_station > 0 } remove_building = { type = internet_station level = 1 } } if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 2.5 } } if = { limit = { offices > 0 } damage_building = { type = offices damage = 2.5 } } } else = { if = { limit = { infrastructure > 3 } remove_building = { type = infrastructure level = 4 } } if = { limit = { internet_station > 1 } remove_building = { type = internet_station level = 2 } } if = { limit = { industrial_complex > 3 } remove_building = { type = industrial_complex level = 4 } } if = { limit = { dockyard > 0 } remove_building = { type = dockyard level = 1 } } if = { limit = { agriculture_district > 0 } remove_building = { type = agriculture_district level = 1 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 5.0 } } if = { limit = { offices > 0 } damage_building = { type = offices damage = 5.0 } } } add_dynamic_modifier = { modifier = JAP_scars_earthquake_and_tsunami } } newline = yes 615 = { if = { limit = { has_dynamic_modifier = { modifier = JAP_seismic_retrofit } } if = { limit = { infrastructure > 0 } remove_building = { type = infrastructure level = 1 } } if = { limit = { industrial_complex > 1 } remove_building = { type = industrial_complex level = 2 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 1.0 } } if = { limit = { dockyard > 0 } damage_building = { type = dockyard damage = 1.0 } } if = { limit = { agriculture_district > 0 } damage_building = { type = agriculture_district damage = 1.0 } } if = { limit = { offices > 0 } damage_building = { type = offices damage = 1.0 } } } else = { if = { limit = { infrastructure > 1 } remove_building = { type = infrastructure level = 2 } } if = { limit = { internet_station > 0 } remove_building = { type = internet_station level = 1 } } if = { limit = { industrial_complex > 2 } remove_building = { type = industrial_complex level = 3 } } if = { limit = { arms_factory > 0 } damage_building = { type = arms_factory damage = 2.0 } } if = { limit = { dockyard > 0 } damage_building = { type = dockyard damage = 2.0 } } if = { limit = { agriculture_district > 0 } damage_building = { type = agriculture_district damage = 2.0 } } if = { limit = { offices > 0 } damage_building = { type = offices damage = 2.0 } } } add_dynamic_modifier = { modifier = JAP_scars_earthquake } } newline = yes decrease_economic_growth = yes newline = yes add_dynamic_modifier = { modifier = JAP_once_millennium_disaster } newline = yes add_manpower = -18420 newline = yes custom_effect_tooltip = JAP_great_east_japan_earthquake_tree_tt hidden_effect = { news_event = JAP_news.02 country_event = { id = Japan.2011031150 days = 1 } } ai_chance = { base = 1 } } } news_event = { id = JAP_news.02 title = JAP_news.02.t desc = JAP_news.02.d picture = GFX_event_news_earthquake is_triggered_only = yes major = yes #picture option = { name = JAP_news.02.a ai_chance = { base = 1 } } } country_event = { id = Japan.201103111 title = Japan.201103111.t desc = Japan.201103111.d picture = GFX_broken_infrastructure is_triggered_only = yes #picture option = { name = Japan.201103111.a log = "[GetDateText]: [This.GetName]: Japan.201103111.a executed" add_stability = 0.1 newline = yes if = { limit = { NOT = { has_idea = economic_boom } } increase_economic_growth = yes } ai_chance = { base = 1 } } } country_event = { id = Japan.201103112 title = Japan.201103112.t desc = Japan.201103112.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = Japan.201103112.a log = "[GetDateText]: [This.GetName]: Japan.201103112.a executed" effect_tooltip = { 616 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_scars_earthquake_and_tsunami } add_to_variable = { JAP_scars_earthquake_and_tsunami_state_production_speed_buildings_factor = 0.10 tooltip = state_production_speed_buildings_factor_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.201103113 title = Japan.201103113.t desc = Japan.201103113.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = Japan.201103113.a log = "[GetDateText]: [This.GetName]: Japan.201103113.a executed" effect_tooltip = { 616 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_scars_earthquake_and_tsunami } add_to_variable = { JAP_scars_earthquake_and_tsunami_state_production_speed_buildings_factor = 0.10 tooltip = state_production_speed_buildings_factor_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.201103114 title = Japan.201103114.t desc = Japan.201103114.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = Japan.201103114.a log = "[GetDateText]: [This.GetName]: Japan.201103114.a executed" effect_tooltip = { 615 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_scars_earthquake } add_to_variable = { JAP_scars_earthquake_state_production_speed_buildings_factor = 0.05 tooltip = state_production_speed_buildings_factor_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.201103115 title = Japan.201103115.t desc = Japan.201103115.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = Japan.201103115.a log = "[GetDateText]: [This.GetName]: Japan.201103115.a executed" effect_tooltip = { 615 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_scars_earthquake } add_to_variable = { JAP_scars_earthquake_state_production_speed_buildings_factor = 0.05 tooltip = state_production_speed_buildings_factor_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.201103116 title = Japan.201103116.t desc = Japan.201103116.d picture = GFX_computer is_triggered_only = yes #picture option = { name = Japan.201103116.a log = "[GetDateText]: [This.GetName]: Japan.201103116.a executed" effect_tooltip = { 616 = { add_building_construction = { type = internet_station level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_scars_earthquake_and_tsunami } add_to_variable = { JAP_scars_earthquake_and_tsunami_state_production_speed_buildings_factor = 0.10 tooltip = state_production_speed_buildings_factor_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.201103117 title = Japan.201103117.t desc = Japan.201103117.d picture = GFX_computer is_triggered_only = yes #picture option = { name = Japan.201103117.a log = "[GetDateText]: [This.GetName]: Japan.201103117.a executed" effect_tooltip = { 616 = { add_building_construction = { type = internet_station level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_scars_earthquake_and_tsunami } add_to_variable = { JAP_scars_earthquake_and_tsunami_state_productivity_growth_modifier = 0.10 tooltip = state_productivity_growth_modifier_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.201103118 title = Japan.201103118.t desc = Japan.201103118.d picture = GFX_computer is_triggered_only = yes #picture option = { name = Japan.201103118.a log = "[GetDateText]: [This.GetName]: Japan.201103118.a executed" effect_tooltip = { 615 = { add_building_construction = { type = internet_station level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_scars_earthquake } add_to_variable = { JAP_scars_earthquake_state_productivity_growth_modifier = 0.05 tooltip = state_productivity_growth_modifier_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.201103119 title = Japan.201103119.t desc = Japan.201103119.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = Japan.201103119.a log = "[GetDateText]: [This.GetName]: Japan.201103119.a executed" effect_tooltip = { 616 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_once_millennium_disaster } add_to_variable = { JAP_once_millennium_disaster_consumer_goods_factor = -0.02 tooltip = consumer_goods_factor_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.2011031110 title = Japan.2011031110.t desc = Japan.2011031110.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = Japan.2011031110.a log = "[GetDateText]: [This.GetName]: Japan.2011031110.a executed" effect_tooltip = { 616 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_once_millennium_disaster } add_to_variable = { JAP_once_millennium_disaster_consumer_goods_factor = -0.02 tooltip = consumer_goods_factor_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.2011031111 title = Japan.2011031111.t desc = Japan.2011031111.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = Japan.2011031111.a log = "[GetDateText]: [This.GetName]: Japan.2011031111.a executed" effect_tooltip = { 615 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_once_millennium_disaster } add_to_variable = { JAP_once_millennium_disaster_consumer_goods_factor = -0.02 tooltip = consumer_goods_factor_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.2011031112 title = Japan.2011031112.t desc = Japan.2011031112.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = Japan.2011031112.a log = "[GetDateText]: [This.GetName]: Japan.2011031112.a executed" effect_tooltip = { 615 = { add_building_construction = { type = industrial_complex level = 1 instant_build = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_once_millennium_disaster } add_to_variable = { JAP_once_millennium_disaster_consumer_goods_factor = -0.02 tooltip = consumer_goods_factor_tt } } } ai_chance = { base = 1 } } } country_event = { id = Japan.2011031150 title = Japan.2011031150.t desc = Japan.2011031150.d picture = GFX_event_JAP_fukushima_disaster is_triggered_only = yes #picture trigger = { NOT = { has_idea = non_nuclear_power } } option = { name = Japan.2011031150.a log = "[GetDateText]: [This.GetName]: Japan.2011031150.a executed" add_stability = -0.15 newline = yes if = { limit = { has_idea = JAP_nuclear_power_program } swap_ideas = { remove_idea = JAP_nuclear_power_program add_idea = JAP_anxiety_nuclear_power } } else_if = { limit = { has_idea = JAP_nuclear_local_consent } swap_ideas = { remove_idea = JAP_nuclear_local_consent add_idea = JAP_anxiety_nuclear_power } } else = { add_ideas = JAP_anxiety_nuclear_power } hidden_effect = { country_event = { id = Japan.2011031151 days = 30 } news_event = JAP_news.03 } ai_chance = { base = 1 } } } news_event = { id = JAP_news.03 title = JAP_news.03.t desc = JAP_news.03.d picture = GFX_fukushima is_triggered_only = yes major = yes #picture option = { name = JAP_news.03.a ai_chance = { base = 1 } } } country_event = { id = Japan.2011031151 title = Japan.2011031151.t desc = Japan.2011031151.d picture = GFX_political_deal is_triggered_only = yes #picture option = { name = Japan.2011031151.a log = "[GetDateText]: [This.GetName]: Japan.2011031151.a executed" set_country_flag = disable_nuclear_power_plant_flag custom_effect_tooltip = toggle_nuclear_power_plant_generation_two_tt newline = yes remove_ideas = JAP_anxiety_nuclear_power newline = yes add_ideas = JAP_shut_down_nuclear_plants ai_chance = { base = 1 modifier = { is_historical_focus_on = yes factor = 0 } } } option = { name = Japan.2011031151.b log = "[GetDateText]: [This.GetName]: Japan.2011031151.b executed" remove_ideas = JAP_anxiety_nuclear_power newline = yes add_ideas = JAP_nuclear_strict_examination ai_chance = { base = 1 } } option = { name = Japan.2011031151.c log = "[GetDateText]: [This.GetName]: Japan.2011031151.c executed" remove_ideas = JAP_anxiety_nuclear_power newline = yes add_ideas = JAP_continue_nuclear_plants ai_chance = { base = 1 modifier = { is_historical_focus_on = yes factor = 0 } } } } #---------------------------------------------------------------- #Focus Fired Events #---------------------------------------------------------------- country_event = { id = Japan.101 title = Japan.101.t desc = Japan.101.d picture = GFX_political_deal is_triggered_only = yes #picture option = { name = Japan.101.a log = "[GetDateText]: [This.GetName]: Japan.101.a executed" country_event = MD4_election_campaign.0 hidden_effect = { country_event = { id = Japan.102 days = 15 } } ai_chance = { base = 1 } } option = { name = Japan.101.b log = "[GetDateText]: [This.GetName]: Japan.101.b executed" set_temp_variable = { party_popularity_increase = -0.03 } set_temp_variable = { temp_outlook_increase = -0.03 } change_relative_party_popularity = yes ai_chance = { base = 1 modifier = { JAP_ai_historical_path = yes factor = 0 } } } } country_event = { id = Japan.102 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: Japan.102 executed" if = { limit = { has_government = democratic } meta_effect = { text = { set_politics = { ruling_party = democratic last_election = "[CURRENT_DATE]" election_frequency = 48 elections_allowed = yes } } CURRENT_DATE = "[?global.date.GetDateStringNoHour]" } } if = { limit = { has_government = communism } meta_effect = { text = { set_politics = { ruling_party = communism last_election = "[CURRENT_DATE]" election_frequency = 48 elections_allowed = yes } } CURRENT_DATE = "[?global.date.GetDateStringNoHour]" } } if = { limit = { has_government = fascism } meta_effect = { text = { set_politics = { ruling_party = fascism last_election = "[CURRENT_DATE]" election_frequency = 48 elections_allowed = yes } } CURRENT_DATE = "[?global.date.GetDateStringNoHour]" } } if = { limit = { has_government = neutrality } meta_effect = { text = { set_politics = { ruling_party = neutrality last_election = "[CURRENT_DATE]" election_frequency = 48 elections_allowed = yes } } CURRENT_DATE = "[?global.date.GetDateStringNoHour]" } } if = { limit = { has_government = nationalist } meta_effect = { text = { set_politics = { ruling_party = nationalist last_election = "[CURRENT_DATE]" election_frequency = 48 elections_allowed = yes } } CURRENT_DATE = "[?global.date.GetDateStringNoHour]" } } } } country_event = { id = Japan.103 title = Japan.103.t desc = Japan.103.d picture = GFX_generic_soldiers is_triggered_only = yes #picture option = { name = Japan.103.a log = "[GetDateText]: [This.GetName]: Japan.103.a executed" if = { limit = { check_variable = { ruling_party = 2 } } set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = 0.20 } set_temp_variable = { temp_outlook_increase = 0.20 } change_relative_party_popularity = yes } ai_chance = { base = 1 modifier = { check_variable = { ruling_party = 2 } factor = 100 } } } option = { name = Japan.103.b log = "[GetDateText]: [This.GetName]: Japan.103.b executed" if = { limit = { check_variable = { ruling_party = 18 } } set_temp_variable = { party_index = 18 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 18 } set_temp_variable = { party_popularity_increase = 0.20 } set_temp_variable = { temp_outlook_increase = 0.20 } change_relative_party_popularity = yes } ai_chance = { base = 1 modifier = { check_variable = { ruling_party = 18 } factor = 100 } } } option = { name = Japan.103.c log = "[GetDateText]: [This.GetName]: Japan.103.c executed" if = { limit = { check_variable = { ruling_party = 19 } } set_temp_variable = { party_index = 19 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 19 } set_temp_variable = { party_popularity_increase = 0.20 } set_temp_variable = { temp_outlook_increase = 0.20 } change_relative_party_popularity = yes } ai_chance = { base = 1 modifier = { check_variable = { ruling_party = 19 } factor = 100 } } } option = { name = Japan.103.e log = "[GetDateText]: [This.GetName]: Japan.103.e executed" trigger = { has_country_flag = JAP_reiwa_shinsengumi_flag } if = { limit = { check_variable = { ruling_party = 5 } } set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 5 } set_temp_variable = { party_popularity_increase = 0.20 } set_temp_variable = { temp_outlook_increase = 0.20 } change_relative_party_popularity = yes } ai_chance = { base = 1 modifier = { check_variable = { ruling_party = 5 } factor = 100 } } } } country_event = { id = Japan.104 title = Japan.104.t desc = Japan.104.d picture = GFX_generic_soldiers is_triggered_only = yes #picture option = { name = Japan.104.a log = "[GetDateText]: [This.GetName]: Japan.104.a executed" if = { limit = { check_variable = { ruling_party = 1 } } set_temp_variable = { party_index = 1 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 1 } set_temp_variable = { party_popularity_increase = 0.20 } set_temp_variable = { temp_outlook_increase = 0.20 } change_relative_party_popularity = yes } ai_chance = { base = 1 modifier = { check_variable = { ruling_party = 1 } factor = 100 } modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } } option = { name = Japan.104.b log = "[GetDateText]: [This.GetName]: Japan.104.b executed" if = { limit = { check_variable = { ruling_party = 3 } } set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.20 } set_temp_variable = { temp_outlook_increase = 0.20 } change_relative_party_popularity = yes } ai_chance = { base = 1 modifier = { check_variable = { ruling_party = 3 } factor = 100 } modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } } option = { name = Japan.104.c log = "[GetDateText]: [This.GetName]: Japan.104.c executed" trigger = { OR = { has_country_flag = JAP_liberal_party_flag has_country_flag = JAP_your_party_flag has_country_flag = JAP_hope_party_flag has_country_flag = JAP_democratic_party_for_the_people_flag } } if = { limit = { check_variable = { ruling_party = 14 } } set_temp_variable = { party_index = 14 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 14 } set_temp_variable = { party_popularity_increase = 0.20 } set_temp_variable = { temp_outlook_increase = 0.20 } change_relative_party_popularity = yes } ai_chance = { base = 1 modifier = { check_variable = { ruling_party = 14 } factor = 100 } modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } } option = { name = Japan.104.e log = "[GetDateText]: [This.GetName]: Japan.104.e executed" trigger = { has_country_flag = JAP_innovation_party_flag } if = { limit = { check_variable = { ruling_party = 16 } } set_temp_variable = { party_index = 16 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 16 } set_temp_variable = { party_popularity_increase = 0.20 } set_temp_variable = { temp_outlook_increase = 0.20 } change_relative_party_popularity = yes } ai_chance = { base = 1 modifier = { check_variable = { ruling_party = 16 } factor = 100 } modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } } option = { name = Japan.104.f log = "[GetDateText]: [This.GetName]: Japan.104.f executed" if = { limit = { check_variable = { ruling_party = 23 } } set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } else = { set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.20 } set_temp_variable = { temp_outlook_increase = 0.20 } change_relative_party_popularity = yes } ai_chance = { base = 1 modifier = { factor = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH } } } } #---------------------------------------------------------------- #territorial disputes #---------------------------------------------------------------- #Initiating Northern Territories Negotiations country_event = { id = JAP_territorial.01 title = JAP_territorial.01.t desc = JAP_territorial.01.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.01.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.01.oA executed" SOV = { country_event = JAP_territorial.02 } ai_chance = { base = 1 } } } #[JAP.GetName] Requests Northern Territories Negotiations country_event = { id = JAP_territorial.02 title = JAP_territorial.02.t desc = JAP_territorial.02.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.02.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.02.oA executed" 1168 = { transfer_state_to = JAP } SOV = { remove_state_core = 1168 remove_opinion_modifier = { target = JAP modifier = minor_border_dispute } } JAP = { remove_opinion_modifier = { target = SOV modifier = minor_border_dispute } country_event = { id = JAP_territorial.03 days = 5 } } ai_chance = { base = 1 modifier = { factor = 1.5 has_opinion = { target = JAP value > 25 } has_opinion = { target = JAP value < 50 } } modifier = { factor = 2.0 has_opinion = { target = JAP value > 49 } has_opinion = { target = JAP value < 75 } } modifier = { factor = 2.5 has_opinion = { target = JAP value > 74 } has_opinion = { target = JAP value < 100 } } modifier = { factor = 3.0 has_opinion = { target = JAP value > 99 } } modifier = { factor = 2.0 sender_influence_higher_10 = yes } modifier = { factor = 2.5 sender_influence_higher_15 = yes } modifier = { factor = 3.0 sender_influence_higher_25 = yes } } #opinion60,influence20 = 1.0*2.0*2.0*2.5 = 10.0 10.0/10.0+10 = 0.5 #opinion100,infuluence30 = 1.0*3.0*2.0*2.5*3.0 = 45.0 45.0/45.0+10 = 0.818 } option = { name = JAP_territorial.02.oB log = "[GetDateText]: [This.GetName]: JAP_territorial.02.oB executed" add_political_power = -50 JAP = { country_event = { id = JAP_territorial.04 days = 5 } } ai_chance = { base = 10 } } } #Agreement on the Return of the Northern Territories country_event = { id = JAP_territorial.03 title = JAP_territorial.03.t desc = JAP_territorial.03.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.03.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.03.oA executed" set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes JAP_escalate_territorial_disputes = yes hidden_effect = { set_country_flag = JAP_kuril_islands_solve } ai_chance = { base = 1 } } } #Northern Territories Negotiations Breakdown country_event = { id = JAP_territorial.04 title = JAP_territorial.04.t desc = JAP_territorial.04.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.04.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.04.oA executed" set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes custom_effect_tooltip = JAP_renegotiation_territory ai_chance = { base = 1 } } } #Initiate Senkaku Negotiations with [CHI.GetName] country_event = { id = JAP_territorial.05 title = JAP_territorial.05.t desc = JAP_territorial.05.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.05.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.05.oA executed" CHI = { country_event = JAP_territorial.06 } ai_chance = { base = 1 } } } #[JAP.GetName] Proposes Territorial Negotiations country_event = { id = JAP_territorial.06 title = JAP_territorial.06.t desc = JAP_territorial.06.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.06.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.06.oA executed" 939 = { remove_claim_by = CHI } CHI = { remove_opinion_modifier = { target = JAP modifier = minor_border_dispute } } JAP = { remove_opinion_modifier = { target = CHI modifier = minor_border_dispute } country_event = { id = JAP_territorial.07 days = 5 } } ai_chance = { base = 1 modifier = { factor = 1.5 has_opinion = { target = JAP value > 25 } has_opinion = { target = JAP value < 50 } } modifier = { factor = 2.0 has_opinion = { target = JAP value > 49 } has_opinion = { target = JAP value < 75 } } modifier = { factor = 2.5 has_opinion = { target = JAP value > 74 } has_opinion = { target = JAP value < 100 } } modifier = { factor = 3.0 has_opinion = { target = JAP value > 99 } } modifier = { factor = 2.0 sender_influence_higher_10 = yes } modifier = { factor = 2.5 sender_influence_higher_15 = yes } modifier = { factor = 3.0 sender_influence_higher_25 = yes } } #opinion60,influence20 = 1.0*2.0*2.0*2.5 = 10.0 10.0/10.0+10 = 0.5 #opinion100,infuluence30 = 1.0*3.0*2.0*2.5*3.0 = 45.0 45.0/45.0+10 = 0.818 } option = { name = JAP_territorial.06.oB log = "[GetDateText]: [This.GetName]: JAP_territorial.06.oB executed" add_political_power = -50 JAP = { country_event = { id = JAP_territorial.08 days = 5 } } ai_chance = { base = 10 } } } #[CHI.GetName] Withdraws Senkaku Claim! country_event = { id = JAP_territorial.07 title = JAP_territorial.07.t desc = JAP_territorial.07.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.07.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.07.oA executed" set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes JAP_escalate_territorial_disputes = yes hidden_effect = { set_country_flag = JAP_chi_senkaku_solve } ai_chance = { base = 1 } } } #[CHI.GetName] Maintains Its Claim country_event = { id = JAP_territorial.08 title = JAP_territorial.08.t desc = JAP_territorial.08.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.08.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.08.oA executed" set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes custom_effect_tooltip = JAP_renegotiation_territory ai_chance = { base = 1 } } } #Initiate Senkaku Negotiations with [TAI.GetName] country_event = { id = JAP_territorial.09 title = JAP_territorial.09.t desc = JAP_territorial.09.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.09.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.09.oA executed" TAI = { country_event = JAP_territorial.10 } ai_chance = { base = 1 } } } #[JAP.GetName] Proposes Territorial Negotiations country_event = { id = JAP_territorial.10 title = JAP_territorial.10.t desc = JAP_territorial.10.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.10.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.10.oA executed" 939 = { remove_claim_by = TAI } TAI = { remove_opinion_modifier = { target = JAP modifier = minor_border_dispute } } JAP = { remove_opinion_modifier = { target = TAI modifier = minor_border_dispute } country_event = { id = JAP_territorial.11 days = 5 } } ai_chance = { base = 1 modifier = { factor = 1.5 has_opinion = { target = JAP value > 25 } has_opinion = { target = JAP value < 50 } } modifier = { factor = 2.0 has_opinion = { target = JAP value > 49 } has_opinion = { target = JAP value < 75 } } modifier = { factor = 2.5 has_opinion = { target = JAP value > 74 } has_opinion = { target = JAP value < 100 } } modifier = { factor = 3.0 has_opinion = { target = JAP value > 99 } } modifier = { factor = 2.0 sender_influence_higher_10 = yes } modifier = { factor = 2.5 sender_influence_higher_15 = yes } modifier = { factor = 3.0 sender_influence_higher_25 = yes } } #opinion60,influence20 = 1.0*2.0*2.0*2.5 = 10.0 10.0/10.0+10 = 0.5 #opinion100,infuluence30 = 1.0*3.0*2.0*2.5*3.0 = 45.0 45.0/45.0+10 = 0.818 } option = { name = JAP_territorial.10.oB log = "[GetDateText]: [This.GetName]: JAP_territorial.10.oB executed" add_political_power = -50 JAP = { country_event = { id = JAP_territorial.12 days = 5 } } ai_chance = { base = 10 } } } #[TAI.GetName] Withdraws Senkaku Claim! country_event = { id = JAP_territorial.11 title = JAP_territorial.11.t desc = JAP_territorial.11.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.11.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.11.oA executed" set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes JAP_escalate_territorial_disputes = yes hidden_effect = { set_country_flag = JAP_tai_senkaku_solve } ai_chance = { base = 1 } } } #[TAI.GetName] Refuses to Withdraw Claim country_event = { id = JAP_territorial.12 title = JAP_territorial.12.t desc = JAP_territorial.12.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_territorial.12.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.12.oA executed" set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes custom_effect_tooltip = JAP_renegotiation_territory ai_chance = { base = 1 } } } #Initiate Takeshima Negotiations with [KOR.GetName] country_event = { id = JAP_territorial.13 title = JAP_territorial.13.t desc = JAP_territorial.13.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.13.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.13.oA executed" KOR = { country_event = JAP_territorial.14 } ai_chance = { base = 1 } } } #[JAP.GetName] Proposes Negotiations on Dokdo country_event = { id = JAP_territorial.14 title = JAP_territorial.14.t desc = JAP_territorial.14.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.14.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.14.oA executed" KOR = { remove_opinion_modifier = { target = JAP modifier = minor_border_dispute } } JAP = { remove_opinion_modifier = { target = KOR modifier = minor_border_dispute } country_event = { id = JAP_territorial.15 days = 5 } } ai_chance = { base = 1 modifier = { factor = 1.5 has_opinion = { target = JAP value > 25 } has_opinion = { target = JAP value < 50 } } modifier = { factor = 2.0 has_opinion = { target = JAP value > 49 } has_opinion = { target = JAP value < 75 } } modifier = { factor = 2.5 has_opinion = { target = JAP value > 74 } has_opinion = { target = JAP value < 100 } } modifier = { factor = 3.0 has_opinion = { target = JAP value > 99 } } modifier = { factor = 2.0 sender_influence_higher_10 = yes } modifier = { factor = 2.5 sender_influence_higher_15 = yes } modifier = { factor = 3.0 sender_influence_higher_25 = yes } } #opinion60,influence20 = 1.0*2.0*2.0*2.5 = 10.0 10.0/10.0+10 = 0.5 #opinion100,infuluence30 = 1.0*3.0*2.0*2.5*3.0 = 45.0 45.0/45.0+10 = 0.818 } option = { name = JAP_territorial.14.oB log = "[GetDateText]: [This.GetName]: JAP_territorial.14.oB executed" add_political_power = -50 JAP = { country_event = { id = JAP_territorial.16 days = 5 } } ai_chance = { base = 10 } } } #[KOR.GetName] Agrees to Transfer Takeshima! country_event = { id = JAP_territorial.15 title = JAP_territorial.15.t desc = JAP_territorial.15.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_territorial.15.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.15.oA executed" set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes JAP_escalate_territorial_disputes = yes hidden_effect = { set_country_flag = JAP_liancourt_rocks_solve } ai_chance = { base = 1 } } } #[KOR.GetName] Refuses Takeshima Negotiations country_event = { id = JAP_territorial.16 title = JAP_territorial.16.t desc = JAP_territorial.16.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_territorial.16.oA log = "[GetDateText]: [This.GetName]: JAP_territorial.16.oA executed" set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes custom_effect_tooltip = JAP_renegotiation_territory ai_chance = { base = 1 } } } #---------------------------------------------------------------- #Diplomacy Events #---------------------------------------------------------------- country_event = { id = JAP_diplomacy.01 title = JAP_diplomacy.01.t desc = JAP_diplomacy.01.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.01.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.01.a executed" USA = { country_event = JAP_diplomacy.02 } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.02 title = JAP_diplomacy.02.t desc = JAP_diplomacy.02.d picture = GFX_JAP_event_okinawa_base is_triggered_only = yes option = { name = JAP_diplomacy.02.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.02.a executed" 827 = { transfer_state_to = JAP } USA = { remove_state_core = 827 remove_opinion_modifier = { target = JAP modifier = minor_border_dispute } } JAP = { remove_opinion_modifier = { target = USA modifier = minor_border_dispute } country_event = { id = JAP_diplomacy.03 days = 5 } } ai_chance = { base = 1 modifier = { factor = 1.5 influence_higher_25 = no } modifier = { factor = 1.75 influence_higher_20 = no } modifier = { factor = 2.0 influence_higher_10 = no } modifier = { factor = 2.5 influence_higher_5 = no } modifier = { factor = 1.5 sender_influence_higher_10 = yes } modifier = { factor = 2.0 sender_influence_higher_15 = yes } modifier = { factor = 2.5 sender_influence_higher_25 = yes } modifier = { factor = 2.5 JAP = { NOT = { has_power_balance = { id = JAP_article_nine } } NOT = { has_completed_focus = JAP_dissolving_sdf } } } modifier = { factor = 1.5 JAP = { OR = { has_idea = defence_04 has_idea = defence_05 has_idea = defence_06 has_idea = defence_07 has_idea = defence_08 has_idea = defence_09 } } } # USA inf15,JAP inf15,art9→ 1.5*1.75*1.5*2.0*2.5 = 19 19/10+19 = 65.5 # ↑+defence spending→ 1.5*1.75*1.5*2.0*2.5*1.5 = 21 29/10+29 = 74.3 } } option = { name = JAP_diplomacy.02.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.02.b executed" JAP = { country_event = { id = JAP_diplomacy.04 days = 5 } } ai_chance = { base = 10 modifier = { factor = 3 power_balance_value = { id = JAP_article_nine value < 0.20 } } } } } country_event = { id = JAP_diplomacy.03 title = JAP_diplomacy.03.t desc = JAP_diplomacy.03.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.03.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.03.a executed" set_temp_variable = { party_popularity_increase = 0.10 } set_temp_variable = { temp_outlook_increase = 0.10 } change_relative_party_popularity = yes USA = { remove_opinion_modifier = { target = JAP modifier = review_relationship } } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.04 title = JAP_diplomacy.04.t desc = JAP_diplomacy.04.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_diplomacy.04.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.04.a executed" set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes custom_effect_tooltip = JAP_renegotiation_territory ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.05 title = JAP_diplomacy.05.t desc = JAP_diplomacy.05.d picture = GFX_generic_soldiers is_triggered_only = yes #picture option = { name = JAP_diplomacy.05.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.05.a executed" KOR = { country_event = JAP_diplomacy.06 } CHI = { country_event = { id = JAP_diplomacy.07 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.06 title = JAP_diplomacy.06.t desc = JAP_diplomacy.06.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.06.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.06.a executed" JAP = { set_country_flag = JAP_kor_accept_intellectual_platform } KOR = { set_country_flag = KOR_jap_accept_intellectual_platform } ai_chance = { base = 1 } } option = { name = JAP_diplomacy.06.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.06.b executed" add_political_power = -50 ai_chance = { base = 1 modifier = { factor = 0 has_opinion = { target = JAP value > -60 } } } } } country_event = { id = JAP_diplomacy.07 title = JAP_diplomacy.06.t desc = JAP_diplomacy.06.d picture = GFX_treaty is_triggered_only = yes #picture immediate = { country_event = { id = JAP_diplomacy.10 days = 1 } } option = { name = JAP_diplomacy.06.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.06.a executed" JAP = { set_country_flag = JAP_chi_accept_intellectual_platform } ai_chance = { base = 1 } } option = { name = JAP_diplomacy.06.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.06.b executed" add_political_power = -50 ai_chance = { base = 1 modifier = { factor = 0 has_opinion = { target = JAP value > -60 } } } } } country_event = { id = JAP_diplomacy.08 title = JAP_diplomacy.08.t desc = JAP_diplomacy.08.d picture = GFX_generic_soldiers is_triggered_only = yes #picture option = { name = JAP_diplomacy.08.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.08.a executed" add_ideas = JAP_chi_kor_intellectual_platform KOR = { add_ideas = JAP_chi_kor_intellectual_platform } CHI = { add_ideas = JAP_chi_kor_intellectual_platform } set_temp_variable = { treasury_change = gdp_total } multiply_temp_variable = { treasury_change = -0.01 } modify_treasury_effect = yes hidden_effect = { clr_country_flag = intellectual_platform_rejected } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.09 title = JAP_diplomacy.09.t desc = JAP_diplomacy.09.d picture = GFX_treaty_rejected is_triggered_only = yes #picture option = { name = JAP_diplomacy.09.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.09.a executed" unlock_decision_tooltip = JAP_intellectual_platform_decision hidden_effect = { set_country_flag = intellectual_platform_rejected } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.10 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.10 executed" JAP = { if = { limit = { has_country_flag = JAP_kor_accept_intellectual_platform has_country_flag = JAP_chi_accept_intellectual_platform } country_event = { id = JAP_diplomacy.08 days = 3 } } else = { country_event = { id = JAP_diplomacy.09 days = 3 } } } } } country_event = { id = JAP_diplomacy.34 title = JAP_diplomacy.34.t desc = JAP_diplomacy.34.d picture = GFX_stock_market is_triggered_only = yes #picture option = { name = JAP_diplomacy.34.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.34.a executed" add_ideas = JAP_chiang_mai_initiative JAP = { country_event = JAP_diplomacy.35 } ai_chance = { base = 1 } } option = { name = JAP_diplomacy.34.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.34.b executed" JAP = { country_event = JAP_diplomacy.36 } ai_chance = { base = 1 modifier = { factor = 0 has_opinion = { target = JAP value > -50 } } } } } country_event = { id = JAP_diplomacy.35 title = JAP_diplomacy.35.t desc = JAP_diplomacy.35.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.35.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.35.a executed" FROM = { add_opinion_modifier = { target = JAP modifier = diplomatic_support } } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.36 title = JAP_diplomacy.36.t desc = JAP_diplomacy.36.d picture = GFX_treaty_rejected is_triggered_only = yes #picture option = { name = JAP_diplomacy.36.a ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.37 title = JAP_diplomacy.37.t desc = JAP_diplomacy.37.d picture = GFX_stock_market is_triggered_only = yes #picture option = { name = JAP_diplomacy.37.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.37.a executed" add_timed_idea = { idea = JAP_quantitative_oda_idea days = 730 } JAP = { country_event = JAP_diplomacy.38 } ai_chance = { base = 1 } } option = { name = JAP_diplomacy.37.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.37.b executed" JAP = { country_event = JAP_diplomacy.39 } ai_chance = { base = 1 modifier = { factor = 0 has_opinion = { target = JAP value > -50 } } } } } country_event = { id = JAP_diplomacy.38 title = JAP_diplomacy.38.t desc = JAP_diplomacy.38.d picture = GFX_stock_market is_triggered_only = yes #picture option = { name = JAP_diplomacy.38.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.38.a executed" set_temp_variable = { percent_change = 2.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = FROM } change_influence_percentage = yes set_temp_variable = { treasury_change = -3.5 } modify_treasury_effect = yes if = { limit = { FROM = { NOT = { has_country_flag = JAP_development_aid_flag } } } FROM = { add_opinion_modifier = { target = JAP modifier = development_aid } set_country_flag = JAP_development_aid_flag } } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.39 title = JAP_diplomacy.39.t desc = JAP_diplomacy.39.d picture = GFX_treaty_rejected is_triggered_only = yes #picture option = { name = JAP_diplomacy.39.a ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.40 title = JAP_diplomacy.40.t desc = JAP_diplomacy.40.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.40.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.40.a executed" add_ideas = JAP_qualitative_oda_idea JAP = { country_event = JAP_diplomacy.41 } ai_chance = { base = 1 } } option = { name = JAP_diplomacy.40.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.40.b executed" JAP = { country_event = JAP_diplomacy.42 } ai_chance = { base = 1 modifier = { factor = 0 has_opinion = { target = JAP value > -50 } } } } } country_event = { id = JAP_diplomacy.41 title = JAP_diplomacy.41.t desc = JAP_diplomacy.41.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.41.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.41.a executed" set_temp_variable = { percent_change = 2.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = FROM } change_influence_percentage = yes if = { limit = { FROM = { NOT = { has_country_flag = JAP_development_aid_flag } } } FROM = { add_opinion_modifier = { target = JAP modifier = development_aid } set_country_flag = JAP_development_aid_flag } } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.42 title = JAP_diplomacy.42.t desc = JAP_diplomacy.42.d picture = GFX_treaty_rejected is_triggered_only = yes #picture option = { name = JAP_diplomacy.42.a ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.43 title = JAP_diplomacy.43.t desc = JAP_diplomacy.43.d picture = GFX_corvette is_triggered_only = yes #picture option = { name = JAP_diplomacy.43.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.43.a executed" add_ideas = JAP_security_south_china_sea_idea JAP = { country_event = JAP_diplomacy.44 } ai_chance = { base = 1 } } option = { name = JAP_diplomacy.43.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.43.b executed" JAP = { country_event = JAP_diplomacy.45 } ai_chance = { base = 1 modifier = { factor = 0 has_opinion = { target = JAP value > -50 } } } } } country_event = { id = JAP_diplomacy.44 title = JAP_diplomacy.44.t desc = JAP_diplomacy.44.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.44.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.44.a executed" set_temp_variable = { percent_change = 2.5 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = FROM } change_influence_percentage = yes FROM = { add_opinion_modifier = { target = JAP modifier = trade_security } } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.45 title = JAP_diplomacy.45.t desc = JAP_diplomacy.45.d picture = GFX_treaty_rejected is_triggered_only = yes #picture option = { name = JAP_diplomacy.45.a ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.46 title = JAP_diplomacy.46.t desc = JAP_diplomacy.46.d picture = GFX_generic_education_event_picture is_triggered_only = yes #picture option = { name = JAP_diplomacy.46.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.46.a executed" add_ideas = JAP_jap_education ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.47 title = JAP_diplomacy.47.t desc = JAP_diplomacy.47.d picture = GFX_computer is_triggered_only = yes #picture option = { name = JAP_diplomacy.47.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.47.a executed" swap_ideas = { remove_idea = JAP_jap_education add_idea = JAP_jap_education_culture } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.48 title = JAP_diplomacy.48.t desc = JAP_diplomacy.48.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.48.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.48.a executed" add_ideas = JAP_dual_use_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.49 title = JAP_diplomacy.49.t desc = JAP_diplomacy.49.d picture = GFX_broken_infrastructure is_triggered_only = yes #picture option = { name = JAP_diplomacy.49.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.49.a executed" add_ideas = JAP_disaster_countermeasure_cooperation_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.50 title = JAP_diplomacy.50.t desc = JAP_diplomacy.50.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.50.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.50.a executed" add_ideas = JAP_tai_high_technology_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.51 title = JAP_diplomacy.51.t desc = JAP_diplomacy.51.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.51.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.51.a executed" add_ideas = JAP_tai_international_student_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.52 title = JAP_diplomacy.52.t desc = JAP_diplomacy.52.d picture = GFX_trade_agreement is_triggered_only = yes #picture option = { name = JAP_diplomacy.52.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.52.a executed" add_ideas = JAP_chi_trade_support_idea JAP = { country_event = JAP_diplomacy.53 } ai_chance = { base = 1 } } option = { name = JAP_diplomacy.52.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.52.b executed" JAP = { country_event = JAP_diplomacy.54 } ai_chance = { base = 1 modifier = { factor = 0 has_opinion = { target = JAP value > -50 } } } } } country_event = { id = JAP_diplomacy.53 title = JAP_diplomacy.53.t desc = JAP_diplomacy.53.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.53.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.53.a executed" set_temp_variable = { percent_change = 2.0 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = CHI } change_influence_percentage = yes ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.54 title = JAP_diplomacy.54.t desc = JAP_diplomacy.54.d picture = GFX_treaty_rejected is_triggered_only = yes #picture option = { name = JAP_diplomacy.54.a ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.55 title = JAP_diplomacy.55.t desc = JAP_diplomacy.55.d picture = GFX_stock_market is_triggered_only = yes #picture option = { name = JAP_diplomacy.55.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.55.a executed" add_ideas = JAP_chi_advancement_companies_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.56 title = JAP_diplomacy.56.t desc = JAP_diplomacy.56.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.56.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.56.a executed" add_ideas = JAP_chi_kanji_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.57 title = JAP_diplomacy.57.t desc = JAP_diplomacy.57.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.57.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.57.a executed" add_ideas = JAP_chi_temple_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.58 title = JAP_diplomacy.58.t desc = JAP_diplomacy.58.d picture = GFX_computer is_triggered_only = yes #picture option = { name = JAP_diplomacy.58.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.58.a executed" add_ideas = JAP_kor_accelerator_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.59 title = JAP_diplomacy.59.t desc = JAP_diplomacy.59.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.59.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.59.a executed" add_ideas = JAP_kor_local_companies_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.60 title = JAP_diplomacy.60.t desc = JAP_diplomacy.60.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.60.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.60.a executed" set_temp_variable = { percent_change = 2.0 } set_temp_variable = { tag_index = KOR } set_temp_variable = { influence_target = JAP } change_influence_percentage = yes JAP = { add_opinion_modifier = { target = KOR modifier = opinion_cultural_exchange } country_event = JAP_diplomacy.61 } custom_effect_tooltip = JAP_diplomacy_60_TT2 ai_chance = { base = 1 } } option = { name = JAP_diplomacy.60.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.60.b executed" JAP = { country_event = JAP_diplomacy.62 } ai_chance = { base = 1 modifier = { factor = 0 has_opinion = { target = JAP value > -50 } } } } } country_event = { id = JAP_diplomacy.61 title = JAP_diplomacy.61.t desc = JAP_diplomacy.61.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.61.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.61.a executed" set_temp_variable = { percent_change = 2.0 } set_temp_variable = { tag_index = JAP } set_temp_variable = { influence_target = KOR } change_influence_percentage = yes KOR = { add_opinion_modifier = { target = JAP modifier = opinion_cultural_exchange } } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.62 title = JAP_diplomacy.62.t desc = JAP_diplomacy.62.d picture = GFX_treaty_rejected is_triggered_only = yes #picture option = { name = JAP_diplomacy.62.a ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.63 title = JAP_diplomacy.63.t desc = JAP_diplomacy.63.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.63.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.63.a executed" add_ideas = JAP_kor_aging_idea ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.64 title = JAP_diplomacy.64.t desc = JAP_diplomacy.64.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = JAP_diplomacy.64.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.64.a executed" effect_tooltip = { 688 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } 1137 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.65 title = JAP_diplomacy.65.t desc = JAP_diplomacy.65.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = JAP_diplomacy.65.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.65.a executed" effect_tooltip = { 691 = { add_resource = { type = oil amount = 8 } } } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.66 title = JAP_diplomacy.66.t desc = JAP_diplomacy.66.d picture = GFX_treaty is_triggered_only = yes #picture option = { name = JAP_diplomacy.66.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.66.a executed" add_timed_idea = { idea = JAP_sov_logistics_corridor_idea days = 730 } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.67 title = JAP_diplomacy.67.t desc = JAP_diplomacy.67.d picture = GFX_generic_factory is_triggered_only = yes #picture option = { name = JAP_diplomacy.67.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.67.a executed" add_timed_idea = { idea = JAP_sov_it_corridor_idea days = 730 } ai_chance = { base = 1 } } } country_event = { id = JAP_diplomacy.11 title = JAP_diplomacy.11.t desc = JAP_diplomacy.11.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.11.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.11.a executed" ai_chance = { base = 5 modifier = { factor = 5 OR = { western_autocrats_are_in_power_or_coalition = yes western_conservatism_are_in_power_or_coalition = yes emerging_reactionaries_are_in_coalition = yes emerging_reactionaries_are_in_power = yes nationalist_fascists_are_in_power_or_coalition = yes nationalist_military_junta_are_in_power_or_coalition = yes nationalist_monarchists_are_in_power_or_coalition = yes } } } add_power_balance_value = { id = JAP_article_nine value = 0.075 } add_opinion_modifier = { target = USA modifier = JAP_usa_article_nine_accepted } reverse_add_opinion_modifier = { target = JAP modifier = JAP_usa_article_nine_accepted } USA = { country_event = JAP_diplomacy.13 } } option = { name = JAP_diplomacy.11.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.11.b executed" ai_chance = { base = 5 modifier = { factor = 5 OR = { western_liberal_are_in_power_or_coalition = yes emerging_communist_state_in_power_or_coalition = yes emerging_anarchist_communism_in_power_or_coalition = yes neutrality_neutral_communism_in_power_or_coalition = yes } } } add_opinion_modifier = { target = USA modifier = JAP_usa_article_nine_refused } reverse_add_opinion_modifier = { target = JAP modifier = JAP_usa_article_nine_refused } USA = { country_event = JAP_diplomacy.12 } } } country_event = { id = JAP_diplomacy.12 title = JAP_diplomacy.12.t desc = JAP_diplomacy.12.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_diplomacy.12.a ai_chance = { base = 5 modifier = { western_liberals_are_in_power = yes factor = 5 } } } option = { name = JAP_diplomacy.12.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.12.b executed" ai_chance = { base = 5 modifier = { factor = 5 western_conservatism_are_in_power = yes } modifier = { factor = 5 USA = { has_country_leader = { name = "Donald Trump" } } } } JAP = { country_event = JAP_diplomacy.14 } } } country_event = { id = JAP_diplomacy.13 title = JAP_diplomacy.13.t desc = JAP_diplomacy.13.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.13.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.13.a executed" set_temp_variable = { percent_change = 10 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = JAP } change_influence_percentage = yes } } country_event = { id = JAP_diplomacy.14 title = JAP_diplomacy.14.t desc = JAP_diplomacy.14.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_diplomacy.14.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.14.a executed" USA = { country_event = JAP_diplomacy.16 } ai_chance = { base = 5 modifier = { NOT = { USA = { is_top5_influencer = yes } } factor = 0.5 } } } option = { name = JAP_diplomacy.14.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.14.b executed" ai_chance = { base = 5 modifier = { factor = 5 OR = { western_autocrats_are_in_power_or_coalition = yes western_conservatism_are_in_power_or_coalition = yes emerging_reactionaries_are_in_coalition = yes emerging_reactionaries_are_in_power = yes nationalist_fascists_are_in_power_or_coalition = yes nationalist_military_junta_are_in_power_or_coalition = yes nationalist_monarchists_are_in_power_or_coalition = yes } } } add_power_balance_value = { id = JAP_article_nine value = 0.2 } add_stability = -0.05 USA = { set_country_flag = USA_increasing_pressure_on_JAP country_event = JAP_diplomacy.15 } } } country_event = { id = JAP_diplomacy.15 title = JAP_diplomacy.15.t desc = JAP_diplomacy.15.d picture = GFX_treaty is_triggered_only = yes trigger = { tag = USA FROM = { tag = JAP } has_country_flag = USA_increasing_pressure_on_JAP } option = { name = JAP_diplomacy.15.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.15.a executed" add_political_power = 25 set_temp_variable = { percent_change = 15 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = JAP } change_influence_percentage = yes } } country_event = { id = JAP_diplomacy.16 title = JAP_diplomacy.16.t desc = JAP_diplomacy.16.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_diplomacy.16.a } option = { trigger = { JAP = { is_guaranteed_by = USA } } name = JAP_diplomacy.16.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.16.b executed" diplomatic_relation = { country = JAP relation = guarantee active = no } set_country_flag = JAP_usa_removed_guarantee_article_nine } option = { name = JAP_diplomacy.16.c log = "[GetDateText]: [This.GetName]: JAP_diplomacy.16.c executed" JAP = { country_event = JAP_diplomacy.17 } } option = { name = JAP_diplomacy.16.e log = "[GetDateText]: [This.GetName]: JAP_diplomacy.16.e executed" diplomatic_relation = { country = JAP relation = naval_blockade active = yes } set_country_flag = JAP_american_naval_blockade_active } } country_event = { id = JAP_diplomacy.17 title = JAP_diplomacy.17.t desc = JAP_diplomacy.17.d picture = GFX_generic_factory is_triggered_only = yes option = { name = JAP_diplomacy.17.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.17.a executed" add_ideas = JAP_american_pressure_article_nine USA = { add_opinion_modifier = { target = JAP modifier = JAP_usa_trade_pressure } } } } country_event = { id = JAP_diplomacy.18 title = JAP_diplomacy.18.t desc = JAP_diplomacy.18.d picture = GFX_generic_factory is_triggered_only = yes option = { name = JAP_diplomacy.18.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.18.a executed" JAP = { country_event = JAP_diplomacy.19 } } option = { name = JAP_diplomacy.18.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.18.b executed" JAP = { country_event = JAP_diplomacy.20 } } } country_event = { id = JAP_diplomacy.19 title = JAP_diplomacy.19.t desc = JAP_diplomacy.19.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.19.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.19.a executed" remove_ideas = JAP_american_pressure_article_nine USA = { remove_opinion_modifier = { target = JAP modifier = JAP_usa_trade_pressure } } } } country_event = { id = JAP_diplomacy.20 title = JAP_diplomacy.20.t desc = JAP_diplomacy.20.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_diplomacy.20.a } } country_event = { id = JAP_diplomacy.21 title = JAP_diplomacy.21.t desc = JAP_diplomacy.21.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.21.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.21.a executed" JAP = { country_event = JAP_diplomacy.22 } } option = { name = JAP_diplomacy.21.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.21.b executed" JAP = { country_event = JAP_diplomacy.23 } } } country_event = { id = JAP_diplomacy.22 title = JAP_diplomacy.22.t desc = JAP_diplomacy.22.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.22.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.22.a executed" USA = { diplomatic_relation = { country = JAP relation = guarantee } } add_power_balance_value = { id = JAP_article_nine value = 0.20 } } } country_event = { id = JAP_diplomacy.23 title = JAP_diplomacy.23.t desc = JAP_diplomacy.23.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_diplomacy.23.a } } country_event = { id = JAP_diplomacy.24 title = JAP_diplomacy.24.t desc = JAP_diplomacy.24.d picture = GFX_event_JAP_american_flag is_triggered_only = yes option = { name = JAP_diplomacy.24.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.24.a executed" JAP = { set_country_flag = jap_requested_end_of_naval_pressure country_event = JAP_diplomacy.25 } } option = { name = JAP_diplomacy.24.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.24.b executed" JAP = { country_event = JAP_diplomacy.26 } } } country_event = { id = JAP_diplomacy.25 title = JAP_diplomacy.25.t desc = JAP_diplomacy.25.d picture = GFX_event_JAP_american_flag is_triggered_only = yes trigger = { tag = JAP FROM = { tag = USA } has_country_flag = jap_requested_end_of_naval_pressure } option = { name = JAP_diplomacy.25.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.25.a executed" add_power_balance_value = { id = JAP_article_nine value = 0.2 } USA = { diplomatic_relation = { country = JAP relation = naval_blockade active = no } } clr_country_flag = JAP_american_naval_blockade_active clr_country_flag = jap_requested_end_of_naval_pressure } } country_event = { id = JAP_diplomacy.26 title = JAP_diplomacy.26.t desc = JAP_diplomacy.26.d picture = GFX_event_JAP_american_flag is_triggered_only = yes option = { name = JAP_diplomacy.26.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.26.a executed" set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes } } country_event = { id = JAP_diplomacy.28 title = JAP_diplomacy.28.t desc = JAP_diplomacy.28.d picture = GFX_moonbase_construction is_triggered_only = yes option = { name = JAP_diplomacy.28.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.28.a executed" set_country_flag = jap_kaguya_satellite_invest set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes country_event = { id = JAP_diplomacy.29 days = 180 } } option = { name = JAP_diplomacy.28.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.28.b executed" set_temp_variable = { party_index = 2 } set_party_index_to_ruling_party = yes set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes country_event = { id = JAP_diplomacy.29 days = 365 } ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.29 title = JAP_diplomacy.29.t desc = JAP_diplomacy.29.d picture = GFX_astronauts is_triggered_only = yes option = { name = JAP_diplomacy.29.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.29.a executed" set_country_flag = jap_kaguya_rocketry_invest set_temp_variable = { treasury_change = gdp_per_capita } multiply_temp_variable = { treasury_change = -0.10 } modify_treasury_effect = yes country_event = { id = JAP_diplomacy.31 days = 365 } } option = { name = JAP_diplomacy.29.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.29.b executed" set_temp_variable = { party_index = 2 } set_party_index_to_ruling_party = yes set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes country_event = { id = JAP_diplomacy.30 days = 365 } ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.30 title = JAP_diplomacy.30.t desc = JAP_diplomacy.30.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.30.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.30.a executed" country_event = { id = JAP_diplomacy.31 days = 365 } } } country_event = { id = JAP_diplomacy.31 title = JAP_diplomacy.31.t desc = JAP_diplomacy.31.d picture = GFX_moonbase_construction is_triggered_only = yes option = { name = JAP_diplomacy.31.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.31.a executed" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_landforce_modifier } add_to_variable = { JAP_max_planning_landforces = 0.10 tooltip = max_planning_factor_tt } add_to_variable = { JAP_recon_factor_landforces = 0.15 tooltip = recon_factor_tt } newline = yes if = { limit = { has_country_flag = jap_kaguya_satellite_invest } custom_effect_tooltip = jap_kaguya_satellite_invest_tt add_tech_bonus = { name = JAP_diplomacy.31.t bonus = 0.75 uses = 2 category = CAT_satellite } } if = { limit = { has_country_flag = jap_kaguya_rocketry_invest } custom_effect_tooltip = jap_kaguya_rocketry_invest_tt add_tech_bonus = { name = JAP_diplomacy.31.t bonus = 0.5 uses = 2 category = CAT_missile } newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_airforce_modifier } add_to_variable = { JAP_strategic_bomb_visibility_airforce = 0.15 tooltip = strategic_bomb_visibility_tt } } set_temp_variable = { party_index = 2 } set_party_index_to_ruling_party = yes set_temp_variable = { party_popularity_increase = 0.05 } set_temp_variable = { temp_outlook_increase = 0.05 } change_relative_party_popularity = yes set_country_flag = JAP_moon_base_completed } } country_event = { id = JAP_diplomacy.32 title = JAP_diplomacy.32.t desc = JAP_diplomacy.32.d picture = GFX_computer is_triggered_only = yes option = { name = JAP_diplomacy.32.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.32.a executed" add_timed_idea = { idea = special_project_consumer_costs_medium days = 180 } } option = { name = JAP_diplomacy.32.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.32.b executed" add_days_mission_timeout = { mission = JAP_mars_mission_program_mission days = 100 } } } country_event = { id = JAP_diplomacy.33 title = JAP_diplomacy.33.t desc = JAP_diplomacy.33.d picture = GFX_mars_colony_1 is_triggered_only = yes option = { name = JAP_diplomacy.33.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.33.a executed" add_ideas = JAP_mars_colony1 } option = { name = JAP_diplomacy.33.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.33.b executed" add_ideas = JAP_mars_colony2 } option = { name = JAP_diplomacy.33.c log = "[GetDateText]: [This.GetName]: JAP_diplomacy.33.c executed" add_ideas = JAP_mars_colony3 } option = { name = JAP_diplomacy.33.e log = "[GetDateText]: [This.GetName]: JAP_diplomacy.33.e executed" add_ideas = JAP_mars_colony4 } } country_event = { id = JAP_diplomacy.68 title = JAP_diplomacy.68.t desc = JAP_diplomacy.68.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.68.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.68.a" ai_chance = { base = 15 } effect_tooltip = { JAP = { transfer_state = 691 } } JAP = { country_event = { id = JAP_diplomacy.69 days = 1 } } } option = { name = JAP_diplomacy.68.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.68.b" JAP = { country_event = { id = JAP_diplomacy.70 days = 1 } } ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.69 title = JAP_diplomacy.69.t desc = JAP_diplomacy.69.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.69.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.69.a" ai_chance = { base = 10 } transfer_state = 691 } } country_event = { id = JAP_diplomacy.70 title = JAP_diplomacy.70.t desc = JAP_diplomacy.70.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_diplomacy.70.a ai_chance = { base = 10 } } option = { name = JAP_diplomacy.70.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.70.b" custom_effect_tooltip = JAP_unlock_sikhalin_raid_tt set_country_flag = JAP_sakhalin_raid_unlocked ai_chance = { base = 10 } } option = { name = JAP_diplomacy.70.c log = "[GetDateText]: [This.GetName]: JAP_diplomacy.70.c" declare_war_on = { target = SOV type = take_claimed_state generator = { 691 690 1168 } } ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.71 title = JAP_diplomacy.71.t desc = JAP_diplomacy.71.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.71.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.71.a" effect_tooltip = { JAP = { transfer_state = 690 } } JAP = { country_event = { id = JAP_diplomacy.72 days = 1 } } ai_chance = { base = 10 } } option = { name = JAP_diplomacy.71.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.71.b" JAP = { country_event = { id = JAP_diplomacy.73 days = 1 } } ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.72 title = JAP_diplomacy.72.t desc = JAP_diplomacy.72.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.72.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.72.a" JAP = { transfer_state = 690 } ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.73 title = JAP_diplomacy.73.t desc = JAP_diplomacy.73.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_diplomacy.73.a ai_chance = { base = 10 } } option = { name = JAP_diplomacy.73.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.73.b" trigger = { owns_state = 1168 } if = { limit = { controls_state = 1168 NOT = { controls_state = 538 } 1168 = { NOT = { has_border_war = yes } } 538 = { NOT = { has_border_war = yes } } } start_border_war = { change_state_after_war = no combat_width = 144 minimum_duration_in_days = 14 attacker = { state = 1168 num_provinces = 1 on_win = JAP_diplomacy.87 on_lose = JAP_diplomacy.88 terrain_factor = 0.5 } defender = { state = 538 num_provinces = 1 on_lose = JAP_diplomacy.89 on_win = JAP_diplomacy.90 } } } ai_chance = { base = 10 } } option = { name = JAP_diplomacy.73.c log = "[GetDateText]: [This.GetName]: JAP_diplomacy.73.c" declare_war_on = { target = SOV type = take_claimed_state generator = { 691 690 1168 } } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = SOV ratio > 2 } } } } } country_event = { id = JAP_diplomacy.74 title = JAP_diplomacy.74.t desc = JAP_diplomacy.74.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.74.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.74.a" effect_tooltip = { JAP = { transfer_state = 1168 } } JAP = { country_event = { id = JAP_diplomacy.75 days = 1 } } ai_chance = { base = 10 modifier = { has_war = yes add = 10 } modifier = { surrender_progress > 0.4 add = 50 } } } option = { name = JAP_diplomacy.74.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.74.b" JAP = { country_event = { id = JAP_diplomacy.76 days = 1 } } ai_chance = { base = 10 modifier = { strength_ratio = { tag = JAP ratio > 1.0 } add = 25 } } } } country_event = { id = JAP_diplomacy.75 title = JAP_diplomacy.75.t desc = JAP_diplomacy.75.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.75.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.75.a" transfer_state = 1168 ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.76 title = JAP_diplomacy.76.t desc = JAP_diplomacy.76.d picture = GFX_treaty_rejected is_triggered_only = yes option = { name = JAP_diplomacy.76.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.76.a" add_political_power = -125 add_stability = -0.05 ai_chance = { base = 10 } } option = { name = JAP_diplomacy.76.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.76.b" if = { limit = { controls_state = 617 NOT = { controls_state = 1168 } 617 = { NOT = { has_border_war = yes } } 1168 = { NOT = { has_border_war = yes } } } start_border_war = { change_state_after_war = no combat_width = 144 minimum_duration_in_days = 14 attacker = { state = 617 num_provinces = 1 on_win = JAP_diplomacy.83 on_lose = JAP_diplomacy.84 terrain_factor = 0.5 } defender = { state = 1168 num_provinces = 1 on_lose = JAP_diplomacy.85 on_win = JAP_diplomacy.86 } } } ai_chance = { base = 10 } } option = { name = JAP_diplomacy.76.c log = "[GetDateText]: [This.GetName]: JAP_diplomacy.76.c" declare_war_on = { target = SOV type = take_claimed_state generator = { 691 690 1168 } } ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.77 title = JAP_diplomacy.77.t desc = JAP_diplomacy.77.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.77.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.77.a" FROM = { country_event = { id = JAP_diplomacy.78 days = 1 } effect_tooltip = { JAP = { transfer_state = 691 transfer_state = 1168 transfer_state = 690 } } } ai_chance = { base = 10 modifier = { has_war_with = UKR add = 10 } modifier = { any_of_scopes = { array = SOV.enemies exists = yes is_major = yes NOT = { original_tag = JAP } } add = 25 } modifier = { surrender_progress > 0.25 add = 50 } modifier = { has_idea = recession add = 15 } } } #no option = { name = JAP_diplomacy.77.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.77.b" FROM = { country_event = { id = JAP_diplomacy.79 days = 1 } } ai_chance = { base = 10 modifier = { has_completed_focus = SOV_defend_national_interests add = 25 } modifier = { strength_ratio = { tag = JAP ratio > 1.2 } add = 15 } modifier = { has_war_support > 0.60 add = 15 } } } } country_event = { id = JAP_diplomacy.78 title = JAP_diplomacy.78.t desc = JAP_diplomacy.78.d picture = GFX_treaty is_triggered_only = yes #Peacey weacey option = { name = JAP_diplomacy.78.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.78.a" SOV = { white_peace = { tag = JAP } every_other_country = { limit = { is_in_faction_with = PREV } white_peace = { tag = JAP } } } JAP = { transfer_state = 691 transfer_state = 1168 transfer_state = 690 } ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.79 title = JAP_diplomacy.79.t desc = JAP_diplomacy.79.d picture = GFX_treaty_rejected is_triggered_only = yes #Damnit! option = { name = JAP_diplomacy.79.a ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.80 title = JAP_diplomacy.80.t desc = JAP_diplomacy.80.d picture = GFX_generic_soldiers is_triggered_only = yes #We accept option = { name = JAP_diplomacy.80.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.80.a" ai_chance = { base = 90 modifier = { SOV = { any_owned_state = { OR = { is_claimed_by = JAP is_core_of = JAP } is_controlled_by = SOV } } factor = 0.5 } } FROM = { country_event = { id = JAP_diplomacy.81 days = 1 } effect_tooltip = { JAP = { transfer_state = 691 transfer_state = 1168 transfer_state = 690 } } } } #no option = { name = JAP_diplomacy.80.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.80.b" ai_chance = { base = 50 } FROM = { country_event = { id = JAP_diplomacy.82 days = 1 } } } } country_event = { id = JAP_diplomacy.81 title = JAP_diplomacy.81.t desc = JAP_diplomacy.81.d picture = GFX_treaty is_triggered_only = yes #Peacey weacey option = { name = JAP_diplomacy.81.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.81.a" ai_chance = { base = 10 } add_stability = -0.1 add_war_support = -0.05 JAP = { white_peace = { tag = SOV } every_other_country = { limit = { is_in_faction_with = SOV } white_peace = { tag = JAP } } transfer_state = 691 transfer_state = 1168 transfer_state = 690 } } } country_event = { id = JAP_diplomacy.82 title = JAP_diplomacy.82.t desc = JAP_diplomacy.82.d picture = GFX_treaty_rejected is_triggered_only = yes #Damnit! option = { name = JAP_diplomacy.82.a ai_chance = { base = 10 } } } # WIn borderwar in South Kurils as Japan country_event = { id = JAP_diplomacy.83 title = JAP_diplomacy.83.t desc = JAP_diplomacy.83.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.83.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.83.a" transfer_state = 1168 ai_chance = { base = 10 } } } #Lose borderwar in South Kurils as Japan country_event = { id = JAP_diplomacy.84 title = JAP_diplomacy.84.t desc = JAP_diplomacy.84.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.84.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.84.a" army_experience = 15 ai_chance = { base = 10 } } } # Lose borderwar in South Kurils as Russia country_event = { id = JAP_diplomacy.85 title = JAP_diplomacy.85.t desc = JAP_diplomacy.85.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.85.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.85.a" army_experience = 15 effect_tooltip = { transfer_state = 1168 } ai_chance = { base = 10 } } } #Win borderwar in South Kurils as Russia country_event = { id = JAP_diplomacy.86 title = JAP_diplomacy.86.t desc = JAP_diplomacy.86.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.86.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.86.a" army_experience = 50 ai_chance = { base = 10 } } } # WIn borderwar in North Kurils as Japan country_event = { id = JAP_diplomacy.87 title = JAP_diplomacy.87.t desc = JAP_diplomacy.87.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.87.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.87.a" transfer_state = 690 ai_chance = { base = 10 } } } #Lose borderwar in North Kurils as Japan country_event = { id = JAP_diplomacy.88 title = JAP_diplomacy.88.t desc = JAP_diplomacy.88.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.88.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.88.a" army_experience = 15 ai_chance = { base = 10 } } } # Lose borderwar in North Kurils as Russia country_event = { id = JAP_diplomacy.89 title = JAP_diplomacy.89.t desc = JAP_diplomacy.89.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.89.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.89.a" army_experience = 15 effect_tooltip = { transfer_state = 690 } ai_chance = { base = 10 } } } #Win borderwar in North Kurils as Russia country_event = { id = JAP_diplomacy.90 title = JAP_diplomacy.90.t desc = JAP_diplomacy.90.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.90.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.90.a" army_experience = 50 ai_chance = { base = 10 } } } # Russian Response on Japanese Attack on SIkhalin country_event = { id = JAP_diplomacy.91 title = JAP_diplomacy.91.t desc = JAP_diplomacy.91.d picture = GFX_generic_factory is_triggered_only = yes option = { name = JAP_diplomacy.91.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.91.a" JAP = { declare_war_on = { target = SOV type = take_claimed_state generator = { 691 690 1168 } } } ai_chance = { base = 10 } } option = { name = JAP_diplomacy.91.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.91.b" if = { limit = { has_dlc = "By Blood Alone" } send_embargo = JAP } diplomatic_relation = { country = JAP relation = naval_blockade } ai_chance = { base = 10 } } } # Russian Response on Japanese Takover of SIkhalin country_event = { id = JAP_diplomacy.92 title = JAP_diplomacy.92.t desc = JAP_diplomacy.92.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.92.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.92.a" activate_mission = JAP_tookover_sikhalin_mission JAP = { declare_war_on = { target = SOV type = take_claimed_state generator = { 691 690 1168 } } } ai_chance = { base = 10 } } option = { name = JAP_diplomacy.92.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.92.b" JAP = { white_peace = { tag = SOV } every_other_country = { limit = { is_in_faction_with = SOV } white_peace = { tag = JAP } } transfer_state = 691 } ai_chance = { base = 10 } } } country_event = { id = JAP_diplomacy.93 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.93 executed" activate_decision = JAP_claiming_south_korea } } # Japan demand Subjugation of South-Korea country_event = { id = JAP_diplomacy.94 title = JAP_diplomacy.94.t desc = JAP_diplomacy.94.d picture = GFX_treaty is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.94.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.94.a" JAP = { country_event = JAP_diplomacy.95 } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.94.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.94.b" JAP = { country_event = JAP_diplomacy.96 } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # South-Korea Accepts country_event = { id = JAP_diplomacy.95 title = JAP_diplomacy.95.t desc = JAP_diplomacy.95.d picture = GFX_generic_soldiers is_triggered_only = yes option = { #Puppet South-Korea name = JAP_diplomacy.95.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.95.a" puppet = { target = KOR end_wars = yes } ai_chance = { base = 10 } } } # South-Korea Rejects country_event = { id = JAP_diplomacy.96 title = JAP_diplomacy.96.t desc = JAP_diplomacy.96.d picture = GFX_treaty is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.96.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.96.a" create_wargoal = { target = KOR type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = KOR ratio > 2 } } } } option = { name = JAP_diplomacy.96.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.96.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = KOR ratio > 2 } } } } } # Japan demand Subjugation of North-Korea country_event = { id = JAP_diplomacy.97 title = JAP_diplomacy.97.t desc = JAP_diplomacy.97.d picture = GFX_treaty is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.97.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.97.a" JAP = { country_event = JAP_diplomacy.98 } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.97.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.97.b" JAP = { country_event = JAP_diplomacy.99 } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # North-Korea Accepts country_event = { id = JAP_diplomacy.98 title = JAP_diplomacy.98.t desc = JAP_diplomacy.98.d picture = GFX_treaty is_triggered_only = yes option = { #Puppet North-Korea name = JAP_diplomacy.98.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.98.a" puppet = { target = NKO end_wars = yes } ai_chance = { base = 10 } } } # North-Korea Rejects country_event = { id = JAP_diplomacy.99 title = JAP_diplomacy.99.t desc = JAP_diplomacy.99.d picture = GFX_treaty is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.99.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.99.a" create_wargoal = { target = NKO type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = NKO ratio > 2 } } } } option = { name = JAP_diplomacy.99.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.99.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = NKO ratio > 2 } } } } } country_event = { id = JAP_diplomacy.100 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.100 executed" activate_decision = JAP_claiming_north_korea } } # Japan demand Subjugation of Taiwan country_event = { id = JAP_diplomacy.101 title = JAP_diplomacy.101.t desc = JAP_diplomacy.101.d picture = GFX_treaty is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.101.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.101.a" JAP = { country_event = JAP_diplomacy.102 } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.101.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.101.b" JAP = { country_event = JAP_diplomacy.103 } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Taiwan Accepts country_event = { id = JAP_diplomacy.102 title = JAP_diplomacy.102.t desc = JAP_diplomacy.102.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.102.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.102.a" puppet = { target = TAI end_wars = yes } ai_chance = { base = 10 } } } # Taiwan Rejects country_event = { id = JAP_diplomacy.103 title = JAP_diplomacy.103.t desc = JAP_diplomacy.103.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.103.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.103.a" create_wargoal = { target = TAI type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = TAI ratio > 2 } } } } option = { name = JAP_diplomacy.103.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.103.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = TAI ratio > 2 } } } } } # Japan demand Subjugation of the Philippines country_event = { id = JAP_diplomacy.105 title = JAP_diplomacy.105.t desc = JAP_diplomacy.105.d picture = GFX_treaty is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.105.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.105.a" JAP = { country_event = JAP_diplomacy.106 } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.105.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.105.b" JAP = { country_event = JAP_diplomacy.107 } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Philippines Accepts country_event = { id = JAP_diplomacy.106 title = JAP_diplomacy.106.t desc = JAP_diplomacy.106.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.106.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.106.a" puppet = { target = PHI end_wars = yes } ai_chance = { base = 10 } } } # Philippines Rejects country_event = { id = JAP_diplomacy.107 title = JAP_diplomacy.107.t desc = JAP_diplomacy.107.d picture = GFX_corvette is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.107.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.107.a" create_wargoal = { target = PHI type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = PHI ratio > 2 } } } } option = { name = JAP_diplomacy.107.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.107.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = PHI ratio > 2 } } } } } country_event = { id = JAP_diplomacy.108 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.108 executed" activate_decision = JAP_claiming_philippines } } # Japan demand Subjugation of Malaysia country_event = { id = JAP_diplomacy.109 title = JAP_diplomacy.109.t desc = JAP_diplomacy.109.d picture = GFX_treaty is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.109.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.109.a" JAP = { country_event = JAP_diplomacy.110 } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.109.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.109.b" JAP = { country_event = JAP_diplomacy.111 } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Malaysia Accepts country_event = { id = JAP_diplomacy.110 title = JAP_diplomacy.110.t desc = JAP_diplomacy.110.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.110.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.110.a" puppet = { target = MAY end_wars = yes } ai_chance = { base = 10 } } } # Malaysia Rejects country_event = { id = JAP_diplomacy.111 title = JAP_diplomacy.111.t desc = JAP_diplomacy.111.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.111.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.111.a" create_wargoal = { target = MAY type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = MAY ratio > 2 } } } } option = { name = JAP_diplomacy.111.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.111.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = MAY ratio > 2 } } } } } country_event = { id = JAP_diplomacy.112 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.112 executed" activate_decision = JAP_claiming_malaysia } } # Japan demand Subjugation of Indonesia country_event = { id = JAP_diplomacy.113 title = JAP_diplomacy.113.t desc = JAP_diplomacy.113.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.113.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.113.a" JAP = { country_event = JAP_diplomacy.114 } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.113.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.113.b" JAP = { country_event = JAP_diplomacy.115 } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Indonesia Accepts country_event = { id = JAP_diplomacy.114 title = JAP_diplomacy.114.t desc = JAP_diplomacy.114.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.114.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.114.a" puppet = { target = IND end_wars = yes } ai_chance = { base = 10 } } } # Indonesia Rejects country_event = { id = JAP_diplomacy.115 title = JAP_diplomacy.115.t desc = JAP_diplomacy.115.d picture = GFX_trade_agreement is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.115.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.115.a" create_wargoal = { target = IND type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = IND ratio > 2 } } } } option = { name = JAP_diplomacy.115.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.115.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = IND ratio > 2 } } } } } country_event = { id = JAP_diplomacy.116 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.116 executed" activate_decision = JAP_claiming_indonesia } } # Japan demand Subjugation of Vietnam country_event = { id = JAP_diplomacy.117 title = JAP_diplomacy.117.t desc = JAP_diplomacy.117.d picture = GFX_corvette is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.117.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.117.a" JAP = { country_event = JAP_diplomacy.118 } effect_tooltip = { JAP = { puppet = { target = VIE end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.113.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.113.b" JAP = { country_event = JAP_diplomacy.119 } effect_tooltip = { JAP = { create_wargoal = { target = VIE type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Vietnam Accepts country_event = { id = JAP_diplomacy.118 title = JAP_diplomacy.118.t desc = JAP_diplomacy.118.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.118.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.118.a" puppet = { target = VIE end_wars = yes } ai_chance = { base = 10 } } } # Vietnam Rejects country_event = { id = JAP_diplomacy.119 title = JAP_diplomacy.119.t desc = JAP_diplomacy.119.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.119.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.119.a" create_wargoal = { target = VIE type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = VIE ratio > 2 } } } } option = { name = JAP_diplomacy.119.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.119.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = VIE ratio > 2 } } } } } country_event = { id = JAP_diplomacy.120 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.120 executed" activate_decision = JAP_claiming_vietnam } } # Japan demand Subjugation of Cambodia country_event = { id = JAP_diplomacy.121 title = JAP_diplomacy.121.t desc = JAP_diplomacy.121.d picture = GFX_treaty is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.121.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.121.a" JAP = { country_event = JAP_diplomacy.122 } effect_tooltip = { JAP = { puppet = { target = CBD end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.121.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.121.b" JAP = { country_event = JAP_diplomacy.123 } effect_tooltip = { JAP = { create_wargoal = { target = CBD type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Cambodia Accepts country_event = { id = JAP_diplomacy.122 title = JAP_diplomacy.122.t desc = JAP_diplomacy.122.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.122.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.122.a" puppet = { target = CBD end_wars = yes } ai_chance = { base = 10 } } } # Cambodia Rejects country_event = { id = JAP_diplomacy.123 title = JAP_diplomacy.123.t desc = JAP_diplomacy.123.d picture = GFX_treaty is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.123.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.123.a" create_wargoal = { target = CBD type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = CBD ratio > 2 } } } } option = { name = JAP_diplomacy.123.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.123.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = CBD ratio > 2 } } } } } country_event = { id = JAP_diplomacy.124 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.124 executed" activate_decision = JAP_claiming_cambodia } } # Japan demand Subjugation of Laos country_event = { id = JAP_diplomacy.125 title = JAP_diplomacy.125.t desc = JAP_diplomacy.125.d picture = GFX_generic_factory is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.125.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.125.a" JAP = { country_event = JAP_diplomacy.126 } effect_tooltip = { JAP = { puppet = { target = LAO end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.125.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.125.b" JAP = { country_event = JAP_diplomacy.127 } effect_tooltip = { JAP = { create_wargoal = { target = LAO type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Laos Accepts country_event = { id = JAP_diplomacy.126 title = JAP_diplomacy.126.t desc = JAP_diplomacy.126.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.126.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.126.a" puppet = { target = LAO end_wars = yes } ai_chance = { base = 10 } } } # Laos Rejects country_event = { id = JAP_diplomacy.127 title = JAP_diplomacy.127.t desc = JAP_diplomacy.127.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.127.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.127.a" create_wargoal = { target = LAO type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = LAO ratio > 2 } } } } option = { name = JAP_diplomacy.127.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.127.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = LAO ratio > 2 } } } } } country_event = { id = JAP_diplomacy.128 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.128 executed" activate_decision = JAP_claiming_laos } } # Japan demand Subjugation of Australia country_event = { id = JAP_diplomacy.129 title = JAP_diplomacy.129.t desc = JAP_diplomacy.129.d picture = GFX_treaty is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.129.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.129.a" JAP = { country_event = JAP_diplomacy.130 } effect_tooltip = { JAP = { puppet = { target = AST end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.129.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.129.b" JAP = { country_event = JAP_diplomacy.131 } effect_tooltip = { JAP = { create_wargoal = { target = AST type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Australia Accepts country_event = { id = JAP_diplomacy.130 title = JAP_diplomacy.130.t desc = JAP_diplomacy.130.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.130.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.130.a" puppet = { target = AST end_wars = yes } ai_chance = { base = 10 } } } # Australia Rejects country_event = { id = JAP_diplomacy.131 title = JAP_diplomacy.131.t desc = JAP_diplomacy.131.d picture = GFX_treaty is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.131.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.131.a" create_wargoal = { target = AST type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = AST ratio > 2 } } } } option = { name = JAP_diplomacy.131.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.131.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = AST ratio > 2 } } } } } country_event = { id = JAP_diplomacy.132 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.132 executed" activate_decision = JAP_claiming_australia } } # Japan demand Subjugation of New Zealand country_event = { id = JAP_diplomacy.133 title = JAP_diplomacy.133.t desc = JAP_diplomacy.133.d picture = GFX_generic_soldiers is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.133.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.133.a" JAP = { country_event = JAP_diplomacy.134 } effect_tooltip = { JAP = { puppet = { target = NZL end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.133.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.133.b" JAP = { country_event = JAP_diplomacy.135 } effect_tooltip = { JAP = { create_wargoal = { target = NZL type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # New Zealand Accepts country_event = { id = JAP_diplomacy.134 title = JAP_diplomacy.134.t desc = JAP_diplomacy.134.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.134.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.134.a" puppet = { target = NZL end_wars = yes } ai_chance = { base = 10 } } } # New Zealand Rejects country_event = { id = JAP_diplomacy.135 title = JAP_diplomacy.135.t desc = JAP_diplomacy.135.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.135.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.135.a" create_wargoal = { target = NZL type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = NZL ratio > 2 } } } } option = { name = JAP_diplomacy.135.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.135.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = NZL ratio > 2 } } } } } country_event = { id = JAP_diplomacy.136 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.136 executed" activate_decision = JAP_claiming_new_zealand } } # Japan demand Subjugation of Myanmar country_event = { id = JAP_diplomacy.137 title = JAP_diplomacy.137.t desc = JAP_diplomacy.137.d picture = GFX_treaty is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.137.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.137.a" JAP = { country_event = JAP_diplomacy.138 } effect_tooltip = { JAP = { puppet = { target = BRM end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.137.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.137.b" JAP = { country_event = JAP_diplomacy.139 } effect_tooltip = { JAP = { create_wargoal = { target = BRM type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Myanmar Accepts country_event = { id = JAP_diplomacy.138 title = JAP_diplomacy.138.t desc = JAP_diplomacy.138.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.138.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.138.a" puppet = { target = BRM end_wars = yes } ai_chance = { base = 10 } } } # Myanmar Rejects country_event = { id = JAP_diplomacy.139 title = JAP_diplomacy.139.t desc = JAP_diplomacy.139.d picture = GFX_treaty is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.139.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.139.a" create_wargoal = { target = BRM type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = BRM ratio > 2 } } } } option = { name = JAP_diplomacy.139.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.139.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = BRM ratio > 2 } } } } } country_event = { id = JAP_diplomacy.140 is_triggered_only = yes hidden = yes immediate = { log = "[GetDateText]: [This.GetName]: JAP_diplomacy.140 executed" activate_decision = JAP_claiming_myanmar } } # Japan demand Subjugation of Kachin country_event = { id = JAP_diplomacy.141 title = JAP_diplomacy.141.t desc = JAP_diplomacy.141.d picture = GFX_treaty is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.141.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.141.a" JAP = { country_event = JAP_diplomacy.143 } effect_tooltip = { JAP = { puppet = { target = KAC end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # refusing name = JAP_diplomacy.141.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.141.b" JAP = { country_event = JAP_diplomacy.144 } effect_tooltip = { JAP = { create_wargoal = { target = KAC type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Kachin Accepts country_event = { id = JAP_diplomacy.143 title = JAP_diplomacy.143.t desc = JAP_diplomacy.143.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.143.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.143.a" puppet = { target = KAC end_wars = yes } ai_chance = { base = 10 } } } # Kachin Rejects country_event = { id = JAP_diplomacy.144 title = JAP_diplomacy.144.t desc = JAP_diplomacy.144.d picture = GFX_treaty is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.144.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.144.a" create_wargoal = { target = KAC type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = KAC ratio > 2 } } } } option = { name = JAP_diplomacy.144.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.144.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = KAC ratio > 2 } } } } } # Japan demand Subjugation of Wa country_event = { id = JAP_diplomacy.145 title = JAP_diplomacy.145.t desc = JAP_diplomacy.145.d picture = GFX_crime_fighting is_triggered_only = yes option = { #Accepting name = JAP_diplomacy.145.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.145.a" JAP = { country_event = JAP_diplomacy.146 } effect_tooltip = { JAP = { puppet = { target = WAA end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # resusing name = JAP_diplomacy.145.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.145.b" JAP = { country_event = JAP_diplomacy.147 } effect_tooltip = { JAP = { create_wargoal = { target = WAA type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Wa Accepts country_event = { id = JAP_diplomacy.146 title = JAP_diplomacy.146.t desc = JAP_diplomacy.146.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.146.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.146.a" puppet = { target = WAA end_wars = yes } ai_chance = { base = 10 } } } # Wa Rejects country_event = { id = JAP_diplomacy.147 title = JAP_diplomacy.147.t desc = JAP_diplomacy.147.d picture = GFX_treaty_rejected is_triggered_only = yes option = { #Gain Wargoal name = JAP_diplomacy.147.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.147.a" create_wargoal = { target = WAA type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = WAA ratio > 2 } } } } option = { name = JAP_diplomacy.147.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.147.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = WAA ratio > 2 } } } } } # Japan demand Subjugation of South Shan State country_event = { id = JAP_diplomacy.148 title = JAP_diplomacy.148.t desc = JAP_diplomacy.148.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.148.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.148.a" JAP = { country_event = JAP_diplomacy.149 } effect_tooltip = { JAP = { puppet = { target = SHN end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.148.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.148.b" JAP = { country_event = JAP_diplomacy.150 } effect_tooltip = { JAP = { create_wargoal = { target = SHN type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # South Shan State Accepts country_event = { id = JAP_diplomacy.149 title = JAP_diplomacy.149.t desc = JAP_diplomacy.149.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.149.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.149.a" puppet = { target = SHN end_wars = yes } ai_chance = { base = 10 } } } # South Shan State Rejects country_event = { id = JAP_diplomacy.150 title = JAP_diplomacy.150.t desc = JAP_diplomacy.150.d picture = GFX_treaty is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.150.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.150.a" create_wargoal = { target = SHN type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = SHN ratio > 2 } } } } option = { name = JAP_diplomacy.150.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.150.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = SHN ratio > 2 } } } } } # Japan demand Subjugation of Karen State country_event = { id = JAP_diplomacy.151 title = JAP_diplomacy.151.t desc = JAP_diplomacy.151.d picture = GFX_political_deal is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.151.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.151.a" JAP = { country_event = JAP_diplomacy.152 } effect_tooltip = { JAP = { puppet = { target = KAR end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.151.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.151.b" JAP = { country_event = JAP_diplomacy.153 } effect_tooltip = { JAP = { create_wargoal = { target = KAR type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Karen State Accepts country_event = { id = JAP_diplomacy.152 title = JAP_diplomacy.152.t desc = JAP_diplomacy.152.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.152.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.152.a" puppet = { target = KAR end_wars = yes } ai_chance = { base = 10 } } } # Karen State Rejects country_event = { id = JAP_diplomacy.153 title = JAP_diplomacy.153.t desc = JAP_diplomacy.153.d picture = GFX_treaty_rejected is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.153.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.153.a" create_wargoal = { target = KAR type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = KAR ratio > 2 } } } } option = { name = JAP_diplomacy.153.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.153.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = KAR ratio > 2 } } } } } # Japan demand Subjugation of Palau country_event = { id = JAP_diplomacy.154 title = JAP_diplomacy.154.t desc = JAP_diplomacy.154.d picture = GFX_generic_soldiers is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.154.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.154.a" JAP = { country_event = JAP_diplomacy.155 } effect_tooltip = { JAP = { puppet = { target = PAU end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.154.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.154.b" JAP = { country_event = JAP_diplomacy.156 } effect_tooltip = { JAP = { create_wargoal = { target = PAU type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Palau Accepts country_event = { id = JAP_diplomacy.155 title = JAP_diplomacy.155.t desc = JAP_diplomacy.155.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.155.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.155.a" puppet = { target = PAU end_wars = yes } ai_chance = { base = 10 } } } # Palau Rejects country_event = { id = JAP_diplomacy.156 title = JAP_diplomacy.156.t desc = JAP_diplomacy.156.d picture = GFX_treaty_rejected is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.156.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.156.a" create_wargoal = { target = PAU type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = PAU ratio > 2 } } } } option = { name = JAP_diplomacy.156.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.156.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = PAU ratio > 2 } } } } } # Japan demand Subjugation of Micronesia country_event = { id = JAP_diplomacy.157 title = JAP_diplomacy.157.t desc = JAP_diplomacy.157.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.157.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.157.a" JAP = { country_event = JAP_diplomacy.158 } effect_tooltip = { JAP = { puppet = { target = MIC end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.157.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.157.b" JAP = { country_event = JAP_diplomacy.159 } effect_tooltip = { JAP = { create_wargoal = { target = MIC type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Micronesia Accepts country_event = { id = JAP_diplomacy.158 title = JAP_diplomacy.158.t desc = JAP_diplomacy.158.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.158.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.158.a" puppet = { target = MIC end_wars = yes } ai_chance = { base = 10 } } } # Micronesia Rejects country_event = { id = JAP_diplomacy.159 title = JAP_diplomacy.159.t desc = JAP_diplomacy.159.d picture = GFX_treaty is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.159.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.159.a" create_wargoal = { target = MIC type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = MIC ratio > 2 } } } } option = { name = JAP_diplomacy.159.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.159.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = MIC ratio > 2 } } } } } # Japan demand Subjugation of Nauru country_event = { id = JAP_diplomacy.160 title = JAP_diplomacy.160.t desc = JAP_diplomacy.160.d picture = GFX_generic_tractor_manufacturer is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.160.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.160.a" JAP = { country_event = JAP_diplomacy.161 } effect_tooltip = { JAP = { puppet = { target = NAU end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.160.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.160.b" JAP = { country_event = JAP_diplomacy.162 } effect_tooltip = { JAP = { create_wargoal = { target = NAU type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Nauru Accepts country_event = { id = JAP_diplomacy.161 title = JAP_diplomacy.161.t desc = JAP_diplomacy.161.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.161.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.161.a" puppet = { target = NAU end_wars = yes } ai_chance = { base = 10 } } } # Nauru Rejects country_event = { id = JAP_diplomacy.162 title = JAP_diplomacy.162.t desc = JAP_diplomacy.162.d picture = GFX_treaty_rejected is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.162.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.162.a" create_wargoal = { target = NAU type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = NAU ratio > 2 } } } } option = { name = JAP_diplomacy.162.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.162.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = NAU ratio > 2 } } } } } # Japan demand Subjugation of Kiribati country_event = { id = JAP_diplomacy.163 title = JAP_diplomacy.163.t desc = JAP_diplomacy.163.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.163.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.163.a" JAP = { country_event = JAP_diplomacy.164 } effect_tooltip = { JAP = { puppet = { target = KIR end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.163.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.163.b" JAP = { country_event = JAP_diplomacy.165 } effect_tooltip = { JAP = { create_wargoal = { target = KIR type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Kiribati Accepts country_event = { id = JAP_diplomacy.164 title = JAP_diplomacy.164.t desc = JAP_diplomacy.164.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.164.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.164.a" puppet = { target = KIR end_wars = yes } ai_chance = { base = 10 } } } # Kiribati Rejects country_event = { id = JAP_diplomacy.165 title = JAP_diplomacy.165.t desc = JAP_diplomacy.165.d picture = GFX_treaty is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.165.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.165.a" create_wargoal = { target = KIR type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = KIR ratio > 2 } } } } option = { name = JAP_diplomacy.165.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.165.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = KIR ratio > 2 } } } } } # Japan demand Subjugation of Marshall Islands country_event = { id = JAP_diplomacy.166 title = JAP_diplomacy.166.t desc = JAP_diplomacy.166.d picture = GFX_generic_soldiers is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.166.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.166.a" JAP = { country_event = JAP_diplomacy.167 } effect_tooltip = { JAP = { puppet = { target = MAR end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.166.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.166.b" JAP = { country_event = JAP_diplomacy.168 } effect_tooltip = { JAP = { create_wargoal = { target = MAR type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Marshall Islands Accepts country_event = { id = JAP_diplomacy.167 title = JAP_diplomacy.167.t desc = JAP_diplomacy.167.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.167.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.167.a" puppet = { target = MAR end_wars = yes } ai_chance = { base = 10 } } } # Marshall Islands Rejects country_event = { id = JAP_diplomacy.168 title = JAP_diplomacy.168.t desc = JAP_diplomacy.168.d picture = GFX_treaty_rejected is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.168.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.168.a" create_wargoal = { target = MAR type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = MAR ratio > 2 } } } } option = { name = JAP_diplomacy.168.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.168.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = MAR ratio > 2 } } } } } # Japan demand Subjugation of Tuvaly country_event = { id = JAP_diplomacy.169 title = JAP_diplomacy.169.t desc = JAP_diplomacy.169.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.169.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.169.a" JAP = { country_event = JAP_diplomacy.170 } effect_tooltip = { JAP = { puppet = { target = TUL end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.169.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.169.b" JAP = { country_event = JAP_diplomacy.171 } effect_tooltip = { JAP = { create_wargoal = { target = TUL type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Tuvaly Accepts country_event = { id = JAP_diplomacy.170 title = JAP_diplomacy.170.t desc = JAP_diplomacy.170.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.170.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.170.a" puppet = { target = TUL end_wars = yes } ai_chance = { base = 10 } } } # Tuvaly Rejects country_event = { id = JAP_diplomacy.171 title = JAP_diplomacy.171.t desc = JAP_diplomacy.171.d picture = GFX_treaty is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.171.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.171.a" create_wargoal = { target = TUL type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = TUL ratio > 2 } } } } option = { name = JAP_diplomacy.171.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.171.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = TUL ratio > 2 } } } } } # Japan demand Subjugation of Solomon Islands country_event = { id = JAP_diplomacy.172 title = JAP_diplomacy.172.t desc = JAP_diplomacy.172.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.172.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.172.a" JAP = { country_event = JAP_diplomacy.173 } effect_tooltip = { JAP = { puppet = { target = SOL end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.172.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.172.b" JAP = { country_event = JAP_diplomacy.174 } effect_tooltip = { JAP = { create_wargoal = { target = SOL type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Solomon Islands Accepts country_event = { id = JAP_diplomacy.173 title = JAP_diplomacy.173.t desc = JAP_diplomacy.173.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.173.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.173.a" puppet = { target = SOL end_wars = yes } ai_chance = { base = 10 } } } # Solomon Islands Rejects country_event = { id = JAP_diplomacy.174 title = JAP_diplomacy.174.t desc = JAP_diplomacy.174.d picture = GFX_treaty is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.174.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.174.a" create_wargoal = { target = SOL type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = SOL ratio > 2 } } } } option = { name = JAP_diplomacy.174.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.174.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = SOL ratio > 2 } } } } } # Japan demand Subjugation of Papua New Guinea country_event = { id = JAP_diplomacy.175 title = JAP_diplomacy.175.t desc = JAP_diplomacy.175.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.175.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.175.a" JAP = { country_event = JAP_diplomacy.176 } effect_tooltip = { JAP = { puppet = { target = PAP end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.175.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.175.b" JAP = { country_event = JAP_diplomacy.177 } effect_tooltip = { JAP = { create_wargoal = { target = PAP type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Papua New Guinea Accepts country_event = { id = JAP_diplomacy.176 title = JAP_diplomacy.176.t desc = JAP_diplomacy.176.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.176.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.176.a" puppet = { target = PAP end_wars = yes } ai_chance = { base = 10 } } } # Papua New Guinea Rejects country_event = { id = JAP_diplomacy.177 title = JAP_diplomacy.177.t desc = JAP_diplomacy.177.d picture = GFX_treaty is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.177.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.177.a" create_wargoal = { target = PAP type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = PAP ratio > 2 } } } } option = { name = JAP_diplomacy.177.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.177.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = PAP ratio > 2 } } } } } # Japan demand Subjugation of Vanuatu country_event = { id = JAP_diplomacy.178 title = JAP_diplomacy.178.t desc = JAP_diplomacy.178.d picture = GFX_generic_factory is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.178.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.178.a" JAP = { country_event = JAP_diplomacy.179 } effect_tooltip = { JAP = { puppet = { target = VAN end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.178.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.178.b" JAP = { country_event = JAP_diplomacy.180 } effect_tooltip = { JAP = { create_wargoal = { target = VAN type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Vanuatu Accepts country_event = { id = JAP_diplomacy.179 title = JAP_diplomacy.179.t desc = JAP_diplomacy.179.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.179.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.179.a" puppet = { target = VAN end_wars = yes } ai_chance = { base = 10 } } } # Vanuatu Rejects country_event = { id = JAP_diplomacy.180 title = JAP_diplomacy.180.t desc = JAP_diplomacy.180.d picture = GFX_treaty_rejected is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.180.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.180.a" create_wargoal = { target = VAN type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = VAN ratio > 2 } } } } option = { name = JAP_diplomacy.180.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.180.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = VAN ratio > 2 } } } } } # Japan demand Subjugation of Fiji country_event = { id = JAP_diplomacy.181 title = JAP_diplomacy.181.t desc = JAP_diplomacy.181.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.181.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.181.a" JAP = { country_event = JAP_diplomacy.182 } effect_tooltip = { JAP = { puppet = { target = FIJ end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.181.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.181.b" JAP = { country_event = JAP_diplomacy.183 } effect_tooltip = { JAP = { create_wargoal = { target = FIJ type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Fiji Accepts country_event = { id = JAP_diplomacy.182 title = JAP_diplomacy.182.t desc = JAP_diplomacy.182.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.182.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.182.a" puppet = { target = FIJ end_wars = yes } ai_chance = { base = 10 } } } # Fiji Rejects country_event = { id = JAP_diplomacy.183 title = JAP_diplomacy.183.t desc = JAP_diplomacy.183.d picture = GFX_treaty is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.183.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.183.a" create_wargoal = { target = FIJ type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = FIJ ratio > 2 } } } } option = { name = JAP_diplomacy.183.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.183.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = FIJ ratio > 2 } } } } } # Japan demand Subjugation of Samoa country_event = { id = JAP_diplomacy.184 title = JAP_diplomacy.184.t desc = JAP_diplomacy.184.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.184.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.184.a" JAP = { country_event = JAP_diplomacy.185 } effect_tooltip = { JAP = { puppet = { target = SAM end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.184.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.184.b" JAP = { country_event = JAP_diplomacy.186 } effect_tooltip = { JAP = { create_wargoal = { target = SAM type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Samoa Accepts country_event = { id = JAP_diplomacy.185 title = JAP_diplomacy.185.t desc = JAP_diplomacy.185.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.185.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.185.a" puppet = { target = SAM end_wars = yes } ai_chance = { base = 10 } } } # Samoa Rejects country_event = { id = JAP_diplomacy.186 title = JAP_diplomacy.186.t desc = JAP_diplomacy.186.d picture = GFX_treaty is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.186.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.186.a" create_wargoal = { target = SAM type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = SAM ratio > 2 } } } } option = { name = JAP_diplomacy.186.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.186.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = SAM ratio > 2 } } } } } # Japan demand Subjugation of Tonga country_event = { id = JAP_diplomacy.187 title = JAP_diplomacy.187.t desc = JAP_diplomacy.187.d picture = GFX_political_deal is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.187.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.187.a" JAP = { country_event = JAP_diplomacy.188 } effect_tooltip = { JAP = { puppet = { target = TON end_wars = yes } } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.187.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.187.b" JAP = { country_event = JAP_diplomacy.189 } effect_tooltip = { JAP = { create_wargoal = { target = TON type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # Tonga Accepts country_event = { id = JAP_diplomacy.188 title = JAP_diplomacy.188.t desc = JAP_diplomacy.188.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.188.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.188.a" puppet = { target = TON end_wars = yes } ai_chance = { base = 10 } } } # Tonga Rejects country_event = { id = JAP_diplomacy.189 title = JAP_diplomacy.189.t desc = JAP_diplomacy.189.d picture = GFX_treaty_rejected is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.189.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.189.a" create_wargoal = { target = TON type = take_claimed_state } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = TON ratio > 2 } } } } option = { name = JAP_diplomacy.189.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.189.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = TON ratio > 2 } } } } } # Japan demand American Islands country_event = { id = JAP_diplomacy.190 title = JAP_diplomacy.190.t desc = JAP_diplomacy.190.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.190.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.190.a" JAP = { country_event = JAP_diplomacy.191 } effect_tooltip = { JAP = { transfer_state = 818 transfer_state = 823 transfer_state = 822 transfer_state = 825 transfer_state = 827 } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.190.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.190.b" JAP = { country_event = JAP_diplomacy.192 } effect_tooltip = { JAP = { create_wargoal = { target = USA type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # America Accepts country_event = { id = JAP_diplomacy.191 title = JAP_diplomacy.191.t desc = JAP_diplomacy.191.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.191.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.191.a" transfer_state = 818 transfer_state = 823 transfer_state = 822 transfer_state = 825 transfer_state = 827 ai_chance = { base = 10 } } } # America Rejects country_event = { id = JAP_diplomacy.192 title = JAP_diplomacy.192.t desc = JAP_diplomacy.192.d picture = GFX_treaty_rejected is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.192.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.192.a" create_wargoal = { target = USA type = take_claimed_state generator = { 818 823 822 825 827 } } 818 = { add_claim_by = JAP } 823 = { add_claim_by = JAP } 822 = { add_claim_by = JAP } 825 = { add_claim_by = JAP } 827 = { add_claim_by = JAP } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = USA ratio > 2 } } } } option = { name = JAP_diplomacy.192.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.192.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = USA ratio > 2 } } } } } # Japan demand French Islands country_event = { id = JAP_diplomacy.193 title = JAP_diplomacy.193.t desc = JAP_diplomacy.193.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.193.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.193.a" JAP = { country_event = JAP_diplomacy.194 } effect_tooltip = { JAP = { transfer_state = 71 transfer_state = 1215 transfer_state = 69 } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.193.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.193.b" JAP = { country_event = JAP_diplomacy.195 } effect_tooltip = { JAP = { create_wargoal = { target = FRA type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # France Accepts country_event = { id = JAP_diplomacy.194 title = JAP_diplomacy.194.t desc = JAP_diplomacy.194.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.194.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.194.a" transfer_state = 71 transfer_state = 1215 transfer_state = 69 ai_chance = { base = 10 } } } # France Rejects country_event = { id = JAP_diplomacy.195 title = JAP_diplomacy.195.t desc = JAP_diplomacy.195.d picture = GFX_treaty_rejected is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.195.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.195.a" create_wargoal = { target = FRA type = take_claimed_state generator = { 71 1215 69 } } 71 = { add_claim_by = JAP } 1215 = { add_claim_by = JAP } 69 = { add_claim_by = JAP } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = FRA ratio > 2 } } } } option = { name = JAP_diplomacy.195.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.195.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = FRA ratio > 2 } } } } } # Japan demand British Islands country_event = { id = JAP_diplomacy.196 title = JAP_diplomacy.196.t desc = JAP_diplomacy.196.d picture = GFX_treaty is_triggered_only = yes option = { # Accepting name = JAP_diplomacy.196.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.196.a" JAP = { country_event = JAP_diplomacy.197 } effect_tooltip = { JAP = { transfer_state = 18 } } ai_chance = { base = 5 modifier = { factor = 2 has_opinion = { target = JAP value > 50 } } modifier = { factor = 0.2 is_in_faction_with = USA } modifier = { factor = 0.5 has_war_support > 0.5 } } } option = { # Refusing name = JAP_diplomacy.196.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.196.b" JAP = { country_event = JAP_diplomacy.198 } effect_tooltip = { JAP = { create_wargoal = { target = ENG type = take_claimed_state } } } ai_chance = { base = 10 modifier = { factor = 2 is_in_faction_with = USA } modifier = { factor = 0.5 has_opinion = { target = JAP value > 50 } } } } } # United Kingdom Accepts country_event = { id = JAP_diplomacy.197 title = JAP_diplomacy.197.t desc = JAP_diplomacy.197.d picture = GFX_corvette is_triggered_only = yes option = { name = JAP_diplomacy.197.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.197.a" transfer_state = 18 ai_chance = { base = 10 } } } # United Kingdom Rejects country_event = { id = JAP_diplomacy.198 title = JAP_diplomacy.198.t desc = JAP_diplomacy.198.d picture = GFX_treaty_rejected is_triggered_only = yes option = { # Gain Wargoal name = JAP_diplomacy.198.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.198.a" create_wargoal = { target = ENG type = take_claimed_state generator = { 18 } } 18 = { add_claim_by = JAP } ai_chance = { base = 0 modifier = { add = 100 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = ENG ratio > 2 } } } } option = { name = JAP_diplomacy.198.b log = "[GetDateText]: [This.GetName]: JAP_diplomacy.198.b" add_political_power = 25 add_war_support = -0.05 ai_chance = { base = 100 modifier = { factor = 0 has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH strength_ratio = { tag = ENG ratio > 2 } } } } } country_event = { id = JAP_diplomacy.199 title = JAP_diplomacy.199.t desc = JAP_diplomacy.199.d picture = GFX_treaty is_triggered_only = yes option = { name = JAP_diplomacy.199.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.199.a" add_timed_idea = { idea = JAP_dprk_policy_idea years = 5 } ai_chance = { base = 10 } } } # Japan Loses Sakhalin and the Kurils - Forced Peace country_event = { id = JAP_diplomacy.200 title = JAP_diplomacy.200.t desc = JAP_diplomacy.200.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = JAP_diplomacy.200.a log = "[GetDateText]: [This.GetName]: JAP_diplomacy.200.a executed" JAP = { white_peace = { tag = SOV } every_other_country = { limit = { is_in_faction_with = SOV } white_peace = { tag = JAP } } add_stability = -0.15 add_war_support = -0.10 add_timed_idea = { idea = JAP_failed_sakhalin_war years = 5 } } ai_chance = { base = 10 } } } ### News ### news_event = { id = JAP_news.01 title = JAP_news.01.t desc = JAP_news.01.d picture = GFX_news_press_conference is_triggered_only = yes option = { name = JAP_news.01.a trigger = { tag = JAP } ai_chance = { base = 1 } } option = { name = JAP_news.01.b trigger = { OR = { tag = KOR tag = CHI } } ai_chance = { base = 10 } } } news_event = { id = JAP_news.04 title = JAP_news.04.t desc = JAP_news.04.d picture = GFX_news_press_conference is_triggered_only = yes major = yes option = { name = JAP_news.04.a ai_chance = { base = 1 } } } country_event = { id = Japan_economy.02 title = Japan_economy.02.t desc = Japan_economy.02.d picture = GFX_stock_market is_triggered_only = yes option = { name = Japan_economy.02.a log = "[GetDateText]: [This.GetName]: Japan_economy.02.a executed" add_ideas = JAP_improvement_private_investment_climate_idea ai_chance = { base = 1 } } } country_event = { id = Japan_economy.12 title = Japan_economy.12.t desc = Japan_economy.12.d picture = GFX_marketplace is_triggered_only = yes option = { name = Japan_economy.12.a log = "[GetDateText]: [This.GetName]: Japan_economy.12.a executed" custom_effect_tooltip = Japan_economy.12_a_TT hidden_effect = { random_list = { 50 = { set_country_flag = JAP_wage_negotiations_success_flag } 50 = { set_country_flag = JAP_wage_negotiations_failure_flag } } } set_temp_variable = { temp_opinion = -2 } change_small_medium_business_owners_opinion = yes ai_chance = { base = 1 } } option = { name = Japan_economy.12.b log = "[GetDateText]: [This.GetName]: Japan_economy.12.b executed" custom_effect_tooltip = Japan_economy.12_b_TT hidden_effect = { random_list = { 80 = { set_country_flag = JAP_wage_negotiations_success_flag } 20 = { set_country_flag = JAP_wage_negotiations_failure_flag } } } set_temp_variable = { temp_opinion = -5 } change_small_medium_business_owners_opinion = yes set_temp_variable = { temp_opinion = -3 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 1 } } option = { name = Japan_economy.12.c log = "[GetDateText]: [This.GetName]: Japan_economy.12.c executed" custom_effect_tooltip = Japan_economy.12_c_TT hidden_effect = { random_list = { 25 = { set_country_flag = JAP_wage_negotiations_success_flag } 75 = { set_country_flag = JAP_wage_negotiations_failure_flag } } } ai_chance = { base = 1 } } } country_event = { id = Japan_economy.14 title = Japan_economy.14.t desc = Japan_economy.14.d picture = GFX_marketplace is_triggered_only = yes trigger = { has_country_flag = JAP_wage_negotiations_success_flag } option = { name = Japan_economy.14.a log = "[GetDateText]: [This.GetName]: Japan_economy.14.a executed" add_to_variable = { JAP_demand_recovery_progress = 6 tooltip = JAP_demand_recovery_progress_tt } hidden_effect = { country_event = { id = Japan_economy.16 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = Japan_economy.15 title = Japan_economy.15.t desc = Japan_economy.15.d picture = GFX_marketplace is_triggered_only = yes trigger = { has_country_flag = JAP_wage_negotiations_failure_flag } option = { name = Japan_economy.15.a log = "[GetDateText]: [This.GetName]: Japan_economy.15.a executed" add_to_variable = { JAP_demand_recovery_progress = 2 tooltip = JAP_demand_recovery_progress_tt } hidden_effect = { country_event = { id = Japan_economy.16 days = 1 } } ai_chance = { base = 1 } } } country_event = { id = Japan_economy.16 is_triggered_only = yes hidden = yes immediate = { clr_country_flag = JAP_wage_negotiations_success_flag clr_country_flag = JAP_wage_negotiations_failure_flag } } country_event = { id = Japan_economy.17 title = Japan_economy.17.t desc = Japan_economy.17.d picture = GFX_marketplace is_triggered_only = yes option = { name = Japan_economy.17.a ai_chance = { base = 1 } } } country_event = { id = Japan_economy.18 title = Japan_economy.18.t desc = Japan_economy.18.d picture = GFX_political_deal is_triggered_only = yes option = { name = Japan_economy.18.a ai_chance = { base = 1 } } } country_event = { id = Japan_economy.19 title = Japan_economy.19.t desc = Japan_economy.19.d picture = GFX_treaty is_triggered_only = yes option = { name = Japan_economy.19.a ai_chance = { base = 1 } } } country_event = { id = Japan_economy.20 title = Japan_economy.20.t desc = Japan_economy.20.d picture = GFX_politics_cut_taxes is_triggered_only = yes option = { name = Japan_economy.20.a ai_chance = { base = 1 } } } country_event = { id = Japan_economy.21 title = Japan_economy.21.t desc = Japan_economy.21.d picture = GFX_stock_market is_triggered_only = yes option = { name = Japan_economy.21.a ai_chance = { base = 1 } } } country_event = { id = Japan_economy.22 title = Japan_economy.22.t desc = Japan_economy.22.d picture = GFX_marketplace is_triggered_only = yes option = { name = Japan_economy.22.a ai_chance = { base = 1 } } } # Fired by JAP_local_consent_accords focus country_event = { id = Japan_economy.32 title = Japan_economy.32.t desc = Japan_economy.32.d picture = GFX_court is_triggered_only = yes option = { name = Japan_economy.32.a log = "[GetDateText]: [This.GetName]: Japan_economy.32.a executed" add_political_power = -30 ai_chance = { base = 1 } } option = { name = Japan_economy.32.b log = "[GetDateText]: [This.GetName]: Japan_economy.32.b executed" add_stability = -0.02 ai_chance = { base = 1 } } } # Fired 30 days after JAP_zombie_firms_investigation country_event = { id = Japan_economy.06 title = Japan_economy.06.t desc = Japan_economy.06.d picture = GFX_generic_factory is_triggered_only = yes option = { name = Japan_economy.06.a log = "[GetDateText]: [This.GetName]: Japan_economy.06.a executed" add_stability = -0.03 add_political_power = -50 add_to_variable = { JAP_zombie_case_files = 1 tooltip = JAP_zombie_case_files_up_1_tt } add_to_variable = { JAP_zombie_obstruction = 6 tooltip = JAP_zombie_obstruction_up_6_tt } newline = yes set_temp_variable = { temp_opinion = -8 } change_industrial_conglomerates_opinion = yes hidden_effect = { country_event = { id = Japan_economy.07 days = 45 } } ai_chance = { base = 10 } } option = { name = Japan_economy.06.b log = "[GetDateText]: [This.GetName]: Japan_economy.06.b executed" add_stability = 0.01 set_country_flag = JAP_banks_self_report add_to_variable = { JAP_zombie_obstruction = 15 tooltip = JAP_zombie_obstruction_up_15_tt } newline = yes set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 1 } } option = { name = Japan_economy.06.c log = "[GetDateText]: [This.GetName]: Japan_economy.06.c executed" add_stability = 0.02 set_country_flag = JAP_zombie_probe_abandoned newline = yes set_temp_variable = { temp_opinion = 10 } change_industrial_conglomerates_opinion = yes custom_effect_tooltip = JAP_zombie_probe_abandoned_TT custom_effect_tooltip = JAP_zombie_whitewash_penalty_TT ai_chance = { base = 0 } } } country_event = { id = Japan_economy.07 title = Japan_economy.07.t desc = Japan_economy.07.d picture = GFX_banking_crisis is_triggered_only = yes option = { name = Japan_economy.07.a log = "[GetDateText]: [This.GetName]: Japan_economy.07.a executed" add_stability = -0.02 add_to_variable = { JAP_zombie_case_files = 1 tooltip = JAP_zombie_case_files_up_1_tt } add_to_variable = { JAP_zombie_obstruction = 5 tooltip = JAP_zombie_obstruction_up_5_tt } add_to_variable = { JAP_corporate_restructuring_progress = 4 tooltip = JAP_corporate_restructuring_progress_tt } ai_chance = { base = 10 } } option = { name = Japan_economy.07.b log = "[GetDateText]: [This.GetName]: Japan_economy.07.b executed" add_political_power = -25 add_to_variable = { JAP_corporate_restructuring_progress = 2 tooltip = JAP_corporate_restructuring_progress_tt } newline = yes set_temp_variable = { temp_opinion = 4 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 5 } } } # Fired by JAP_zombie_investigation_mission on completion, timeout or cancellation country_event = { id = Japan_economy.08 title = Japan_economy.08.t desc = Japan_economy.08.d picture = GFX_court is_triggered_only = yes immediate = { hidden_effect = { clr_country_flag = JAP_zombie_investigation_running if = { limit = { has_idea = JAP_zombie_investigation_idea } remove_ideas = JAP_zombie_investigation_idea } if = { limit = { has_idea = JAP_zombie_investigation_suspended } remove_ideas = JAP_zombie_investigation_suspended } } } option = { name = Japan_economy.08.a trigger = { check_variable = { JAP_zombie_case_files > 9 } } log = "[GetDateText]: [This.GetName]: Japan_economy.08.a executed" set_country_flag = JAP_zombie_report_strong add_political_power = 50 set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = -0.08 } set_temp_variable = { temp_outlook_increase = -0.08 } change_relative_party_popularity = yes newline = yes set_temp_variable = { temp_opinion = -10 } change_industrial_conglomerates_opinion = yes newline = yes custom_effect_tooltip = JAP_zombie_investigation_western_pop_TT custom_effect_tooltip = JAP_zombie_report_strong_TT ai_chance = { base = 1 } } option = { name = Japan_economy.08.b trigger = { check_variable = { JAP_zombie_case_files > 2 } check_variable = { JAP_zombie_case_files < 10 } } log = "[GetDateText]: [This.GetName]: Japan_economy.08.b executed" set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = -0.05 } set_temp_variable = { temp_outlook_increase = -0.05 } change_relative_party_popularity = yes newline = yes custom_effect_tooltip = JAP_zombie_investigation_western_pop_TT custom_effect_tooltip = JAP_zombie_report_partial_TT ai_chance = { base = 1 } } option = { name = Japan_economy.08.c trigger = { check_variable = { JAP_zombie_case_files < 3 } } log = "[GetDateText]: [This.GetName]: Japan_economy.08.c executed" set_country_flag = JAP_zombie_report_whitewash subtract_from_variable = { JAP_zombie_case_files = 3 tooltip = JAP_zombie_case_files_down_3_tt } clamp_variable = { var = JAP_zombie_case_files min = 0 max = 14 } add_stability = -0.02 set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = -0.02 } set_temp_variable = { temp_outlook_increase = -0.02 } change_relative_party_popularity = yes newline = yes set_temp_variable = { temp_opinion = 8 } change_industrial_conglomerates_opinion = yes newline = yes custom_effect_tooltip = JAP_zombie_report_whitewash_TT custom_effect_tooltip = JAP_zombie_whitewash_penalty_TT ai_chance = { base = 1 } } } # Obstruction threshold 30 country_event = { id = Japan_economy.09 title = Japan_economy.09.t desc = Japan_economy.09.d picture = GFX_banking_crisis is_triggered_only = yes option = { name = Japan_economy.09.a log = "[GetDateText]: [This.GetName]: Japan_economy.09.a executed" subtract_from_variable = { JAP_zombie_case_files = 2 tooltip = JAP_zombie_case_files_down_2_tt } clamp_variable = { var = JAP_zombie_case_files min = 0 max = 14 } add_stability = -0.02 ai_chance = { base = 5 } } option = { name = Japan_economy.09.b log = "[GetDateText]: [This.GetName]: Japan_economy.09.b executed" add_political_power = -75 subtract_from_variable = { JAP_zombie_obstruction = 8 tooltip = JAP_zombie_obstruction_down_8_tt } clamp_variable = { var = JAP_zombie_obstruction min = 0 max = 100 } ai_chance = { base = 5 } } } # Obstruction threshold 55 country_event = { id = Japan_economy.10 title = Japan_economy.10.t desc = Japan_economy.10.d picture = GFX_treaty is_triggered_only = yes option = { name = Japan_economy.10.a log = "[GetDateText]: [This.GetName]: Japan_economy.10.a executed" activate_mission = JAP_keidanren_ultimatum_mission newline = yes set_temp_variable = { temp_opinion = -5 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 1 } } } # Obstruction threshold 80 country_event = { id = Japan_economy.11 title = Japan_economy.11.t desc = Japan_economy.11.d picture = GFX_court is_triggered_only = yes option = { name = Japan_economy.11.a log = "[GetDateText]: [This.GetName]: Japan_economy.11.a executed" add_political_power = -100 add_stability = -0.08 set_temp_variable = { party_index = 2 } set_temp_variable = { party_popularity_increase = -0.06 } set_temp_variable = { temp_outlook_increase = -0.06 } change_relative_party_popularity = yes newline = yes set_country_flag = JAP_zombie_probe_suspended if = { limit = { has_idea = JAP_zombie_investigation_idea } swap_ideas = { remove_idea = JAP_zombie_investigation_idea add_idea = JAP_zombie_investigation_suspended } } set_variable = { JAP_zombie_obstruction = 45 } set_variable = { JAP_zombie_obstruction_stage = 1 } hidden_effect = { country_event = { id = Japan_economy.33 days = 180 } } ai_chance = { base = 1 } } } # Case: the Long-Term Credit Bank and the Shinsei put option country_event = { id = Japan_economy.23 title = Japan_economy.23.t desc = Japan_economy.23.d picture = GFX_banking_crisis is_triggered_only = yes option = { name = Japan_economy.23.a log = "[GetDateText]: [This.GetName]: Japan_economy.23.a executed" JAP_zombie_case_prosecuted = yes newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes ai_chance = { base = 8 modifier = { factor = 2 JAP_ai_historical_path = yes JAP_ai_not_historical_path = no } } } option = { name = Japan_economy.23.b log = "[GetDateText]: [This.GetName]: Japan_economy.23.b executed" JAP_zombie_case_rescued = yes newline = yes medium_expenditure = yes ai_chance = { base = 5 } } option = { name = Japan_economy.23.c log = "[GetDateText]: [This.GetName]: Japan_economy.23.c executed" JAP_zombie_case_ignored = yes ai_chance = { base = 1 } } } # Case: the collapse of Sogo country_event = { id = Japan_economy.24 title = Japan_economy.24.t desc = Japan_economy.24.d picture = GFX_court is_triggered_only = yes option = { name = Japan_economy.24.a log = "[GetDateText]: [This.GetName]: Japan_economy.24.a executed" JAP_zombie_case_prosecuted = yes newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes ai_chance = { base = 8 modifier = { factor = 2 JAP_ai_historical_path = yes JAP_ai_not_historical_path = no } } } option = { name = Japan_economy.24.b log = "[GetDateText]: [This.GetName]: Japan_economy.24.b executed" JAP_zombie_case_rescued = yes newline = yes medium_expenditure = yes ai_chance = { base = 5 } } option = { name = Japan_economy.24.c log = "[GetDateText]: [This.GetName]: Japan_economy.24.c executed" JAP_zombie_case_ignored = yes ai_chance = { base = 1 } } } # Case: the Mycal bankruptcy country_event = { id = Japan_economy.25 title = Japan_economy.25.t desc = Japan_economy.25.d picture = GFX_banking_crisis is_triggered_only = yes option = { name = Japan_economy.25.a log = "[GetDateText]: [This.GetName]: Japan_economy.25.a executed" JAP_zombie_case_prosecuted = yes newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes ai_chance = { base = 8 modifier = { factor = 2 JAP_ai_historical_path = yes JAP_ai_not_historical_path = no } } } option = { name = Japan_economy.25.b log = "[GetDateText]: [This.GetName]: Japan_economy.25.b executed" JAP_zombie_case_rescued = yes newline = yes medium_expenditure = yes ai_chance = { base = 5 } } option = { name = Japan_economy.25.c log = "[GetDateText]: [This.GetName]: Japan_economy.25.c executed" JAP_zombie_case_ignored = yes ai_chance = { base = 1 } } } # Case: the Resona capital injection country_event = { id = Japan_economy.26 title = Japan_economy.26.t desc = Japan_economy.26.d picture = GFX_banking_crisis is_triggered_only = yes option = { name = Japan_economy.26.a log = "[GetDateText]: [This.GetName]: Japan_economy.26.a executed" JAP_zombie_case_prosecuted = yes newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes ai_chance = { base = 8 modifier = { factor = 2 JAP_ai_historical_path = yes JAP_ai_not_historical_path = no } } } option = { name = Japan_economy.26.b log = "[GetDateText]: [This.GetName]: Japan_economy.26.b executed" JAP_zombie_case_rescued = yes newline = yes large_expenditure = yes ai_chance = { base = 5 } } option = { name = Japan_economy.26.c log = "[GetDateText]: [This.GetName]: Japan_economy.26.c executed" JAP_zombie_case_ignored = yes add_stability = -0.03 ai_chance = { base = 1 } } } # Case: the nationalisation of the Ashikaga Bank country_event = { id = Japan_economy.27 title = Japan_economy.27.t desc = Japan_economy.27.d picture = GFX_banking_crisis is_triggered_only = yes option = { name = Japan_economy.27.a log = "[GetDateText]: [This.GetName]: Japan_economy.27.a executed" JAP_zombie_case_prosecuted = yes add_stability = -0.02 newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes ai_chance = { base = 8 modifier = { factor = 2 JAP_ai_historical_path = yes JAP_ai_not_historical_path = no } } } option = { name = Japan_economy.27.b log = "[GetDateText]: [This.GetName]: Japan_economy.27.b executed" JAP_zombie_case_rescued = yes newline = yes large_expenditure = yes ai_chance = { base = 5 } } option = { name = Japan_economy.27.c log = "[GetDateText]: [This.GetName]: Japan_economy.27.c executed" JAP_zombie_case_ignored = yes add_stability = -0.03 ai_chance = { base = 1 } } } # Case: Daiei and the Industrial Revitalization Corporation country_event = { id = Japan_economy.28 title = Japan_economy.28.t desc = Japan_economy.28.d picture = GFX_generic_soldiers is_triggered_only = yes option = { name = Japan_economy.28.a log = "[GetDateText]: [This.GetName]: Japan_economy.28.a executed" JAP_zombie_case_prosecuted = yes newline = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes ai_chance = { base = 8 modifier = { factor = 2 JAP_ai_historical_path = yes JAP_ai_not_historical_path = no } } } option = { name = Japan_economy.28.b log = "[GetDateText]: [This.GetName]: Japan_economy.28.b executed" JAP_zombie_case_rescued = yes newline = yes medium_expenditure = yes ai_chance = { base = 5 } } option = { name = Japan_economy.28.c log = "[GetDateText]: [This.GetName]: Japan_economy.28.c executed" JAP_zombie_case_ignored = yes ai_chance = { base = 1 } } } # Case: the Kanebo accounts and the auditors who signed them country_event = { id = Japan_economy.29 title = Japan_economy.29.t desc = Japan_economy.29.d picture = GFX_banking_crisis is_triggered_only = yes option = { name = Japan_economy.29.a log = "[GetDateText]: [This.GetName]: Japan_economy.29.a executed" JAP_zombie_case_prosecuted = yes newline = yes custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = JAP_economy_modifier } add_to_variable = { JAP_economy_return_on_investment_modifier = 0.03 tooltip = return_on_investment_modifier_tt } ai_chance = { base = 8 modifier = { factor = 2 JAP_ai_historical_path = yes JAP_ai_not_historical_path = no } } } option = { name = Japan_economy.29.b log = "[GetDateText]: [This.GetName]: Japan_economy.29.b executed" JAP_zombie_case_rescued = yes newline = yes medium_expenditure = yes ai_chance = { base = 5 } } option = { name = Japan_economy.29.c log = "[GetDateText]: [This.GetName]: Japan_economy.29.c executed" JAP_zombie_case_ignored = yes ai_chance = { base = 1 } } } # Keidanren ultimatum met country_event = { id = Japan_economy.30 title = Japan_economy.30.t desc = Japan_economy.30.d picture = GFX_court is_triggered_only = yes option = { name = Japan_economy.30.a log = "[GetDateText]: [This.GetName]: Japan_economy.30.a executed" add_political_power = 50 set_temp_variable = { temp_opinion = 8 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 1 } } } # Keidanren ultimatum ignored country_event = { id = Japan_economy.31 title = Japan_economy.31.t desc = Japan_economy.31.d picture = GFX_generic_factory is_triggered_only = yes option = { name = Japan_economy.31.a log = "[GetDateText]: [This.GetName]: Japan_economy.31.a executed" add_political_power = -75 add_stability = -0.05 add_to_variable = { JAP_zombie_obstruction = 10 tooltip = JAP_zombie_obstruction_up_10_tt } clamp_variable = { var = JAP_zombie_obstruction min = 0 max = 100 } newline = yes set_temp_variable = { temp_opinion = -15 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 1 } } } # The suspension of the probe is lifted country_event = { id = Japan_economy.33 title = Japan_economy.33.t desc = Japan_economy.33.d picture = GFX_court is_triggered_only = yes trigger = { has_country_flag = JAP_zombie_probe_suspended } option = { name = Japan_economy.33.a log = "[GetDateText]: [This.GetName]: Japan_economy.33.a executed" clr_country_flag = JAP_zombie_probe_suspended if = { limit = { has_idea = JAP_zombie_investigation_suspended } swap_ideas = { remove_idea = JAP_zombie_investigation_suspended add_idea = JAP_zombie_investigation_idea } } ai_chance = { base = 1 } } } # The zombie firms are gone: Controlled Downsize country_event = { id = Japan_economy.34 title = Japan_economy.34.t desc = Japan_economy.34.d picture = GFX_stock_market is_triggered_only = yes option = { name = Japan_economy.34.a log = "[GetDateText]: [This.GetName]: Japan_economy.34.a executed" add_stability = 0.03 add_political_power = 75 newline = yes set_temp_variable = { temp_opinion = 6 } change_small_medium_business_owners_opinion = yes ai_chance = { base = 1 } } } # The zombie firms are gone: Fusion leaves its scar country_event = { id = Japan_economy.35 title = Japan_economy.35.t desc = Japan_economy.35.d picture = GFX_generic_factory is_triggered_only = yes option = { name = Japan_economy.35.a log = "[GetDateText]: [This.GetName]: Japan_economy.35.a executed" add_political_power = 50 newline = yes set_temp_variable = { temp_opinion = 6 } change_industrial_conglomerates_opinion = yes ai_chance = { base = 1 } } } ############################################## # Electronics: Model Competition news chain ############################################## # Fired by on_monthly_JAP when Asian rivals escalate the pressure to tier 2 country_event = { id = JAP_electronics.1 title = JAP_electronics.1.t desc = JAP_electronics.1.d picture = GFX_JAP_generic is_triggered_only = yes option = { name = JAP_electronics.1.a #We will not cede the market without a fight. } } # Fired by on_monthly_JAP when China reaches the leading edge (tier 3) country_event = { id = JAP_electronics.2 title = JAP_electronics.2.t desc = JAP_electronics.2.d picture = GFX_JAP_generic is_triggered_only = yes option = { name = JAP_electronics.2.a #The frontier has moved. We must answer. } } # Fired by on_monthly_JAP when Japan out-competes the pressure entirely country_event = { id = JAP_electronics.3 title = JAP_electronics.3.t desc = JAP_electronics.3.d picture = GFX_JAP_generic is_triggered_only = yes option = { name = JAP_electronics.3.a #Japan stands once more at the summit of the industry. } } # Capstone news: Japan returns to the semiconductor frontier country_event = { id = JAP_electronics.4 title = JAP_electronics.4.t desc = JAP_electronics.4.d picture = GFX_JAP_generic is_triggered_only = yes option = { name = JAP_electronics.4.a #A remarkable resurgence. } option = { name = JAP_electronics.4.b #The old giant still has teeth. trigger = { NOT = { original_tag = JAP } } } } country_event = { id = JAP_ai.1 is_triggered_only = yes hidden = yes fire_only_once = yes trigger = { is_ai = yes has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH nationalist_monarchists_are_in_power = no has_civil_war = no } immediate = { log = "[GetDateText]: [This.GetName]: JAP_ai.1 executed" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.2 } set_temp_variable = { temp_outlook_increase = 0.2 } change_relative_party_popularity = yes } } country_event = { id = JAP_ai.4 is_triggered_only = yes hidden = yes trigger = { is_ai = yes has_civil_war = no JAP_ai_historical_path = yes JAP_ai_not_historical_path = no NOT = { has_country_flag = generic_election_killswitch } } immediate = { log = "[GetDateText]: [This.GetName]: JAP_ai.4 executed" if = { limit = { date > 2025.10.21 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else_if = { limit = { date > 2024.10.1 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else_if = { limit = { date > 2021.10.4 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else_if = { limit = { date > 2020.9.16 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else_if = { limit = { date > 2012.12.26 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else_if = { limit = { date > 2011.9.2 } set_variable = { liberalism_leader = 0 } set_temp_variable = { rul_party_temp = 2 } } else_if = { limit = { date > 2010.6.8 } set_variable = { liberalism_leader = 0 } set_temp_variable = { rul_party_temp = 2 } } else_if = { limit = { date > 2009.9.16 } set_variable = { liberalism_leader = 0 } set_temp_variable = { rul_party_temp = 2 } } else_if = { limit = { date > 2008.9.24 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else_if = { limit = { date > 2007.9.26 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else_if = { limit = { date > 2006.9.26 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else_if = { limit = { date > 2001.4.26 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else_if = { limit = { date > 2000.4.5 } set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } else = { set_variable = { conservatism_leader = 0 } set_temp_variable = { rul_party_temp = 1 } } if = { limit = { NOT = { check_variable = { ruling_party = rul_party_temp } } } change_ruling_party_effect = yes set_elections_48_months = yes } else = { set_leader = yes } } } country_event = { id = JAP_ai.2 is_triggered_only = yes hidden = yes fire_only_once = yes trigger = { is_ai = yes has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH nationalist_monarchists_are_in_power = no has_civil_war = no } immediate = { log = "[GetDateText]: [This.GetName]: JAP_ai.2 executed" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.2 } set_temp_variable = { temp_outlook_increase = 0.2 } change_relative_party_popularity = yes } } country_event = { id = JAP_ai.3 is_triggered_only = yes hidden = yes fire_only_once = yes trigger = { is_ai = yes has_global_flag = JAP_RETURN_OF_THE_EMPIRE_FOCUS_PATH nationalist_monarchists_are_in_power = no has_civil_war = no } immediate = { log = "[GetDateText]: [This.GetName]: JAP_ai.3 executed" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.2 } set_temp_variable = { temp_outlook_increase = 0.2 } change_relative_party_popularity = yes } } # Sony corporate history country_event = { id = JAP_electronics.300 title = JAP_electronics.300.t desc = { trigger = { country_exists = SWE SWE = { has_country_flag = SWE_sony_ericsson_joint_venture } } text = JAP_electronics.300.d_agreed } desc = { trigger = { NOT = { AND = { country_exists = SWE SWE = { has_country_flag = SWE_sony_ericsson_joint_venture } } } } text = JAP_electronics.300.d_alone } picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_sony_ericsson_venture } NOT = { has_country_flag = JAP_sony_mobile_alone } } option = { name = JAP_electronics.300.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.300.a executed" set_temp_variable = { treasury_change = -2.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.300.t bonus = 0.15 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_sony_ericsson_venture ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.300.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.300.b executed" add_political_power = 10 add_tech_bonus = { name = JAP_electronics.300.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_sony_mobile_alone ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.301 title = JAP_electronics.301.t desc = JAP_electronics.301.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_sony_open_music_format } NOT = { has_country_flag = JAP_sony_proprietary_drm } } option = { name = JAP_electronics.301.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.301.a executed" add_political_power = -15 add_tech_bonus = { name = JAP_electronics.301.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_sony_proprietary_drm ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.301.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.301.b executed" add_tech_bonus = { name = JAP_electronics.301.t bonus = 0.15 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_sony_open_music_format ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.302 title = JAP_electronics.302.t desc = JAP_electronics.302.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_sony_cell_architecture } NOT = { has_country_flag = JAP_sony_conventional_console } } option = { name = JAP_electronics.302.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.302.a executed" set_temp_variable = { treasury_change = -8.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.302.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_sony_cell_architecture ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.302.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.302.b executed" add_political_power = 10 add_tech_bonus = { name = JAP_electronics.302.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_sony_conventional_console ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.303 title = JAP_electronics.303.t desc = JAP_electronics.303.d picture = GFX_generic_factory is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_sony_unified_group } NOT = { has_country_flag = JAP_sony_divisional_autonomy } } option = { name = JAP_electronics.303.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.303.a executed" add_political_power = -25 add_tech_bonus = { name = JAP_electronics.303.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_sony_unified_group ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.303.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.303.b executed" add_tech_bonus = { name = JAP_electronics.303.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_sony_divisional_autonomy ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.304 title = JAP_electronics.304.t desc = JAP_electronics.304.d picture = GFX_generic_factory is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_sony_sensor_pivot } NOT = { has_country_flag = JAP_sony_consumer_priority } } option = { name = JAP_electronics.304.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.304.a executed" set_temp_variable = { treasury_change = -6.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.304.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_sony_sensor_pivot ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.304.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.304.b executed" add_political_power = 15 add_tech_bonus = { name = JAP_electronics.304.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_sony_consumer_priority ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.305 title = JAP_electronics.305.t desc = JAP_electronics.305.d picture = GFX_computer is_triggered_only = yes trigger = { JAP_sony_outcome_settled = no } option = { name = JAP_electronics.305.a trigger = { has_country_flag = JAP_sony_sensor_pivot has_country_flag = JAP_sony_unified_group } log = "[GetDateText]: [Root.GetName]: JAP_electronics.305.a executed" effect_tooltip = { add_timed_idea = { idea = JAP_sony_one_sony_ecosystem days = 365 } } hidden_effect = { JAP_sony_apply_one_sony_ecosystem = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.305.b trigger = { has_country_flag = JAP_sony_sensor_pivot NOT = { has_country_flag = JAP_sony_unified_group } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.305.b executed" effect_tooltip = { add_timed_idea = { idea = JAP_sony_hardware_federation days = 365 } } hidden_effect = { JAP_sony_apply_hardware_federation = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.305.c trigger = { NOT = { has_country_flag = JAP_sony_sensor_pivot } has_country_flag = JAP_sony_cell_architecture } log = "[GetDateText]: [Root.GetName]: JAP_electronics.305.c executed" effect_tooltip = { add_ideas = JAP_sony_cell_sovereign_compute } hidden_effect = { JAP_sony_apply_cell_sovereign_compute = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.305.e trigger = { NOT = { has_country_flag = JAP_sony_sensor_pivot } NOT = { has_country_flag = JAP_sony_cell_architecture } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.305.e executed" effect_tooltip = { add_timed_idea = { idea = JAP_sony_open_digital_commonwealth days = 365 } } hidden_effect = { JAP_sony_apply_open_digital_commonwealth = yes } ai_chance = { base = 100 } } } # Nintendo corporate history country_event = { id = JAP_electronics.310 title = JAP_electronics.310.t desc = JAP_electronics.310.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_nintendo_dedicated_handheld } NOT = { has_country_flag = JAP_nintendo_single_platform } } option = { name = JAP_electronics.310.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.310.a executed" add_political_power = -15 add_tech_bonus = { name = JAP_electronics.310.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_nintendo_dedicated_handheld ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.310.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.310.b executed" add_tech_bonus = { name = JAP_electronics.310.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_nintendo_single_platform ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.311 title = JAP_electronics.311.t desc = JAP_electronics.311.d picture = GFX_generic_factory is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_nintendo_wider_audience } NOT = { has_country_flag = JAP_nintendo_performance_race } } option = { name = JAP_electronics.311.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.311.a executed" set_temp_variable = { treasury_change = 4.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.311.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_nintendo_wider_audience ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = JAP_electronics.311.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.311.b executed" set_temp_variable = { treasury_change = -5.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.311.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_nintendo_performance_race ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = JAP_electronics.312 title = JAP_electronics.312.t desc = JAP_electronics.312.d picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_nintendo_hardware_persisted } NOT = { has_country_flag = JAP_nintendo_hardware_withdrawal } } option = { name = JAP_electronics.312.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.312.a executed" add_political_power = -25 add_tech_bonus = { name = JAP_electronics.312.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_nintendo_hardware_persisted ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.312.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.312.b executed" set_temp_variable = { treasury_change = 3.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.312.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_nintendo_hardware_withdrawal ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.313 title = JAP_electronics.313.t desc = JAP_electronics.313.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_nintendo_licensed_mobile } NOT = { has_country_flag = JAP_nintendo_mobile_refused } } option = { name = JAP_electronics.313.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.313.a executed" set_temp_variable = { treasury_change = 2.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.313.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_nintendo_licensed_mobile ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = JAP_electronics.313.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.313.b executed" add_political_power = 10 add_tech_bonus = { name = JAP_electronics.313.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_nintendo_mobile_refused ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } } } } country_event = { id = JAP_electronics.314 title = JAP_electronics.314.t desc = JAP_electronics.314.d picture = GFX_generic_factory is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_nintendo_hybrid_console } NOT = { has_country_flag = JAP_nintendo_separate_lines } } option = { name = JAP_electronics.314.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.314.a executed" set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.314.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_nintendo_hybrid_console ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.314.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.314.b executed" add_political_power = 10 add_tech_bonus = { name = JAP_electronics.314.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_nintendo_separate_lines ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.315 title = JAP_electronics.315.t desc = JAP_electronics.315.d picture = GFX_computer is_triggered_only = yes trigger = { JAP_nintendo_outcome_settled = no } option = { name = JAP_electronics.315.a trigger = { has_country_flag = JAP_nintendo_hybrid_console has_country_flag = JAP_nintendo_hardware_persisted } log = "[GetDateText]: [Root.GetName]: JAP_electronics.315.a executed" effect_tooltip = { add_timed_idea = { idea = JAP_nintendo_disciplined_hybrid_platform days = 365 } } hidden_effect = { JAP_nintendo_apply_disciplined_hybrid = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.315.b trigger = { has_country_flag = JAP_nintendo_hybrid_console NOT = { has_country_flag = JAP_nintendo_hardware_persisted } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.315.b executed" effect_tooltip = { add_timed_idea = { idea = JAP_nintendo_integrated_entertainment_ecosystem days = 365 } } hidden_effect = { JAP_nintendo_apply_integrated_ecosystem = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.315.c trigger = { NOT = { has_country_flag = JAP_nintendo_hybrid_console } has_country_flag = JAP_nintendo_licensed_mobile } log = "[GetDateText]: [Root.GetName]: JAP_electronics.315.c executed" effect_tooltip = { add_timed_idea = { idea = JAP_nintendo_global_ip_licensor days = 365 } } hidden_effect = { JAP_nintendo_apply_global_ip_licensor = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.315.e trigger = { NOT = { has_country_flag = JAP_nintendo_hybrid_console } NOT = { has_country_flag = JAP_nintendo_licensed_mobile } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.315.e executed" effect_tooltip = { add_timed_idea = { idea = JAP_nintendo_open_developer_commonwealth days = 365 } } hidden_effect = { JAP_nintendo_apply_open_developer_commonwealth = yes } ai_chance = { base = 100 } } } # Konami corporate history country_event = { id = JAP_electronics.320 title = JAP_electronics.320.t desc = JAP_electronics.320.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_konami_auteur_studios } NOT = { has_country_flag = JAP_konami_annual_franchises } } option = { name = JAP_electronics.320.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.320.a executed" set_temp_variable = { treasury_change = -4.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.320.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_konami_auteur_studios ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.320.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.320.b executed" set_temp_variable = { treasury_change = 2.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.320.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_konami_annual_franchises ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.321 title = JAP_electronics.321.t desc = JAP_electronics.321.d picture = GFX_generic_factory is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_konami_amusement_machines } NOT = { has_country_flag = JAP_konami_software_publisher } } option = { name = JAP_electronics.321.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.321.a executed" set_temp_variable = { treasury_change = -5.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.321.t bonus = 0.15 uses = 1 category = CAT_industry } set_country_flag = JAP_konami_amusement_machines ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.321.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.321.b executed" add_tech_bonus = { name = JAP_electronics.321.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_konami_software_publisher ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.322 title = JAP_electronics.322.t desc = JAP_electronics.322.d picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_konami_mobile_pivot } NOT = { has_country_flag = JAP_konami_console_commitment } } option = { name = JAP_electronics.322.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.322.a executed" set_temp_variable = { treasury_change = 3.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.322.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_konami_mobile_pivot ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = JAP_electronics.322.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.322.b executed" set_temp_variable = { treasury_change = -3.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.322.t bonus = 0.10 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_konami_console_commitment ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = JAP_electronics.323 title = JAP_electronics.323.t desc = JAP_electronics.323.d picture = GFX_computer is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_konami_studio_dissolved } NOT = { has_country_flag = JAP_konami_studio_retained } } option = { name = JAP_electronics.323.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.323.a executed" add_tech_bonus = { name = JAP_electronics.323.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_konami_studio_dissolved ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = JAP_electronics.323.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.323.b executed" set_temp_variable = { treasury_change = -5.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.323.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_konami_studio_retained ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = JAP_electronics.324 title = JAP_electronics.324.t desc = JAP_electronics.324.d picture = GFX_generic_factory is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_konami_console_revival } NOT = { has_country_flag = JAP_konami_service_operator } } option = { name = JAP_electronics.324.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.324.a executed" set_temp_variable = { treasury_change = -6.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.324.t bonus = 0.15 uses = 1 category = CAT_computing_tech } set_country_flag = JAP_konami_console_revival ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.324.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.324.b executed" set_temp_variable = { treasury_change = 2.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.324.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_konami_service_operator ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.325 title = JAP_electronics.325.t desc = JAP_electronics.325.d picture = GFX_computer is_triggered_only = yes trigger = { JAP_konami_outcome_settled = no } option = { name = JAP_electronics.325.a trigger = { has_country_flag = JAP_konami_console_revival has_country_flag = JAP_konami_auteur_studios } log = "[GetDateText]: [Root.GetName]: JAP_electronics.325.a executed" effect_tooltip = { add_timed_idea = { idea = JAP_konami_restored_development_houses days = 365 } } hidden_effect = { JAP_konami_apply_restored_houses = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.325.b trigger = { has_country_flag = JAP_konami_console_revival NOT = { has_country_flag = JAP_konami_auteur_studios } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.325.b executed" effect_tooltip = { add_timed_idea = { idea = JAP_konami_remake_publisher days = 365 } } hidden_effect = { JAP_konami_apply_remake_publisher = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.325.c trigger = { has_country_flag = JAP_konami_amusement_machines NOT = { has_country_flag = JAP_konami_console_revival } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.325.c executed" effect_tooltip = { add_ideas = JAP_konami_amusement_fitness_operator } hidden_effect = { JAP_konami_apply_amusement_operator = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.325.e trigger = { NOT = { has_country_flag = JAP_konami_console_revival } NOT = { has_country_flag = JAP_konami_amusement_machines } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.325.e executed" effect_tooltip = { add_timed_idea = { idea = JAP_konami_mobile_licensing days = 365 } } hidden_effect = { JAP_konami_apply_mobile_licensing = yes } ai_chance = { base = 100 } } } # SoftBank corporate history country_event = { id = JAP_electronics.330 title = JAP_electronics.330.t desc = JAP_electronics.330.d picture = GFX_generic_factory is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_softbank_broadband_war } NOT = { has_country_flag = JAP_softbank_reseller } } option = { name = JAP_electronics.330.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.330.a executed" set_temp_variable = { treasury_change = -6.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.330.t bonus = 0.15 uses = 1 category = CAT_infrastructure } set_country_flag = JAP_softbank_broadband_war ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.330.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.330.b executed" set_temp_variable = { treasury_change = 2.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.330.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_softbank_reseller ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.331 title = JAP_electronics.331.t desc = JAP_electronics.331.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_softbank_leveraged_carrier } NOT = { has_country_flag = JAP_softbank_fixed_line } } option = { name = JAP_electronics.331.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.331.a executed" set_temp_variable = { treasury_change = -8.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.331.t bonus = 0.15 uses = 1 category = CAT_infrastructure } set_country_flag = JAP_softbank_leveraged_carrier ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.331.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.331.b executed" add_tech_bonus = { name = JAP_electronics.331.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_softbank_fixed_line ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.332 title = JAP_electronics.332.t desc = JAP_electronics.332.d picture = GFX_stock_market is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_softbank_us_carrier } NOT = { has_country_flag = JAP_softbank_domestic_reinvestment } } option = { name = JAP_electronics.332.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.332.a executed" set_temp_variable = { treasury_change = -9.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.332.t bonus = 0.15 uses = 1 category = CAT_infrastructure } set_country_flag = JAP_softbank_us_carrier ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.332.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.332.b executed" set_temp_variable = { treasury_change = 2.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.332.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_softbank_domestic_reinvestment ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.333 title = JAP_electronics.333.t desc = JAP_electronics.333.d picture = GFX_trade_agreement is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_softbank_vision_fund } NOT = { has_country_flag = JAP_softbank_balance_sheet } } option = { name = JAP_electronics.333.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.333.a executed" set_temp_variable = { treasury_change = 7.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.333.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_softbank_vision_fund ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } } } option = { name = JAP_electronics.333.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.333.b executed" set_temp_variable = { treasury_change = -2.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.333.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_softbank_balance_sheet ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } } country_event = { id = JAP_electronics.334 title = JAP_electronics.334.t desc = JAP_electronics.334.d picture = GFX_event_JAP_wework is_triggered_only = yes trigger = { NOT = { has_country_flag = JAP_softbank_rescue_and_writedown } NOT = { has_country_flag = JAP_softbank_cut_losses } } option = { name = JAP_electronics.334.a log = "[GetDateText]: [Root.GetName]: JAP_electronics.334.a executed" set_temp_variable = { treasury_change = -7.00 } modify_treasury_effect = yes add_tech_bonus = { name = JAP_electronics.334.t bonus = 0.10 uses = 1 category = CAT_industry } set_country_flag = JAP_softbank_rescue_and_writedown ai_chance = { base = 50 modifier = { factor = 10 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } option = { name = JAP_electronics.334.b log = "[GetDateText]: [Root.GetName]: JAP_electronics.334.b executed" add_tech_bonus = { name = JAP_electronics.334.t bonus = 0.10 uses = 1 category = CAT_internet_tech } set_country_flag = JAP_softbank_cut_losses ai_chance = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes NOT = { has_active_mission = bankruptcy_incoming_collapse } } } } } country_event = { id = JAP_electronics.335 title = JAP_electronics.335.t desc = JAP_electronics.335.d picture = GFX_stock_market is_triggered_only = yes trigger = { JAP_softbank_outcome_settled = no } option = { name = JAP_electronics.335.a trigger = { has_country_flag = JAP_softbank_vision_fund has_country_flag = JAP_softbank_us_carrier } log = "[GetDateText]: [Root.GetName]: JAP_electronics.335.a executed" effect_tooltip = { add_timed_idea = { idea = JAP_softbank_global_technology_holding days = 365 } } hidden_effect = { JAP_softbank_apply_global_holding = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.335.b trigger = { has_country_flag = JAP_softbank_vision_fund NOT = { has_country_flag = JAP_softbank_us_carrier } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.335.b executed" effect_tooltip = { add_timed_idea = { idea = JAP_softbank_venture_underwriter days = 365 } } hidden_effect = { JAP_softbank_apply_venture_underwriter = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.335.c trigger = { has_country_flag = JAP_softbank_leveraged_carrier NOT = { has_country_flag = JAP_softbank_vision_fund } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.335.c executed" effect_tooltip = { add_ideas = JAP_softbank_domestic_carrier_group } hidden_effect = { JAP_softbank_apply_domestic_carrier = yes } ai_chance = { base = 100 } } option = { name = JAP_electronics.335.e trigger = { NOT = { has_country_flag = JAP_softbank_vision_fund } NOT = { has_country_flag = JAP_softbank_leveraged_carrier } } log = "[GetDateText]: [Root.GetName]: JAP_electronics.335.e executed" effect_tooltip = { add_timed_idea = { idea = JAP_softbank_broadband_reseller days = 365 } } hidden_effect = { JAP_softbank_apply_broadband_reseller = yes } ai_chance = { base = 100 } } }