focus_tree = { id = siam_focus country = { factor = 0 modifier = { add = 10 tag = SIA has_dlc = "Thunder at Our Gates" } } default = no continuous_focus_position = { x = 50 y = 2500 } inlay_window = { id = sia_khana_ratsadon_inlay_window position = { x = 2200 y = 300 } } initial_show_position = { x = 37 y = 0 } focus = { id = SIA_the_khana_ratsadon icon = GFX_focus_SIA_khana_ratsadon #prerequisite = { focus = } x = 20 y = 0 #mutually_exclusive = { focus = focus = } cost = 1 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_political_power = 35 add_ideas = idea_SIA_military_neutral add_ideas = idea_SIA_civilian_neutral custom_effect_tooltip = SIA_the_khana_ratsadon_tt } } ############################ ##### Civilian Wing # ############################ focus = { id = SIA_shuffle_pridi_to_the_minister_of_interior icon = GFX_focus_SIA_shuffle_pridi_to_the_minister_of_interior prerequisite = { focus = SIA_the_khana_ratsadon } x = -11 y = 1 relative_position_id = SIA_the_khana_ratsadon #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } offset = { x = 3 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = SIA_to_lay_the_bait } } offset = { x = 3 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = SIA_the_midnight_meeting } } offset = { x = 3 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = SIA_phibuns_premiership } } completion_reward = { SIA_increase_civilian_approval = yes SIA_decrease_military_approval = yes # Pridi may have left the roster (e.g. exiled by a civil war) - only shuffle him if he is still here. if = { limit = { has_character = SIA_pridi_banomyong } remove_trait = { character = SIA_pridi_banomyong # optional if inside character scope trait = JUNO_minister_of_foreign_affairs slot = political_advisor #Only required for updating advisor } add_trait = { character = SIA_pridi_banomyong # optional if inside character scope trait = SIA_minister_of_interior slot = political_advisor #Only required for updating advisor } } custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_shuffle_pridi_to_the_minister_of_interior_tt } } focus = { id = SIA_civil_nationalism icon = GFX_goal_generic_demand_territory prerequisite = { focus = SIA_shuffle_pridi_to_the_minister_of_interior } x = -3 y = 1 relative_position_id = SIA_shuffle_pridi_to_the_minister_of_interior #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_stability = 0.05 add_war_support = 0.03 add_popularity = { ideology = democratic popularity = 0.08 } random_core_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = SIA_the_true_heirs_of_1932 icon = GFX_focus_generic_democratic_europe prerequisite = { focus = SIA_shuffle_pridi_to_the_minister_of_interior } x = 2 y = 0 relative_position_id = SIA_civil_nationalism #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { SIA_decrease_military_approval = yes SIA_increase_civilian_approval = yes add_popularity = { ideology = democratic popularity = 0.05 } add_tech_bonus = { bonus = 0.5 uses = 1 category = electronics # optional name = SIA_the_true_heirs_of_1932 } } } focus = { id = SIA_thammasat_university icon = GFX_focus_research prerequisite = { focus = SIA_shuffle_pridi_to_the_minister_of_interior } x = 2 y = 0 relative_position_id = SIA_the_true_heirs_of_1932 #mutually_exclusive = { focus = focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_research_slot = 1 } } focus = { id = SIA_dominate_public_symbols icon = GFX_focus_PER_national_bank prerequisite = { focus = SIA_civil_nationalism focus = SIA_the_true_heirs_of_1932 } x = 0 y = 1 relative_position_id = SIA_civil_nationalism #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY } completion_reward = { random_core_state = { limit = { infrastructure < 4 } add_extra_state_shared_building_slots = 3 add_building_construction = { type = infrastructure level = 2 instant_build = yes } } add_stability = 0.03 add_popularity = { ideology = democratic popularity = 0.1 } } } focus = { id = SIA_civil_service_heroism icon = GFX_focus_PER_shiraz_university prerequisite = { focus = SIA_the_true_heirs_of_1932 } x = 2 y = 0 relative_position_id = SIA_dominate_public_symbols #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = SIA_civil_service_heroism bonus = 0.5 uses = 1 category = electronics } add_ideas = idea_SIA_civil_service_heroism_1 custom_effect_tooltip = newline_tt } } focus = { id = SIA_spread_democratic_sentiment_in_universities icon = GFX_focus_research2 #prerequisite = { focus = SIA_civil_service_heroism } prerequisite = { focus = SIA_thammasat_university } prerequisite = { focus = SIA_civil_service_heroism } x = 0 y = 2 relative_position_id = SIA_thammasat_university #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = SIA_spread_democratic_sentiment_in_universities bonus = 0.33 uses = 1 category = industry } swap_ideas = { remove_idea = idea_SIA_civil_service_heroism_1 add_idea = idea_SIA_civil_service_heroism_2 } SIA_increase_civilian_approval = yes SIA_decrease_military_approval = yes } } focus = { id = SIA_defenders_of_constitutional_liberty icon = GFX_focus_SIA_defenders_of_constitutional_liberty prerequisite = { focus = SIA_spread_democratic_sentiment_in_universities } x = 0 y = 1 relative_position_id = SIA_spread_democratic_sentiment_in_universities #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH } completion_reward = { swap_ideas = { remove_idea = idea_SIA_civil_service_heroism_2 add_idea = idea_SIA_defenders_of_constitutional_liberty } } } focus = { id = SIA_sideline_disloyal_officers icon = GFX_focus_SIA_sideline_disloyal_officers prerequisite = { focus = SIA_shuffle_pridi_to_the_minister_of_interior } x = 4 y = 1 relative_position_id = SIA_shuffle_pridi_to_the_minister_of_interior #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_sideline_disloyal_officers_tt custom_effect_tooltip = newline_tt hidden_effect = { every_army_leader = { random_select_amount = 2 limit = { NOT = { is_character = SIA_rangsit_prayurasakdi is_character = SIA_adul_aduldejajaras is_character = SIA_plaek_phibunsongkhram is_character = SIA_phraya_songsuradet } } add_timed_unit_leader_trait = { trait = reassigned days = 1460 } } every_army_leader = { random_select_amount = 2 limit = { NOT = { has_trait = reassigned } } add_skill_level = 1 add_random_trait = { irregulars_officer brave trait_SOV_determined engineer_officer commando ranger hill_fighter naval_invader desert_fox trait_mountaineer brilliant_strategist inflexible_strategist } } } SIA_increase_civilian_approval = yes SIA_decrease_military_approval = yes } } focus = { id = SIA_direct_funds_from_the_military_towards_development icon = GFX_focus_generic_reduce_unneccessary_expenditure prerequisite = { focus = SIA_shuffle_pridi_to_the_minister_of_interior } x = 2 y = 0 relative_position_id = SIA_sideline_disloyal_officers #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = idea_SIA_redirected_military_funds days = 365 } custom_effect_tooltip = newline_tt SIA_decrease_military_approval = yes SIA_increase_civilian_approval = yes } } focus = { id = SIA_support_songsuradets_military_clique icon = GFX_focus_generic_military_mission prerequisite = { focus = SIA_sideline_disloyal_officers focus = SIA_direct_funds_from_the_military_towards_development } x = 2 y = 1 relative_position_id = SIA_sideline_disloyal_officers #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 modifier = { has_completed_focus = SIA_and_spring_the_trap NOT = { has_completed_focus = SIA_secure_the_state } factor = 100 } } available = { } bypass = { has_completed_focus = SIA_the_songsuradet_rebellion } #allow_branch = { #} search_filters = { FOCUS_FILTER_ARMY_XP } completion_reward = { SIA_phraya_songsuradet = { add_attack = 1 add_logistics = 1 add_defense = 1 add_unit_leader_trait = politically_connected add_unit_leader_trait = skilled_staffer } army_experience = 35 custom_effect_tooltip = SIA_support_songsuradets_military_clique_tt } } focus = { id = SIA_the_royal_police_counterweight icon = GFX_focus_SIA_the_royal_police_counterweight prerequisite = { focus = SIA_sideline_disloyal_officers focus = SIA_direct_funds_from_the_military_towards_development } x = -2 y = 0 relative_position_id = SIA_support_songsuradets_military_clique mutually_exclusive = { } cost = 5 ai_will_do = { factor = 10 modifier = { has_completed_focus = SIA_and_spring_the_trap NOT = { has_completed_focus = SIA_secure_the_state } factor = 100 } } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = idea_SIA_the_royal_police_counterweight custom_effect_tooltip = SIA_the_royal_police_counterweight_tt custom_effect_tooltip = newline_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_adul_aduldejajaras effect_tooltip = { add_corps_commander_role = { character = SIA_adul_aduldejajaras # optional if inside character scope traits = { } skill = 2 attack_skill = 1 defense_skill = 4 planning_skill = 1 logistics_skill = 1 } } if = { limit = { has_civil_war = yes NOT = { has_country_flag = has_spawned_senior_officer_loyalists } } set_country_flag = has_spawned_senior_officer_loyalists division_template = { name = "Senior Officer Loyalists" is_locked = no regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } infantry = { x = 0 y = 3 } infantry = { x = 1 y = 0 } infantry = { x = 1 y = 1 } infantry = { x = 1 y = 2 } } support = { } } random_controlled_state = { create_unit = { division = "name = \"Senior Officer Loyalists\" division_template = \"Senior Officer Loyalists\" start_experience_factor = 0.5 start_equipment_factor = 1 start_manpower_factor = 1" owner = SIA allow_spawning_on_enemy_provs = yes count = 3 } } } } } ############################ ##### Military Wing # ############################ focus = { id = SIA_for_the_preservation_of_siamese_independence icon = GFX_focus_SIA_for_the_preservation_of_siamese_independence prerequisite = { focus = SIA_the_khana_ratsadon } x = 22 y = 0 relative_position_id = SIA_shuffle_pridi_to_the_minister_of_interior #mutually_exclusive = { focus = focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } completion_reward = { SIA_increase_military_approval = yes SIA_decrease_civilian_approval = yes random_core_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = arms_factory size > 0 include_locked = yes } } prioritize = { 1076 } #optional: to pick those states first if they fulfill the limit add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_tech_bonus = { name = SIA_for_the_preservation_of_siamese_independence bonus = 0.33 uses = 1 category = infantry_weapons } custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_for_the_preservation_of_siamese_independence_tt } } focus = { id = SIA_the_peoples_day icon = GFX_focus_RAJ_enrollment_of_dali_children prerequisite = { } x = -4 y = 1 relative_position_id = SIA_for_the_preservation_of_siamese_independence prerequisite = { focus = SIA_for_the_preservation_of_siamese_independence } mutually_exclusive = { focus = SIA_hold_military_parades } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_stability = 0.12 add_popularity = { ideology = democratic popularity = 0.05 } custom_effect_tooltip = newline_tt SIA_increase_civilian_approval = yes SIA_decrease_military_approval = yes } } focus = { id = SIA_hold_military_parades icon = GFX_focus_generic_fascist_troops prerequisite = { } x = 2 y = 0 relative_position_id = SIA_the_peoples_day prerequisite = { focus = SIA_for_the_preservation_of_siamese_independence } mutually_exclusive = { focus = SIA_the_peoples_day } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_war_support = 0.03 add_popularity = { ideology = fascism popularity = 0.05 } if = { limit = { SIA_plaek_phibunsongkhram = { OR = { is_field_marshal = yes is_corps_commander = yes } } } SIA_plaek_phibunsongkhram = { add_unit_leader_trait = media_personality add_random_stat_to_general = yes } } custom_effect_tooltip = newline_tt every_unit_leader = { limit = { NOT = { is_character = SIA_plaek_phibunsongkhram } } random_select_amount = 2 add_random_stat_to_general = yes add_unit_leader_trait = media_personality } custom_effect_tooltip = newline_tt SIA_increase_military_approval = yes SIA_decrease_civilian_approval = yes } } focus = { id = SIA_embed_technocrats_in_civilian_institutions icon = GFX_focus_BRA_reach_out_to_military_dem prerequisite = { } x = 2 y = 0 relative_position_id = SIA_hold_military_parades prerequisite = { focus = SIA_for_the_preservation_of_siamese_independence } mutually_exclusive = { focus = SIA_military_academies_indoctrination } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = idea_SIA_civilian_technocrats_in_institutions custom_effect_tooltip = newline_tt } } focus = { id = SIA_military_academies_indoctrination icon = GFX_focus_generic_fascist_propaganda prerequisite = { } x = 2 y = 0 relative_position_id = SIA_embed_technocrats_in_civilian_institutions prerequisite = { focus = SIA_for_the_preservation_of_siamese_independence } mutually_exclusive = { focus = SIA_embed_technocrats_in_civilian_institutions } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_ARMY_XP } completion_reward = { add_popularity = { ideology = fascism popularity = 0.05 } army_experience = 35 SIA_increase_military_approval = yes SIA_decrease_civilian_approval = yes } } focus = { id = SIA_the_king_of_the_white_elephant icon = GFX_focus_SIA_the_king_of_the_white_elephant x = 1 y = 1 relative_position_id = SIA_the_peoples_day prerequisite = { focus = SIA_the_peoples_day focus = SIA_hold_military_parades } #mutually_exclusive = { focus = SIA_drum_up_irredentism } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_popularity = { ideology = democratic popularity = 0.1 } add_stability = 0.08 add_political_power = 80 add_war_support = -0.03 custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_the_king_of_the_white_elephant_tt } } focus = { id = SIA_drum_up_irredentism icon = GFX_focus_POL_riot_of_37 x = 4 y = 0 relative_position_id = SIA_the_king_of_the_white_elephant prerequisite = { focus = SIA_embed_technocrats_in_civilian_institutions focus = SIA_military_academies_indoctrination } #mutually_exclusive = { focus = SIA_the_king_of_the_white_elephant } cost = 10 ai_will_do = { factor = 10 modifier = { OR = { has_country_flag = SIA_AI_RANDOM_DEMOCRATIC has_game_rule = { rule = SIA_ai_behavior option = DEMOCRATIC } } factor = 0 } } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } completion_reward = { hidden_effect = { set_rule = { can_send_volunteers = yes } } add_ideas = idea_SIA_thai_irredentism custom_effect_tooltip = newline_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_luang_wichitwathakan custom_effect_tooltip = newline_tt SIA_increase_military_approval = yes SIA_decrease_civilian_approval = yes } } focus = { id = SIA_sell_privy_purse_lands icon = GFX_focus_generic_turning_a_blind_eye x = -2 y = 0 relative_position_id = SIA_drum_up_irredentism prerequisite = { focus = SIA_military_academies_indoctrination focus = SIA_embed_technocrats_in_civilian_institutions } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = idea_SIA_sold_privy_purse_lands days = 270 } if = { limit = { NOT = { has_completed_focus = SIA_the_midnight_meeting } NOT = { has_completed_focus = SIA_to_lay_the_bait } } custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_sell_privy_purse_lands_tt } } } focus = { id = SIA_war_fervor icon = GFX_focus_SIA_war_fervor x = 4 y = 1 relative_position_id = SIA_the_king_of_the_white_elephant prerequisite = { focus = SIA_drum_up_irredentism } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_ideas = idea_SIA_war_fervor custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_war_fervor_tt effect_tooltip = { add_timed_idea = { idea = idea_SIA_bloodlusted_irredentism days = 90 } } custom_effect_tooltip = newline_tt unlock_decision_tooltip = { decision = SIA_urge_restraint show_effect_tooltip = yes # default is no show_modifiers = yes # default is no } } } ############################ ##### Monarchist # ############################ focus = { id = SIA_the_midnight_meeting icon = GFX_focus_SIA_the_midnight_meeting x = 0 y = 3 relative_position_id = SIA_support_songsuradets_military_clique prerequisite = { focus = SIA_support_songsuradets_military_clique } mutually_exclusive = { focus = SIA_to_lay_the_bait focus = SIA_phibuns_premiership } cost = 5 ai_will_do = { factor = 10 } available = { } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = SIA_to_lay_the_bait } NOT = { has_completed_focus = SIA_phibuns_premiership } } } #offset = { # x = -38 # y = 0 # trigger = { # has_game_rule = { # rule = obsolete_focus_branches_visibility # option = HIDE # } # has_completed_focus = SIA_to_lay_the_bait # } #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = idea_SIA_an_unceasy_alliance set_party_name = { ideology = fascism long_name = SIA_neutrality_party_long #This is the military branch being swapped over name = SIA_neutrality_party } set_party_name = { ideology = neutrality long_name = SIA_neutrality_party_royalist_long name = SIA_neutrality_party_royalist } custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_the_midnight_meeting_tt add_popularity = { ideology = fascism popularity = 0.75 } set_politics = { ruling_party = fascism elections_allowed = yes } set_variable = { additional_support_monarchist_cw = 0 } unlock_decision_category_tooltip = SIA_appeal_for_support_cat if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } focus = { id = SIA_meet_with_king_prajadhipok icon = GFX_focus_SIA_meet_with_prajadhipok x = 0 y = 1 relative_position_id = SIA_the_midnight_meeting prerequisite = { focus = SIA_the_midnight_meeting } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } completion_reward = { add_popularity = { ideology = neutrality popularity = 0.1 } custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_chao_phraya_sri_dharmathibhet #country_event = { id = } } } focus = { id = SIA_prajadhipok_audience_with_churchill icon = GFX_focus_chi_british_cooperation x = -1 y = 1 relative_position_id = SIA_meet_with_king_prajadhipok prerequisite = { focus = SIA_meet_with_king_prajadhipok } mutually_exclusive = { focus = SIA_facilitate_prajadhipoks_move_to_japan } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = SIA_prajadhipok_audience_with_churchill_tt effect_tooltip = { add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 1500 producer = ENG } add_equipment_to_stockpile = { type = artillery_equipment amount = 250 producer = ENG } if = { limit = { has_dlc = "By Blood Alone" } add_equipment_to_stockpile = { type = small_plane_airframe_1 amount = 100 producer = ENG } } else = { add_equipment_to_stockpile = { type = fighter_equipment_1 amount = 100 producer = ENG } } } custom_effect_tooltip = SIA_prajadhipok_audience_with_churchill_tt2 } } focus = { id = SIA_facilitate_prajadhipoks_move_to_japan icon = GFX_focus_jap_showa_restoration x = 2 y = 0 relative_position_id = SIA_prajadhipok_audience_with_churchill prerequisite = { focus = SIA_meet_with_king_prajadhipok } mutually_exclusive = { focus = SIA_prajadhipok_audience_with_churchill } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_facilitate_prajadhipoks_move_to_japan_tt } } focus = { id = SIA_the_kings_gambit icon = GFX_focus_SIA_the_kings_gambit x = 1 y = 1 relative_position_id = SIA_prajadhipok_audience_with_churchill prerequisite = { focus = SIA_prajadhipok_audience_with_churchill focus = SIA_facilitate_prajadhipoks_move_to_japan } cost = 5 ai_will_do = { factor = 10 } available = { neutrality > 0.5 has_civil_war = no } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { check_cheating_before_civil_war = yes set_variable = { monarchist_size_cw = 1 } subtract_from_variable = { monarchist_size_cw = additional_support_monarchist_cw } start_civil_war = { ideology = fascism ruling_party = neutrality size = var:additional_support_monarchist_cw states = { 1078 1077 1076 869 868 } keep_all_characters = yes capital = 1076 } SIA_phraya_songsuradet = { set_nationality = SIA } SIA_rangsit_prayurasakdi = { set_nationality = SIA } SIA_bowardej = { set_nationality = SIA } clear_variable = monarchist_size_cw clear_variable = additional_support_monarchist_cw retire_country_leader = yes add_country_leader_role = { character = SIA_prajadhipok promote_leader = yes country_leader = { ideology = despotism traits = { SIA_ailing } } } if = { limit = { has_completed_focus = SIA_prajadhipok_audience_with_churchill } add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 1500 producer = ENG } add_equipment_to_stockpile = { type = artillery_equipment amount = 250 producer = ENG } if = { limit = { has_dlc = "By Blood Alone" } add_equipment_to_stockpile = { type = small_plane_airframe_1 amount = 100 producer = ENG } } else = { add_equipment_to_stockpile = { type = fighter_equipment_1 amount = 100 producer = ENG } } } else_if = { limit = { has_completed_focus = SIA_facilitate_prajadhipoks_move_to_japan } set_technology = { rangers_tech = 1 popup = no } division_template = { name = "Japanese Operatives" regiments = { ranger_battalion = { x = 0 y = 0 } ranger_battalion = { x = 0 y = 1 } ranger_battalion = { x = 0 y = 2 } ranger_battalion = { x = 1 y = 0 } ranger_battalion = { x = 1 y = 1 } } support = { } } random_controlled_state = { create_unit = { division = "name = \"Japanese Operatives\" division_template = \"Japanese Operatives\" start_experience_factor = 0.7 start_equipment_factor = 0.8 start_manpower_factor = 1" owner = ROOT allow_spawning_on_enemy_provs = yes count = 3 } } } custom_effect_tooltip = SIA_the_kings_gambit_tt hidden_effect = { spawn_pret_in_cw_if_cheating = yes every_other_country = { limit = { original_tag = SIA } division_template = { name = "Government Loyalists" is_locked = no regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } infantry = { x = 0 y = 3 } infantry = { x = 0 y = 4 } infantry = { x = 0 y = 5 } infantry = { x = 1 y = 0 } infantry = { x = 1 y = 1 } infantry = { x = 1 y = 2 } infantry = { x = 1 y = 3 } infantry = { x = 1 y = 4 } } support = { artillery = { x = 0 y = 0 } } } SIA = { set_nationality = { target_country = PREV character = SIA_plaek_phibunsongkhram } } if = { limit = { NOT = { has_country_leader = { character = SIA_plaek_phibunsongkhram } } } retire_country_leader = yes } every_controlled_state = { limit = { NOT = { state = 1076 } } random_select_amount = 2 create_unit = { division = "name = \"Government Loyalists\" division_template = \"Government Loyalists\" start_experience_factor = 0.2 start_equipment_factor = 1 start_manpower_factor = 1" owner = PREV allow_spawning_on_enemy_provs = yes count = 3 } } 1076 = { create_unit = { division = "name = \"Government Loyalists\" division_template = \"Government Loyalists\" start_experience_factor = 0.2 start_equipment_factor = 1 start_manpower_factor = 1" owner = PREV allow_spawning_on_enemy_provs = yes count = 3 } } } if = { limit = { has_country_flag = SIA_support_from_constitutional_monarchists } division_template = { name = "Constitutional Monarchist Loyalists" is_locked = no regiments = { cavalry = { x = 0 y = 0 } cavalry = { x = 0 y = 1 } cavalry = { x = 0 y = 2 } cavalry = { x = 1 y = 0 } cavalry = { x = 1 y = 1 } cavalry = { x = 1 y = 2 } } support = { artillery = { x = 0 y = 0 } } } random_controlled_state = { create_unit = { division = "name = \"Constitutional Monarchist Loyalists\" division_template = \"Constitutional Monarchist Loyalists\" start_experience_factor = 0.2 start_equipment_factor = 0.5 start_manpower_factor = 1" owner = ROOT count = 3 } } } if = { limit = { has_country_flag = SIA_support_from_absolutist_monarchists } division_template = { name = "Absolute Monarchist Loyalists" is_locked = no regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } infantry = { x = 1 y = 0 } infantry = { x = 1 y = 1 } infantry = { x = 1 y = 2 } artillery_brigade = { x = 2 y = 0 } } support = { artillery = { x = 0 y = 0 } engineer = { x = 0 y = 1} } } random_controlled_state = { create_unit = { division = "name = \"Absolute Monarchist Loyalists\" division_template = \"Absolute Monarchist Loyalists\" start_experience_factor = 0.2 start_equipment_factor = 0.5 start_manpower_factor = 1" owner = ROOT count = 2 } } } if = { limit = { has_country_flag = SIA_appeal_to_rural_flag } set_technology = { militia_tech = 1 popup = no } division_template = { name = "Peasant Divisions" is_locked = no regiments = { militia = { x = 0 y = 0 } militia = { x = 0 y = 1 } militia = { x = 0 y = 2 } } } every_controlled_state = { random_select_amount = 3 create_unit = { division = "name = \"Peasant Divisions\" division_template = \"Peasant Divisions\" start_experience_factor = 0.05 start_equipment_factor = 0.25 start_manpower_factor = 1" owner = ROOT count = 2 } } add_timed_idea = { idea = idea_SIA_rural_support days = 40 } } if = { limit = { has_country_flag = SIA_appeal_to_industrialists_flag } add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 150 producer = SIA } add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 1700 producer = SIA } if = { limit = { has_tech = tech_support } add_equipment_to_stockpile = { type = support_equipment amount = 150 producer = SIA } } } if = { limit = { has_country_flag = SIA_appeal_to_navy_clique_flag } every_other_country = { limit = { original_tag = SIA } transfer_navy = { target = ROOT is_government_in_exile = no } } if = { limit = { NOT = { has_tech = marines } } set_technology = { marines = 1 popup = no } } division_template = { name = "Royal Thai Marine Corps" is_locked = no regiments = { marine = { x = 0 y = 0 } marine = { x = 0 y = 1 } marine = { x = 0 y = 2 } marine = { x = 0 y = 4 } marine = { x = 1 y = 0 } marine = { x = 1 y = 1 } } support = { } } random_controlled_state = { create_unit = { division = "name = \"Royal Thai Marine Corps\" division_template = \"Royal Thai Marine Corps\" start_experience_factor = 0.5 start_equipment_factor = 0.5 start_manpower_factor = 1" owner = ROOT allow_spawning_on_enemy_provs = yes count = 1 } } } } } } focus = { id = SIA_restore_order icon = GFX_goal_generic_construction2 x = -3 y = 1 relative_position_id = SIA_the_kings_gambit prerequisite = { focus = SIA_the_kings_gambit } cost = 5 ai_will_do = { factor = 10 } available = { has_civil_war = no } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = idea_SIA_restoring_order days = 365 } } } focus = { id = SIA_to_forge_a_king icon = GFX_focus_SIA_to_forge_a_king x = 0 y = 1 relative_position_id = SIA_restore_order prerequisite = { focus = SIA_restore_order } cost = 5 ai_will_do = { factor = 10 } available = { custom_trigger_tooltip = { tooltip = SIA_ananda_age_trigger_12 check_variable = { SIA_anandas_age > 11 } } } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { # set_variable = { SIA_ananda_lesson_expected = 1 } if = { limit = { check_variable = { SIA_anandas_age > 12 } #13 } add_to_variable = { SIA_ananda_lesson_expected = 1 } } if = { limit = { check_variable = { SIA_anandas_age > 13 } #14 } add_to_variable = { SIA_ananda_lesson_expected = 1 } } country_event = { id = siam.27 hours = 2 } custom_effect_tooltip = SIA_to_forge_a_king_tt } } focus = { id = SIA_ascend_the_throne icon = GFX_focus_SIA_ascend_the_throne x = 0 y = 1 relative_position_id = SIA_to_forge_a_king prerequisite = { focus = SIA_to_forge_a_king } cost = 5 ai_will_do = { factor = 10 } available = { custom_trigger_tooltip = { tooltip = SIA_ananda_age_trigger_15 check_variable = { SIA_anandas_age > 14 } } } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { retire_country_leader = yes add_country_leader_role = { character = SIA_ananda_mahidol # optional if inside character scope promote_leader = yes country_leader = { ideology = despotism } } SIA_generate_anandas_trait = yes if = { limit = { check_variable = { SIA_ananda_scholar = 1 } } add_trait = { character = SIA_ananda_mahidol # optional if inside character scope trait = SIA_ananda_scholar_1 ideology = despotism } } else_if = { limit = { check_variable = { SIA_ananda_scholar = 2 } } add_trait = { character = SIA_ananda_mahidol # optional if inside character scope trait = SIA_ananda_scholar_2 ideology = despotism } } else_if = { limit = { check_variable = { SIA_ananda_scholar = 3 } } add_research_slot = 1 add_trait = { character = SIA_ananda_mahidol # optional if inside character scope trait = SIA_ananda_scholar_2 ideology = despotism } } if = { limit = { check_variable = { SIA_ananda_military = 1 } } add_trait = { character = SIA_ananda_mahidol trait = SIA_ananda_military_1 ideology = despotism } } else_if = { limit = { check_variable = { SIA_ananda_military = 2 } } add_trait = { character = SIA_ananda_mahidol trait = SIA_ananda_military_2 ideology = despotism } } else_if = { limit = { check_variable = { SIA_ananda_military = 3 } } add_trait = { character = SIA_ananda_mahidol trait = SIA_ananda_military_3 ideology = despotism } } if = { limit = { check_variable = { SIA_ananda_administrator = 1 } } add_trait = { character = SIA_ananda_mahidol trait = SIA_ananda_administrator_1 ideology = despotism } } else_if = { limit = { check_variable = { SIA_ananda_administrator = 2 } } add_trait = { character = SIA_ananda_mahidol trait = SIA_ananda_administrator_2 ideology = despotism } } else_if = { limit = { check_variable = { SIA_ananda_administrator = 3 } } add_trait = { character = SIA_ananda_mahidol trait = SIA_ananda_administrator_3 ideology = despotism } } if = { limit = { check_variable = { SIA_ananda_industry = 1 } } add_trait = { character = SIA_ananda_mahidol trait = SIA_ananda_industry_1 ideology = despotism } } else_if = { limit = { check_variable = { SIA_ananda_industry = 2 } } add_trait = { character = SIA_ananda_mahidol trait = SIA_ananda_industry_2 ideology = despotism } } else_if = { limit = { check_variable = { SIA_ananda_industry = 3 } } add_trait = { character = SIA_ananda_mahidol trait = SIA_ananda_industry_3 ideology = despotism } } } } focus = { id = SIA_the_provincial_council_of_state icon = GFX_goal_tfv_strengthen_commonwealth_ties x = 1 y = 1 relative_position_id = SIA_the_kings_gambit prerequisite = { focus = SIA_the_kings_gambit } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } completion_reward = { custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_damrong_rajanubhab custom_effect_tooltip = newline_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_paribatra_sukhumbandhu custom_effect_tooltip = newline_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_wan_waithayakon custom_effect_tooltip = newline_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_dhani_nivat custom_effect_tooltip = newline_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_rambai_barni custom_effect_tooltip = newline_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_bowardej } } focus = { id = SIA_the_regency_of_boworadet icon = GFX_focus_SIA_the_regency_of_boworadet x = -2 y = 1 relative_position_id = SIA_the_provincial_council_of_state prerequisite = { focus = SIA_the_provincial_council_of_state } mutually_exclusive = { focus = SIA_the_regency_of_rangsit focus = SIA_the_regency_of_songsuradet } cost = 10 ai_will_do = { factor = 50 } available = { } bypass = { has_country_leader = { character = SIA_ananda_mahidol } } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { retire_country_leader = yes add_country_leader_role = { character = SIA_bowardej # optional if inside character scope promote_leader = yes country_leader = { ideology = despotism traits = { SIA_the_absolutist_regent } } } } } focus = { id = SIA_the_sacred_hierarchy icon = GFX_focus_SIA_sacred_hierarchy x = 0 y = 1 relative_position_id = SIA_the_regency_of_boworadet prerequisite = { focus = SIA_the_regency_of_boworadet } cost = 10 ai_will_do = { factor = 50 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = idea_SIA_the_sacred_hierarchy } } focus = { id = SIA_the_regency_of_songsuradet icon = GFX_focus_SIA_the_regency_of_songsuradet x = 2 y = 0 relative_position_id = SIA_the_regency_of_boworadet prerequisite = { focus = SIA_the_provincial_council_of_state } mutually_exclusive = { focus = SIA_the_regency_of_boworadet focus = SIA_the_regency_of_rangsit } cost = 10 ai_will_do = { factor = 50 } available = { } #allow_branch = { #} bypass = { has_country_leader = { character = SIA_ananda_mahidol } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { retire_country_leader = yes add_country_leader_role = { character = SIA_phraya_songsuradet # optional if inside character scope promote_leader = yes country_leader = { ideology = despotism traits = { SIA_the_soldier_regent } } } } } focus = { id = SIA_order_discipline_and_unity icon = GFX_focus_SIA_order_discipline_and_unity x = 0 y = 1 relative_position_id = SIA_the_regency_of_songsuradet prerequisite = { focus = SIA_the_regency_of_songsuradet } cost = 5 ai_will_do = { factor = 50 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_ideas = idea_SIA_order_discipline_and_unity } } focus = { id = SIA_the_regency_of_rangsit icon = GFX_focus_SIA_the_regency_of_rangsit x = 2 y = 0 relative_position_id = SIA_the_regency_of_songsuradet prerequisite = { focus = SIA_the_provincial_council_of_state } mutually_exclusive = { focus = SIA_the_regency_of_boworadet focus = SIA_the_regency_of_songsuradet } cost = 10 ai_will_do = { factor = 50 } available = { } bypass = { has_country_leader = { character = SIA_ananda_mahidol } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { retire_country_leader = yes add_country_leader_role = { character = SIA_rangsit_prayurasakdi # optional if inside character scope promote_leader = yes country_leader = { ideology = despotism traits = { SIA_the_constitutionalist_regent } } } } } focus = { id = SIA_constitutional_virtue icon = GFX_focus_SIA_constitutional_virtue x = 0 y = 1 relative_position_id = SIA_the_regency_of_rangsit prerequisite = { focus = SIA_the_regency_of_rangsit } cost = 10 ai_will_do = { factor = 50 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_ideas = idea_SIA_constitutional_virtue } } focus = { id = SIA_an_absolute_monarchy icon = GFX_focus_generic_monarchy_1 x = 1 y = 1 relative_position_id = SIA_the_sacred_hierarchy prerequisite = { focus = SIA_the_sacred_hierarchy focus = SIA_order_discipline_and_unity } mutually_exclusive = { focus = SIA_a_constitutional_monarchy } cost = 5 ai_will_do = { factor = 50 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = idea_SIA_an_absolute_monarchy add_stability = -0.6 # AR-72791: if the player also took the Constitutional appeal, instant-fail that demand. if = { limit = { has_country_flag = SIA_support_from_constitutional_monarchists } add_stability = -0.1 add_war_support = -0.05 add_popularity = { ideology = neutrality popularity = -0.1 } } } } focus = { id = SIA_a_constitutional_monarchy icon = GFX_focus_rom_royal_dictatorship x = 2 y = 0 relative_position_id = SIA_an_absolute_monarchy prerequisite = { focus = SIA_order_discipline_and_unity focus = SIA_constitutional_virtue } mutually_exclusive = { focus = SIA_an_absolute_monarchy } cost = 5 ai_will_do = { factor = 50 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = idea_SIA_a_constituional_monarchy # AR-72791: if the player also took the Absolutist appeal, instant-fail that demand. if = { limit = { has_country_flag = SIA_support_from_absolutist_monarchists } add_stability = -0.1 add_war_support = -0.05 add_popularity = { ideology = neutrality popularity = -0.15 } } } } ############################ ##### DEMOCRATIC #### ############################ focus = { id = SIA_to_lay_the_bait icon = GFX_focus_SIA_to_lay_the_bait x = -7 y = 1 relative_position_id = SIA_defenders_of_constitutional_liberty prerequisite = { focus = SIA_defenders_of_constitutional_liberty } mutually_exclusive = { focus = SIA_the_midnight_meeting focus = SIA_phibuns_premiership } cost = 5 ai_will_do = { factor = 10 } available = { democratic > 0.25 OR = { has_idea = idea_SIA_civilian_full_support has_idea = idea_SIA_civilian_slight_support } } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = SIA_the_midnight_meeting } NOT = { has_completed_focus = SIA_phibuns_premiership } } } offset = { x = 7 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = SIA_to_lay_the_bait } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { set_variable = { SIA_dem_event_count = 0 } custom_effect_tooltip = SIA_to_lay_the_bait_tt hidden_effect = { country_event = { id = siam_dem.1 hours = 1 } } if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } focus = { id = SIA_and_spring_the_trap icon = GFX_focus_SIA_and_spring_the_trap x = 0 y = 1 relative_position_id = SIA_to_lay_the_bait prerequisite = { focus = SIA_to_lay_the_bait } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { democratic > 0.5 has_civil_war = no has_idea = idea_SIA_civilian_full_support if = { limit = { is_ai = yes } check_variable = { SIA_dem_event_count_cw_scale > 0.8 } } } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { SIA_calc_dem_cw = yes custom_effect_tooltip = SIA_and_spring_the_trap_tt custom_effect_tooltip = SIA_dem_event_count_cw_scale_tt custom_effect_tooltip = newline_tt if = { limit = { check_variable = { SIA_dem_event_count_cw_scale > 0.8 } } set_politics = { ruling_party = democratic elections_allowed = yes } set_country_flag = SIA_turn_off_the_khana_ratsadon if = { limit = { has_idea = idea_SIA_military_rebellious } remove_ideas = idea_SIA_military_rebellious } else_if = { limit = { has_idea = idea_SIA_military_opposition } remove_ideas = idea_SIA_military_opposition } else_if = { limit = { has_idea = idea_SIA_military_neutral } remove_ideas = idea_SIA_military_neutral } else_if = { limit = { has_idea = idea_SIA_military_slight_support } remove_ideas = idea_SIA_military_slight_support } else_if = { limit = { has_idea = idea_SIA_military_full_support } remove_ideas = idea_SIA_military_full_support } } else = { set_temp_variable = { _one = 1 } subtract_from_temp_variable = { _one = SIA_dem_event_count_cw_scale } check_cheating_before_civil_war = yes start_civil_war = { ideology = fascism ruling_party = democratic size = var:_one keep_unit_leaders_trigger = { OR = { is_character = SIA_phraya_songsuradet is_character = SIA_adul_aduldejajaras } } } hidden_effect = { spawn_pret_in_cw_if_cheating = yes } } } } focus = { id = SIA_the_purge icon = GFX_focus_SIA_the_purge x = -1 y = 1 relative_position_id = SIA_and_spring_the_trap prerequisite = { focus = SIA_and_spring_the_trap } mutually_exclusive = { focus = SIA_military_oversight_bureau } cost = 5 ai_will_do = { factor = 50 } available = { has_civil_war = no } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { retire_character = SIA_luang_chawengsaksongkhram retire_character = SIA_mangkorn_phromyothi retire_character = SIA_luang_haansongkhram retire_character = SIA_phichit_kriangsakphichit retire_character = SIA_jira_wichitsongkhram retire_character = SIA_phichit_kriangsakphichit custom_effect_tooltip = newline_tt add_timed_idea = { idea = idea_SIA_purged_military days = 365 } custom_effect_tooltip = SIA_the_songsuradet_rebellion_historical_tt2 effect_tooltip = { add_ideas = idea_SIA_rehabilitated_military } custom_effect_tooltip = newline_tt } } focus = { id = SIA_military_oversight_bureau icon = GFX_focus_generic_crush_the_military x = 2 y = 0 relative_position_id = SIA_the_purge prerequisite = { focus = SIA_and_spring_the_trap } mutually_exclusive = { focus = SIA_the_purge } cost = 5 ai_will_do = { factor = 50 } available = { has_civil_war = no } #allow_branch = { #} search_filters = { FOCUS_FILTER_ARMY_XP } completion_reward = { add_ideas = idea_SIA_the_military_oversight_bureau set_variable_to_random = { var = SIA_time_for_mob_to_investigate_someone min = 5 max = 9 integer = yes } set_variable = { SIA_mob_investigation_counter = 0 } random_army_leader = { add_timed_unit_leader_trait = { trait = SIA_under_investigation days = 180 } } custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_military_oversight_bureau_tt add_offsite_building = { type = arms_factory level = 1 } } } focus = { id = SIA_secure_the_state icon = GFX_focus_generic_improve_the_administration x = 1 y = 1 relative_position_id = SIA_the_purge prerequisite = { focus = SIA_the_purge focus = SIA_military_oversight_bureau } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 60 } available = { OR = { AND = { democratic > 0.6 has_stability > 0.5 NOT = { has_idea = idea_SIA_military_rebellious } } AND = { has_completed_focus = SIA_the_royal_police_counterweight has_completed_focus = SIA_support_songsuradets_military_clique has_stability > 0.3 } has_completed_focus = SIA_the_purge } } #allow_branch = { #} search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { add_country_leader_trait = SIA_civilian_wing_leader add_stability = 0.1 add_political_power = 60 add_manpower = 6000 add_popularity = { ideology = democratic popularity = 0.05 } random_core_state = { prioritize = { 1076 } limit = { infrastructure > 0 } damage_building = { type = infrastructure damage = 0.2# levels of damage } } } } focus = { id = SIA_achieve_domestic_legitimacy icon = GFX_goal_support_democracy x = 0 y = 1 relative_position_id = SIA_secure_the_state prerequisite = { focus = SIA_secure_the_state } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 60 } available = { OR = { fascism < 0.1 AND = { has_idea = idea_SIA_civilian_full_support has_stability > 0.6 } has_stability > 0.7 } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_achieve_domestic_legitimacy_tt custom_effect_tooltip = newline_tt set_country_flag = SIA_turn_off_the_khana_ratsadon # Dissolve the military wing entirely, whatever its standing. if = { limit = { has_idea = idea_SIA_military_rebellious } remove_ideas = idea_SIA_military_rebellious } else_if = { limit = { has_idea = idea_SIA_military_opposition } remove_ideas = idea_SIA_military_opposition } else_if = { limit = { has_idea = idea_SIA_military_neutral } remove_ideas = idea_SIA_military_neutral } else_if = { limit = { has_idea = idea_SIA_military_slight_support } remove_ideas = idea_SIA_military_slight_support } else_if = { limit = { has_idea = idea_SIA_military_full_support } remove_ideas = idea_SIA_military_full_support } if = { limit = { has_idea = idea_SIA_civilian_rebellious } remove_ideas = idea_SIA_civilian_rebellious } else_if = { limit = { has_idea = idea_SIA_civilian_opposition } remove_ideas = idea_SIA_civilian_opposition } else_if = { limit = { has_idea = idea_SIA_civilian_neutral } remove_ideas = idea_SIA_civilian_neutral } else_if = { limit = { has_idea = idea_SIA_civilian_slight_support } remove_ideas = idea_SIA_civilian_slight_support } else_if = { limit = { has_idea = idea_SIA_civilian_full_support } remove_ideas = idea_SIA_civilian_full_support } add_ideas = idea_SIA_unwavering_civilian_support } } focus = { id = SIA_end_military_grift icon = GFX_focus_ARG_anti_corruption_policies x = -1 y = 1 relative_position_id = SIA_achieve_domestic_legitimacy prerequisite = { focus = SIA_achieve_domestic_legitimacy } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_timed_idea = { idea = idea_SIA_ending_military_grift days = 480 } add_popularity = { ideology = democratic popularity = 0.05 } add_war_support = -0.05 add_stability = 0.05 } } focus = { id = SIA_rebuild_the_war_torn_economy icon = GFX_goal_generic_construction2 x = 2 y = 0 relative_position_id = SIA_end_military_grift prerequisite = { focus = SIA_achieve_domestic_legitimacy } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 50 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = idea_SIA_rebuilding_the_war_torn_economy days = 365 } every_core_state = { random_select_amount = 2 limit = { NOT = { state = 1076 } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } focus = { id = SIA_achieve_foreign_legitimacy icon = GFX_focus_AFG_telegraph x = 1 y = 2 relative_position_id = SIA_end_military_grift prerequisite = { focus = SIA_end_military_grift focus = SIA_rebuild_the_war_torn_economy } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 50 } available = { custom_trigger_tooltip = { tooltip = SIA_achieve_foreign_legitimacy_trigger any_of_scopes = { array = global.majors has_opinion = { target = ROOT value > 75 } } } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY } complete_tooltip = { add_stability = var:SIA_countries_that_like_me_stab if = { limit = { has_variable = SIA_achieve_foreign_legitimacy_state } var:SIA_achieve_foreign_legitimacy_state = { random_core_state = { limit = { is_controlled_by = ROOT } add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 instant_build = yes } } } } custom_effect_tooltip = SIA_countries_that_like_me_doctrine_tt } completion_reward = { custom_effect_tooltip = SIA_achieve_foreign_legitimacy_tt hidden_effect = { set_variable = { SIA_countries_that_like_me = 0 } for_each_scope_loop = { array = global.majors if = { limit = { has_opinion = { target = ROOT value > 75 } } add_to_variable = { ROOT.SIA_countries_that_like_me = 1 } } } set_variable = { SIA_countries_that_like_me_stab = SIA_countries_that_like_me } multiply_variable = { SIA_countries_that_like_me_stab = var:SIA_achieve_foreign_legitimacy_base_stab_gain } add_stability = var:SIA_countries_that_like_me_stab if = { limit = { check_variable = { SIA_countries_that_like_me > 5 } } random_core_state = { limit = { is_controlled_by = ROOT } set_variable = { SIA_achieve_foreign_legitimacy_state = THIS } add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 instant_build = yes } } } if = { limit = { check_variable = { SIA_countries_that_like_me > 3 } } subtract_from_variable = { SIA_countries_that_like_me = 3 } for_loop_effect = { start = 0 end = var:SIA_countries_that_like_me add_doctrine_cost_reduction = { name = SIA_achieve_foreign_legitimacy cost_reduction = 0.5 uses = 1 category = land_doctrine } } } } } } focus = { id = SIA_the_yellow_dossier icon = GFX_focus_SIA_the_yellow_dossier x = 3 y = 1 relative_position_id = SIA_rebuild_the_war_torn_economy prerequisite = { focus = SIA_rebuild_the_war_torn_economy } mutually_exclusive = { focus = SIA_a_more_moderate_option } cost = 10 ai_will_do = { factor = 50 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY } completion_reward = { add_ideas = idea_SIA_the_yellow_dossier } } focus = { id = SIA_expand_upon_the_dossier icon = GFX_focus_generic_land_redistribution x = 0 y = 1 relative_position_id = SIA_the_yellow_dossier prerequisite = { focus = SIA_the_yellow_dossier } cost = 10 ai_will_do = { factor = 10 } available = { num_of_factories > 35 } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { remove_idea = idea_SIA_the_yellow_dossier add_idea = idea_SIA_the_yellow_dossier_2 } } } focus = { id = SIA_a_more_moderate_option icon = GFX_focus_SWE_defense_act x = 3 y = 0 relative_position_id = SIA_the_yellow_dossier prerequisite = { focus = SIA_rebuild_the_war_torn_economy } mutually_exclusive = { focus = SIA_the_yellow_dossier } cost = 5 ai_will_do = { factor = 30 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_controlled_by = ROOT is_coastal = yes free_building_slots = { building = dockyard size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } focus = { id = SIA_mobilize_the_defenders_of_siam icon = GFX_focus_generic_home_defense x = 0 y = 1 relative_position_id = SIA_a_more_moderate_option prerequisite = { focus = SIA_a_more_moderate_option } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_manpower = 120000 add_doctrine_cost_reduction = { name = SIA_mobilize_the_defenders_of_siam cost_reduction = 0.5 uses = 1 category = land_doctrine } } } focus = { id = SIA_join_the_allies icon = GFX_focus_chi_british_cooperation prerequisite = { focus = SIA_achieve_foreign_legitimacy } mutually_exclusive = { focus = SIA_join_the_united_front focus = SIA_asian_democratic_compact } x = -3 y = 1 relative_position_id = SIA_achieve_foreign_legitimacy cost = 5 ai_will_do = { factor = 50 modifier = { OR = { ENG = { is_ai = no } FRA = { is_ai = no } USA = { is_ai = no } } factor = 2.5 } } bypass = { OR = { is_in_faction_with = ENG is_in_faction_with = FRA is_in_faction_with = USA } } available = { is_subject = no has_war = no democratic > 0.25 NOT = { has_government = communism } NOT = { has_government = fascism } OR = { ENG = { is_faction_leader = yes has_government = democratic NOT = { has_war_with = ROOT } all_allied_country = { NOT = { has_war_with = ROOT } } } FRA = { is_faction_leader = yes has_government = democratic NOT = { has_war_with = ROOT } all_allied_country = { NOT = { has_war_with = ROOT } } } USA = { is_faction_leader = yes has_government = democratic NOT = { has_war_with = ROOT } all_allied_country = { NOT = { has_war_with = ROOT } } } } } search_filters = { FOCUS_FILTER_WAR_SUPPORT } completion_reward = { if = { limit = { ENG = { is_faction_leader = yes has_government = democratic NOT = { has_war_with = ROOT } NOT = { any_allied_country = { has_war_with = ROOT } } } } ENG = { add_ai_strategy = { type = befriend id = ROOT value = 100 } ROOT = { add_ai_strategy = { type = befriend id = PREV value = 100 } } country_event = { id = generic.2 hours = 4 random_hours = 4 } if = { limit = { has_war = yes } ROOT = { add_war_support = 0.1 } } } } else_if = { limit = { FRA = { is_faction_leader = yes has_government = democratic NOT = { has_war_with = ROOT } NOT = { any_allied_country = { has_war_with = ROOT } } } } FRA = { add_ai_strategy = { type = befriend id = ROOT value = 100 } ROOT = { add_ai_strategy = { type = befriend id = PREV value = 100 } } country_event = { id = generic.2 hours = 4 random_hours = 4 } if = { limit = { has_war = yes } ROOT = { add_war_support = 0.1 } } } } else = { USA = { add_ai_strategy = { type = befriend id = ROOT value = 100 } ROOT = { add_ai_strategy = { type = befriend id = PREV value = 100 } } country_event = { id = generic.2 hours = 4 random_hours = 4 } if = { limit = { has_war = yes } ROOT = { add_war_support = 0.1 } } } } } } focus = { id = SIA_allies_integration icon = GFX_goal_tfv_generic_tech_sharing x = 0 y = 1 relative_position_id = SIA_join_the_allies prerequisite = { focus = SIA_join_the_allies } cost = 10 ai_will_do = { factor = 20 } available = { OR = { is_in_faction_with = ENG is_in_faction_with = USA is_in_faction_with = FRA } } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { bonus = 1 uses = 1 category = infantry_weapons name = SIA_allies_integration } add_tech_bonus = { bonus = 0.5 uses = 3 category = naval_equipment name = SIA_allies_integration } if = { limit = { is_in_faction_with = ENG } add_to_tech_sharing_group = commonwealth_research } else_if = { limit = { is_in_faction_with = USA USA = { is_faction_leader = yes } } add_to_tech_sharing_group = us_research } else = { every_allied_country = { add_to_tech_sharing_group = siam_tech_sharing_group } add_to_tech_sharing_group = siam_tech_sharing_group } } } focus = { id = SIA_the_malay_peninsular_defense_plan icon = GFX_focus_generic_coastal_fort x = 2 y = 1 relative_position_id = SIA_allies_integration prerequisite = { focus = SIA_allies_integration } cost = 5 ai_will_do = { factor = 20 } available = { controls_state = 724 controls_state = 289 controls_state = 1076 OR = { is_ally_with = 1060.owner is_ally_with = 1064.owner is_ally_with = 1061.owner is_ally_with = 1064.owner is_ally_with = 1065.owner is_ally_with = 1063.owner is_ally_with = 336.owner is_ally_with = 1021.owner } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = SIA_the_malay_peninsular_defense_plan_tt hidden_effect = { every_state = { limit = { OR = { state = 724 state = 289 state = 1076 state = 1060 state = 1064 state = 1061 state = 1064 state = 1065 state = 1063 state = 336 state = 1021 state = 1062 } } if = { limit = { OR = { ROOT = { controls_state = PREV } AND = { owner = { is_ally_with = ROOT } controller = { is_ally_with = ROOT } } } } build_railway = { level = 1 fallback = yes start_province = 7408 #Bangkok target_province = 12299 #Singapore } add_building_construction = { type = coastal_bunker level = 2 instant_build = yes province= { all_provinces = yes limit_to_victory_point > 0 limit_to_coastal = yes } } add_building_construction = { type = bunker level = 2 instant_build = yes province= { all_provinces = yes limit_to_victory_point = yes limit_to_coastal = yes } } add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } } } } } focus = { id = SIA_the_end_of_gunboat_diplomacy icon = GFX_focus_PHI_gunboat_diplomacy x = -2 y = 1 relative_position_id = SIA_allies_integration prerequisite = { focus = SIA_allies_integration } cost = 10 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { free_building_slots = { building = dockyard size > 2 include_locked = yes } is_coastal = yes } add_extra_state_shared_building_slots = 3 add_building_construction = { type = dockyard level = 3 instant_build = yes } } add_mastery_bonus = { name = SIA_the_end_of_gunboat_diplomacy bonus = 0.1 days = 120 track = screens } add_doctrine_cost_reduction = { name = SIA_the_end_of_gunboat_diplomacy cost_reduction = 0.25 uses = 2 category = naval_doctrine } } } focus = { id = SIA_prepare_for_a_pacific_war icon = GFX_focus_jap_pacific_guardian x = 2 y = 0 relative_position_id = SIA_the_end_of_gunboat_diplomacy prerequisite = { focus = SIA_allies_integration } cost = 10 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP } completion_reward = { navy_experience = 50 add_timed_idea = { idea = idea_SIA_pacific_war_preparations days = 365 } random_core_state = { limit = { free_building_slots = { building = dockyard size > 1 include_locked = yes } is_coastal = yes } add_extra_state_shared_building_slots = 2 add_building_construction = { type = dockyard level = 2 instant_build = yes } } } } focus = { id = SIA_a_race_against_time icon = GFX_goal_generic_construct_naval_dockyard x = 1 y = 1 relative_position_id = SIA_prepare_for_a_pacific_war prerequisite = { focus = SIA_prepare_for_a_pacific_war } cost = 10 ai_will_do = { factor = 10 } available = { NOT = { has_idea = idea_SIA_pacific_war_preparations } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = idea_SIA_a_race_against_time days = 365 } custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_a_race_against_time_tt effect_tooltip = { add_timed_idea = { idea = idea_SIA_overheated_economy days = 280 } } } } focus = { id = SIA_preemtive_strike icon = GFX_focus_attack_japan x = 1 y = 1 relative_position_id = SIA_the_malay_peninsular_defense_plan prerequisite = { focus = SIA_the_malay_peninsular_defense_plan } cost = 10 ai_will_do = { factor = 10 } available = { NOT = { JAP = { has_government = democratic } } JAP = { exists = yes has_added_tension_amount > 0 } } bypass = { has_war_with = JAP } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { declare_war_on = { target = JAP type = puppet_wargoal_focus } } } focus = { id = SIA_the_siamese_armada icon = GFX_focus_SWE_coastal_support x = 1 y = 1 relative_position_id = SIA_the_end_of_gunboat_diplomacy prerequisite = { focus = SIA_the_end_of_gunboat_diplomacy } prerequisite = { focus = SIA_prepare_for_a_pacific_war } cost = 10 ai_will_do = { factor = 10 } available = { has_tech = basic_ship_hull_heavy has_tech = basic_ship_hull_cruiser } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { create_equipment_variant = { name = "Rama Class" type = ship_hull_cruiser_2 parent_version = 0 modules = { fixed_ship_battery_slot = ship_light_battery_1 fixed_ship_anti_air_slot = ship_anti_air_1 fixed_ship_fire_control_system_slot = ship_fire_control_system_0 fixed_ship_radar_slot = empty fixed_ship_engine_slot = light_ship_engine_2 fixed_ship_torpedo_slot = ship_torpedo_2 mid_1_custom_slot = ship_torpedo_2 rear_1_custom_slot = ship_mine_layer_1 } obsolete = yes } create_equipment_variant = { name = "Chakri Class" type = ship_hull_heavy_2 parent_version = 0 modules = { fixed_ship_battery_slot = ship_heavy_battery_2 fixed_ship_anti_air_slot = ship_anti_air_1 fixed_ship_fire_control_system_slot = ship_fire_control_system_0 fixed_ship_radar_slot = empty fixed_ship_engine_slot = heavy_ship_engine_3 fixed_ship_secondaries_slot = ship_secondaries_2 fixed_ship_armor_slot = ship_armor_bb_2 front_1_custom_slot = ship_anti_air_1 mid_1_custom_slot = ship_secondaries_2 mid_2_custom_slot = ship_airplane_launcher_2 rear_1_custom_slot = ship_heavy_battery_2 } } add_equipment_production = { equipment = { type = ship_hull_heavy_2 creator = SIA version_name = "Chakri Class" } requested_factories = 5 progress = 0.6 } add_equipment_production = { equipment = { type = ship_hull_cruiser_2 creator = SIA version_name = "Rama Class" } requested_factories = 5 progress = 0.9 amount = 1 } add_equipment_production = { equipment = { type = ship_hull_cruiser_2 creator = SIA version_name = "Rama Class" } requested_factories = 5 progress = 0.8 amount = 1 } add_equipment_production = { equipment = { type = ship_hull_cruiser_2 creator = SIA version_name = "Rama Class" } requested_factories = 5 progress = 0.7 amount = 1 } add_equipment_production = { equipment = { type = ship_hull_cruiser_2 creator = SIA version_name = "Rama Class" } requested_factories = 5 progress = 0.6 amount = 1 } add_equipment_production = { equipment = { type = ship_hull_cruiser_2 creator = SIA version_name = "Rama Class" } requested_factories = 5 progress = 0.5 amount = 1 } } } focus = { id = SIA_as_the_eyes_turn_towards_southeast_asia icon = GFX_focus_usa_focus_on_asia x = 1 y = 1 relative_position_id = SIA_the_siamese_armada prerequisite = { focus = SIA_the_siamese_armada focus = SIA_a_race_against_time } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = idea_SIA_specialist_marine_forces if = { limit = { NOT = { has_tech = marines } } set_technology = { marines = 1 popup = no } } if = { limit = { has_dlc = "Arms Against Tyranny" } custom_effect_tooltip = newline_tt add_doctrine_cost_reduction = { name = SIA_as_the_eyes_set_on_southeast_asia cost_reduction = 0.5 uses = 2 category = special_forces_doctrine } } else = { add_doctrine_cost_reduction = { name = SIA_as_the_eyes_set_on_southeast_asia cost_reduction = 0.5 uses = 1 category = land_doctrine } add_doctrine_cost_reduction = { name = SIA_as_the_eyes_set_on_southeast_asia cost_reduction = 0.5 uses = 1 category = naval_doctrine } } add_mastery_bonus = { name = SIA_as_the_eyes_set_on_southeast_asia bonus = 0.1 days = 720 sub_doctrine = marines_2 } add_mastery_bonus = { name = SIA_as_the_eyes_set_on_southeast_asia bonus = 0.1 days = 720 sub_doctrine = marines_1 } } } focus = { id = SIA_join_the_united_front icon = GFX_focus_chi_united_front prerequisite = { focus = SIA_achieve_foreign_legitimacy } mutually_exclusive = { focus = SIA_join_the_allies focus = SIA_asian_democratic_compact } x = 7 y = 0 relative_position_id = SIA_join_the_allies cost = 5 ai_will_do = { factor = 50 modifier = { OR = { PRC = { is_ai = no } CHI = { is_ai = no } GXC = { is_ai = no } GDC = { is_ai = no } YUN = { is_ai = no } SIC = { is_ai = no } XIC = { is_ai = no } SND = { is_ai = no } HBC = { is_ai = no } SHX = { is_ai = no } NXM = { is_ai = no } GSM = { is_ai = no } XSM = { is_ai = no } KHM = { is_ai = no } SIK = { is_ai = no } } factor = 2.5 } } bypass = { OR = { is_in_faction_with = PRC is_in_faction_with = CHI } } available = { is_subject = no has_war = no OR = { event_target:WTT_current_china_leader = { is_faction_leader = yes NOT = { has_war_with = ROOT } all_allied_country = { NOT = { has_war_with = ROOT } } } event_target:WTT_communist_china = { is_in_faction_with = CHI is_faction_leader = yes NOT = { has_war_with = ROOT } all_allied_country = { NOT = { has_war_with = ROOT } } } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { IF = { limit = { event_target:WTT_current_china_leader = { is_faction_leader = yes } } event_target:WTT_current_china_leader = { country_event = SEA_PRC_faction_events.60 } add_ai_strategy = { type = alliance id = CHI value = 200 } } ELSE_IF = { limit = { event_target:WTT_communist_china = { is_faction_leader = yes } } event_target:WTT_communist_china = { country_event = SEA_PRC_faction_events.60 } add_ai_strategy = { type = alliance id = PRC value = 200 } } } } focus = { id = SIA_a_land_war_in_asia icon = GFX_focus_generic_asia_liberation prerequisite = { focus = SIA_join_the_united_front } #mutually_exclusive = { focus = } x = 0 y = 1 relative_position_id = SIA_join_the_united_front cost = 5 bypass = { } available = { } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { add_tech_bonus = { name = SIA_a_land_war_in_asia bonus = 0.25 uses = 2 category = support_tech } add_tech_bonus = { name = SIA_a_land_war_in_asia uses = 1 ahead_reduction = 1 category = artillery } random_unit_leader = { limit = { NOT = { has_trait = adaptable } } add_unit_leader_trait = adaptable } if = { limit = { PRC = { exists = yes NOT = { has_war_with = ROOT } } } PRC = { random_core_state = { limit = { is_fully_controlled_by = PRC free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } if = { limit = { CHI = { exists = yes NOT = { has_war_with = ROOT } } } CHI = { random_core_state = { limit = { is_fully_controlled_by = CHI free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } } } focus = { id = SIA_death_to_the_communists icon = GFX_focus_chi_cooperation_with_the_nationalists prerequisite = { focus = SIA_a_land_war_in_asia } mutually_exclusive = { focus = SIA_death_to_the_nationalists } x = -1 y = 1 relative_position_id = SIA_a_land_war_in_asia cost = 5 ai_will_do = { factor = 50 } bypass = { } available = { event_target:WTT_current_china_leader = { has_war_with = event_target:WTT_communist_china } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_faction_influence_ratio = 0.10 add_ideas = idea_SIA_death_to_communists } } focus = { id = SIA_asian_democratic_compact icon = GFX_focus_SIA_asian_democratic_compact x = 7 y = 0 relative_position_id = SIA_join_the_united_front prerequisite = { focus = SIA_achieve_foreign_legitimacy } cost = 5 ai_will_do = { factor = 50 } available = { } mutually_exclusive = { focus = SIA_join_the_allies focus = SIA_join_the_united_front } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } will_lead_to_war_with = FRA completion_reward = { custom_effect_tooltip = SIA_asian_democratic_compact_tt if = { limit = { is_in_faction = yes } leave_faction = yes } create_faction_from_template = faction_template_SIA_asian_democratic_compact add_dynamic_modifier = { modifier = idea_SIA_asian_democratic_compact } } } focus = { id = SIA_death_to_the_nationalists icon = GFX_focus_chi_cooperation_with_the_communists prerequisite = { focus = SIA_a_land_war_in_asia } mutually_exclusive = { focus = SIA_death_to_the_communists } x = 2 y = 0 relative_position_id = SIA_death_to_the_communists cost = 5 ai_will_do = { factor = 50 } bypass = { } available = { is_subject = no has_war = no event_target:WTT_communist_china = { is_faction_leader = yes NOT = { is_in_faction_with = event_target:WTT_current_china_leader } NOT = { has_war_with = ROOT } all_allied_country = { NOT = { has_war_with = ROOT } } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { event_target:WTT_communist_china = { add_to_faction = ROOT } add_faction_influence_ratio = 0.10 add_ideas = idea_SIA_death_to_nationalists } } focus = { id = SIA_the_peoples_war_in_asia icon = GFX_focus_PRC_raid_weapon_depots prerequisite = { focus = SIA_death_to_the_nationalists } #mutually_exclusive = { focus = } x = 1 y = 1 relative_position_id = SIA_death_to_the_nationalists cost = 10 bypass = { } available = { } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { swap_ideas = { remove_idea = idea_SIA_death_to_nationalists add_idea = idea_SIA_death_to_nationalists_2 } } } focus = { id = SIA_national_defense_in_asia icon = GFX_focus_PRC_arms_recovery_efforts prerequisite = { focus = SIA_death_to_the_communists } #mutually_exclusive = { focus = } x = -1 y = 1 relative_position_id = SIA_death_to_the_communists cost = 5 bypass = { } available = { } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { swap_ideas = { remove_idea = idea_SIA_death_to_communists add_idea = idea_SIA_death_to_communists_2 } } } focus = { id = SIA_a_new_dawn_over_asia icon = GFX_focus_RAJ_the_sun_sets prerequisite = { focus = SIA_national_defense_in_asia focus = SIA_the_peoples_war_in_asia } #mutually_exclusive = { focus = } x = -1 y = 2 relative_position_id = SIA_death_to_the_nationalists cost = 5 bypass = { } ai_will_do = { factor = 50 } available = { hidden_trigger = { has_event_target = WTT_communist_china } OR = { AND = { has_completed_focus = SIA_death_to_the_communists NOT = { country_exists = event_target:WTT_communist_china } event_target:WTT_communist_china = { is_subject = yes } } AND = { has_completed_focus = SIA_death_to_the_nationalists NOT = { country_exists = event_target:WTT_current_china_leader } event_target:WTT_current_china_leader = { is_subject = yes } } } } search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { if = { limit = { has_idea = idea_SIA_death_to_communists_2 } swap_ideas = { remove_idea = idea_SIA_death_to_communists_2 add_idea = idea_SIA_death_to_communists_3 } } else_if = { limit = { has_idea = idea_SIA_death_to_nationalists_2 } swap_ideas = { remove_idea = idea_SIA_death_to_communists_2 add_idea = idea_SIA_death_to_nationalists_3 } } else = { effect_tooltip = { add_ideas = idea_SIA_death_to_nationalists_3 } } every_country = { limit = { is_on_same_continent_as = 608 NOT = { original_tag = SOU } OR = { OR = { NOT = { is_on_same_continent_as = 608 } } OR = { tag = JAP is_subject_of = JAP } } } ROOT = { create_wargoal = { type = puppet_wargoal_focus target = PREV } } } } } ############################### ### Phibun/Historical ### ############################### focus = { id = SIA_phibuns_premiership icon = GFX_focus_SIA_phibuns_premiership x = -1 y = 3 relative_position_id = SIA_drum_up_irredentism prerequisite = { focus = SIA_drum_up_irredentism focus = SIA_sell_privy_purse_lands } mutually_exclusive = { focus = SIA_to_lay_the_bait focus = SIA_the_midnight_meeting } cost = 10 ai_will_do = { factor = 10 } available = { OR = { AND = { has_completed_focus = SIA_sell_privy_purse_lands NOT = { has_idea = idea_SIA_sold_privy_purse_lands } } fascism > 0.5 } has_civil_war = no } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = SIA_the_midnight_meeting } NOT = { has_completed_focus = SIA_to_lay_the_bait } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { set_politics = { ruling_party = fascism elections_allowed = yes } set_party_name = { ideology = fascism long_name = SIA_neutrality_party_long #This is the military branch being swapped over name = SIA_neutrality_party } set_party_name = { ideology = neutrality long_name = SIA_neutrality_party_royalist_long name = SIA_neutrality_party_royalist } promote_character = SIA_plaek_phibunsongkhram custom_effect_tooltip = newline_tt SIA_increase_military_approval = yes SIA_decrease_civilian_approval = yes if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } focus = { id = SIA_southeast_asia_joint_command icon = GFX_focus_PRC_army_command x = -3 y = 1 relative_position_id = SIA_asian_democratic_compact prerequisite = { focus = SIA_asian_democratic_compact } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { is_faction_leader = yes } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_asian_democratic_compact_modify custom_effect_tooltip = SIA_southeast_asia_joint_command_tt SIA_update_adc = yes } } focus = { id = SIA_pan_asian_weapon_standardization icon = GFX_focus_JAP_army_weapons_administration_hq x = 2 y = 0 relative_position_id = SIA_southeast_asia_joint_command prerequisite = { focus = SIA_asian_democratic_compact } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { is_faction_leader = yes } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { custom_effect_tooltip = SIA_asian_democratic_compact_modify custom_effect_tooltip = SIA_pan_asian_weapon_standardization_tt SIA_update_adc = yes } } focus = { id = SIA_united_against_aggression icon = GFX_focus_SIA_united_against_aggresion x = 2 y = 0 relative_position_id = SIA_pan_asian_weapon_standardization prerequisite = { focus = SIA_asian_democratic_compact } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { is_faction_leader = yes } #allow_branch = { #} search_filters = { FOCUS_FILTER_WAR_SUPPORT } completion_reward = { custom_effect_tooltip = SIA_asian_democratic_compact_modify custom_effect_tooltip = SIA_united_against_aggression_tt SIA_update_adc = yes } } focus = { id = SIA_the_hammers_that_strike icon = GFX_focus_SIA_the_hammers_that_strike x = 2 y = 0 relative_position_id = SIA_united_against_aggression prerequisite = { focus = SIA_asian_democratic_compact } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { is_faction_leader = yes } #allow_branch = { #} search_filters = { FOCUS_FILTER_WAR_SUPPORT } completion_reward = { custom_effect_tooltip = SIA_asian_democratic_compact_modify custom_effect_tooltip = SIA_the_hammers_that_strike_tt SIA_update_adc = yes } } focus = { id = SIA_stronger_together icon = GFX_goal_generic_major_alliance x = 3 y = 1 relative_position_id = SIA_southeast_asia_joint_command prerequisite = { focus = SIA_southeast_asia_joint_command focus = SIA_pan_asian_weapon_standardization focus = SIA_united_against_aggression focus = SIA_the_hammers_that_strike } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { is_faction_leader = yes } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { every_other_country = { limit = { capital_scope = { OR = { is_on_continent = asia is_on_continent = australia is_on_continent = middle_east } } is_faction_leader = yes NOT = { has_war_with = ROOT } NOT = { any_enemy_country = { OR = { tag = CHI is_in_faction_with = CHI } } } } country_event = { id = siam.45 hours = 2 # optional - can take hours/days/months random_hours = 4 # optional - can take hours/days/months } } } } focus = { id = SIA_siamese_youth_movement icon = GFX_focus_RAJ_military_into_the_workforce x = 6 y = 1 relative_position_id = SIA_phibuns_premiership prerequisite = { focus = SIA_phibuns_premiership } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = idea_SIA_yuvachon } } focus = { id = SIA_territorial_defense_student icon = GFX_focus_SIA_territorial_defense_student x = 0 y = 1 relative_position_id = SIA_siamese_youth_movement prerequisite = { focus = SIA_siamese_youth_movement } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { if = { limit = { has_template = "Yuwachon Thahan" } delete_unit_template_and_units = { division_template = "Yuwachon Thahan" disband = yes } } set_technology = { militia_tech = 1 popup = no } if = { limit = { NOT = { has_tech = tech_support } } set_technology = { tech_support = 1 popup = no } } if = { limit = { NOT = { has_tech = tech_field_hospital } } set_technology = { tech_field_hospital = 1 popup = no } } division_template = { name = "Yuwachon Thahan" is_locked = no regiments = { militia = { x = 0 y = 0 } militia = { x = 0 y = 1 } militia = { x = 0 y = 2 } militia = { x = 1 y = 0 } militia = { x = 1 y = 1 } militia = { x = 1 y = 2 } } support = { field_hospital = { x = 0 y = 0 } } } random_owned_controlled_state = { prioritize = { 1076 289 1078 } create_unit = { division = "name = \"52nd Yuwachon Thahan Training Unit\" division_template = \"Yuwachon Thahan\" start_experience_factor = 0.1 start_equipment_factor = 1 start_manpower_factor = 1" owner = SIA prioritize_location = 7408 allow_spawning_on_enemy_provs = no count = 1 } create_unit = { division = "name = \"Provincial Police of Chumphon\" division_template = \"Yuwachon Thahan\" start_experience_factor = 0.1 start_equipment_factor = 1 start_manpower_factor = 1" owner = SIA prioritize_location = 7408 allow_spawning_on_enemy_provs = no count = 1 } } swap_ideas = { remove_idea = idea_SIA_yuvachon add_idea = idea_SIA_yuvachon_2 } } } focus = { id = SIA_expand_domestic_arms_workshops icon = GFX_goal_generic_construct_mil_factory x = -2 y = 1 relative_position_id = SIA_phibuns_premiership prerequisite = { focus = SIA_phibuns_premiership } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = arms_factory size > 1 include_locked = yes } } prioritize = { 1076 } #optional: to pick those states first if they fulfill the limit add_extra_state_shared_building_slots = 3 add_building_construction = { type = arms_factory level = 3 instant_build = yes } } } } focus = { id = SIA_look_to_european_fascism icon = GFX_goal_support_fascism x = 0 y = 1 relative_position_id = SIA_phibuns_premiership prerequisite = { focus = SIA_phibuns_premiership } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_country_leader_trait = dictator2 add_popularity = { ideology = fascism popularity = 0.07 } } } focus = { id = SIA_the_songsuradet_rebellion icon = GFX_focus_SIA_the_songsuradet_rebellion x = -1 y = 1 relative_position_id = SIA_look_to_european_fascism prerequisite = { focus = SIA_look_to_european_fascism } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { has_completed_focus = SIA_support_songsuradets_military_clique } country_event = { id = siam.6 hours = 2 } custom_effect_tooltip = SIA_the_songsuradet_rebellion_alt_tt } else = { country_event = { id = siam.3 hours = 2 } custom_effect_tooltip = SIA_the_songsuradet_rebellion_historical_tt show_ideas_tooltip = idea_SIA_purged_senior_military custom_effect_tooltip = SIA_the_songsuradet_rebellion_historical_tt3 custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_the_songsuradet_rebellion_historical_tt2 show_ideas_tooltip = idea_SIA_cemented_control } } } focus = { id = SIA_sue_the_king_in_exile icon = GFX_focus_generic_court x = -2 y = 1 relative_position_id = SIA_the_songsuradet_rebellion prerequisite = { focus = SIA_the_songsuradet_rebellion } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { if = { limit = { has_dlc = "Arms Against Tyranny" } every_military_industrial_organization = { add_mio_funds = 1000 } } random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 1076 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_timed_idea = { idea = idea_SIA_sued_king_prajadhipok days = 90 } } } focus = { id = SIA_suspend_ordinary_legal_procedures icon = GFX_focus_generic_fascist_propaganda x = 2 y = 0 relative_position_id = SIA_sue_the_king_in_exile prerequisite = { focus = SIA_the_songsuradet_rebellion } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { has_idea = idea_SIA_cemented_control } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_timed_idea = { idea = idea_SIA_suspend_ordinary_legal_procedures days = 365 } custom_effect_tooltip = upon_timeout effect_tooltip = { swap_ideas = { remove_idea = idea_SIA_cemented_control add_idea = idea_SIA_cemented_control_2 } } SIA_decrease_civilian_approval = yes } } focus = { id = SIA_the_duty_of_the_thai_people_during_the_war_act icon = GFX_focus_SIA_the_duty_of_the_thai_people_during_the_war_act x = -1 y = 1 relative_position_id = SIA_suspend_ordinary_legal_procedures prerequisite = { focus = SIA_suspend_ordinary_legal_procedures } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { has_idea = idea_SIA_cemented_control_2 has_war = yes } #allow_branch = { #} search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } completion_reward = { swap_ideas = { remove_idea = idea_SIA_cemented_control_2 add_idea = idea_SIA_cemented_control_3 } } } # focus = { # id = SIA_recognize_manchukuo # icon = GFX_focus_PLACEHOLDER # x = 2 # y = 0 # relative_position_id = SIA_the_duty_of_the_thai_people_during_the_war_act # prerequisite = { focus = SIA_suspend_ordinary_legal_procedures } # #mutually_exclusive = { focus = } # cost = 5 # ai_will_do = { # factor = 10 # } # available = { # } # #allow_branch = { # #} # search_filters = { } # # completion_reward = { # custom_effect_tooltip = "CM_TODO" # } # } focus = { id = SIA_press_censorship icon = GFX_focus_generic_radio_communication x = 1 y = 1 relative_position_id = SIA_suspend_ordinary_legal_procedures prerequisite = { focus = SIA_suspend_ordinary_legal_procedures } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { add_popularity = { ideology = fascism popularity = 0.05 } add_political_power = 75 add_war_support = 0.075 add_stability = 0.075 } } focus = { id = SIA_department_of_publicity icon = GFX_focus_ARG_keep_it_in_the_party x = 3 y = 1 relative_position_id = SIA_look_to_european_fascism prerequisite = { focus = SIA_look_to_european_fascism } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_popularity = { ideology = fascism popularity = 0.05 } add_political_power = 50 add_war_support = 0.03 } } focus = { id = SIA_thai_cultural_mandates icon = GFX_focus_SIA_thai_cultural_mandates x = -1 y = 1 relative_position_id = SIA_department_of_publicity prerequisite = { focus = SIA_department_of_publicity } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_thai_cultural_mandates_tt custom_effect_tooltip = newline_tt unlock_decision_tooltip = { decision = SIA_mandate_1 show_effect_tooltip = yes # default is no show_modifiers = yes # default is no } } } focus = { id = SIA_relocate_the_capital_to_phetchabun icon = GFX_focus_prc_infiltration x = 0 y = 1 relative_position_id = SIA_thai_cultural_mandates prerequisite = { focus = SIA_thai_cultural_mandates } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { controls_province = 10398 } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_victory_points = { province = 10398 value = 20 } set_capital = { state = 1077 remember_old_capital = yes } set_major = yes hidden_effect = { #Move arms factories for_loop_effect = { end = 3 break = b if = { limit = { 1076 = { check_variable = { building_level@arms_factory > 0 } } 1077 = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } } 1076 = { remove_building = { type = arms_factory level = 1 } } 1077 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } else = { set_variable = { b = 1 } } } #Move Civs for_loop_effect = { end = 3 break = b if = { limit = { 1076 = { check_variable = { building_level@industrial_complex > 0 } } 1077 = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } } 1076 = { remove_building = { type = industrial_complex level = 1 } } 1077 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } else = { set_variable = { b = 1 } } } #Build Bunkers if = { limit = { controls_province = 10398 1077 = { free_building_slots = { building = bunker size > 2 province = 10398 } } } 1077 = { add_building_construction = { type = bunker level = 3 instant_build = yes province = 10398 } } } if = { limit = { controls_province = 12345 1077 = { free_building_slots = { building = bunker size > 2 province = 12345 } } } 1077 = { add_building_construction = { type = bunker level = 3 instant_build = yes province = 12345 } } } if = { limit = { controls_province = 10411 1077 = { free_building_slots = { building = bunker size > 2 province = 10411 } } } 1077 = { add_building_construction = { type = bunker level = 3 instant_build = yes province = 10411 } } } } custom_effect_tooltip = SIA_relocate_the_capital_to_phetchabun_tt custom_effect_tooltip = newline_tt add_timed_idea = { idea = idea_SIA_desperate_gambit days = 90 } custom_effect_tooltip = SIA_relocate_the_capital_to_phetchabun_tt2 } } focus = { id = SIA_radio_propaganda icon = GFX_focus_SWE_radiotjanst # A thousand radios x = 1 y = 1 relative_position_id = SIA_department_of_publicity prerequisite = { focus = SIA_department_of_publicity } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } completion_reward = { if = { limit = { NOT = { has_tech = electronic_mechanical_engineering } } set_technology = { electronic_mechanical_engineering = 1 popup = no } } if = { limit = { NOT = { has_tech = radio } } set_technology = { radio = 1 popup = no } } add_ideas = SIA_radio_propaganda } } focus = { id = SIA_sala_chaloem_thai_movie_theater icon = GFX_focus_SIA_sala_chaloem_thai_movie_theater x = 0 y = 1 relative_position_id = SIA_radio_propaganda prerequisite = { focus = SIA_radio_propaganda } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_sala_chaloem_thai_movie_theater_tt unlock_decision_tooltip = { decision = SIA_thai_soldiers_blood show_effect_tooltip = yes # default is no show_modifiers = yes # default is no } } } #################### ### Expansionism ### #################### focus = { id = SIA_pan_thaiism icon = GFX_focus_SIA_pan_thaiism x = 7 y = 1 relative_position_id = SIA_the_midnight_meeting prerequisite = { focus = SIA_the_midnight_meeting focus = SIA_phibuns_premiership } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 25 } available = { NOT = { has_government = democratic } OR = { threat > 0.25 has_war_support > 0.2 FRA = { OR = { has_war = yes has_capitulated = yes } } custom_trigger_tooltip = { tooltip = vichy_exist_trigger country_exists = VIC } } } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_ideas = idea_SIA_pan_thaiism } } focus = { id = SIA_retake_lost_british_states icon = GFX_focus_SIA_retake_lost_british_states x = -3 y = 1 relative_position_id = SIA_pan_thaiism prerequisite = { focus = SIA_pan_thaiism } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 15 } available = { } bypass = { all_of_scopes = { array = ROOT.malaysia_burma_states is_controlled_by = ROOT } } will_lead_to_war_with = ENG will_lead_to_war_with = BRM will_lead_to_war_with = MAL #allow_branch = { #} search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { custom_effect_tooltip = SIA_retake_lost_british_states_tt hidden_effect = { SIA_refresh_malaysia_burma_controllers = yes } } } focus = { id = SIA_recover_indochina icon = GFX_focus_SIA_recover_indochina x = 2 y = 0 relative_position_id = SIA_retake_lost_british_states prerequisite = { focus = SIA_pan_thaiism } cost = 5 ai_will_do = { factor = 15 } available = { any_of_scopes = { array = ROOT.indochina_states NOT = { is_controlled_by = ROOT } } } #allow_branch = { #} bypass = { all_of_scopes = { array = ROOT.indochina_states is_controlled_by = ROOT } } will_lead_to_war_with = FRA search_filters = { FOCUS_FILTER_ANNEXATION } will_lead_to_war_with = VIC completion_reward = { hidden_effect = { SIA_refresh_indochina_controllers = yes } custom_effect_tooltip = SIA_recover_indochina_tt } } focus = { id = SIA_demand_the_return_of_lost_territory icon = GFX_goal_demand_sudetenland x = 2 y = 0 relative_position_id = SIA_recover_indochina prerequisite = { focus = SIA_pan_thaiism } cost = 10 ai_will_do = { factor = 15 } available = { } #allow_branch = { #} bypass = { controls_state = 1069 controls_state = 1067 controls_state = 741 controls_state = 1068 controls_state = 1061 controls_state = 1064 controls_state = 1065 controls_state = 670 } search_filters = { FOCUS_FILTER_POLITICAL } will_lead_to_war_with = FRA completion_reward = { custom_effect_tooltip = SIA_demand_the_return_of_lost_territory_tt hidden_effect = { clear_array = SIA_demand_the_return_of_lost_territory_countries every_country = { clear_array = SIA_demand_the_return_of_lost_territory_countries clear_variable = SIA_demand_the_return_of_lost_territory_subject } every_state = { limit = { controller = { NOT = { original_tag = SIA } } NOT = { is_owned_by = ROOT } # skip states we already own OR = { state = 1069 state = 1067 state = 741 state = 1068 state = 1061 state = 1064 state = 1065 state = 670 } } if = { limit = { NOT = { is_in_array = { array = ROOT.SIA_demand_the_return_of_lost_territory_countries value = owner } } } add_to_array = { array = ROOT.SIA_demand_the_return_of_lost_territory_countries value = owner } } owner = { add_to_array = { array = SIA_demand_the_return_of_lost_territory_states value = PREV } } } for_each_scope_loop = { array = SIA_demand_the_return_of_lost_territory_countries if = { limit = { is_subject = yes } overlord = { set_variable = { SIA_demand_the_return_of_lost_territory_subject = PREV } country_event = { id = siam.19 hours = 1 random_days = 18 } } } else = { country_event = { id = siam.19 hours = 1 random_days = 18 } } } } } } focus = { id = SIA_the_greater_thai_empire icon = GFX_focus_SIA_the_greater_thai_empire x = 1 y = 1 relative_position_id = SIA_recover_indochina prerequisite = { focus = SIA_recover_indochina focus = SIA_demand_the_return_of_lost_territory } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 100 } available = { custom_trigger_tooltip = { tooltip = SIA_the_greater_thai_empire_available_trigger all_of_scopes = { array = indochina_states is_controlled_by = ROOT compliance > var:ROOT.SIA_greater_thai_empire_compliance_requirement } } 993 = { is_controlled_by = ROOT compliance > var:ROOT.SIA_greater_thai_empire_compliance_requirement } 999 = { is_controlled_by = ROOT compliance > var:ROOT.SIA_greater_thai_empire_compliance_requirement } 994 = { is_controlled_by = ROOT compliance > var:ROOT.SIA_greater_thai_empire_compliance_requirement } 1062 = { is_controlled_by = ROOT compliance > var:ROOT.SIA_greater_thai_empire_compliance_requirement } 1064 = { is_controlled_by = ROOT compliance > var:ROOT.SIA_greater_thai_empire_compliance_requirement } 1061 = { is_controlled_by = ROOT compliance > var:ROOT.SIA_greater_thai_empire_compliance_requirement } 1065 = { is_controlled_by = ROOT compliance > var:ROOT.SIA_greater_thai_empire_compliance_requirement } } #allow_branch = { #} search_filters = { FOCUS_FILTER_ANNEXATION } completion_reward = { drop_cosmetic_tag = yes set_cosmetic_tag = SIA_great_thai_empire every_state = { limit = { OR = { is_in_array = { array = ROOT.indochina_states value = THIS } is_in_array = { array = ROOT.malaysia_burma_states value = THIS } } } add_core_of = ROOT } 1061 = { set_state_name = STATE_1061_thai_alt } } } focus = { id = SIA_crack_down_of_foreign_merchants icon = GFX_focus_SIA_crack_down_of_foreign_merchants x = 2 y = 0 relative_position_id = SIA_demand_the_return_of_lost_territory prerequisite = { focus = SIA_pan_thaiism } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { has_idea = idea_SIA_pan_thaiism } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } completion_reward = { swap_ideas = { remove_idea = idea_SIA_pan_thaiism add_idea = idea_SIA_pan_thaiism_2 } } } focus = { id = SIA_royal_palace_bureau_directive_no_1523 icon = GFX_focus_generic_money_for_equipment x = 0 y = 1 relative_position_id = SIA_crack_down_of_foreign_merchants prerequisite = { focus = SIA_crack_down_of_foreign_merchants } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = idea_SIA_royal_palace_bureau_directive_no_1523 days = 365 } if = { limit = { has_dlc = "Arms Against Tyranny" } every_military_industrial_organization = { add_mio_funds = 1500 } } custom_effect_tooltip = newline_tt unlock_decision_tooltip = { decision = SIA_cultivate_civilian_wing show_effect_tooltip = yes # default is no show_modifiers = yes # default is no } unlock_decision_tooltip = { decision = SIA_cultivate_military_wing show_effect_tooltip = yes # default is no show_modifiers = yes # default is no } } } focus = { id = SIA_end_factionalism icon = GFX_goal_generic_national_unity x = 0 y = 1 relative_position_id = SIA_royal_palace_bureau_directive_no_1523 prerequisite = { focus = SIA_royal_palace_bureau_directive_no_1523 } cost = 10 ai_will_do = { factor = 10 } available = { NOT = { has_country_flag = SIA_turn_off_the_khana_ratsadon } custom_trigger_tooltip = { tooltip = SIA_end_factionalism_available_tt has_country_flag = SIA_factionalism_overcome } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_end_factionalism_tt custom_effect_tooltip = newline_tt set_country_flag = SIA_turn_off_the_khana_ratsadon # Both wings should be at full support per the mission, but guard against a late drop. if = { limit = { has_idea = idea_SIA_military_full_support } remove_ideas = idea_SIA_military_full_support } else_if = { limit = { has_idea = idea_SIA_military_slight_support } remove_ideas = idea_SIA_military_slight_support } else_if = { limit = { has_idea = idea_SIA_military_neutral } remove_ideas = idea_SIA_military_neutral } else_if = { limit = { has_idea = idea_SIA_military_opposition } remove_ideas = idea_SIA_military_opposition } else_if = { limit = { has_idea = idea_SIA_military_rebellious } remove_ideas = idea_SIA_military_rebellious } if = { limit = { has_idea = idea_SIA_civilian_full_support } remove_ideas = idea_SIA_civilian_full_support } else_if = { limit = { has_idea = idea_SIA_civilian_slight_support } remove_ideas = idea_SIA_civilian_slight_support } else_if = { limit = { has_idea = idea_SIA_civilian_neutral } remove_ideas = idea_SIA_civilian_neutral } else_if = { limit = { has_idea = idea_SIA_civilian_opposition } remove_ideas = idea_SIA_civilian_opposition } else_if = { limit = { has_idea = idea_SIA_civilian_rebellious } remove_ideas = idea_SIA_civilian_rebellious } custom_effect_tooltip = newline_tt add_ideas = idea_SIA_unified_khana_ratsadon } } ################################ ### Develop Greater Thailand ### ################################ focus = { id = SIA_new_territories_administration icon = GFX_goal_generic_more_territorial_claims x = 1 y = 1 relative_position_id = SIA_retake_lost_british_states prerequisite = { focus = SIA_retake_lost_british_states focus = SIA_recover_indochina focus = SIA_demand_the_return_of_lost_territory } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { custom_trigger_tooltip = { tooltip = SIA_new_territories_administration_available_trigger any_of_scopes = { array = indochina_states is_controlled_by = ROOT } } } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_new_territories_administration_tt } } ############################### ### Economy ### ############################### focus = { id = SIA_industrialization_drive icon = GFX_focus_generic_industry_1 x = 29 y = 0 relative_position_id = SIA_the_khana_ratsadon #prerequisite = { focus = SIA_for_the_preservation_of_siamese_independence } #mutually_exclusive = { focus = SIA_for_the_preservation_of_siamese_independence } cost = 5 ai_will_do = { factor = 15 } available = { custom_trigger_tooltip = { tooltip = SIA_industrialization_drive_trigger has_completed_focus = SIA_the_khana_ratsadon } } #allow_branch = { #} offset = { x = 4 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = SIA_phibuns_premiership } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 1076 } #optional: to pick those states first if they fulfill the limit add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = SIA_asian_financial_compact icon = GFX_focus_generic_monetary_union x = -4 y = 1 relative_position_id = SIA_industrialization_drive prerequisite = { focus = SIA_industrialization_drive } mutually_exclusive = { focus = SIA_revision_of_unequal_treaties } cost = 5 ai_will_do = { factor = 15 } available = { } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = SIA_revision_of_unequal_treaties } } } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } completion_reward = { random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } add_tech_bonus = { name = SIA_asian_financial_compact bonus = 0.33 uses = 2 category = infantry_weapons # optional # technology = technology_id # optional } SIA_increase_military_approval = yes if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } focus = { id = SIA_revision_of_unequal_treaties icon = GFX_focus_generic_diplomatic_treaty x = 8 y = 0 relative_position_id = SIA_asian_financial_compact prerequisite = { focus = SIA_industrialization_drive } mutually_exclusive = { focus = SIA_asian_financial_compact } cost = 5 ai_will_do = { factor = 15 } available = { } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = SIA_asian_financial_compact } } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = idea_SIA_revision_of_unequal_treaties days = 365 } random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 869 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } focus = { id = SIA_renegotiate_teak_control icon = GFX_goal_generic_construct_infrastructure x = 2 y = 1 relative_position_id = SIA_asian_financial_compact prerequisite = { focus = SIA_asian_financial_compact focus = SIA_revision_of_unequal_treaties } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { controls_state = 869 } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 869 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 869 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = SIA_a_fledgling_tobacco_industry icon = GFX_goal_generic_construct_civ_factory x = 2 y = 0 relative_position_id = SIA_renegotiate_teak_control prerequisite = { focus = SIA_asian_financial_compact focus = SIA_revision_of_unequal_treaties } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_sanguan_tularaksa custom_effect_tooltip = newline_tt if = { limit = { OR = { has_idea = limited_exports has_idea = closed_economy } } random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } else = { custom_effect_tooltip = SIA_a_fledgling_tobacco_industry_tt custom_effect_tooltip = newline_tt } random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = SIA_all_weather_roads icon = GFX_goal_generic_construct_infrastructure x = 2 y = 0 relative_position_id = SIA_a_fledgling_tobacco_industry prerequisite = { focus = SIA_asian_financial_compact focus = SIA_revision_of_unequal_treaties } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_fully_controlled_by = ROOT infrastructure < 5 } prioritize = { 1076 868 1077 } #optional: to pick those states first if they fulfill the limit add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_core_state = { limit = { is_fully_controlled_by = ROOT infrastructure < 5 } prioritize = { 1076 868 1077 } #optional: to pick those states first if they fulfill the limit add_extra_state_shared_building_slots = 1 add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } focus = { id = SIA_the_bank_of_siam icon = GFX_focus_spa_the_spanish_miracle x = -1 y = 2 relative_position_id = SIA_asian_financial_compact prerequisite = { focus = SIA_asian_financial_compact focus = SIA_revision_of_unequal_treaties } mutually_exclusive = { focus = SIA_thai_rice_company } cost = 10 ai_will_do = { factor = 10 } available = { } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = SIA_thai_rice_company } } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = idea_SIA_bank_of_siam random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } focus = { id = SIA_thai_rice_company icon = GFX_focus_SIA_thai_rice_company x = 2 y = 2 relative_position_id = SIA_revision_of_unequal_treaties prerequisite = { focus = SIA_asian_financial_compact focus = SIA_revision_of_unequal_treaties } mutually_exclusive = { focus = SIA_the_bank_of_siam } cost = 5 ai_will_do = { factor = 10 } available = { } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = SIA_the_bank_of_siam } } } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = idea_SIA_thai_rice_company if = { limit = { has_dynamic_modifier = { modifier = idea_SIA_printing_money } } divide_variable = { var = idea_SIA_printing_money_monthly_change value = 2 } custom_effect_tooltip = SIA_printing_money_monthly_increase_halve } set_variable = { SIA_aep_research_speed_factor = 0 } set_variable = { SIA_aep_production_factory_max_efficiency_factor = 0 } set_variable = { SIA_aep_industrial_capacity_factory = 0 } set_variable = { SIA_aep_industrial_capacity_dockyard = 0 } set_variable = { SIA_aep_extraction = 0 } set_variable = { SIA_aep_factory_energy_consumption = 0 } set_variable = { SIA_aep_production_speed_arms_factory_factor = 0 } set_variable = { SIA_aep_surrender_limit = 0 } set_variable = { SIA_aep_production_lack_of_resource_penalty_factor = 0 } set_variable = { SIA_aep_convoy_retreat_speed = 0 } set_variable = { SIA_aep_weekly_convoys_war_support = 0 } set_variable = { SIA_aep_resource_trade_cost_bonus_per_factory = 0 } set_variable = { SIA_aep_production_speed_arms_factory_factor = 0.05 } #Flame set_variable = { SIA_aep_recruitable_population_factor = 0 } set_variable = { SIA_aep_static_anti_air_hit_chance_factor = 0 } set_variable = { SIA_aep_supply_consumption_factor = 0 } set_variable = { SIA_aep_production_speed_bunker_factor = 0 } set_variable = { SIA_aep_production_speed_coastal_bunker_factor = 0 } add_dynamic_modifier = { modifier = idea_SIA_agrarian_economical_policy } random_core_state = { limit = { is_controlled_by = ROOT infrastructure < 5 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_core_state = { limit = { is_controlled_by = ROOT infrastructure < 5 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } focus = { id = SIA_send_bureaucrats_abroad icon = GFX_goal_generic_positive_trade_relations x = -2 y = 1 relative_position_id = SIA_the_bank_of_siam prerequisite = { focus = SIA_the_bank_of_siam } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { country_event = { id = siam.22 } custom_effect_tooltip = SIA_uk_japan_focus_tt event_option_tooltip = siam.22.a custom_effect_tooltip = SIA_japan_option_tt event_option_tooltip = siam.22.b } } focus = { id = SIA_baht_stabilization_act icon = GFX_focus_generic_currency_reforms x = 2 y = 0 relative_position_id = SIA_send_bureaucrats_abroad prerequisite = { focus = SIA_the_bank_of_siam } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { country_event = { id = siam.23 } custom_effect_tooltip = SIA_uk_japan_focus_tt event_option_tooltip = siam.23.a custom_effect_tooltip = SIA_japan_option_tt event_option_tooltip = siam.23.b } } focus = { id = SIA_siamese_development_cooperative icon = GFX_focus_generic_low_cost_housing x = 2 y = 0 relative_position_id = SIA_baht_stabilization_act prerequisite = { focus = SIA_the_bank_of_siam } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { country_event = { id = siam.24 } custom_effect_tooltip = SIA_uk_japan_focus_tt event_option_tooltip = siam.24.a custom_effect_tooltip = SIA_japan_option_tt event_option_tooltip = siam.24.b } } focus = { id = SIA_boon_rawd_brewery icon = GFX_focus_SIA_boon_rawd_brewery x = 2 y = 1 relative_position_id = SIA_siamese_development_cooperative prerequisite = { focus = SIA_siamese_development_cooperative focus = SIA_reduction_of_agricultural_yield_taxes} #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = idea_SIA_boon_rawd_brewery random_core_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 1076 } #optional: to pick those states first if they fulfill the limit add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = SIA_siam_cement_group icon = GFX_goal_generic_construct_civilian x = 2 y = 0 relative_position_id = SIA_boon_rawd_brewery prerequisite = { focus = SIA_siamese_development_cooperative focus = SIA_reduction_of_agricultural_yield_taxes } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = idea_SIA_siam_cement_group random_core_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 1076 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = SIA_national_savings_bond icon = GFX_focus_SWI_issue_war_bonds x = 0 y = 1 relative_position_id = SIA_baht_stabilization_act prerequisite = { focus = SIA_baht_stabilization_act focus = SIA_siamese_development_cooperative focus = SIA_send_bureaucrats_abroad } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL } completion_reward = { add_political_power = 120 #TODO_CM Figure out if I can make better tooltip SIA_refresh_nsb_spirit = yes custom_effect_tooltip = SIA_national_savings_bond_tt show_ideas_tooltip = idea_SIA_nsb_disarmed_nation custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_national_savings_bond_volunteer_only show_ideas_tooltip = idea_SIA_nsb_volunteer_only custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_national_savings_bond_limited_conscription show_ideas_tooltip = idea_SIA_nsb_limited_conscription custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_national_savings_bond_extensive_conscription show_ideas_tooltip = idea_SIA_nsb_extensive_conscription custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_national_savings_bond_service_by_requirement show_ideas_tooltip = idea_SIA_nsb_service_by_requirement custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_national_savings_bond_all_adult_serve show_ideas_tooltip = idea_SIA_nsb_all_adults_serve custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_national_savings_bond_scraping_the_barrel show_ideas_tooltip = idea_SIA_nsb_scraping_the_barrel custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_national_savings_bond_current if = { limit = { has_idea = disarmed_nation } add_ideas = idea_SIA_nsb_disarmed_nation } else_if = { limit = { has_idea = volunteer_only } add_ideas = idea_SIA_nsb_volunteer_only } else_if = { limit = { has_idea = limited_conscription } add_ideas = idea_SIA_nsb_limited_conscription } else_if = { limit = { has_idea = extensive_conscription } add_ideas = idea_SIA_nsb_extensive_conscription } else_if = { limit = { has_idea = service_by_requirement } add_ideas = idea_SIA_nsb_service_by_requirement } else_if = { limit = { has_idea = all_adults_serve } add_ideas = idea_SIA_nsb_all_adults_serve } else_if = { limit = { has_idea = scraping_the_barrel } add_ideas = idea_SIA_nsb_scraping_the_barrel } } } focus = { id = SIA_deficit_spending icon = GFX_focus_generic_economic_recovery x = 0 y = 1 relative_position_id = SIA_national_savings_bond prerequisite = { focus = SIA_national_savings_bond } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = idea_SIA_deficit_spending days = 420 } custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_deficit_spending_tt effect_tooltip = { add_timed_idea = { idea = idea_SIA_debt_repayment days = 1080 } } } } focus = { id = SIA_acquire_light_tools icon = GFX_goal_generic_production2 x = -2 y = 1 relative_position_id = SIA_deficit_spending prerequisite = { focus = SIA_deficit_spending } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = SIA_acquire_light_tools ahead_reduction = 1 uses = 1 category = industry # optional # technology = technology_id # optional } random_core_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 1 include_locked = yes } } prioritize = { 1076 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = SIA_railway_and_port_extensions icon = GFX_focus_SWE_italian_destroyers x = 4 y = 0 relative_position_id = SIA_acquire_light_tools prerequisite = { focus = SIA_deficit_spending } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } controls_province = 7408 } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { 1076 = { add_building_construction = { type = naval_base level = 2 instant_build = yes province = 7408 } } random_core_state = { limit = { is_coastal = yes is_controlled_by = ROOT infrastructure < 5 } prioritize = { 1076 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } 724 = { add_building_construction = { type = naval_base level = 2 instant_build = yes province = 12230 } add_extra_state_shared_building_slots = 2 } random_core_state = { limit = { is_coastal = yes is_controlled_by = ROOT infrastructure < 5 } prioritize = { 724 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } focus = { id = SIA_mechanization_of_agriculture icon = GFX_focus_generic_modernizing_agriculture x = -1 y = 1 relative_position_id = SIA_acquire_light_tools prerequisite = { focus = SIA_acquire_light_tools } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 20 } available = { has_equipment = { motorized_equipment > 999 } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } completion_reward = { every_core_state = { random_select_amount = 2 limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } add_tech_bonus = { name = SIA_mechanization_of_agriculture bonus = 1 uses = 1 category = motorized_equipment # optional # technology = technology_id # optional } } } focus = { id = SIA_irrigation icon = GFX_focus_SIA_irrigation x = 2 y = 0 relative_position_id = SIA_mechanization_of_agriculture prerequisite = { focus = SIA_acquire_light_tools } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 20 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { every_core_state = { limit = { NOT = { OR = { state = 1076 state = 1066 state = 671 } } } add_dynamic_modifier = { modifier = idea_SIA_irrigation } add_extra_state_shared_building_slots = 1 } } } focus = { id = SIA_chemical_imports icon = GFX_focus_SIA_chemical_imports x = 3 y = 0 relative_position_id = SIA_irrigation prerequisite = { focus = SIA_railway_and_port_extensions } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { #Change #SIA_chemical_imports_opinion_threshold for tooltip if changing this. Seems like value does take variables directly if = { limit = { country_exists = MAL MAL = { has_opinion = { target = ROOT value > 75 } } NOT = { has_war_with = MAL is_embargoed_by = MAL } } add_offsite_building = { type = industrial_complex level = 1 } } else = { if = { limit = { MAL = { exists = yes } } MAL = { custom_effect_tooltip = SIA_chemical_imports_tt } } } if = { limit = { country_exists = JAP JAP = { has_opinion = { target = ROOT value > 75 } } NOT = { has_war_with = JAP is_embargoed_by = JAP } } add_offsite_building = { type = industrial_complex level = 1 } } else = { if = { limit = { JAP = { exists = yes } } JAP = { custom_effect_tooltip = SIA_chemical_imports_tt } } } if = { limit = { country_exists = INS INS = { has_opinion = { target = ROOT value > 75 } } NOT = { has_war_with = INS is_embargoed_by = INS } } add_offsite_building = { type = industrial_complex level = 1 } } else = { if = { limit = { INS = { exists = yes } } INS = { custom_effect_tooltip = SIA_chemical_imports_tt } } } if = { limit = { country_exists = ENG ENG = { has_opinion = { target = ROOT value > 75 } } NOT = { has_war_with = ENG is_embargoed_by = ENG } } add_offsite_building = { type = industrial_complex level = 1 } } else = { if = { limit = { ENG = { exists = yes } } ENG = { custom_effect_tooltip = SIA_chemical_imports_tt } } } } } focus = { id = SIA_foreign_currency_exchange icon = GFX_focus_generic_self_management x = 0 y = 1 relative_position_id = SIA_mechanization_of_agriculture prerequisite = { focus = SIA_mechanization_of_agriculture } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 30 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNATIONAL_TRADE } completion_reward = { swap_ideas = { remove_idea = idea_SIA_bank_of_siam add_idea = idea_SIA_bank_of_siam_2 } } } focus = { id = SIA_farmers_into_the_city icon = GFX_focus_SWE_landsverk x = 2 y = 0 relative_position_id = SIA_foreign_currency_exchange prerequisite = { focus = SIA_irrigation } prerequisite = {focus = SIA_mechanization_of_agriculture } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 20 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } 1076 = { is_controlled_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER } completion_reward = { 1076 = { add_dynamic_modifier = { modifier = idea_SIA_farmers_moving_to_bangkok_good } increase_state_category = yes if = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_building_construction = { type = dockyard level = 1 instant_build = yes } } } #only for show every_state = { limit = { is_in_array = { array = ROOT.core_states_at_game_start value = THIS } NOT = { state = 1076 } } add_dynamic_modifier = { modifier = idea_SIA_farmers_moving_to_bangkok_bad } } hidden_effect = { add_manpower = -10400 } } } focus = { id = SIA_textile_mills icon = GFX_goal_generic_construct_civ_factory x = 3 y = 1 relative_position_id = SIA_farmers_into_the_city prerequisite = { focus = SIA_farmers_into_the_city } prerequisite = { focus = SIA_chemical_imports } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 20 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 1076 } #optional: to pick those states first if they fulfill the limit add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_core_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 1076 } #optional: to pick those states first if they fulfill the limit add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } focus = { id = SIA_public_credit icon = GFX_focus_usa_reestablish_the_gold_standard x = 0 y = 1 relative_position_id = SIA_foreign_currency_exchange prerequisite = { focus = SIA_foreign_currency_exchange } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 20 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { free_building_slots = { building = industrial_complex size > 3 include_locked = yes } is_controlled_by = ROOT } prioritize = { 1076 } add_extra_state_shared_building_slots = 4 add_building_construction = { type = industrial_complex level = 4 instant_build = yes } } add_ideas = idea_SIA_public_credit_debt set_country_flag = { flag = SIA_release_contigency_funds days = 180 value = 1 } custom_effect_tooltip = newline_tt unlock_decision_tooltip = { decision = SIA_public_credit_repayment show_effect_tooltip = yes show_modifiers = yes } } } focus = { id = SIA_a_modern_economy icon = GFX_focus_SIA_a_modern_economy x = 3 y = 1 relative_position_id = SIA_public_credit prerequisite = { focus = SIA_public_credit } prerequisite = { focus = SIA_textile_mills } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 40 } available = { num_of_factories > 50 } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_timed_idea = { idea = idea_SIA_a_modern_economy days = 365 } } } focus = { id = SIA_reduction_of_agricultural_yield_taxes icon = GFX_focus_generic_agricultural_subsidies x = -2 y = 1 relative_position_id = SIA_thai_rice_company prerequisite = { focus = SIA_thai_rice_company } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_dynamic_modifier = { modifier = idea_SIA_agricultural_tax_reduction } custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_reduction_of_agricultural_yield_taxes_tt effect_tooltip = { add_tech_bonus = { name = SIA_agricultural_tax_reduction bonus = 0.25 ahead_reduction = 2 uses = 1 category = industry } } } } focus = { id = SIA_diversity_foreign_reserves icon = GFX_focus_ARG_anti_corruption_policies x = 2 y = 1 relative_position_id = SIA_thai_rice_company prerequisite = { focus = SIA_thai_rice_company } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } bypass = { } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INTERNATIONAL_TRADE } completion_reward = { add_offsite_building = { type = arms_factory level = 2 } custom_effect_tooltip = SIA_diversity_foreign_reserves_tt custom_effect_tooltip = newline_tt custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_production_factory_start_efficiency_factor = 0.1 tooltip = production_factory_start_efficiency_factor_tt } } } focus = { id = SIA_contingency_funds icon = GFX_focus_mex_privatisation x = 0 y = 2 relative_position_id = SIA_diversity_foreign_reserves prerequisite = { focus = SIA_diversity_foreign_reserves } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } bypass = { any_enemy_country = { is_major = yes } } enable_automatic_bypass = no search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_dynamic_modifier = { modifier = idea_SIA_contingency_funds } custom_effect_tooltip = newline_tt custom_effect_tooltip = SIA_contingency_funds_tt custom_effect_tooltip = newline_tt unlock_decision_tooltip = { decision = SIA_release_contigency_funds show_effect_tooltip = no # default is no show_modifiers = no # default is no } set_variable = { SIA_contingency_funds = 1 } set_variable = { SIA_contingency_funds_industrial_capacity_factory = 0 } set_variable = { SIA_contingency_funds_industrial_capacity_dockyard = 0 } set_variable = { SIA_contingency_funds_production_speed_buildings_factor = 0 } set_variable = { SIA_contingency_funds_local_resources_factor = 0 } SIA_decrease_civilian_approval = yes SIA_increase_military_approval = yes } } focus = { id = SIA_fuel_oil_act icon = GFX_focus_generic_resource_extraction x = 2 y = 1 relative_position_id = SIA_contingency_funds prerequisite = { focus = SIA_contingency_funds } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } completion_reward = { custom_effect_tooltip = available_political_advisor show_ideas_tooltip = SIA_vanich_pananont if = { limit = { NOT = { has_tech = fuel_silos } } set_technology = { fuel_silos = 1 popup = no } effect_tooltip = { #Tooltip doesn't appear if fuel silos isn't unlocked with free_building_slots... random_core_state = { limit = { is_controlled_by = ROOT } add_extra_state_shared_building_slots = 2 add_building_construction = { type = fuel_silo level = 2 instant_build = yes } } } } random_core_state = { limit = { is_controlled_by = ROOT free_building_slots = { building = fuel_silo size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = fuel_silo level = 2 instant_build = yes } } add_tech_bonus = { name = SIA_fuel_oil_act bonus = 0.5 uses = 1 category = synth_resources } if = { limit = { has_dlc = "By Blood Alone" } add_tech_bonus = { name = SIA_fuel_oil_act bonus = 0.5 uses = 1 category = cat_air_engine } } if = { limit = { has_dlc = "No Step Back" } add_tech_bonus = { name = SIA_fuel_oil_act bonus = 0.5 uses = 1 category = cat_air_engine } } } } focus = { id = SIA_siam_electricity_company icon = GFX_focus_ARG_develop_the_electricity_sector x = 2 y = 0 relative_position_id = SIA_fuel_oil_act prerequisite = { focus = SIA_contingency_funds } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { name = SIA_siam_electricity_company ahead_reduction = 1 uses = 1 category = electronics # optional # technology = technology_id # optional } custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_research_speed_factor = 0.08 tooltip = research_speed_factor_tt } SIA_increase_civilian_approval = yes } } focus = { id = SIA_revise_the_taxation_system icon = GFX_focus_generic_price_controls x = 0 y = 1 relative_position_id = SIA_reduction_of_agricultural_yield_taxes prerequisite = { focus = SIA_reduction_of_agricultural_yield_taxes } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt } add_to_variable = { SIA_aep_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt } add_to_variable = { SIA_aep_industrial_capacity_dockyard = 0.05 tooltip = industrial_capacity_dockyard_tt } add_to_variable = { SIA_aep_extraction = 0.05 tooltip = local_resources_factor_tt } SIA_increase_civilian_approval = yes SIA_decrease_military_approval = yes } } focus = { id = SIA_census_the_hill_tribes icon = GFX_focus_ETH_freedom_at_gunpoint x = 0 y = 1 relative_position_id = SIA_revise_the_taxation_system prerequisite = { focus = SIA_revise_the_taxation_system } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { # Est 861454 Hill Tribe population in 2002 # average population compound growth rate in Thailand between 2002 - 1960 was 2.10% for data that is available # so 861.454 / (1.021^62) ≈ 237.485 # Half of those being women and werent allowed to serve during WW2 - The Hill Tribe Welfare Division's 2002 tabulation puts the ratio at 100.85:100 = 119.245 males # https://doi.org/ 10.22624/AIMS/iSTEAMS-2019/V18N1P7 gives approx 33.2%+- of men in the pyramid, (assuming 18-60 all adult-serve). Skipping mobilization laws factor for simplicity yields # 119245*0.332 = 39589~=40000 add_manpower = 40000 } } focus = { id = SIA_increase_rice_exports icon = GFX_focus_generic_farmland x = 2 y = 0 relative_position_id = SIA_revise_the_taxation_system prerequisite = { focus = SIA_reduction_of_agricultural_yield_taxes } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNATIONAL_TRADE } completion_reward = { custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt } add_to_variable = { SIA_aep_industrial_capacity_dockyard = 0.05 tooltip = industrial_capacity_dockyard_tt } add_to_variable = { SIA_aep_min_export = 0.15 tooltip = min_export_tt } add_to_variable = { SIA_aep_research_speed_factor = 0.05 tooltip = research_speed_factor_tt } } } focus = { id = SIA_pad_thai icon = GFX_focus_SIA_pad_thai x = 0 y = 1 relative_position_id = SIA_thai_rice_company prerequisite = { focus = SIA_thai_rice_company } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_war_support = 0.05 add_stability = 0.05 add_political_power = 150 } } focus = { id = SIA_rice_husk_steam_turbines icon = GFX_focus_SIA_rice_husk_steam_turbines x = 0 y = 1 relative_position_id = SIA_fuel_oil_act prerequisite = { focus = SIA_fuel_oil_act } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_factory_energy_consumption= -0.1 tooltip = factory_energy_consumption_tt } add_to_variable = { SIA_aep_extraction = 0.05 tooltip = local_resources_factor_tt } every_core_state = { random_select_amount = 2 limit = { is_controlled_by = ROOT } add_building_construction = { type = synthetic_refinery level = 1 instant_build = yes } } } } focus = { id = SIA_domestic_tin_smelters icon = GFX_focus_GER_factories_for_resources x = 0 y = 1 relative_position_id = SIA_siam_electricity_company prerequisite = { focus = SIA_siam_electricity_company } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_resource = { type = steel amount = 6 state = 724 } add_resource = { type = chromium amount = 8 state = 724 } add_resource = { type = tungsten amount = 8 state = 289 } add_resource = { type = coal amount = 8 state = 869 } add_tech_bonus = { name = SIA_domestic_tin_smelters bonus = 0.75 uses = 1 category = excavation_tech # } custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_extraction = 0.05 tooltip = local_resources_factor_tt } unlock_decision_tooltip = { decision = open_mae_moh_lignite_mine show_effect_tooltip = yes show_modifiers = yes } } } focus = { id = SIA_use_ships_as_generators icon = GFX_focus_SIA_use_ships_as_generators x = 1 y = 1 relative_position_id = SIA_rice_husk_steam_turbines prerequisite = { focus = SIA_domestic_tin_smelters focus = SIA_rice_husk_steam_turbines } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = SIA_use_ships_as_generators_tt } } focus = { id = SIA_kasetsart_university icon = GFX_focus_research x = 4 y = 1 relative_position_id = SIA_railway_and_port_extensions prerequisite = { focus = SIA_railway_and_port_extensions focus = SIA_prepare_for_the_next_blockade } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 40 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_research_slot = 1 } } focus = { id = SIA_mahidol_university icon = GFX_focus_research x = 0 y = 1 relative_position_id = SIA_kasetsart_university prerequisite = { focus = SIA_kasetsart_university } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 40 } available = { is_major = yes num_of_factories > 100 } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_research_slot = 1 } } focus = { id = SIA_prepare_for_the_next_blockade icon = GFX_focus_generic_cruiser_submarines x = -2 y = 1 relative_position_id = SIA_contingency_funds prerequisite = { focus = SIA_contingency_funds } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_convoy_retreat_speed = 0.2 tooltip = convoy_retreat_speed_tt } add_to_variable = { SIA_aep_weekly_convoys_war_support = 0.003 tooltip = weekly_convoys_war_support_tt } add_to_variable = { SIA_aep_resource_trade_cost_bonus_per_factory = 1 tooltip = resource_trade_cost_bonus_per_factory_tt } add_equipment_to_stockpile = { type = convoy_1 amount = 35 producer = SIA } random_core_state = { limit = { is_coastal = yes free_building_slots = { building = dockyard size > 0 include_locked = yes } is_controlled_by = ROOT } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } } focus = { id = SIA_domestic_arms_industry icon = GFX_goal_generic_construct_mil_factory x = 2 y = 0 relative_position_id = SIA_prepare_for_the_next_blockade prerequisite = { focus = SIA_contingency_funds } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_production_speed_arms_factory_factor = 0.1 tooltip = production_speed_arms_factory_factor_tt } add_to_variable = { SIA_aep_production_factory_start_efficiency_factor = 0.1 tooltip = production_factory_start_efficiency_factor_tt } SIA_increase_military_approval = yes } } focus = { id = SIA_war_material_substitutions icon = GFX_focus_GER_factories_for_resources x = 0 y = 1 relative_position_id = SIA_prepare_for_the_next_blockade prerequisite = { focus = SIA_prepare_for_the_next_blockade focus = SIA_domestic_arms_industry } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_ideas = idea_SIA_war_material_substitutions custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_production_factory_start_efficiency_factor = 0.05 tooltip = production_factory_start_efficiency_factor_tt } } } focus = { id = SIA_royal_thai_ordnance_factory icon = GFX_focus_CONGO_copper_cartridges x = 2 y = 0 relative_position_id = SIA_war_material_substitutions prerequisite = { focus = SIA_domestic_arms_industry focus = SIA_prepare_for_the_next_blockade } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { SIA_increase_military_approval = yes SIA_decrease_civilian_approval = yes if = { limit = { has_dlc = "Arms Against Tyranny" } every_military_industrial_organization = { add_mio_size = 1 } } every_core_state = { random_select_amount = 3 limit = { is_controlled_by = ROOT free_building_slots = { building = arms_factory size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } focus = { id = SIA_built_to_withstand_every_flame icon = GFX_focus_SIA_built_to_withstand_every_flame x = 1 y = 1 relative_position_id = SIA_war_material_substitutions prerequisite = { focus = SIA_war_material_substitutions } prerequisite = { focus = SIA_royal_thai_ordnance_factory } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY } completion_reward = { custom_effect_tooltip = idea_SIA_agrarian_economical_policy_modify add_to_variable = { SIA_aep_surrender_limit = 0.15 tooltip = surrender_limit_tt } add_to_variable = { SIA_aep_recruitable_population_factor = 0.15 tooltip = conscription_factor_tt } add_to_variable = { SIA_aep_static_anti_air_hit_chance_factor = 0.2 tooltip = static_anti_air_hit_chance_factor_tt } add_to_variable = { SIA_aep_supply_consumption_factor = -0.10 tooltip = supply_consumption_factor_tt } add_to_variable = { SIA_aep_production_speed_bunker_factor = 0.1 tooltip = production_speed_bunker_factor_tt } add_to_variable = { SIA_aep_production_speed_coastal_bunker_factor = 0.1 tooltip = production_speed_coastal_bunker_factor_tt } add_to_variable = { SIA_aep_compliance_growth = 0.05 tooltip = compliance_growth_tt } } } ################ ### ARMY ### ################ focus = { id = SIA_the_army_of_siam icon = GFX_focus_SIA_army_of_siam x = 18 y = 0 relative_position_id = SIA_industrialization_drive #prerequisite = { focus = } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { has_war_support > 0.03 } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_dynamic_modifier = { modifier = idea_SIA_the_army_of_siam } SIA_increase_military_approval = yes } } focus = { id = SIA_plan_for_a_short_war icon = GFX_focus_SIA_prepare_for_a_short_war x = -2 y = 1 relative_position_id = SIA_the_army_of_siam prerequisite = { focus = SIA_the_army_of_siam } mutually_exclusive = { focus = SIA_intermediate_war_preparation focus = SIA_prepare_for_a_long_war } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_offsite_building = { type = arms_factory level = 3 } add_timed_idea = { idea = idea_SIA_short_war days = 180 } } } focus = { id = SIA_intermediate_war_preparation icon = GFX_focus_SIA_intermediate_war_preparation x = 2 y = 0 relative_position_id = SIA_plan_for_a_short_war prerequisite = { focus = SIA_the_army_of_siam } mutually_exclusive = { focus = SIA_plan_for_a_short_war focus = SIA_prepare_for_a_long_war } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = idea_SIA_the_army_of_siam_tt add_to_variable = { SIA_army_of_siam_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt } add_to_variable = { SIA_army_of_siam_production_speed_industrial_complex_factor = 0.05 tooltip = production_speed_industrial_complex_factor_tt } add_to_variable = { SIA_army_of_siam_production_speed_arms_factory_factor = 0.05 tooltip = production_speed_arms_factory_factor_tt } add_offsite_building = { type = arms_factory level = 1 } } } focus = { id = SIA_prepare_for_a_long_war icon = GFX_focus_SIA_prepare_for_a_long_war x = 2 y = 0 relative_position_id = SIA_intermediate_war_preparation prerequisite = { focus = SIA_the_army_of_siam } mutually_exclusive = { focus = SIA_plan_for_a_short_war focus = SIA_intermediate_war_preparation } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_RESEARCH } completion_reward = { custom_effect_tooltip = idea_SIA_the_army_of_siam_tt add_to_variable = { SIA_army_of_siam_line_change_production_efficiency_factor = 0.10 tooltip = line_change_production_efficiency_factor_tt } add_to_variable = { SIA_army_of_siam_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt } add_to_variable = { SIA_army_of_siam_research_speed_factor = 0.06 tooltip = research_speed_factor_tt } add_to_variable = { SIA_army_of_siam_land_mastery_gain_factor = 0.10 tooltip = land_mastery_gain_factor_tt } } } focus = { id = SIA_specialized_warfare icon = GFX_focus_GER_afrikakorps x = -2 y = 0 relative_position_id = SIA_plan_for_a_short_war prerequisite = { focus = SIA_the_army_of_siam } mutually_exclusive = { focus = SIA_artillery_reigns_supreme } cost = 5 ai_will_do = { factor = 15 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = idea_SIA_the_army_of_siam_tt add_to_variable = { SIA_army_of_siam_supply_consumption_factor = -0.05 tooltip = supply_consumption_factor_tt } add_to_variable = { SIA_army_of_siam_no_supply_grace = 48 tooltip = SIA_no_supply_grace_tt } add_potential_special_forces_tree = yes } } focus = { id = SIA_artillery_reigns_supreme icon = GFX_focus_SWE_let_fly_all_guns x = -2 y = 0 relative_position_id = SIA_specialized_warfare prerequisite = { focus = SIA_the_army_of_siam } mutually_exclusive = { focus = SIA_specialized_warfare } cost = 5 ai_will_do = { factor = 20 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { bonus = 0.5 uses = 2 category = artillery name = SIA_artillery_reigns_supreme } add_mastery = { amount = 50 track = combat_support } } } focus = { id = SIA_prepare_northern_infrastructure_for_war icon = GFX_goal_generic_construct_infrastructure x = 0 y = 1 relative_position_id = SIA_intermediate_war_preparation prerequisite = { focus = SIA_plan_for_a_short_war focus = SIA_intermediate_war_preparation focus = SIA_prepare_for_a_long_war } #mutually_exclusive = { } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { 868 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } add_building_construction = { type = supply_node level = 1 instant_build = yes province = 1535 } } build_railway = { start_province = 7408 target_province = 1535 build_only_on_allied = yes level = 2 } 289 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } add_building_construction = { type = supply_node level = 1 instant_build = yes province = 4566 } } build_railway = { start_province = 7408 target_province = 4566 build_only_on_allied = yes level = 2 } } } focus = { id = SIA_yield_the_air_war icon = GFX_goal_generic_radar x = 1 y = 1 relative_position_id = SIA_prepare_northern_infrastructure_for_war prerequisite = { focus = SIA_prepare_northern_infrastructure_for_war } mutually_exclusive = { focus = SIA_directorate_of_aeronautical_engineering } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_ideas = idea_SIA_yielded_the_air_war } } focus = { id = SIA_directorate_of_aeronautical_engineering icon = GFX_goal_generic_air_fighter x = -2 y = 0 relative_position_id = SIA_yield_the_air_war prerequisite = { focus = SIA_prepare_northern_infrastructure_for_war } mutually_exclusive = { focus = SIA_yield_the_air_war } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { if = { limit = { has_dlc = "Arms Against Tyranny" } mio:SIA_directorate_of_aeronautical_engineering = { add_mio_size = 2 } } else = { add_tech_bonus = { name = SIA_directorate_of_aeronautical_engineering #Usually the name of the focus decision or event that grants the bonus bonus = 1 uses = 1 category = light_air } } add_tech_bonus = { name = SIA_directorate_of_aeronautical_engineering #Usually the name of the focus decision or event that grants the bonus bonus = 0.33 uses = 3 category = air_equipment } custom_effect_tooltip = idea_SIA_the_army_of_siam_tt add_to_variable = { SIA_army_of_siam_air_range_factor = 0.15 tooltip = air_range_factor_tt } add_to_variable = { SIA_army_of_siam_air_agility_factor = 0.05 tooltip = air_agility_factor_tt } } } focus = { id = SIA_the_thunder_at_the_gates icon = GFX_focus_SIA_the_thunder_at_the_gates x = 0 y = 1 relative_position_id = SIA_artillery_reigns_supreme prerequisite = { focus = SIA_artillery_reigns_supreme } #mutually_exclusive = { } cost = 5 ai_will_do = { factor = 30 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { if = { limit = { NOT = { has_tech = basic_train } } set_technology = { basic_train = 1 popup = no } } if = { limit = { NOT = { has_tech = armored_train } } set_technology = { armored_train = 1 popup = no } } if = { limit = { NOT = { has_tech = railway_gun } } set_technology = { railway_gun = 1 popup = no } } create_railway_gun = { equipment = railway_gun_equipment_1 name = "Siamese Railway Gun #1" } custom_effect_tooltip = tech_effect|the_thunder_at_our_gates_artillery hidden_effect = { set_technology = { the_thunder_at_our_gates_artillery = 1 popup = no } } } } focus = { id = SIA_night_time_training icon = GFX_focus_SIA_night_time_training x = 0 y = 1 relative_position_id = SIA_specialized_warfare prerequisite = { focus = SIA_specialized_warfare } #mutually_exclusive = { } cost = 10 ai_will_do = { factor = 20 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = idea_SIA_the_army_of_siam_tt add_to_variable = { SIA_army_of_siam_supply_consumption_factor = -0.03 tooltip = supply_consumption_factor_tt } add_to_variable = { SIA_army_of_siam_no_supply_grace = 30 tooltip = SIA_no_supply_grace_tt } add_to_variable = { SIA_army_of_siam_land_night_attack = 0.10 tooltip = land_night_attack_tt } } } focus = { id = SIA_steel_arteries icon = GFX_focus_SIA_steel_arteries x = 1 y = 1 relative_position_id = SIA_the_thunder_at_the_gates prerequisite = { focus = SIA_the_thunder_at_the_gates focus = SIA_night_time_training } #mutually_exclusive = { } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = idea_SIA_the_army_of_siam_tt add_to_variable = { SIA_production_speed_supply_node_factor = 0.2 tooltip = production_speed_supply_node_factor_tt } add_to_variable = { SIA_army_of_siam_production_speed_infrastructure_factor = 0.2 tooltip = production_speed_infrastructure_factor_tt } add_to_variable = { SIA_army_of_siam_supply_consumption_factor = -0.05 tooltip = supply_consumption_factor_tt } SIA_increase_civilian_approval = yes } } focus = { id = SIA_unconventional_tank_construction icon = GFX_focus_generic_tank_assembly x = 3 y = 0 relative_position_id = SIA_prepare_for_a_long_war prerequisite = { focus = SIA_the_army_of_siam } mutually_exclusive = { focus = SIA_conventional_tank_construction } cost = 5 ai_will_do = { factor = 20 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_ideas = idea_SIA_unconventional_tank_construction } } focus = { id = SIA_conventional_tank_construction icon = GFX_focus_generic_tank_production x = 4 y = 0 relative_position_id = SIA_unconventional_tank_construction prerequisite = { focus = SIA_the_army_of_siam } mutually_exclusive = { focus = SIA_unconventional_tank_construction } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { country_event = { id = siam.29 } } } focus = { id = SIA_reverse_engineer_allied_tanks icon = GFX_focus_SIA_reverse_engineer_allied_tanks x = 0 y = 1 relative_position_id = SIA_conventional_tank_construction prerequisite = { focus = SIA_conventional_tank_construction } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { OR = { AND = { controls_state = 993 controls_state = 999 } AND = { controls_state = 671 controls_state = 670 controls_state = 286 controls_state = 741 controls_state = 1017 controls_state = 1066 controls_state = 1067 controls_state = 1068 controls_state = 1069 } } } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { bonus = 0.5 uses = 3 category = armor name = SIA_reverse_engineer_allied_tanks } if = { limit = { has_dlc = "No Step Back" } set_technology = { gwtank_chassis = 1 basic_light_tank_chassis = 1 improved_light_tank_chassis = 1 popup = no } create_equipment_variant = { name = "V-76" type = light_tank_chassis_2 upgrades = { tank_nsb_engine_upgrade = 10 tank_nsb_armor_upgrade = 2 } modules={ main_armament_slot=tank_small_cannon_2 engine_type_slot=tank_gasoline_engine turret_type_slot=tank_light_two_man_tank_turret suspension_type_slot=tank_christie_suspension armor_type_slot=tank_welded_armor } model = "FRA_light_armor_entity" icon = "GFX_ENG_improved_light_tank_medium" allow_without_tech = yes } } else = { set_technology = { gwtank = 1 basic_light_tank = 1 improved_light_tank = 1 popup = no } create_equipment_variant = { ## Create non-NSB T34 variant and tech name = "V-76" type = light_tank_equipment_2 icon = "GFX_ENG_improved_light_tank_medium" } } } } focus = { id = SIA_tankettes icon = GFX_focus_generic_tankette x = 2 y = 1 relative_position_id = SIA_unconventional_tank_construction prerequisite = { focus = SIA_unconventional_tank_construction focus = SIA_conventional_tank_construction } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_ideas = SIA_siamese_tankettes add_tech_bonus = { name = SIA_siamese_tankettes bonus = 1 uses = 1 category = cat_light_armor } } } focus = { id = SIA_jungle_armor icon = GFX_focus_SIA_jungle_tanks x = 0 y = 1 relative_position_id = SIA_unconventional_tank_construction prerequisite = { focus = SIA_unconventional_tank_construction } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { custom_effect_tooltip = jungle_tanks_tt hidden_effect = { set_technology = { jungle_tanks = 1 popup = yes } } } } focus = { id = SIA_mountain_tanks icon = GFX_focus_GRE_a_land_of_mountains x = -2 y = 0 relative_position_id = SIA_jungle_armor prerequisite = { focus = SIA_unconventional_tank_construction } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { custom_effect_tooltip = mountain_tanks_tt # hidden_effect = { set_technology = { mountain_tanks = 1 popup = yes } # } } } ######################### ### Submit or Die ### ######################### focus = { id = SIA_reluctant_submission icon = GFX_focus_generic_surrender x = 15 y = 0 relative_position_id = SIA_the_army_of_siam #prerequisite = { focus = } mutually_exclusive = { focus = SIA_standing_our_ground } cost = 5 ai_will_do = { factor = 10 } available = { custom_trigger_tooltip = { tooltip = SIA_reluctant_submission_trigger always = no } } bypass = { is_in_faction_with = JAP } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = SIA_standing_our_ground } } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { hidden_effect = { country_event = { id = siam.35 days = 30 random_days = 30 } } custom_effect_tooltip = SIA_reluctant_submission_tt if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } focus = { id = SIA_seri_thai icon = GFX_focus_ARG_defense_and_democracy x = -3 y = 1 relative_position_id = SIA_reluctant_submission prerequisite = { focus = SIA_reluctant_submission } mutually_exclusive = { focus = SIA_the_phayap_army } cost = 5 ai_will_do = { factor = 5 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_sway_generals_to_seri_thai_tt custom_effect_tooltip = { localization_key = SIA_unlock_character_as_advisor_tt CHARACTER = SIA_rambai_barni } add_dynamic_modifier = { modifier = idea_SIA_seri_thai_contacts } set_Variable = { SIA_seri_thai_cw_scale = 0 } SIA_increase_civilian_approval = yes SIA_decrease_military_approval = yes } } focus = { id = SIA_contact_the_south_east_asia_command icon = GFX_focus_RAJ_circuvment_demobilization_restrictions x = -1 y = 1 relative_position_id = SIA_seri_thai prerequisite = { focus = SIA_seri_thai } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_to_variable = { seri_thai_contacts_max_command_power_mult = 0.2 tooltip = max_command_power_mult_tt } add_to_variable = { seri_thai_contacts_command_power_gain = 0.2 tooltip = command_power_gain_tt } add_offsite_building = { type = arms_factory level = 3 } } } focus = { id = SIA_broadcast_weather_reports_to_the_allies icon = GFX_goal_generic_intelligence_exchange x = 0 y = 1 relative_position_id = SIA_contact_the_south_east_asia_command prerequisite = { focus = SIA_contact_the_south_east_asia_command } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_WAR_SUPPORT } completion_reward = { every_enemy_country = { limit = { has_government = democratic } add_ideas = idea_SIA_weather_broadcasts } add_ideas = idea_SIA_weather_broadcasts } } focus = { id = SIA_american_investment_aid icon = GFX_focus_generic_american_investments x = 1 y = 1 relative_position_id = SIA_seri_thai prerequisite = { focus = SIA_seri_thai } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { custom_effect_tooltip = SIA_when_civil_war_starts effect_tooltip = { add_cic = 15000 add_equipment_to_stockpile = { type = infantry_equipment amount = 1200 producer = USA } add_equipment_to_stockpile = { type = support_equipment amount = 150 producer = USA } add_equipment_to_stockpile = { type = artillery_equipment amount = 70 producer = USA } } } } focus = { id = SIA_thai_students_in_the_oss icon = GFX_focus_generic_secret_service_agency x = 0 y = 1 relative_position_id = SIA_american_investment_aid prerequisite = { focus = SIA_american_investment_aid } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_when_civil_war_starts effect_tooltip = { SIA_thai_students_in_the_oss_effect = yes } } } focus = { id = SIA_prepare_to_drop icon = GFX_focus_generic_paratrooper x = 0 y = 1 relative_position_id = SIA_thai_students_in_the_oss prerequisite = { focus = SIA_thai_students_in_the_oss } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_ideas = idea_SIA_oss_special_forces_training custom_effect_tooltip = SIA_when_civil_war_starts effect_tooltip = { division_template = { name = "Expeditionary Paratrooper Division" division_names_group = ENG_PAR_01 is_locked = no regiments = { paratrooper = { x = 0 y = 0 } paratrooper = { x = 0 y = 1 } paratrooper = { x = 0 y = 2 } paratrooper = { x = 1 y = 0 } paratrooper = { x = 1 y = 1 } paratrooper = { x = 1 y = 2 } paratrooper = { x = 2 y = 0 } paratrooper = { x = 2 y = 1 } paratrooper = { x = 2 y = 2 } } } random_owned_controlled_state = { create_unit = { division = "name = \"Expeditionary Paratrooper Division\" division_template = \"Expeditionary Paratrooper Division\" start_experience_factor = 1.0" owner = PREV } } random_owned_controlled_state = { create_unit = { division = "name = \"Expeditionary Paratrooper Division\" division_template = \"Expeditionary Paratrooper Division\" start_experience_factor = 1.0" owner = PREV } } random_owned_controlled_state = { create_unit = { division = "name = \"Expeditionary Paratrooper Division\" division_template = \"Expeditionary Paratrooper Division\" start_experience_factor = 1.0" owner = PREV } } } } } focus = { id = SIA_unseat_the_government icon = GFX_focus_BEL_government_resigns x = -1 y = 1 relative_position_id = SIA_prepare_to_drop prerequisite = { focus = SIA_prepare_to_drop } prerequisite = { focus = SIA_broadcast_weather_reports_to_the_allies } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { democratic > 0.35 } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = SIA_unseat_the_government_tt custom_effect_tooltip = newline_tt hidden_effect = { # Generals swayed via the Seri Thai decisions stay with us; everyone else joins the loyalist revolt. # These always side with us, regardless of the sway decisions. if = { limit = { has_character = SIA_bowardej } SIA_bowardej = { set_character_flag = SIA_seri_thai_swayed } } if = { limit = { has_character = SIA_rangsit_prayurasakdi } SIA_rangsit_prayurasakdi = { set_character_flag = SIA_seri_thai_swayed } } if = { limit = { has_character = SIA_adul_aduldejajaras } SIA_adul_aduldejajaras = { set_character_flag = SIA_seri_thai_swayed } } if = { limit = { has_character = SIA_phraya_songsuradet } SIA_phraya_songsuradet = { set_character_flag = SIA_seri_thai_swayed } } if = { limit = { has_character = SIA_prince_subhasvasti } SIA_prince_subhasvasti = { set_character_flag = SIA_seri_thai_swayed } } add_to_variable = { SIA_seri_thai_cw_scale = party_popularity@democratic } if = { limit = { check_variable = { SIA_seri_thai_cw_scale > 0.8 } } set_politics = { ruling_party = democratic elections_allowed = yes } } else = { start_civil_war = { ruling_party = democratic ideology = ROOT size = var:SIA_seri_thai_cw_scale # the current (revolting-ideology) leader heads the loyalist revolt keep_political_leader = no keep_unit_leaders_trigger = { has_character_flag = SIA_seri_thai_swayed } # Phibun always sides with the loyalist revolt, never us PREV = { if = { limit = { has_character = SIA_plaek_phibunsongkhram } SIA_plaek_phibunsongkhram = { set_nationality = PREV.PREV } } } } } join_allies_effect = yes } SIA_increase_civilian_approval = yes # The printing-money arrangement with Japan ends; we seize their funds for our own use. if = { limit = { has_dynamic_modifier = { modifier = idea_SIA_printing_money } } remove_dynamic_modifier = { modifier = idea_SIA_printing_money } } add_timed_idea = { idea = idea_SIA_seized_japanese_funds days = 365 } # The victors must now choose who heads the new government. custom_effect_tooltip = SIA_choose_new_leader_tt country_event = { id = siam_dem.5 hours = 2 } } } focus = { id = SIA_the_phayap_army icon = GFX_focus_generic_army_attack x = 5 y = 0 relative_position_id = SIA_seri_thai prerequisite = { focus = SIA_reluctant_submission } mutually_exclusive = { focus = SIA_seri_thai } cost = 5 ai_will_do = { factor = 5 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { add_tech_bonus = { bonus = 0.25 uses = 1 category = artillery name = SIA_the_phayap_army } add_tech_bonus = { bonus = 0.50 uses = 1 category = support_tech name = SIA_the_phayap_army } random_owned_controlled_state = { create_unit = { division = "name = \"Royal Thai Division\" division_template = \"Royal Thai Division\" start_experience_factor = 1.0" owner = PREV } create_unit = { division = "name = \"Royal Thai Division\" division_template = \"Royal Thai Division\" start_experience_factor = 1.0" owner = PREV } create_unit = { division = "name = \"Royal Thai Division\" division_template = \"Royal Thai Division\" start_experience_factor = 1.0" owner = PREV } } declare_war_on = { target = CHI type = puppet_wargoal_focus } } } focus = { id = SIA_securing_the_rubber_islands icon = GFX_focus_generic_rubber x = -1 y = 1 relative_position_id = SIA_the_phayap_army prerequisite = { focus = SIA_the_phayap_army } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_RESEARCH } completion_reward = { create_wargoal = { type = puppet_wargoal_focus target = MAL } add_tech_bonus = { bonus = 0.25 uses = 2 category = excavation_tech name = SIA_securing_the_rubber_islands } add_timed_idea = { idea = idea_SIA_secure_rubber_islands days = 180 } } } focus = { id = SIA_breaking_the_burmese_line icon = GFX_focus_generic_jungle_training x = -1 y = 1 relative_position_id = SIA_securing_the_rubber_islands prerequisite = { focus = SIA_securing_the_rubber_islands } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { add_timed_idea = { idea = idea_SIA_breaking_the_burmese_line days = 90 } } } focus = { id = SIA_pacific_war icon = GFX_focus_GER_sentinels_of_the_pacific x = 2 y = 0 relative_position_id = SIA_breaking_the_burmese_line prerequisite = { focus = SIA_securing_the_rubber_islands } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_NAVY_XP } completion_reward = { navy_experience = 50 custom_effect_tooltip = SIA_activate_naval_raid_tt } } focus = { id = SIA_joint_asian_military_command icon = GFX_goal_generic_military_sphere x = 2 y = 1 relative_position_id = SIA_the_phayap_army prerequisite = { focus = SIA_the_phayap_army } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_ARMY_XP } completion_reward = { add_ideas = idea_SIA_joint_military_command } } focus = { id = SIA_demand_repatriation icon = GFX_goal_generic_demand_territory x = 0 y = 1 relative_position_id = SIA_joint_asian_military_command prerequisite = { focus = SIA_joint_asian_military_command } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 200 } available = { any_war_score > 8 is_ally_with = JAP } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { JAP = { country_event = { id = siam.36 } } } } focus = { id = SIA_standing_our_ground icon = GFX_goal_generic_defence x = 8 y = 0 relative_position_id = SIA_reluctant_submission #prerequisite = { focus = } mutually_exclusive = { focus = SIA_reluctant_submission } cost = 5 ai_will_do = { factor = 10 } available = { custom_trigger_tooltip = { tooltip = SIA_standing_our_ground_trigger always = no } } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = SIA_reluctant_submission } } } offset = { x = -9 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = SIA_standing_our_ground } } search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { add_timed_idea = { idea = idea_SIA_standing_our_ground_mission_temp_buff days = 90 } #activate_mission = SIA_standing_our_ground_mission SIA_increase_civilian_approval = yes SIA_increase_military_approval = yes if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } focus = { id = SIA_ask_for_the_release_of_american_commodities icon = GFX_goal_generic_trade x = -1 y = 1 relative_position_id = SIA_standing_our_ground prerequisite = { focus = SIA_standing_our_ground } mutually_exclusive = { focus = SIA_japanese_fighters } cost = 5 ai_will_do = { factor = 10 } available = { NOT = { has_war_with = USA } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_offsite_building = { type = industrial_complex level = 2 } add_offsite_building = { type = arms_factory level = 1 } } } focus = { id = SIA_japanese_fighters icon = GFX_goal_generic_air_fighter x = 2 y = 0 relative_position_id = SIA_ask_for_the_release_of_american_commodities prerequisite = { focus = SIA_standing_our_ground } mutually_exclusive = { focus = SIA_ask_for_the_release_of_american_commodities } cost = 5 ai_will_do = { factor = 10 } available = { NOT = { has_war_with = JAP } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_equipment_to_stockpile = { type = small_plane_airframe amount = 120 producer = JAP } } } focus = { id = SIA_get_off_our_shores icon = GFX_focus_ARG_establish_the_free_association x = 2 y = 0 relative_position_id = SIA_japanese_fighters prerequisite = { focus = SIA_standing_our_ground } #mutually_exclusive = { focus = } cost = 1 ai_will_do = { factor = 10 } available = { any_core_state = { NOT = { is_controlled_by = ROOT } } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER } completion_reward = { add_timed_idea = { idea = idea_SIA_get_off_our_shores days = 42 } custom_effect_tooltip = newline_tt if = { limit = { NOT = { has_idea = tot_economic_mobilisation } NOT = { has_idea = war_economy } } add_ideas = war_economy } custom_effect_tooltip = newline_tt random_owned_controlled_state = { create_unit = { division = "name = \"Royal Thai Division\" division_template = \"Royal Thai Division\" start_experience_factor = 1.0" owner = PREV } create_unit = { division = "name = \"Royal Thai Division\" division_template = \"Royal Thai Division\" start_experience_factor = 1.0" owner = PREV } create_unit = { division = "name = \"Royal Thai Division\" division_template = \"Royal Thai Division\" start_experience_factor = 1.0" owner = PREV } create_unit = { division = "name = \"Royal Thai Division\" division_template = \"Royal Thai Division\" start_experience_factor = 1.0" owner = PREV } } } } focus = { id = SIA_singaporean_reinforcements icon = GFX_goal_generic_allies_build_infantry x = 0 y = 1 relative_position_id = SIA_ask_for_the_release_of_american_commodities prerequisite = { focus = SIA_ask_for_the_release_of_american_commodities } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_RESEARCH } completion_reward = { add_manpower = 27000 add_tech_bonus = { name = SIA_singaporean_reinforcements bonus = 0.5 uses = 1 category = support_tech } } } focus = { id = SIA_aid_for_resources icon = GFX_focus_GER_factories_for_resources x = 2 y = 0 relative_position_id = SIA_singaporean_reinforcements prerequisite = { focus = SIA_japanese_fighters } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } bypass = { JAP = { OR = { exists = no has_war_with = ROOT } } } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { JAP = { country_event = { id = siam.48 hours = 2 } } custom_effect_tooltip = SIA_aid_for_resources_tt } } focus = { id = SIA_how_quickly_the_tables_turn icon = GFX_goal_generic_political_pressure x = 1 y = 1 relative_position_id = SIA_singaporean_reinforcements prerequisite = { focus = SIA_singaporean_reinforcements focus = SIA_aid_for_resources } #mutually_exclusive = { focus = } cost = 10 ai_will_do = { factor = 10 } available = { if = { limit = { has_variable = SIA_first_major_attacking_country } var:SIA_first_major_attacking_country = { has_capitulated = yes } } else = { custom_trigger_tooltip = { tooltip = SIA_how_quickly_the_tables_turn_trigger always = no } } } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { if = { limit = { has_variable = SIA_first_major_attacking_country } var:SIA_first_major_attacking_country = { add_ideas = idea_SIA_how_quickly_the_table_turns } } else = { effect_tooltip = { add_ideas = idea_SIA_how_quickly_the_table_turns } } } } ############## ### Navy ### ############## focus = { id = SIA_royal_thai_navy icon = GFX_focus_SIA_royal_thai_navy x = 20 y = 0 relative_position_id = SIA_reluctant_submission #prerequisite = { focus = } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 5 } available = { has_war_support > 0.03 any_controlled_state = { is_coastal = yes is_owned_by = ROOT } } offset = { x = -6 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = SIA_reluctant_submission } } offset = { x = -8 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = SIA_standing_our_ground } } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP } completion_reward = { add_dynamic_modifier = { modifier = idea_SIA_thai_royal_navy } add_to_variable = { SIA_royal_navy_experience_gain_navy = 0.02 tooltip = experience_gain_navy_tt } random_core_state = { limit = { is_coastal = yes free_building_slots = { building = dockyard size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } } focus = { id = SIA_direct_army_fundings_towards_the_navy icon = GFX_focus_generic_sway_navy x = 0 y = 1 relative_position_id = SIA_royal_thai_navy prerequisite = { focus = SIA_royal_thai_navy } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { add_ideas = idea_SIA_diverting_army_funds_to_navy SIA_increase_civilian_approval = yes SIA_decrease_military_approval = yes unlock_decision_tooltip = { decision = SIA_divert_army_funds_to_navy_toggle } SIA_decrease_military_approval = yes SIA_increase_civilian_approval = yes } } focus = { id = SIA_thonburi_class_coastal_defense_ship icon = GFX_focus_FIN_coastal_defense x = -5 y = 0 relative_position_id = SIA_direct_army_fundings_towards_the_navy prerequisite = { focus = SIA_royal_thai_navy } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { country_event = { id = siam.32 } } } focus = { id = SIA_acquire_submarines icon = GFX_focus_PRC_submarines x = -2 y = 0 relative_position_id = SIA_thonburi_class_coastal_defense_ship prerequisite = { focus = SIA_royal_thai_navy } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { country_event = { id = siam.31 } custom_effect_tooltip = generic_choice_tt event_option_tooltip = siam.31.a custom_effect_tooltip = generic_or_tt event_option_tooltip = siam.31.b } } focus = { id = SIA_submarine_day icon = GFX_goal_generic_navy_submarine x = 0 y = 1 relative_position_id = SIA_acquire_submarines prerequisite = { focus = SIA_acquire_submarines } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } completion_reward = { add_tech_bonus = { bonus = 0.75 uses = 1 category = ss_tech name = SIA_submarine_day } add_stability = 0.03 add_war_support = 0.05 SIA_increase_military_approval = yes } } focus = { id = SIA_the_thonburi_dockyard_project icon = GFX_focus_generic_navy_research_bonus # x = -3 y = 2 relative_position_id = SIA_royal_thai_navy prerequisite = { focus = SIA_royal_thai_navy } mutually_exclusive = { focus = SIA_focus_on_commercial_civilian_ships } cost = 5 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } 1076 = { is_owned_by = ROOT is_fully_controlled_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_fully_controlled_by = ROOT is_coastal = yes free_building_slots = { building = dockyard size > 0 include_locked = yes } } prioritize = { 1076 } add_extra_state_shared_building_slots = 3 add_building_construction = { type = dockyard level = 3 instant_build = yes } } custom_effect_tooltip = modify_royal_thai_navy add_to_variable = { SIA_royal_navy_industrial_capacity_dockyard = 0.10 tooltip = industrial_capacity_dockyard_tt } } } focus = { id = SIA_expand_the_slipways icon = GFX_goal_generic_build_navy x = -3 y = 1 relative_position_id = SIA_the_thonburi_dockyard_project prerequisite = { focus = SIA_the_thonburi_dockyard_project } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } 1076 = { is_owned_by = ROOT is_fully_controlled_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_fully_controlled_by = ROOT is_coastal = yes free_building_slots = { building = dockyard size > 0 include_locked = yes } } prioritize = { 1076 } add_extra_state_shared_building_slots = 2 add_building_construction = { type = dockyard level = 2 instant_build = yes } } custom_effect_tooltip = modify_royal_thai_navy add_to_variable = { SIA_royal_navy_industrial_capacity_dockyard = 0.05 tooltip = industrial_capacity_dockyard_tt } } } focus = { id = SIA_a_new_drydock icon = GFX_goal_generic_construct_naval_dockyard x = 2 y = 0 relative_position_id = SIA_expand_the_slipways prerequisite = { focus = SIA_the_thonburi_dockyard_project } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } 1076 = { is_owned_by = ROOT is_fully_controlled_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_fully_controlled_by = ROOT is_coastal = yes free_building_slots = { building = dockyard size > 0 include_locked = yes } } prioritize = { 1076 } add_extra_state_shared_building_slots = 2 add_building_construction = { type = dockyard level = 2 instant_build = yes } } custom_effect_tooltip = modify_royal_thai_navy add_to_variable = { SIA_royal_navy_repair_speed_factor = 0.25 tooltip = repair_speed_factor_tt } } } focus = { id = SIA_install_heavy_cranes_and_power_plant icon = GFX_focus_generic_energy x = 2 y = 0 relative_position_id = SIA_a_new_drydock prerequisite = { focus = SIA_the_thonburi_dockyard_project } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } 1076 = { is_owned_by = ROOT is_fully_controlled_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_fully_controlled_by = ROOT is_coastal = yes free_building_slots = { building = dockyard size > 1 include_locked = yes } } prioritize = { 1076 } add_extra_state_shared_building_slots = 2 add_building_construction = { type = dockyard level = 1 instant_build = yes } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } custom_effect_tooltip = modify_royal_thai_navy add_to_variable = { SIA_royal_navy_industrial_capacity_dockyard = 0.10 tooltip = industrial_capacity_dockyard_tt } add_to_variable = { SIA_royal_navy_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt } add_to_variable = { SIA_royal_navy_factory_energy_consumption = 0.05 tooltip = factory_energy_consumption_tt } } } focus = { id = SIA_establish_the_foundry_and_machine_shop icon = GFX_focus_AFG_a_modern_economy x = 2 y = 0 relative_position_id = SIA_install_heavy_cranes_and_power_plant prerequisite = { focus = SIA_the_thonburi_dockyard_project } #mutually_exclusive = { focus = } cost = 5 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } 1076 = { is_owned_by = ROOT is_fully_controlled_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } completion_reward = { random_core_state = { limit = { is_fully_controlled_by = ROOT is_coastal = yes free_building_slots = { building = dockyard size > 0 include_locked = yes } } prioritize = { 1076 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } custom_effect_tooltip = modify_royal_thai_navy add_to_variable = { SIA_royal_navy_industrial_capacity_dockyard = 0.05 tooltip = industrial_capacity_dockyard_tt } add_tech_bonus = { name = SIA_establish_the_foundry_and_machine_shop bonus = 0.25 uses = 1 category = cat_production } } } focus = { id = SIA_the_thonburi_arsenal icon = GFX_focus_generic_battleship_guns x = -1 y = 1 relative_position_id = SIA_install_heavy_cranes_and_power_plant prerequisite = { focus = SIA_install_heavy_cranes_and_power_plant } prerequisite = { focus = SIA_expand_the_slipways } prerequisite = { focus = SIA_a_new_drydock } prerequisite = { focus = SIA_establish_the_foundry_and_machine_shop } cost = 5 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { 1078 = { add_extra_state_shared_building_slots = 4 add_building_construction = { type = dockyard level = 2 instant_build = yes } add_building_construction = { type = arms_factory level = 2 instant_build = yes } } if = { limit = { 1076 = { naval_facility < 1 } } 1076 = { add_building_construction = { type = naval_facility level = 1 instant_build = yes province = 7408 } } } else = { random_owned_controlled_state = { limit = { is_fully_controlled_by = ROOT is_coastal = yes naval_facility < 1 } construct_building_in_random_province = { naval_facility = 1 } } } custom_effect_tooltip = newline_tt custom_effect_tooltip = modify_royal_thai_navy add_to_variable = { SIA_royal_navy_navy_capital_ship_attack_factor = 0.08 tooltip = navy_capital_ship_attack_factor_tt } add_to_variable = { SIA_royal_navy_navy_screen_attack_factor = 0.08 tooltip = navy_screen_attack_factor_tt } } } focus = { id = SIA_focus_on_commercial_civilian_ships icon = GFX_focus_generic_refit_civilian_ships x = 6 y = 0 relative_position_id = SIA_the_thonburi_dockyard_project prerequisite = { focus = SIA_royal_thai_navy } mutually_exclusive = { focus = SIA_the_thonburi_dockyard_project } cost = 10 ai_will_do = { factor = 10 } available = { any_controlled_state = { is_coastal = yes is_owned_by = ROOT } 1076 = { is_owned_by = ROOT is_fully_controlled_by = ROOT } } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { random_core_state = { limit = { is_fully_controlled_by = ROOT is_coastal = yes free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 1076 } add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 instant_build = yes } } custom_effect_tooltip = modify_royal_thai_navy add_to_variable = { SIA_royal_navy_industrial_capacity_dockyard = -0.25 tooltip = industrial_capacity_dockyard_tt } add_to_variable = { SIA_royal_navy_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt } SIA_increase_civilian_approval = yes SIA_decrease_military_approval = yes } } focus = { id = SIA_sell_bangkok_dock_co icon = GFX_focus_generic_industry_investment x = -1 y = 1 relative_position_id = SIA_focus_on_commercial_civilian_ships prerequisite = { focus = SIA_focus_on_commercial_civilian_ships } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { country_event = { id = siam.33 } custom_effect_tooltip = generic_choice_tt event_option_tooltip = siam.33.a custom_effect_tooltip = generic_or_tt event_option_tooltip = siam.33.b custom_effect_tooltip = generic_or_tt event_option_tooltip = siam.33.c } } focus = { id = SIA_empower_the_coastguard icon = GFX_focus_generic_coastal_fort x = 1 y = 1 relative_position_id = SIA_focus_on_commercial_civilian_ships prerequisite = { focus = SIA_focus_on_commercial_civilian_ships } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_MANPOWER } completion_reward = { custom_effect_tooltip = modify_royal_thai_navy add_to_variable = { SIA_royal_navy_conscription = 0.006 tooltip = conscription_tt } SIA_increase_military_approval = yes } } focus = { id = SIA_river_patrols icon = GFX_focus_SIA_river_patrols x = 0 y = 1 relative_position_id = SIA_empower_the_coastguard prerequisite = { focus = SIA_empower_the_coastguard } cost = 5 ai_will_do = { factor = 10 } available = { } #allow_branch = { #} search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { custom_effect_tooltip = modify_royal_thai_navy add_to_variable = { SIA_royal_navy_supply_combat_penalties_on_core_factor = -0.10 tooltip = supply_combat_penalties_on_core_factor_tt } add_to_variable = { SIA_royal_navy_army_core_defence_factor = 0.05 tooltip = army_core_defence_factor_tt } } } }