JAP_zombie_case_prosecuted = { add_to_variable = { JAP_zombie_case_files = 2 tooltip = JAP_zombie_case_files_up_2_tt } add_to_variable = { JAP_zombie_obstruction = 8 tooltip = JAP_zombie_obstruction_up_8_tt } add_to_variable = { JAP_corporate_restructuring_progress = 3 tooltip = JAP_corporate_restructuring_progress_tt } clamp_variable = { var = JAP_zombie_case_files min = 0 max = 14 } add_stability = -0.03 set_temp_variable = { temp_opinion = -12 } change_industrial_conglomerates_opinion = yes set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes } JAP_zombie_case_rescued = { add_to_variable = { JAP_zombie_case_files = 1 tooltip = JAP_zombie_case_files_up_1_tt } add_to_variable = { JAP_zombie_obstruction = 2 tooltip = JAP_zombie_obstruction_up_2_tt } add_to_variable = { JAP_corporate_restructuring_progress = 2 tooltip = JAP_corporate_restructuring_progress_tt } clamp_variable = { var = JAP_zombie_case_files min = 0 max = 14 } add_stability = 0.01 } JAP_zombie_case_ignored = { subtract_from_variable = { JAP_zombie_obstruction = 3 tooltip = JAP_zombie_obstruction_down_3_tt } clamp_variable = { var = JAP_zombie_obstruction min = 0 max = 100 } add_stability = 0.02 set_temp_variable = { temp_opinion = 5 } change_industrial_conglomerates_opinion = yes set_temp_variable = { temp_opinion = -4 } change_labour_unions_opinion = yes } JAP_escalate_territorial_disputes = { if = { limit = { has_idea = JAP_territorial_disputes1 } swap_ideas = { remove_idea = JAP_territorial_disputes1 add_idea = JAP_territorial_disputes2 } } else_if = { limit = { has_idea = JAP_territorial_disputes2 } swap_ideas = { remove_idea = JAP_territorial_disputes2 add_idea = JAP_territorial_disputes3 } } else_if = { limit = { has_idea = JAP_territorial_disputes3 } swap_ideas = { remove_idea = JAP_territorial_disputes3 add_idea = JAP_territorial_disputes4 } } else = { add_ideas = JAP_territorial_disputes1 } } # Sony corporate history. Five milestones set the route; the closing milestone # resolves it into one of four futures for Japanese consumer electronics. JAP_sony_apply_one_sony_ecosystem = { if = { limit = { JAP_sony_outcome_settled = no } add_timed_idea = { idea = JAP_sony_one_sony_ecosystem days = 365 } } } JAP_sony_apply_hardware_federation = { if = { limit = { JAP_sony_outcome_settled = no } add_timed_idea = { idea = JAP_sony_hardware_federation days = 365 } } } JAP_sony_apply_cell_sovereign_compute = { if = { limit = { JAP_sony_outcome_settled = no } add_ideas = JAP_sony_cell_sovereign_compute } } JAP_sony_apply_open_digital_commonwealth = { if = { limit = { JAP_sony_outcome_settled = no } add_timed_idea = { idea = JAP_sony_open_digital_commonwealth days = 365 } } } # One entry point per milestone, called from the yearly pulse. Full presents the # choice; Outcomes Only applies the historical persistent route silently without # the live event's one-time costs or rewards. JAP_sony_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.300 days = 272 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_sony_ericsson_venture } } JAP_sony_milestone_2004 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.301 days = 124 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_sony_proprietary_drm } } JAP_sony_milestone_2006 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.302 days = 313 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_sony_cell_architecture } } JAP_sony_milestone_2012 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.303 days = 102 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_sony_unified_group } } JAP_sony_milestone_2015 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.304 days = 278 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_sony_sensor_pivot } } JAP_sony_milestone_2024 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.305 days = 142 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } JAP_sony_apply_one_sony_ecosystem = yes } } # Nintendo corporate history. Five milestones set the route; the closing # milestone resolves it into one of four futures for Japanese entertainment. JAP_nintendo_apply_disciplined_hybrid = { if = { limit = { JAP_nintendo_outcome_settled = no } add_timed_idea = { idea = JAP_nintendo_disciplined_hybrid_platform days = 365 } } } JAP_nintendo_apply_integrated_ecosystem = { if = { limit = { JAP_nintendo_outcome_settled = no } add_timed_idea = { idea = JAP_nintendo_integrated_entertainment_ecosystem days = 365 } } } JAP_nintendo_apply_global_ip_licensor = { if = { limit = { JAP_nintendo_outcome_settled = no } add_timed_idea = { idea = JAP_nintendo_global_ip_licensor days = 365 } } } JAP_nintendo_apply_open_developer_commonwealth = { if = { limit = { JAP_nintendo_outcome_settled = no } add_timed_idea = { idea = JAP_nintendo_open_developer_commonwealth days = 365 } } } # One entry point per milestone, called from the yearly pulse. Full presents the # choice; Outcomes Only applies the historical persistent route silently without # the live event's one-time costs or rewards. JAP_nintendo_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.310 days = 255 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_nintendo_dedicated_handheld } } JAP_nintendo_milestone_2006 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.311 days = 334 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_nintendo_wider_audience } } JAP_nintendo_milestone_2012 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.312 days = 341 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_nintendo_hardware_persisted } } JAP_nintendo_milestone_2015 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.313 days = 74 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_nintendo_licensed_mobile } } JAP_nintendo_milestone_2017 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.314 days = 60 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_nintendo_hybrid_console } } JAP_nintendo_milestone_2025 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.315 days = 154 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } JAP_nintendo_apply_disciplined_hybrid = yes } } # Konami corporate history. Five milestones set the route; the closing # milestone resolves it into one of four futures for the company. JAP_konami_apply_restored_houses = { if = { limit = { JAP_konami_outcome_settled = no } add_timed_idea = { idea = JAP_konami_restored_development_houses days = 365 } } } JAP_konami_apply_remake_publisher = { if = { limit = { JAP_konami_outcome_settled = no } add_timed_idea = { idea = JAP_konami_remake_publisher days = 365 } } } JAP_konami_apply_amusement_operator = { if = { limit = { JAP_konami_outcome_settled = no } add_ideas = JAP_konami_amusement_fitness_operator } } JAP_konami_apply_mobile_licensing = { if = { limit = { JAP_konami_outcome_settled = no } add_timed_idea = { idea = JAP_konami_mobile_licensing days = 365 } } } # One entry point per milestone, called from the yearly pulse. Full presents the # choice; Outcomes Only applies the historical persistent route silently without # the live event's one-time costs or rewards. JAP_konami_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.320 days = 316 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_konami_auteur_studios } } JAP_konami_milestone_2005 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.321 days = 90 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_konami_amusement_machines } } JAP_konami_milestone_2010 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.322 days = 243 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_konami_mobile_pivot } } JAP_konami_milestone_2015 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.323 days = 292 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_konami_studio_dissolved } } JAP_konami_milestone_2021 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.324 days = 272 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_konami_console_revival } } JAP_konami_milestone_2026 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.325 days = 225 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } JAP_konami_apply_restored_houses = yes } } # SoftBank corporate history. Five milestones set the route; the closing # milestone resolves it into one of four futures for Japanese technology capital. JAP_softbank_apply_global_holding = { if = { limit = { JAP_softbank_outcome_settled = no } add_timed_idea = { idea = JAP_softbank_global_technology_holding days = 365 } } } JAP_softbank_apply_venture_underwriter = { if = { limit = { JAP_softbank_outcome_settled = no } add_timed_idea = { idea = JAP_softbank_venture_underwriter days = 365 } } } JAP_softbank_apply_domestic_carrier = { if = { limit = { JAP_softbank_outcome_settled = no } add_ideas = JAP_softbank_domestic_carrier_group } } JAP_softbank_apply_broadband_reseller = { if = { limit = { JAP_softbank_outcome_settled = no } add_timed_idea = { idea = JAP_softbank_broadband_reseller days = 365 } } } # One entry point per milestone, called from the yearly pulse. Full presents the # choice; Outcomes Only applies the historical persistent route silently without # the live event's one-time costs or rewards. JAP_softbank_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.330 days = 245 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_softbank_broadband_war } } JAP_softbank_milestone_2006 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.331 days = 75 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_softbank_leveraged_carrier } } JAP_softbank_milestone_2013 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.332 days = 190 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_softbank_us_carrier } } JAP_softbank_milestone_2017 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.333 days = 139 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_softbank_vision_fund } } JAP_softbank_milestone_2019 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.334 days = 295 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = JAP_softbank_rescue_and_writedown } } JAP_softbank_milestone_2026 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = JAP_electronics.335 days = 260 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } JAP_softbank_apply_global_holding = yes } } JAP_corporate_history_2001 = { JAP_nintendo_milestone_2001 = yes JAP_sony_milestone_2001 = yes JAP_konami_milestone_2001 = yes JAP_softbank_milestone_2001 = yes } JAP_corporate_history_2004 = { JAP_sony_milestone_2004 = yes } JAP_corporate_history_2005 = { JAP_konami_milestone_2005 = yes } JAP_corporate_history_2006 = { JAP_nintendo_milestone_2006 = yes JAP_sony_milestone_2006 = yes JAP_softbank_milestone_2006 = yes } JAP_corporate_history_2010 = { JAP_konami_milestone_2010 = yes } JAP_corporate_history_2012 = { JAP_nintendo_milestone_2012 = yes JAP_sony_milestone_2012 = yes } JAP_corporate_history_2013 = { JAP_softbank_milestone_2013 = yes } JAP_corporate_history_2015 = { JAP_nintendo_milestone_2015 = yes JAP_sony_milestone_2015 = yes JAP_konami_milestone_2015 = yes } JAP_corporate_history_2017 = { JAP_nintendo_milestone_2017 = yes JAP_softbank_milestone_2017 = yes } JAP_corporate_history_2019 = { JAP_softbank_milestone_2019 = yes } JAP_corporate_history_2021 = { JAP_konami_milestone_2021 = yes } JAP_corporate_history_2024 = { JAP_sony_milestone_2024 = yes } JAP_corporate_history_2025 = { JAP_nintendo_milestone_2025 = yes } JAP_corporate_history_2026 = { JAP_konami_milestone_2026 = yes JAP_softbank_milestone_2026 = yes } # The SDP call must run first: without temp_outlook_increase the shift only redistributes # inside one outlook bloc, so the JCP call needs it to actually grow the neutrality bloc. JAP_labour_reform_popularity_shift = { set_temp_variable = { temp_outlook_increase = 0 } set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.005 } change_relative_party_popularity = yes set_temp_variable = { party_index = 19 } set_temp_variable = { party_popularity_increase = 0.005 } set_temp_variable = { temp_outlook_increase = 0.005 } change_relative_party_popularity = yes }