# Foxconn corporate history. Five milestones set the route; the closing # milestone resolves it into one of four manufacturing futures. TAI_foxconn_apply_resilient_network = { if = { limit = { TAI_foxconn_outcome_settled = no } add_timed_idea = { idea = TAI_foxconn_resilient_manufacturing_network days = 365 } } } TAI_foxconn_apply_ev_pipeline = { if = { limit = { TAI_foxconn_outcome_settled = no } add_timed_idea = { idea = TAI_foxconn_ev_pipeline days = 365 } } } TAI_foxconn_apply_factory_city = { if = { limit = { TAI_foxconn_outcome_settled = no } add_ideas = TAI_foxconn_factory_city_production } } TAI_foxconn_apply_factory_behind_brand = { if = { limit = { TAI_foxconn_outcome_settled = no } add_timed_idea = { idea = TAI_foxconn_factory_behind_brand 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. TAI_foxconn_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.300 days = 120 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_foxconn_contract_scale } } TAI_foxconn_milestone_2010 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.301 days = 145 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_foxconn_labour_reform } } TAI_foxconn_milestone_2012 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.302 days = 244 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_foxconn_iphone_city } } TAI_foxconn_milestone_2016 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.303 days = 224 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_foxconn_sharp_acquired } } TAI_foxconn_milestone_2017 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.304 days = 276 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_foxconn_wisconsin_committed } } TAI_foxconn_milestone_2024 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.305 days = 152 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } TAI_foxconn_apply_ev_pipeline = yes } } TAI_tsmc_apply_state_directed_foundry = { if = { limit = { TAI_tsmc_outcome_settled = no } add_ideas = TAI_tsmc_state_directed_foundry } } TAI_tsmc_apply_trusted_allied_foundry_network = { if = { limit = { TAI_tsmc_outcome_settled = no } add_ideas = TAI_tsmc_trusted_allied_foundry_network } } TAI_tsmc_apply_systems_foundry_platform = { if = { limit = { TAI_tsmc_outcome_settled = no } add_ideas = TAI_tsmc_systems_foundry_platform } } TAI_tsmc_apply_disciplined_pure_play_foundry = { if = { limit = { TAI_tsmc_outcome_settled = no } add_timed_idea = { idea = TAI_tsmc_disciplined_pure_play_foundry days = 365 } } } TAI_tsmc_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.310 days = 212 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_tsmc_ramp_through_downturn } } TAI_tsmc_milestone_2008 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.311 days = 274 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_tsmc_open_innovation } } TAI_tsmc_milestone_2014 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.312 days = 251 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_tsmc_anchor_customer } } TAI_tsmc_milestone_2020 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.313 days = 134 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_tsmc_overseas_network } } TAI_tsmc_milestone_2021 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.314 days = 59 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_tsmc_commercial_allocation } } TAI_tsmc_milestone_2023 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.315 days = 212 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_tsmc_systems_foundry } } TAI_tsmc_milestone_2026 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.316 days = 181 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } TAI_tsmc_apply_trusted_allied_foundry_network = yes } } TAI_pc_apply_full_spectrum_computing_ecosystem = { if = { limit = { TAI_pc_outcome_settled = no } add_ideas = TAI_pc_full_spectrum_computing_ecosystem } } TAI_pc_apply_branded_systems_powerhouse = { if = { limit = { TAI_pc_outcome_settled = no } add_timed_idea = { idea = TAI_pc_branded_systems_powerhouse days = 365 } } } TAI_pc_apply_global_component_commonwealth = { if = { limit = { TAI_pc_outcome_settled = no } add_timed_idea = { idea = TAI_pc_global_component_commonwealth days = 365 } } } TAI_pc_apply_fragmented_margin_squeeze = { if = { limit = { TAI_pc_outcome_settled = no } add_timed_idea = { idea = TAI_pc_fragmented_margin_squeeze days = 365 } } } TAI_pc_milestone_2001 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.320 days = 150 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_pc_brand_factory_split } } TAI_pc_milestone_2003 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.321 days = 100 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_pc_x86_licence_settled } } TAI_pc_milestone_2006 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.322 days = 240 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_pc_branded_premium } } TAI_pc_milestone_2008 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.323 days = 170 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_pc_contract_manufacturing } } TAI_pc_milestone_2010 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.324 days = 200 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_pc_desktop_defence } } TAI_pc_milestone_2013 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.325 days = 220 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } set_country_flag = TAI_pc_market_consolidation } } TAI_pc_milestone_2026 = { if = { limit = { has_game_rule = { rule = rule_corporate_history option = full } } country_event = { id = taiwan.326 days = 181 } } else_if = { limit = { has_game_rule = { rule = rule_corporate_history option = outcomes_only } } TAI_pc_apply_branded_systems_powerhouse = yes } } USA_tsmc_access_update = { if = { limit = { check_variable = { USA_tsmc_resource_trade_cost_bonus_per_factory > 0 } USA_has_tsmc_access = yes NOT = { has_dynamic_modifier = { modifier = USA_tsmc_access_modifier } } } add_dynamic_modifier = { modifier = USA_tsmc_access_modifier } } else_if = { limit = { has_dynamic_modifier = { modifier = USA_tsmc_access_modifier } USA_has_tsmc_access = no } remove_dynamic_modifier = { modifier = USA_tsmc_access_modifier } } }