debug_decisions = { DEBUG_INS_civil_war = { priority = 110 allowed = { tag = INS has_dlc = "Thunder at Our Gates" } visible = { is_ai = no is_debug = yes } complete_effect = { INS = { complete_national_focus = { focus = INS_underground_revolution use_side_message = yes } complete_national_focus = { focus = INS_infiltrate_the_army use_side_message = yes } complete_national_focus = { focus = INS_privately_owned_military_industry use_side_message = yes } complete_national_focus = { focus = INS_tkr_steal_general use_side_message = yes } complete_national_focus = { focus = INS_tkr_supply use_side_message = yes } complete_national_focus = { focus = INS_instigate_chaos_sulawesi use_side_message = yes } complete_national_focus = { focus = INS_instigate_chaos_medan use_side_message = yes } complete_national_focus = { focus = INS_prepare_raiding_bases use_side_message = yes } 672 = { add_dynamic_modifier = { modifier = INS_state_revolution_hq } save_global_event_target_as = INS_revolution_hq add_to_variable = { influence_point_count = 3 } } subtract_from_variable = { var = INS_revolution_points_remaining value = 3 } add_to_variable = { var = INS_internal_spent_points value = 3 } 1049 = { add_to_variable = { influence_point_count = 3 } add_dynamic_modifier = { modifier = INS_state_militia_activity_3 } } 1047 = { add_to_variable = { influence_point_count = 3 } add_dynamic_modifier = { modifier = INS_state_militia_activity_3 } } 334 = { add_to_variable = { influence_point_count = 3 } add_dynamic_modifier = { modifier = INS_state_militia_activity_3 } } add_political_power = 500 add_command_power = 100 complete_national_focus = { focus = INS_the_declaration_of_independence use_side_message = yes } complete_national_focus = { focus = INS_laskar_rakjat use_side_message = yes } complete_national_focus = { focus = INS_recognize_moestopos_batallion use_side_message = yes } set_country_flag = INS_debug_mode_stop_event } } } DEBUG_INS_become_independent = { priority = 100 allowed = { tag = INS has_dlc = "Thunder at Our Gates" } visible = { is_ai = no is_debug = yes } complete_effect = { HOL = { end_puppet = INS } INS = { indonesia_free_effect = yes } } } DEBUG_INS_form_republic = { priority = 100 allowed = { tag = INS has_dlc = "Thunder at Our Gates" } visible = { is_ai = no is_debug = yes } complete_effect = { INS = { indonesia_form_republic_effect = yes } } } DEBUG_INS_increase_escalation = { priority = 90 allowed = { tag = INS has_dlc = "Thunder at Our Gates" } visible = { is_ai = no is_debug = yes } complete_effect = { INS = { indonesia_increase_escalation_1_effect = yes } } } DEBUG_INS_decrease_escalation = { priority = 89 allowed = { tag = INS has_dlc = "Thunder at Our Gates" } visible = { is_ai = no is_debug = yes } complete_effect = { INS = { indonesia_reduce_escalation_1_effect = yes } } } } political_actions = { INS_atjeh_management = { icon = GFX_decision_generic_police_action priority = 25 available = { } visible = { original_tag = INS has_full_control_of_state = 1050 NOT = { 1050 = { is_core_of = INS } } FROM = { resistance > 10 } } cost = 75 days_remove = 120 fire_only_once = no on_map_mode = map_only state_target = yes targets = { 1050 } complete_effect = { } remove_effect = { 1050 = { add_resistance = -40 add_compliance = 20 } } } INS_atjeh_management_2 = { icon = GFX_decision_generic_political_rally priority = 25 available = { } visible = { original_tag = INS has_full_control_of_state = 1050 NOT = { 1050 = { is_core_of = INS } } FROM = { compliance > 40 resistance < 10 } } cost = 100 days_remove = 180 fire_only_once = yes on_map_mode = map_only state_target = yes targets = { 1050 } complete_effect = { } remove_effect = { 1050 = { add_core_of = INS } } } INS_move_capital_to_amsterdam = { icon = GFX_decision_SOV_place_hq priority = 30 ai_will_do = { base = 0 } available = { has_full_control_of_state = 7 } visible = { OR = { original_tag = INS original_tag = HOL } has_cosmetic_tag = INS_UNION 7 = { is_capital = no } } cost = 50 complete_effect = { set_capital = { state = 7 remember_old_capital = yes } } } INS_move_capital_to_batavia = { icon = GFX_decision_SOV_place_hq priority = 30 ai_will_do = { base = 0 } available = { has_full_control_of_state = 1058 } visible = { OR = { original_tag = INS original_tag = HOL } has_cosmetic_tag = INS_UNION 1058 = { is_capital = no } } cost = 50 complete_effect = { set_capital = { state = 1058 remember_old_capital = yes } } } } INS_exile_cat = { INS_legitimacy_decision_1 = { icon = GFX_decision_generic_civil_support available = { } visible = { has_completed_focus = INS_east_indies_exile_government is_government_in_exile = yes check_variable = { var = INS_mil_factory_cost value = 200 compare = less_than_or_equals } } cost = INS_mil_factory_cost?50 days_remove = 70 fire_only_once = no complete_effect = { add_to_variable = { INS_mil_factory_cost = 25 tooltip = INS_mil_factory_cost_tt } } remove_effect = { add_legitimacy = 10 } } INS_army_factory_decision = { icon = GFX_decision_ger_military_buildup available = { } visible = { has_completed_focus = INS_east_indies_exile_government is_government_in_exile = yes check_variable = { var = INS_mil_factory_cost value = 200 compare = less_than_or_equals } } cost = INS_mil_factory_cost?50 days_remove = 70 fire_only_once = no complete_effect = { add_to_variable = { INS_mil_factory_cost = 25 tooltip = INS_mil_factory_cost_tt } } remove_effect = { add_offsite_building = { type = arms_factory level = 1 } } } INS_dockyard_decision = { icon = GFX_decision_generic_naval available = { } visible = { has_completed_focus = INS_east_indies_exile_government is_government_in_exile = yes check_variable = { var = INS_mil_factory_cost value = 200 compare = less_than_or_equals } } cost = INS_mil_factory_cost?50 days_remove = 70 fire_only_once = no complete_effect = { add_to_variable = { INS_mil_factory_cost = 25 tooltip = INS_mil_factory_cost_tt } } remove_effect = { add_offsite_building = { type = dockyard level = 1 } } } } INS_economic_cat = { # INS_expanding_asian_trade_mission = { # icon = GFX_decision_generic_research # available = { # hidden_trigger = { always = no } # } # # activation = { # has_completed_focus = INS_asian_trade_investments # has_dynamic_modifier = { modifier = INS_great_depression } # } # # cancel_trigger = { # check_variable = { # var = INS_great_depression_min_export # value = 0 # compare = greater_than_or_equals # } # } # cancel_effect = { # hidden_effect = { # remove_dynamic_modifier = { modifier = INS_great_depression } # } # } # # days_mission_timeout = 420 # timeout_effect = { # custom_effect_tooltip = INS_great_depression_tt # IF = { # limit = { # check_variable = { # var = INS_great_depression_min_export # value = 0 # compare = less_than # } # } # add_to_variable = { # INS_great_depression_min_export = 0.05 # tooltip = min_export_tt # } # } # } # } INS_improve_the_category_of_state_decision = { icon = GFX_decision_generic_construction allowed = { original_tag = INS has_dlc = "Thunder at Our Gates" } visible = { has_completed_focus = INS_agrarian_reform } available = { } state_target = any_owned_state target_trigger = { FROM = { is_in_array = { array = INS.owned_states_at_game_start value = THIS } is_owned_and_controlled_by = ROOT infrastructure > 3 # It needs to be 4 or higher has_state_flag = INS_can_upgrade_this_states_level_flag } } on_map_mode = map_and_decisions_view cost = 35 fire_only_once = yes # Can only be done once per state days_remove = 14 modifier = { consumer_goods_factor = 0.05 } complete_effect = { } remove_effect = { FROM = { ETH_upgrade_state_category = yes } } cancel_trigger = { FROM = { NOT = { is_controlled_by = ROOT } } } cancel_effect = { } } INS_economic_convert_rubber = { icon = GFX_decision_rubber available = { } visible = { has_completed_focus = INS_reallocate_rubber_industry_funding FROM = { has_resources_amount = { resource = rubber amount > 15 } is_owned_and_controlled_by = ROOT } } on_map_mode = map_only state_target = yes target_array = INS.owned_states_at_game_start ai_will_do = { base = 0 modifier = { add = 2 OR = { has_resources_in_country = { resource = oil amount < 0 extracted = no } has_resources_in_country = { resource = aluminium amount < 0 extracted = no } has_resources_in_country = { resource = tungsten amount < 0 extracted = no } has_resources_in_country = { resource = steel amount < 0 extracted = no } has_resources_in_country = { resource = chromium amount < 0 extracted = no } has_resources_in_country = { resource = coal amount < 0 extracted = no } } } } cost = 20 #days_remove = 70 fire_only_once = no complete_effect = { FROM = { OWNER = { country_event = { id = INS_industrial_events.4 } } custom_effect_tooltip = INS_convert_rubber_tt } } remove_effect = { } } } INS_volksraad_cat = { INS_soetardjo_pending = { activation = { always = no #done by event } days_mission_timeout = 140 icon = GFX_decision_generic_political_discourse priority = 100 fire_only_once = yes is_good = no available = { hidden_trigger = { always = no } } cancel_trigger = { hidden_trigger = { has_country_flag = INS_debug_mode_stop_event } } timeout_effect = { country_event = { id = INS_political_events.7 #Soetardjo Petition days = 1 } custom_effect_tooltip = JAP_aizawa_trial_ongoing_tt } } # INS_soetardjo_petition = { # activation = { # has_completed_focus = INS_the_jewel_in_the_crown # } # available = { # OR = { # has_completed_focus = INSHOL_begin_negotiations_soetardjo # has_completed_focus = INSHOL_sideline_the_volksraad # } # } # # icon = GFX_decision_generic_political_address # is_good = no # days_mission_timeout = 365 # fire_only_once = yes # priority = 20 # # complete_effect = { # # } # # timeout_effect = { # add_stability = -0.1 # complete_national_focus = INSHOL_sideline_the_volksraad # } # } INS_volksraad_allow_language_in_schools = { icon = GFX_decision_generic_speech cost = 25 fire_only_once = no days_remove = 60 allowed = { } visible = { has_idea = idea_INS_volksraad NOT = { has_country_flag = { flag = indonesia_volksraad_passed_1 } } } available = { NOT = { has_country_flag = { flag = INS_is_taking_volksraad } } } complete_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 1 } } ai_will_do = { base = 1 modifier = { factor = 5 INS_check_plan_loyalist = yes } } remove_effect = { if = { limit = { has_country_flag = { flag = INS_governor_veto_available value = 1 } } HOL = { country_event = { id = INS_volksraad_events.10 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { indonesia_volksraad_allow_language_in_schools_effect = yes } custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { indonesia_volksraad_reject_25_effect = yes } } else = { indonesia_volksraad_allow_language_in_schools_effect = yes } } cancel_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 0 } } cancel_trigger = { hidden_trigger = { NOT = { has_idea = idea_INS_volksraad } } } } INS_volksraad_allow_language_in_government = { icon = GFX_decision_generic_speech cost = 25 fire_only_once = no days_remove = 60 ai_will_do = { base = 1 modifier = { factor = 5 INS_check_plan_loyalist = yes } } allowed = { } visible = { has_idea = idea_INS_volksraad NOT = { has_country_flag = { flag = indonesia_volksraad_passed_2 } } } available = { NOT = { has_country_flag = { flag = INS_is_taking_volksraad } } } complete_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 1 } } remove_effect = { if = { limit = { has_country_flag = { flag = INS_governor_veto_available value = 1 } } HOL = { country_event = { id = INS_volksraad_events.20 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { indonesia_volksraad_allow_language_in_government_effect = yes } custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { indonesia_volksraad_reject_25_effect = yes } } else = { indonesia_volksraad_allow_language_in_government_effect = yes } } cancel_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 0 } } cancel_trigger = { hidden_trigger = { NOT = { has_idea = idea_INS_volksraad } } } } INS_volksraad_remove_education_quotas = { icon = GFX_decision_generic_speech cost = 25 fire_only_once = no days_remove = 60 ai_will_do = { base = 2 modifier = { factor = 4 INS_check_plan_loyalist = yes } modifier = { factor = 2 check_variable = { var = INS_dutch_east_indies_research_speed_factor value = 0.01 compare = less_than_or_equals } } } allowed = { } visible = { has_idea = idea_INS_volksraad NOT = { has_country_flag = { flag = indonesia_volksraad_passed_3 } } } available = { NOT = { has_country_flag = { flag = INS_is_taking_volksraad } } } complete_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 1 } } remove_effect = { if = { limit = { has_country_flag = { flag = INS_governor_veto_available value = 1 } } HOL = { country_event = { id = INS_volksraad_events.30 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { indonesia_volksraad_remove_education_quotas_effect = yes } custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { indonesia_volksraad_reject_25_effect = yes } } else = { indonesia_volksraad_remove_education_quotas_effect = yes } } cancel_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 0 } } cancel_trigger = { hidden_trigger = { NOT = { has_idea = idea_INS_volksraad } } } } INS_volksraad_reduce_rubber_export_tax = { icon = GFX_decision_generic_speech cost = 50 fire_only_once = no days_remove = 90 ai_will_do = { base = 2 modifier = { factor = 4 INS_check_plan_loyalist = yes } } allowed = { } visible = { has_idea = idea_INS_volksraad NOT = { has_country_flag = { flag = indonesia_volksraad_passed_4 } } } available = { NOT = { has_country_flag = { flag = INS_is_taking_volksraad } } } complete_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 1 } } remove_effect = { if = { limit = { has_country_flag = { flag = INS_governor_veto_available value = 1 } } HOL = { country_event = { id = INS_volksraad_events.40 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { indonesia_volksraad_reduce_rubber_export_tax_effect = yes } custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { indonesia_volksraad_reject_50_effect = yes } } else = { indonesia_volksraad_reduce_rubber_export_tax_effect = yes } } cancel_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 0 } } cancel_trigger = { hidden_trigger = { NOT = { has_idea = idea_INS_volksraad } } } } INS_volksraad_knil_rank_limit = { icon = GFX_decision_generic_speech cost = 50 fire_only_once = no days_remove = 90 ai_will_do = { base = 2 modifier = { factor = 4 INS_check_plan_loyalist = yes } } allowed = { } visible = { has_idea = idea_INS_volksraad NOT = { has_country_flag = { flag = indonesia_volksraad_passed_6 } } } available = { OR = { has_autonomy_state = autonomy_puppet has_autonomy_state = autonomy_colony has_autonomy_state = autonomy_dominion } NOT = { has_country_flag = { flag = INS_is_taking_volksraad } } } complete_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 1 } } remove_effect = { if = { limit = { has_country_flag = { flag = INS_governor_veto_available value = 1 } } HOL = { country_event = { id = INS_volksraad_events.60 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { indonesia_volksraad_knil_rank_limit_effect = yes } custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { indonesia_volksraad_reject_50_effect = yes } } else = { indonesia_volksraad_knil_rank_limit_effect = yes } } cancel_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 0 } } cancel_trigger = { hidden_trigger = { NOT = { has_idea = idea_INS_volksraad } } } } INS_volksraad_legalize_displaying_flag = { icon = GFX_decision_generic_speech cost = 50 fire_only_once = no days_remove = 90 ai_will_do = { base = 2 modifier = { factor = 4 INS_check_plan_loyalist = yes } } allowed = { } visible = { has_idea = idea_INS_volksraad NOT = { has_country_flag = { flag = indonesia_volksraad_passed_7 } } } available = { OR = { has_autonomy_state = autonomy_puppet has_autonomy_state = autonomy_colony has_autonomy_state = autonomy_dominion } NOT = { has_country_flag = { flag = INS_is_taking_volksraad } } } complete_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 1 } } remove_effect = { if = { limit = { has_country_flag = { flag = INS_governor_veto_available value = 1 } } HOL = { country_event = { id = INS_volksraad_events.70 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { indonesia_volksraad_legalize_displaying_flag_effect = yes } custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { indonesia_volksraad_reject_50_effect = yes } } else = { indonesia_volksraad_legalize_displaying_flag_effect = yes } } cancel_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 0 } } cancel_trigger = { hidden_trigger = { NOT = { has_idea = idea_INS_volksraad } } } } INS_volksraad_education_subsidies_for_indonesians = { icon = GFX_decision_generic_speech cost = 75 fire_only_once = no days_remove = 120 ai_will_do = { base = 2 modifier = { factor = 4 INS_check_plan_loyalist = yes } } allowed = { } visible = { has_idea = idea_INS_volksraad NOT = { has_country_flag = { flag = indonesia_volksraad_passed_10 } } } available = { OR = { has_autonomy_state = autonomy_puppet has_autonomy_state = autonomy_colony has_autonomy_state = autonomy_dominion } NOT = { has_country_flag = { flag = INS_is_taking_volksraad } } } complete_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 1 } } remove_effect = { if = { limit = { has_country_flag = { flag = INS_governor_veto_available value = 1 } } HOL = { country_event = { id = INS_volksraad_events.100 hours = 12 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { indonesia_volksraad_education_subsidies_for_indonesians_effect = yes } custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { indonesia_volksraad_reject_75_effect = yes } } else = { indonesia_volksraad_education_subsidies_for_indonesians_effect = yes } } cancel_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 0 } } cancel_trigger = { hidden_trigger = { NOT = { has_idea = idea_INS_volksraad } } } } INS_volksraad_indonesian_national_language = { icon = GFX_decision_generic_speech cost = 75 fire_only_once = no days_remove = 120 ai_will_do = { base = 2 modifier = { factor = 4 INS_check_plan_loyalist = yes } } allowed = { } visible = { has_idea = idea_INS_volksraad NOT = { has_country_flag = { flag = indonesia_volksraad_passed_11 } } } available = { OR = { has_autonomy_state = autonomy_dominion AND = { has_autonomy_state = autonomy_colony has_completed_focus = INSHOL_democracy } } NOT = { has_country_flag = { flag = INS_is_taking_volksraad } } } complete_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 1 } } remove_effect = { indonesia_volksraad_indonesian_national_language_effect = yes } cancel_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 0 } } cancel_trigger = { hidden_trigger = { NOT = { has_idea = idea_INS_volksraad } } } } INS_volksraad_official_flag = { icon = GFX_decision_generic_speech cost = 75 fire_only_once = no days_remove = 120 ai_will_do = { base = 2 modifier = { factor = 4 INS_check_plan_loyalist = yes } } allowed = { } visible = { has_idea = idea_INS_volksraad NOT = { has_country_flag = { flag = indonesia_volksraad_passed_12 } } } available = { OR = { has_autonomy_state = autonomy_dominion AND = { has_autonomy_state = autonomy_colony has_completed_focus = INSHOL_democracy } } has_country_flag = { flag = INS_flag_legalized } NOT = { has_country_flag = { flag = INS_is_taking_volksraad } } } complete_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 1 } } remove_effect = { indonesia_volksraad_official_flag_effect = yes } cancel_effect = { set_country_flag = { flag = INS_is_taking_volksraad value = 0 } } cancel_trigger = { hidden_trigger = { NOT = { has_idea = idea_INS_volksraad } } } } } INS_militias_cat = { INS_militias_railway_pemuda_mission = { activation = { always = no #Done manually via focus } available = { OR = { has_war_with = HOL NOT = { has_country_flag = { flag = INS_revolution_has_started } } } } icon = GFX_decision_generic_prepare_civil_war is_good = no days_mission_timeout = 365 timeout_effect = { add_stability = -0.1 } complete_effect = { add_war_support = 0.1 add_political_power = 100 } } INS_militias_kris_repayment = { activation = { always = no #Done manually via focus } available = { 673 = { #Sulawesi infrastructure > 3 OR = { industrial_complex > 2 arms_factory > 2 AND = { industrial_complex > 0 arms_factory > 1 } AND = { industrial_complex > 1 arms_factory > 0 } } } 1056 = { #Manado infrastructure > 2 OR = { industrial_complex > 1 arms_factory > 1 AND = { industrial_complex > 0 arms_factory > 0 } } } } icon = GFX_decision_generic_construction is_good = no days_mission_timeout = 1095 timeout_effect = { if = { limit = { 673 = { #Sulawesi NOT = { is_core_of = ROOT } } } 673 = { add_resistance = 40 add_compliance = -25 } } if = { limit = { 1056 = { #Manado NOT = { is_core_of = ROOT } } } 1056 = { add_resistance = 40 add_compliance = -25 } } add_stability = -0.075 add_war_support = -0.075 add_manpower = -50000 add_political_power = -150 } complete_effect = { hidden_effect = { add_to_variable = { var = INS_missions_completed value = 1 } } if = { limit = { 673 = { #Sulawesi NOT = { is_core_of = ROOT } } } 673 = { add_core_of = ROOT } } if = { limit = { 1056 = { #Manado NOT = { is_core_of = ROOT } } } 1056 = { add_core_of = ROOT } } } } INS_militias_moestopo_mission = { activation = { always = no #Done manually via focus } available = { INS_moestopo = { is_field_marshal = yes } } icon = GFX_decision_generic_army_support is_good = no days_mission_timeout = 480 timeout_effect = { if = { limit = { is_ai = no } INS_moestopo = { remove_unit_leader_role = yes } add_political_power = -150 } else = { # the AI is stupid INS_moestopo = { promote_leader = yes } hidden_effect = { add_to_variable = { var = INS_missions_completed value = 1 } } INS_moestopo = { add_skill_level = 2 add_attack = 1 add_logistics = 1 add_defense = 1 add_planning = 1 # add_skill_level adds 1 instead of 3 for some reason so im only adding 4 } } } complete_effect = { hidden_effect = { add_to_variable = { var = INS_missions_completed value = 1 } } INS_moestopo = { add_skill_level = 2 add_attack = 1 add_logistics = 1 add_defense = 1 add_planning = 1 # add_skill_level adds 1 instead of 3 for some reason so im only adding 4 } } } INS_militias_di_mission = { activation = { always = no #Done manually via focus } available = { OR = { has_completed_focus = INS_integrate_sarekat_islam has_completed_focus = INS_dominion_of_atjeh } } icon = GFX_decision_tur_unifying_the_country is_good = no days_mission_timeout = 730 timeout_effect = { add_stability = -0.1 } complete_effect = { hidden_effect = { add_to_variable = { var = INS_missions_completed value = 1 } } add_stability = 0.1 } } INS_militias_pki_uprising_mission = { activation = { always = no #Done manually via focus } available = { OR = { has_completed_focus = INS_support_tan_malakas_coup has_government = communism communism < 0.02 #either embrace communism, or destroy it } } icon = GFX_decision_revolt is_good = no days_mission_timeout = 730 timeout_effect = { add_popularity = { ideology = communism popularity = 0.2 } add_stability = -0.1 add_political_power = -200 } complete_effect = { hidden_effect = { add_to_variable = { var = INS_missions_completed value = 1 } } } } INS_militias_jakarta_pemuda_mission = { activation = { always = no #Done manually via focus } available = { OR = { amount_research_slots > 3 has_tech = construction4 has_tech = improved_computing_machine has_tech = atomic_research } } icon = GFX_decision_generic_research is_good = no days_mission_timeout = 720 timeout_effect = { add_war_support = -0.1 add_stability = -0.1 add_political_power = -200 } complete_effect = { hidden_effect = { add_to_variable = { var = INS_missions_completed value = 1 } } } } } INS_malay_unification_cat = { INS_propose_malay_unification_decision = { icon = GFX_decision_generic_form_nation available = { original_tag = INS is_subject = no 334 = { is_core_of = INS } 1055 = { is_core_of = INS } 1049 = { is_core_of = INS } MAL = { controls_state = 1060 #Johor controls_state = 1063 #Pahang controls_state = 336 #Kuala Lampur controls_state = 1064 #Perak controls_state = 1062 # Kelantan-Terengganu controls_state = 1061 #Perlis-Kedah controls_state = 333 #Sarawak controls_state = 1059 #Limbang controls_state = 1024 #Sabah controls_state = 1023 #Brunei OR = { is_subject = no is_in_faction_with = ROOT } } } ai_will_do = { base = 1 modifier = { factor = 0 is_historical_focus_on = yes } } cost = 150 days_remove = 120 fire_only_once = yes remove_effect = { if = { limit = { MAL = { is_subject = no } } MAL = { country_event = { id = INS_loyalist_events.4 hours = 4 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { INS = { annex_country = { target = MAL transfer_troops = yes } 1060 = { add_core_of = INS } 336 = { add_core_of = INS } 1063 = { add_core_of = INS } if = { limit = { 334 = { is_core_of = INS } } 333 = { add_core_of = INS } } } } } } else = { MAL = { OVERLORD = { country_event = { id = INS_loyalist_events.7 hours = 4 } custom_effect_tooltip = if_they_accept_tt custom_effect_tooltip = newline_tt effect_tooltip = { INS = { annex_country = { target = MAL transfer_troops = yes } 1060 = { add_core_of = INS } 336 = { add_core_of = INS } 1063 = { add_core_of = INS } if = { limit = { 334 = { is_core_of = INS } } 333 = { add_core_of = INS } } } } } } } } } INS_invite_phillipines_decision = { icon = GFX_decision_generic_form_nation available = { controls_state = 333 controls_state = 1059 controls_state = 1024 controls_state = 1023 controls_state = 1060 controls_state = 1063 controls_state = 336 PHI = { exists = yes NOT = { is_subject_of = ROOT } } } cost = 150 days_remove = 120 fire_only_once = yes ai_will_do = { base = 1 modifier = { factor = 0 is_historical_focus_on = yes } } remove_effect = { if = { limit = { PHI = { is_subject = no } } PHI = { country_event = { id = INS_loyalist_events.25 hours = 4 } custom_effect_tooltip = if_they_accept_tt custom_effect_tooltip = newline_tt effect_tooltip = { indonesia_phillipines_unite_effect = yes } unlock_decision_tooltip = INS_request_ceylon_decision } } else = { PHI = { OVERLORD = { country_event = { id = INS_loyalist_events.28 hours = 4 } custom_effect_tooltip = if_they_accept_tt custom_effect_tooltip = newline_tt effect_tooltip = { indonesia_phillipines_unite_effect = yes } unlock_decision_tooltip = INS_request_ceylon_decision } } } } } INS_singapore_compromise_decision = { icon = GFX_decision_generic_political_discourse available = { 1021 = { NOT = { is_controlled_by = ROOT } } } cost = 75 days_remove = 90 fire_only_once = yes ai_will_do = { base = 1 modifier = { factor = 0 is_historical_focus_on = yes } } remove_effect = { 1021 = { controller = { country_event = { id = INS_loyalist_events.13 hours = 6 } } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { transfer_state = 1021 give_resource_rights = { receiver = FROM state = 1021 } give_military_access = FROM } } } INS_request_ceylon_decision = { icon = GFX_decision_generic_political_discourse visible = { controls_state = 327 } available = { 422 = { NOT = { is_controlled_by = ROOT } } } cost = 50 days_remove = 60 fire_only_once = yes ai_will_do = { base = 1 modifier = { factor = 0 is_historical_focus_on = yes } } remove_effect = { 422 = { controller = { country_event = { id = INS_loyalist_events.16 hours = 6 } } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { transfer_state = 422 422 = { add_core_of = PREV } } } } INS_papua_referendum_decision = { icon = GFX_decision_generic_political_discourse available = { original_tag = INS is_subject = no 669 = { is_core_of = INS } 1057 = { is_core_of = INS } AST = { controls_state = 523 controls_state = 979 controls_state = 1073 controls_state = 737 controls_state = 1070 OR = { is_subject = no has_autonomy_state = autonomy_dominion } } } cost = 50 days_remove = 60 fire_only_once = yes ai_will_do = { base = 1 modifier = { factor = 0 is_historical_focus_on = yes } } remove_effect = { AST = { country_event = { id = INS_loyalist_events.19 hours = 6 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { transfer_state = 979 transfer_state = 1073 transfer_state = 523 transfer_state = 737 transfer_state = 1070 979 = { add_core_of = INS } 1073 = { add_core_of = INS } 523 = { add_core_of = INS } 737 = { add_core_of = INS } 1070 = { add_core_of = INS } } } } } INS_unity_in_diversity_cat = { INS_core_state_decision = { icon = GFX_decision_generic_monarchy available = { FROM = { resistance < 20 OR = { custom_trigger_tooltip = { tooltip = INS_has_built_at_least_one_infrastructure check_variable = { building_level@infrastructure > INS_infrastructure_pre_investment } } custom_trigger_tooltip = { tooltip = INS_has_built_at_least_one_civ check_variable = { building_level@industrial_complex > INS_civs_pre_investment } } } } } visible = { } state_target = yes target_trigger = { FROM = { OR = { is_in_array = { array = INS.owned_states_at_game_start value = THIS } state = 721 #East Timor } is_controlled_by = ROOT NOT = { is_core_of = ROOT } NOT = { state = 1050 } #Atjeh has to be released or cored seperately } } cost = 25 days_remove = 60 fire_only_once = no ai_will_do = { base = 100 } complete_effect = { } remove_effect = { FROM = { add_core_of = ROOT } } } } INS_revolution_planning_cat = { INS_revolution_planning_hq = { icon = GFX_decision_SOV_place_hq available = { NOT = { has_country_flag = { flag = INS_has_revolutionary_hq } } } visible = { NOT = { has_country_flag = { flag = INS_has_revolutionary_hq } } } state_target = yes targets = { 672 1050 1055 1053 673 669 } ai_will_do = { base = 50 modifier = { factor = 0.1 FROM = { OR = { state = 669 state = 1053 } } } } cost = 30 days_remove = 60 fire_only_once = yes complete_effect = { set_country_flag = INS_has_revolutionary_hq # if = { # limit = { # FROM = { # OR = { # state = 1051 # state = 335 # } # } # } # custom_effect_tooltip = INS_hq_warning # } } remove_effect = { set_country_flag = INS_has_revolutionary_hq_done FROM = { add_dynamic_modifier = { modifier = INS_state_revolution_hq } custom_effect_tooltip = INS_state_revolution_hq_tt save_global_event_target_as = INS_revolution_hq add_to_variable = { influence_point_count = 3 } } custom_effect_tooltip = newline_tt custom_effect_tooltip = INS_revolution_planning_influence_state_points_notif_tt } } INS_revolution_planning_hq_DONE = { icon = GFX_decision_SOV_place_hq available = { custom_trigger_tooltip = { tooltip = INS_revolution_planning_hq_DONE_trigger_tt always = no } } visible = { has_country_flag = { flag = INS_has_revolutionary_hq } } state_target = yes on_map_mode = map_only target_trigger = { FROM = { has_dynamic_modifier = { modifier = INS_state_revolution_hq } } } cost = 0 days_remove = 0 fire_only_once = yes complete_effect = { } remove_effect = { } } INS_revolution_planning_envoy_DONE = { icon = GFX_decision_SWI_consolidate_council_power available = { custom_trigger_tooltip = { tooltip = INS_revolution_planning_envoy_DONE_trigger_tt always = no } } visible = { is_subject_of = HOL } state_target = yes on_map_mode = map_only target_trigger = { FROM = { has_dynamic_modifier = { modifier = INS_state_militia_activity_3 } } } cost = 0 days_remove = 0 fire_only_once = yes complete_effect = { } remove_effect = { } } INS_revolution_planning_influence_state = { icon = GFX_decision_SWI_consolidate_council_power available = { NOT = { has_country_flag = INS_ongoing_influence_process } NOT = { has_war_with = HOL } custom_trigger_tooltip = { tooltip = INS_revolution_points_remaining_tt check_variable = { INS_revolution_points_remaining > 0 } } custom_trigger_tooltip = { tooltip = INS_revolution_points_in_state_tt check_variable = { FROM.influence_point_count = 0 } } } visible = { has_completed_focus = INS_underground_revolution NOT = { has_country_flag = { flag = INS_revolution_has_started } } has_country_flag = { flag = INS_has_revolutionary_hq_done } check_variable = { INS_revolution_points_remaining > 0 } } on_map_mode = map_only state_target = yes target_array = INS.owned_states_at_game_start target_trigger = { FROM = { NOT = { state = 1058 state = 1051 state = 335 impassable = yes has_dynamic_modifier = { modifier = INS_state_revolution_hq } has_dynamic_modifier = { modifier = INS_state_militia_activity_3 } } } } cost = 25 days_remove = 70 fire_only_once = no ai_will_do = { base = 100 modifier = { add = 150 FROM = { any_neighbor_state = { OR = { has_dynamic_modifier = { modifier = INS_state_revolution_hq } has_dynamic_modifier = { modifier = INS_state_militia_activity_3 } } } } } modifier = { factor = 20 FROM = { state = 672 #South Sumatra } } } complete_effect = { set_country_flag = INS_ongoing_influence_process subtract_from_variable = { var = INS_revolution_points_remaining value = 1 } add_to_variable = { var = INS_internal_spent_points value = 1 } } remove_effect = { FROM = { add_to_variable = { influence_point_count = 3 } add_dynamic_modifier = { modifier = INS_state_militia_activity_3 } custom_effect_tooltip = INS_state_revolution_hq_tt } clr_country_flag = INS_ongoing_influence_process hidden_effect = { country_event = { id = INS_revolution_events.43 hours = 2 } } } } } INS_realign_supply_chains_cat = { INS_rubber_for_civ = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_generic_industry visible = { } available = { NOT = { has_country_flag = INS_selling_resource_flag } } custom_cost_trigger = { has_resources_in_country = { resource = rubber amount > 39 extracted = no } } ai_will_do = { base = 3 } custom_cost_text = INS_cost_text_rubber_40 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_rubber value = 40 tooltip = country_resource_cost_rubber_tt } hidden_effect = { country_event = { id = INS_industrial_events.23 months = 24 } country_event = { id = INS_industrial_events.28 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } INS_only_militia_states_if_possible_and_needed = yes impassable = no } prioritize = { } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } INS_rubber_for_mil = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_generic_tank visible = { } available = { NOT = { has_country_flag = INS_selling_resource_flag } } custom_cost_trigger = { has_resources_in_country = { resource = rubber amount > 23 extracted = no } } custom_cost_text = INS_cost_text_rubber_24 ai_will_do = { base = 3 } complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_rubber value = 24 tooltip = country_resource_cost_rubber_tt } hidden_effect = { country_event = { id = INS_industrial_events.21 months = 24 } country_event = { id = INS_industrial_events.29 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt random_owned_controlled_state = { limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } INS_only_militia_states_if_possible_and_needed = yes impassable = no } prioritize = { } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } INS_rubber_for_xp = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_generic_military visible = { } available = { NOT = { has_country_flag = INS_selling_resource_flag } } custom_cost_trigger = { has_resources_in_country = { resource = rubber amount > 31 extracted = no } } ai_will_do = { base = 1 modifier = { factor = 0 OR = { has_army_experience > 99 has_navy_experience > 99 has_air_experience > 99 } } modifier = { factor = 5 OR = { has_army_experience < 10 has_navy_experience < 10 has_air_experience < 10 } } } custom_cost_text = INS_cost_text_rubber_32 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_rubber value = 32 tooltip = country_resource_cost_rubber_tt } hidden_effect = { country_event = { id = INS_industrial_events.22 months = 24 } country_event = { id = INS_industrial_events.30 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt army_experience = 25 air_experience = 25 navy_experience = 25 } } INS_rubber_for_pp = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_generic_army_support visible = { } available = { NOT = { has_country_flag = INS_selling_resource_flag } } custom_cost_trigger = { has_resources_in_country = { resource = rubber amount > 15 extracted = no } } ai_will_do = { base = 1 modifier = { factor = 2 has_political_power < 50 } } custom_cost_text = INS_cost_text_rubber_16 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_rubber value = 16 tooltip = country_resource_cost_rubber_tt } hidden_effect = { country_event = { id = INS_industrial_events.20 months = 24 } country_event = { id = INS_industrial_events.31 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt add_political_power = 50 add_command_power = 10 } } INS_rubber_for_infantry_eq = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_ger_military_buildup visible = { } available = { NOT = { has_country_flag = INS_selling_resource_flag } } custom_cost_trigger = { has_resources_in_country = { resource = rubber amount > 39 extracted = no } } ai_will_do = { base = 0.5 modifier = { factor = 2 stockpile_ratio = { archetype = infantry_equipment ratio < 0.5 } } modifier = { factor = 2 stockpile_ratio = { archetype = infantry_equipment ratio < 0.7 } } modifier = { factor = 2 stockpile_ratio = { archetype = infantry_equipment ratio < 0.9 } } } custom_cost_text = INS_cost_text_rubber_40 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_rubber value = 40 tooltip = country_resource_cost_rubber_tt } hidden_effect = { country_event = { id = INS_industrial_events.23 months = 24 } country_event = { id = INS_industrial_events.32 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt if = { limit = { has_tech = infantry_weapons1 NOT = { has_tech = improved_infantry_weapons has_tech = advanced_infantry_weapons } } add_equipment_to_stockpile = { type = infantry_equipment_1 amount = 4000 producer = INS } } else_if = { limit = { has_tech = improved_infantry_weapons NOT = { has_tech = advanced_infantry_weapons } } add_equipment_to_stockpile = { type = infantry_equipment_2 amount = 4000 producer = INS } } else_if = { limit = { has_tech = advanced_infantry_weapons } add_equipment_to_stockpile = { type = infantry_equipment_3 amount = 4000 producer = INS } } } } INS_rubber_for_truck = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_generic_motorized visible = { } available = { NOT = { has_country_flag = INS_selling_resource_flag } has_tech = motorised_infantry } custom_cost_trigger = { has_resources_in_country = { resource = rubber amount > 15 extracted = no } } ai_will_do = { base = 0 modifier = { add = 1 stockpile_ratio = { archetype = motorized_equipment ratio < 0.9 } } modifier = { add = 1 stockpile_ratio = { archetype = motorized_equipment ratio < 0.7 } } modifier = { add = 1 stockpile_ratio = { archetype = motorized_equipment ratio < 0.5 } } } custom_cost_text = INS_cost_text_rubber_16 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_rubber value = 16 tooltip = country_resource_cost_rubber_tt } hidden_effect = { country_event = { id = INS_industrial_events.20 months = 24 } country_event = { id = INS_industrial_events.33 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt add_equipment_to_stockpile = { type = motorized_equipment_1 amount = 150 producer = INS } } } INS_rubber_for_train = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_generic_train fire_only_once = yes visible = { } available = { NOT = { has_country_flag = INS_selling_resource_flag } } custom_cost_trigger = { has_resources_in_country = { resource = rubber amount > 31 extracted = no } } ai_will_do = { base = 0 modifier = { add = 1 stockpile_ratio = { archetype = train_equipment ratio < 0.9 } } modifier = { add = 1 stockpile_ratio = { archetype = train_equipment ratio < 0.7 } } modifier = { add = 1 stockpile_ratio = { archetype = train_equipment ratio < 0.5 } } } custom_cost_text = INS_cost_text_rubber_32 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_rubber value = 32 tooltip = country_resource_cost_rubber_tt } hidden_effect = { country_event = { id = INS_industrial_events.22 months = 24 } country_event = { id = INS_industrial_events.34 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt add_equipment_to_stockpile = { type = train_equipment_1 amount = 24 producer = INS } custom_effect_tooltip = decision_only_once_tt } } INS_rubber_for_soldiers = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_generic_reorganize_irregulars fire_only_once = yes visible = { OR = { has_dynamic_modifier = { modifier = INS_royal_netherlands_east_indies_army } has_dynamic_modifier = { modifier = INS_peoples_security_army } } } available = { NOT = { has_country_flag = INS_selling_resource_flag } } ai_will_do = { base = 1 } custom_cost_trigger = { has_resources_in_country = { resource = rubber amount > 89 extracted = no } } custom_cost_text = INS_cost_text_rubber_90 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_rubber value = 90 tooltip = country_resource_cost_rubber_tt } hidden_effect = { country_event = { id = INS_industrial_events.25 months = 24 } country_event = { id = INS_industrial_events.35 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt if = { limit = { has_dynamic_modifier = { modifier = INS_royal_netherlands_east_indies_army } } custom_effect_tooltip = INS_knil_tt add_to_variable = { var = INS_royal_netherlands_east_indies_army_conscription_factor value = 0.3 tooltip = conscription_factor_tt } } else_if = { limit = { has_dynamic_modifier = { modifier = INS_peoples_security_army } } custom_effect_tooltip = INS_tkr_tt add_to_variable = { var = INS_peoples_security_army_conscription_factor value = 0.3 tooltip = conscription_factor_tt } } custom_effect_tooltip = decision_only_once_tt } } INS_oil_for_civ = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_generic_industry visible = { has_completed_focus = INS_invite_foreign_companies } available = { NOT = { has_country_flag = INS_selling_resource_flag } } custom_cost_trigger = { has_resources_in_country = { resource = oil amount > 39 extracted = no } } ai_will_do = { base = 2 modifier = { factor = 2 has_resources_in_country = { resource = oil amount > 50 extracted = no } has_resources_in_country = { resource = rubber amount < 120 extracted = no } } } custom_cost_text = INS_cost_text_oil_40 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_oil value = 40 tooltip = country_resource_cost_oil_tt } hidden_effect = { country_event = { id = INS_industrial_events.13 months = 24 } country_event = { id = INS_industrial_events.39 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } INS_only_militia_states_if_possible_and_needed = yes impassable = no } prioritize = { } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } } INS_oil_for_mil = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_generic_tank ai_will_do = { base = 2 modifier = { factor = 2 has_resources_in_country = { resource = oil amount > 50 extracted = no } has_resources_in_country = { resource = rubber amount < 120 extracted = no } } } visible = { has_completed_focus = INS_invite_foreign_companies } available = { NOT = { has_country_flag = INS_selling_resource_flag } } custom_cost_trigger = { has_resources_in_country = { resource = oil amount > 23 extracted = no } } custom_cost_text = INS_cost_text_oil_24 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_oil value = 24 tooltip = country_resource_cost_oil_tt } hidden_effect = { country_event = { id = INS_industrial_events.11 months = 24 } country_event = { id = INS_industrial_events.37 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt random_owned_controlled_state = { limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } INS_only_militia_states_if_possible_and_needed = yes impassable = no } prioritize = { } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } INS_oil_for_plane = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_SWE_set_air_budget ai_will_do = { base = 1 modifier = { factor = 2 has_resources_in_country = { resource = oil amount > 50 extracted = no } has_resources_in_country = { resource = rubber amount < 120 extracted = no } } } visible = { has_completed_focus = INS_invite_foreign_companies } available = { NOT = { has_country_flag = INS_selling_resource_flag has_idea = INS_plane_making } } custom_cost_trigger = { has_resources_in_country = { resource = oil amount > 31 extracted = no } } custom_cost_text = INS_cost_text_oil_32 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_oil value = 32 tooltip = country_resource_cost_oil_tt } hidden_effect = { country_event = { id = INS_industrial_events.12 months = 24 } country_event = { id = INS_industrial_events.38 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt add_timed_idea = { idea = INS_plane_making days = 365 } } } INS_oil_for_dockyard = { days_remove = var:INS_realign_supply_chains_time icon = GFX_decision_SWE_set_navy_budget ai_will_do = { base = 1 modifier = { factor = 2 has_resources_in_country = { resource = oil amount > 50 extracted = no } has_resources_in_country = { resource = rubber amount < 120 extracted = no } } } visible = { has_completed_focus = INS_invite_foreign_companies } available = { NOT = { has_country_flag = INS_selling_resource_flag has_idea = INS_plane_making } } custom_cost_trigger = { has_resources_in_country = { resource = oil amount > 39 extracted = no } } custom_cost_text = INS_cost_text_oil_40 complete_effect = { set_country_flag = { flag = INS_selling_resource_flag value = 1 } } remove_effect = { custom_effect_tooltip = INS_great_depression_tt add_to_variable = { var = INS_great_depression_country_resource_cost_oil value = 40 tooltip = country_resource_cost_oil_tt } hidden_effect = { country_event = { id = INS_industrial_events.13 months = 24 } country_event = { id = INS_industrial_events.39 } } custom_effect_tooltip = INS_resources_refunded_in_24_months_tt add_offsite_building = { type = dockyard level = 2 } } } } INS_national_revolution_cat = { INS_renville_timer_mission_republic = { days_mission_timeout = 365 priority = 150 icon = GFX_decision_generic_political_discourse activation = { always = no #done manually } available = { INS = { OR = { exists = no is_subject_of = HOL } } } complete_effect = { custom_effect_tooltip = INS_renville_wont_happen_neutral_tt } timeout_effect = { USA = { HOL = { country_event = { id = INS_revolution_events.37 hours = 4 } } } custom_effect_tooltip = if_they_accept_tt custom_effect_tooltip = INS_national_revolution_republic_win_ins_tt custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { indonesia_renville_war_effect = yes } } } INS_gradual_escalation_republic = { days_mission_timeout = 400 icon = GFX_decision_generic_ignite_civil_war activation = { has_country_flag = { flag = INS_revolution_has_started } } visible = { tag = INS has_country_flag = { flag = INS_revolution_has_started } } available = { hidden_trigger = { always = no } } cancel_trigger = { NOT = { has_country_flag = { flag = INS_revolution_has_started } } } is_good = no priority = 50 timeout_effect = { indonesia_increase_escalation_1_effect = yes custom_effect_tooltip = newline_tt } } INS_win_condition_base_republic_warning = { icon = GFX_decision_INS_destroy_the_east_indies priority = 150 visible = { tag = INS has_country_flag = { flag = INS_revolution_has_started } NOT = { has_country_flag = INS_renville_waiting has_country_flag = INS_java_mission_ongoing } any_state_in = { array = INS.owned_states_at_game_start tooltip = INS_owned_states_at_game_start_tt OR = { is_owned_by = HOL is_owned_by = event_target:INS_dutch_indonesia } } } available = { NOT = { any_state_in = { array = INS.owned_states_at_game_start tooltip = INS_owned_states_at_game_start_tt OR = { is_owned_by = HOL is_owned_by = event_target:INS_dutch_indonesia } } } custom_trigger_tooltip = { tooltip = will_complete_when_conditions_met_tt } } complete_effect = { custom_effect_tooltip = INS_national_revolution_republic_win_ins_tt effect_tooltip = { HOL = { country_event = { id = INS_revolution_events.29 hours = 1 } } annex_country = { target = event_target:INS_dutch_indonesia transfer_troops = no } if = { limit = { has_war_with = HOL } indonesia_white_peace_HOL_effect = yes } set_rule = { can_join_factions = yes } } } } INS_win_condition_base_republic_real = { icon = GFX_decision_INS_destroy_the_east_indies priority = 150 available = { always = yes } activation = { has_country_flag = INS_revolution_has_started NOT = { has_country_flag = INS_renville_waiting has_country_flag = INS_java_mission_ongoing } NOT = { any_state_in = { array = INS.owned_states_at_game_start tooltip = INS_owned_states_at_game_start_tt impassable = no OR = { is_owned_by = HOL is_owned_by = event_target:INS_dutch_indonesia } } } } days_mission_timeout = 0 is_good = no complete_effect = { custom_effect_tooltip = INS_national_revolution_republic_win_ins_tt HOL = { country_event = { id = INS_revolution_events.29 hours = 1 } } indonesia_declare_war_is_over_effect = yes annex_country = { target = event_target:INS_dutch_indonesia transfer_troops = no } indonesia_white_peace_HOL_effect = yes } } INS_take_batavia = { icon = GFX_decision_INS_take_java days_mission_timeout = 730 priority = 140 activation = { has_country_flag = { flag = INS_java_mission_ongoing } has_country_flag = INS_revolution_has_started } visible = { tag = INS has_country_flag = { flag = INS_revolution_has_started } } available = { controls_state = 1058 controls_state = 1051 controls_state = 335 if = { limit = { has_event_target = INS_extra_state_to_take } controls_state = event_target:INS_extra_state_to_take } } complete_effect = { custom_effect_tooltip = INS_national_revolution_republic_win_ins_tt HOL = { country_event = { id = INS_revolution_events.29 hours = 1 } } annex_country = { target = event_target:INS_dutch_indonesia transfer_troops = no } if = { limit = { has_war_with = HOL } every_enemy_country = { limit = { is_in_faction_with = HOL } INS = { white_peace = PREV } } white_peace = HOL } indonesia_declare_war_is_over_effect = yes } timeout_effect = { add_stability = -0.25 add_war_support = -0.25 } is_good = no } INS_national_revolution_republic_sukarno_threatened = { icon = GFX_decision_INS_sukarno_threatened days_mission_timeout = 720 activation = { always = no #triggered manually } visible = { tag = INS INS = { has_country_flag = { flag = INS_revolution_has_started } } } available = { OR = { NOT = { has_country_leader = { character = INS_sukarno } } AND = { neutrality > 0.6 has_completed_focus = INS_guided_democracy } NOT = { has_country_flag = INS_revolution_has_started } } } is_good = no priority = 45 timeout_effect = { kill_country_leader = yes set_country_flag = INS_sukarno_is_dead country_event = { id = INS_chaos_events.4 hours = 4 } } complete_effect = { add_popularity = { ideology = neutrality popularity = 0.05 } add_stability = 0.075 } } INS_national_revolution_republic_warning_police_action = { icon = GFX_decision_generic_police_action days_mission_timeout = 120 activation = { always = no #triggereed manually } visible = { tag = INS INS = { has_country_flag = { flag = INS_revolution_has_started } } } available = { hidden_trigger = { always = no } } is_good = yes priority = 40 timeout_effect = { effect_tooltip = { HOL = { declare_war_on = { target = INS type = annex_everything } } indonesia_increase_escalation_2_effect = yes } } complete_effect = { } } INS_national_revolution_peace_negotiation = { icon = GFX_decision_generic_political_address available = { } visible = { tag = INS INS = { has_country_flag = { flag = INS_revolution_has_started } } INS = { has_completed_focus = INSHOL_linggadjati_agreement } } cost = 75 fire_only_once = no state_target = yes target_trigger = { FROM = { is_owned_by = ROOT is_in_array = { array = INS.owned_states_at_game_start value = THIS } NOT = { has_dynamic_modifier = { modifier = INS_state_revolution_hq } } } } on_map_mode = map_and_decisions_view #ai_will_do = { # base = 100 #} complete_effect = { HOL = { country_event = { id = INS_revolution_events.30 hours = 4 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { FROM = { transfer_state_to = HOL } custom_effect_tooltip = indonesia_reduce_escalation_1_effect_tooltip_for_min_4 add_days_mission_timeout = { mission = INS_take_batavia days = 240 } add_stability = -0.05 add_war_support = -0.05 } } } INS_launch_feint_uprising = { icon = GFX_decision_generic_civil_support allowed = { original_tag = INS } visible = { has_country_flag = INS_revolution_has_started has_event_target = INS_dutch_indonesia } available = { NOT = { has_country_flag = INS_launched_feint_uprising } } state_target = yes target_trigger = { FROM = { is_in_array = { array = INS.owned_states_at_game_start value = THIS } OWNER = { OR = { tag = HOL tag = event_target:INS_dutch_indonesia } } any_neighbor_state = { OR = { is_owned_by = INS } } any_neighbor_state = { OR = { is_owned_by = HOL is_owned_by = event_target:INS_dutch_indonesia } impassable = no } impassable = no } } custom_cost_trigger = { has_political_power > 49 has_manpower > 4999 has_equipment = { infantry_equipment > 1499 } } custom_cost_text = decision_cost_PP_50_MP_5000_ie_1500 fire_only_once = no on_map_mode = map_only ai_will_do = { base = 0 } days_remove = 60 complete_effect = { hidden_effect = { add_political_power = -50 add_manpower = -5000 add_equipment_to_stockpile = { type = infantry_equipment amount = -1500 } } FROM = { set_state_flag = { flag = INS_feint_uprising value = 1 days = 60 } } set_country_flag = INS_launched_feint_uprising } modifier = { custom_modifier_tooltip = INS_feint_uprising_tt } remove_effect = { FROM = { clr_state_flag = INS_feint_uprising } clr_country_flag = INS_launched_feint_uprising add_stability = -0.05 FROM = { add_dynamic_modifier = { modifier = INS_feint_uprising_state days = 240 } } } cancel_trigger = { FROM = { NOT = { is_owned_by = event_target:INS_dutch_indonesia } NOT = { is_owned_by = HOL } } } cancel_effect = { FROM = { clr_state_flag = INS_feint_uprising } clr_country_flag = INS_launched_feint_uprising } } INS_reorganize_freedom_fighter_militia_1 = { icon = generic_reorganize_irregulars allowed = { original_tag = INS } visible = { has_country_flag = INS_revolution_has_started has_event_target = INS_dutch_indonesia } available = { set_temp_variable = { var = INS_militia_cap_multiplied_eq value = INS_militia_cap } set_temp_variable = { var = INS_militia_cap_multiplied_mp value = INS_militia_cap } multiply_temp_variable = { INS_militia_cap_multiplied_eq = 200 } multiply_temp_variable = { INS_militia_cap_multiplied_mp = 2000 } subtract_from_temp_variable = { INS_militia_cap_multiplied_eq = 1 } #it bothers me has_manpower > var:INS_militia_cap_multiplied_mp has_equipment = { infantry_equipment > var:INS_militia_cap_multiplied_eq } } fire_only_once = yes modifier = { } days_remove = 30 custom_cost_trigger = { command_power > 24 has_army_experience > 14 } custom_cost_text = decision_cost_CP_25_ArmXP_15 complete_effect = { hidden_effect = { add_command_power = -25 army_experience = -15 } } remove_effect = { custom_effect_tooltip = INS_reorganize_freedom_fighter_militia_1_tt hidden_effect = { add_units_to_division_template = { template_name = "Freedom Fighter Militia" regiments = { militia = 2 militia = 2 } } add_to_variable = { INS_level_of_militias = 2 } set_country_flag = INS_reorganize_freedom_fighter_militia_flag } } ai_will_do = { base = 5 } } INS_reorganize_freedom_fighter_militia_2 = { icon = generic_reorganize_irregulars allowed = { original_tag = INS } visible = { has_country_flag = INS_revolution_has_started has_event_target = INS_dutch_indonesia } available = { has_country_flag = INS_reorganize_freedom_fighter_militia_flag set_temp_variable = { var = INS_militia_cap_multiplied_eq value = INS_militia_cap } set_temp_variable = { var = INS_militia_cap_multiplied_mp value = INS_militia_cap } multiply_temp_variable = { INS_militia_cap_multiplied_eq = 300 } multiply_temp_variable = { INS_militia_cap_multiplied_mp = 3000 } subtract_from_temp_variable = { INS_militia_cap_multiplied_eq = 1 } #it bothers me has_manpower > var:INS_militia_cap_multiplied_mp has_equipment = { infantry_equipment > var:INS_militia_cap_multiplied_eq } } fire_only_once = yes modifier = { } days_remove = 30 custom_cost_trigger = { command_power > 24 has_army_experience > 14 } custom_cost_text = decision_cost_CP_25_ArmXP_15 complete_effect = { hidden_effect = { add_command_power = -25 army_experience = -15 } } remove_effect = { custom_effect_tooltip = INS_reorganize_freedom_fighter_militia_2_tt hidden_effect = { add_units_to_division_template = { template_name = "Freedom Fighter Militia" regiments = { militia = 0 militia = 1 militia = 2 } } add_to_variable = { INS_level_of_militias = 3 } } } ai_will_do = { base = 5 } } INS_reorganize_freedom_fighter_militia_recon = { icon = GFX_decisions_generic_infiltration allowed = { original_tag = INS } visible = { has_country_flag = INS_revolution_has_started has_event_target = INS_dutch_indonesia } available = { set_temp_variable = { var = INS_militia_cap_multiplied_eq value = INS_militia_cap } set_temp_variable = { var = INS_militia_cap_multiplied_mp value = INS_militia_cap } multiply_temp_variable = { INS_militia_cap_multiplied_eq = 40 } multiply_temp_variable = { INS_militia_cap_multiplied_mp = 400 } subtract_from_temp_variable = { INS_militia_cap_multiplied_eq = 1 } #it bothers me has_manpower > var:INS_militia_cap_multiplied_mp has_equipment = { infantry_equipment > var:INS_militia_cap_multiplied_eq } } fire_only_once = yes modifier = { } days_remove = 30 custom_cost_trigger = { command_power > 24 has_army_experience > 14 } custom_cost_text = decision_cost_CP_25_ArmXP_15 complete_effect = { hidden_effect = { add_command_power = -25 army_experience = -15 } } remove_effect = { custom_effect_tooltip = INS_reorganize_freedom_fighter_militia_recon_tt hidden_effect = { add_units_to_division_template = { template_name = "Freedom Fighter Militia" support = { recon = 0 } } add_to_variable = { INS_level_of_militias = 1 } } } ai_will_do = { base = 5 } } INS_escalate_the_conflict = { icon = GFX_decision_SWI_consolidate_council_power allowed = { original_tag = INS } visible = { has_country_flag = INS_revolution_has_started has_event_target = INS_dutch_indonesia } available = { check_variable = { var = INS_war_escalation_level value = 10 compare = less_than tooltip = war_escalation_10_max_tt } } fire_only_once = no modifier = { } days_remove = 90 custom_cost_trigger = { command_power > 24 has_political_power > 99 } custom_cost_text = decision_cost_CP_25_PP_100 complete_effect = { hidden_effect = { add_command_power = -25 add_political_power = -100 } } remove_effect = { indonesia_increase_escalation_1_effect = yes } ai_will_do = { base = 0 modifier = { add = 1 strength_ratio = { tag = HOL ratio > 1 } } modifier = { add = 1 strength_ratio = { tag = HOL ratio > 1.3 } } modifier = { add = 2 strength_ratio = { tag = HOL ratio > 1.5 } } modifier = { add = 5 strength_ratio = { tag = HOL ratio > 2 } } modifier = { add = 10 strength_ratio = { tag = HOL ratio > 3 } } modifier = { add = 2 has_active_mission = INS_militias_railway_pemuda_mission check_variable = { var = INS_war_escalation_level value = 7 compare = less_than } } } } INS_deescalate_the_conflict = { icon = GFX_decision_generic_political_address allowed = { original_tag = INS } visible = { has_country_flag = INS_revolution_has_started has_event_target = INS_dutch_indonesia NOT = { has_war_with = HOL } } available = { check_variable = { var = INS_war_escalation_level value = 4 compare = greater_than_or_equals tooltip = war_escalation_4_or_more_tt } custom_trigger_tooltip = { tooltip = INS_is_deescalating_tt NOT = { has_country_flag = INS_deescalating_in_progress has_country_flag = INS_no_raids_allowed } } } fire_only_once = no modifier = { } days_remove = 120 cost = 175 complete_effect = { set_country_flag = INS_deescalating_in_progress } remove_effect = { indonesia_reduce_escalation_1_effect = yes clr_country_flag = INS_deescalating_in_progress } ai_will_do = { base = 1 } } INS_deescalate_the_conflict_2 = { icon = GFX_decision_SWI_swiss_democratic_tradition_campaign allowed = { original_tag = INS } visible = { has_country_flag = INS_revolution_has_started has_event_target = INS_dutch_indonesia has_war = no } available = { check_variable = { var = INS_war_escalation_level value = 2 compare = greater_than_or_equals tooltip = war_escalation_2_or_more_tt } custom_trigger_tooltip = { tooltip = INS_is_deescalating_tt NOT = { has_country_flag = INS_deescalating_in_progress has_country_flag = INS_no_raids_allowed } } has_war = no } fire_only_once = no modifier = { } days_remove = 120 cost = 25 complete_effect = { set_country_flag = INS_no_raids_allowed set_country_flag = INS_deescalating_in_progress custom_effect_tooltip = INS_no_raids_allowed_tt } remove_effect = { indonesia_reduce_escalation_1_effect = yes clr_country_flag = INS_no_raids_allowed clr_country_flag = INS_deescalating_in_progress } ai_will_do = { base = 0 } } } INS_national_revolution_dutch_cat = { INS_renville_timer_mission_HOL = { days_mission_timeout = 365 priority = 150 icon = GFX_decision_generic_political_discourse is_good = yes activation = { always = no #done manually } cancel_trigger = { INS = { NOT = { has_country_flag = { flag = INS_revolution_has_started } } } } available = { INS = { OR = { exists = no is_subject_of = HOL } } } complete_effect = { #renville wont happen custom_effect_tooltip = INS_renville_wont_happen_neutral_tt } timeout_effect = { custom_effect_tooltip = INS_renville_tt_HOL } } INS_gradual_escalation_HOL = { days_mission_timeout = 400 icon = GFX_decision_generic_ignite_civil_war activation = { INS = { has_country_flag = { flag = INS_revolution_has_started } } } cancel_trigger = { INS = { NOT = { has_country_flag = { flag = INS_revolution_has_started } } } } visible = { tag = HOL INS = { has_country_flag = { flag = INS_revolution_has_started } } } available = { hidden_trigger = { always = no } } is_good = yes priority = 50 timeout_effect = { effect_tooltip = { indonesia_increase_escalation_1_effect = yes } custom_effect_tooltip = newline_tt } } INS_hold_batavia_HOL = { icon = GFX_decision_INS_hold_java days_mission_timeout = 730 priority = 140 activation = { INS = { has_country_flag = { flag = INS_java_mission_ongoing } } } cancel_trigger = { NOT = { INS = { has_country_flag = { flag = INS_java_mission_ongoing } } } } visible = { tag = HOL INS = { has_country_flag = { flag = INS_revolution_has_started } } } available = { NOT = { 1058 = { is_controlled_by_ROOT_or_subject = yes } 335 = { is_controlled_by_ROOT_or_subject = yes } 1051 = { is_controlled_by_ROOT_or_subject = yes } if = { limit = { has_event_target = INS_extra_state_to_take } event_target:INS_extra_state_to_take = { is_controlled_by_ROOT_or_subject = yes } } } } complete_effect = { effect_tooltip = { country_event = { id = INS_revolution_events.29 hours = 1 } INS = { annex_country = { target = event_target:INS_dutch_indonesia transfer_troops = no } } } } timeout_effect = { if = { limit = { has_event_target = INS_dutch_indonesia } event_target:INS_dutch_indonesia = { annex_country = { target = INS transfer_troops = no } } } else = { HOL = { annex_country = { target = INS transfer_troops = no } } } } is_good = yes } INS_revolution_war_HOL = { icon = GFX_decision_generic_police_action available = { NOT = { has_war_with = INS } INS = { check_variable = { var = INS_war_escalation_level value = 4 compare = greater_than_or_equals tooltip = war_escalation_4_or_more_tt } } } visible = { tag = HOL INS = { has_country_flag = { flag = INS_revolution_has_started } } } cancel_trigger = { NOT = { INS = { has_country_flag = { flag = INS_revolution_has_started } } } } cost = 0 days_remove = 120 war_with_on_remove = INS fire_only_once = no ai_will_do = { base = 0 # Escalation 4-6 has a tiny chance each month modifier = { add = 1 check_variable = { var = INS.INS_war_escalation_level value = 4 compare = greater_than_or_equals } INS = { check_variable = { var = INS_random_seed value = 97 #3% chance each month compare = greater_than_or_equals } } } modifier = { add = 1 check_variable = { var = INS.INS_war_escalation_level value = 5 compare = greater_than_or_equals } INS = { check_variable = { var = INS_random_seed value = 95 #5% chance each month compare = greater_than_or_equals } } } modifier = { add = 1 check_variable = { var = INS.INS_war_escalation_level value = 6 compare = greater_than_or_equals } INS = { check_variable = { var = INS_random_seed value = 93 #7% chance each month compare = greater_than_or_equals } } } # Escalation 7/8 has a high chance each month modifier = { add = 1 check_variable = { var = INS.INS_war_escalation_level value = 7 compare = greater_than_or_equals } INS = { check_variable = { var = INS_random_seed value = 85 #15% chance each month compare = greater_than_or_equals } } } modifier = { add = 1 check_variable = { var = INS.INS_war_escalation_level value = 8 compare = greater_than_or_equals } INS = { check_variable = { var = INS_random_seed value = 60 #40% chance each month compare = greater_than_or_equals } } } # Guaranteed at escalation 9 modifier = { add = 1 check_variable = { var = INS.INS_war_escalation_level value = 9 compare = greater_than_or_equals } } # In addition to random chance, Indonesia controlling any state in Java will significantly up the odds modifier = { add = 1 check_variable = { var = INS.INS_war_escalation_level value = 4 compare = greater_than_or_equals } INS = { check_variable = { var = INS_random_seed value = 90 #10% chance each month compare = greater_than_or_equals } OR = { controls_state = 1058 controls_state = 1051 controls_state = 335 } } } modifier = { add = 1 check_variable = { var = INS.INS_war_escalation_level value = 4 compare = greater_than_or_equals } INS = { # two states in java = guaranteed, immediately OR = { AND = { controls_state = 1058 controls_state = 1051 } AND = { controls_state = 1058 controls_state = 335 } AND = { controls_state = 1051 controls_state = 335 } } } } } complete_effect = { INS = { activate_mission = INS_national_revolution_republic_warning_police_action } if = { limit = { check_variable = { var = INS_war_escalation_level value = 7 compare = greater_than_or_equals } } # nothing } else = { add_timed_idea = { idea = HOL_internationally_controversial_aggression days = 480 } custom_effect_tooltip = INS_revolution_penalty_reduce_tt } } remove_effect = { declare_war_on = { target = INS type = annex_everything } every_subject_country = { limit = { original_tag = INS } declare_war_on = { target = INS type = annex_everything } } INS = { indonesia_increase_escalation_2_effect = yes } } } INS_escalate_the_conflict_HOL = { icon = GFX_decision_SWI_consolidate_council_power allowed = { original_tag = HOL } visible = { INS = { has_country_flag = INS_revolution_has_started has_event_target = INS_dutch_indonesia } } available = { check_variable = { var = INS.INS_war_escalation_level value = 10 compare = less_than tooltip = war_escalation_10_max_tt } } fire_only_once = no modifier = { } days_remove = 90 custom_cost_trigger = { command_power > 24 has_political_power > 99 } custom_cost_text = decision_cost_CP_25_PP_100 complete_effect = { hidden_effect = { add_command_power = -25 add_political_power = -100 } } remove_effect = { indonesia_increase_escalation_1_effect = yes } ai_will_do = { base = 1 } } INS_can_raid_here_HOL = { icon = GFX_decision_generic_nationalism allowed = { original_tag = HOL } visible = { INS = { has_country_flag = INS_revolution_has_started has_event_target = INS_dutch_indonesia } } available = { hidden_trigger = { always = no } } state_target = yes target_trigger = { FROM = { is_in_array = { array = INS.owned_states_at_game_start value = THIS } OWNER = { OR = { tag = HOL tag = event_target:INS_dutch_indonesia } } any_neighbor_state = { OR = { is_owned_by = INS has_dynamic_modifier = { modifier = INS_state_militia_activity_1 } has_dynamic_modifier = { modifier = INS_state_militia_activity_2 } has_dynamic_modifier = { modifier = INS_state_militia_activity_3 } } } impassable = no } } fire_only_once = no on_map_mode = map_only ai_will_do = { base = 0 } complete_effect = { custom_effect_tooltip = INS_can_raid_here_HOL_tt } remove_effect = { } cancel_trigger = { } cancel_effect = { } } } INS_pacific_revolution_cat = { INS_instigate_in_country = { icon = GFX_decision_eng_propaganda_campaigns allowed = { original_tag = INS } highlight_states = { highlight_states_trigger = { is_owned_by = FROM } } target_root_trigger = { has_completed_focus = INS_pacific_revolution #NOT = { # has_country_flag = INS_coup_in_progress #} } visible = { NOT = { has_country_flag = INS_coup_in_progress } } target_trigger = { FROM = { OR = { tag = MAL tag = SIA tag = PHI tag = AST tag = NZL tag = BRM tag = VIN tag = LAO tag = CAM tag = GDC tag = GXC tag = YUN tag = PNG tag = WPG tag = SRL tag = SAR tag = BRN tag = SAB tag = SNG tag = TML tag = BOU tag = CHM tag = CPS } NOT = { is_subject_of = ROOT has_government = communism has_country_flag = INS_has_already_done_revolution } } } cost = 25 fire_only_once = no on_map_mode = map_and_decisions_view ai_will_do = { base = 5 modifier = { factor = 10 FROM = { OR = { tag = MAL tag = SIA tag = PHI tag = AST tag = NZL } } } } complete_effect = { FROM = { save_global_event_target_as = INS_revolution_target country_event = { id = INS_communist_events.6 hours = 12 } if = { limit = { is_subject = yes } overlord = { country_event = { id = INS_communist_events.7 hours = 12 } } } } set_country_flag = INS_coup_in_progress } } INS_abandon_mission = { icon = GFX_decision_BOL_reintegrate_litoral_department visible = { has_country_flag = INS_coup_in_progress } priority = 15 complete_effect = { clr_country_flag = INS_coup_in_progress clear_global_event_target = INS_revolution_target } } INS_launch_revolution = { icon = GFX_decision_revolt visible = { has_country_flag = INS_coup_in_progress } target_root_trigger = { has_country_flag = INS_coup_in_progress } highlight_states = { highlight_states_trigger = { is_owned_by = FROM } } target_trigger = { FROM = { tag = event_target:INS_revolution_target } } ai_will_do = { base = 100 } available = { if = { limit = { NOT = { has_completed_focus = INS_purge_oppurtunists has_completed_focus = INS_musso_ascends } } OR = { AND = { has_completed_focus = INS_purge_oppurtunists FROM = { communism > 0.6 } } AND = { has_completed_focus = INS_musso_ascends FROM = { communism > 0.3 } } } } else_if = { limit = { has_completed_focus = INS_purge_oppurtunists } FROM = { communism > 0.6 } } else_if = { limit = { has_completed_focus = INS_musso_ascends } FROM = { communism > 0.3 } } country_exists = event_target:INS_revolution_target NOT = { event_target:INS_revolution_target = { has_government = communism } } } on_map_mode = decision_view_only priority = 20 cost = 100 complete_effect = { FROM = { country_event = { id = INS_communist_events.1 hours = 12 } } hidden_effect = { remove_decision_on_cooldown = INS_arm_militias remove_decision_on_cooldown = INS_propoganda_mission clr_country_flag = INS_coup_in_progress event_target:INS_revolution_target = { set_country_flag = INS_has_already_done_revolution } clear_global_event_target = INS_revolution_target } } } INS_propoganda_mission = { icon = GFX_decision_SOV_secure_the_administration visible = { has_country_flag = INS_coup_in_progress } target_root_trigger = { has_country_flag = INS_coup_in_progress } highlight_states = { highlight_states_trigger = { is_owned_by = FROM } } target_trigger = { FROM = { tag = event_target:INS_revolution_target } } on_map_mode = decision_view_only priority = 16 cost = 50 ai_will_do = { base = 10 } days_remove = 70 remove_effect = { FROM = { add_popularity = { ideology = communism popularity = 0.1 } add_stability = -0.05 country_event = { id = INS_communist_events.8 hours = 12 } } } } INS_arm_militias = { icon = GFX_decision_POL_looming_peasants_strike visible = { has_country_flag = INS_coup_in_progress } target_root_trigger = { has_country_flag = INS_coup_in_progress } highlight_states = { highlight_states_trigger = { is_owned_by = FROM } } target_trigger = { FROM = { tag = event_target:INS_revolution_target } } on_map_mode = decision_view_only custom_cost_trigger = { has_equipment = { infantry_equipment > 499 } } custom_cost_text = decision_cost_ie_500 priority = 17 ai_will_do = { base = 10 } days_remove = 70 complete_effect = { FROM = { add_to_variable = { INS_automatic_militias_var_for_target = 1 } add_popularity = { ideology = communism popularity = 0.05 } } custom_effect_tooltip = INS_arm_militias_tt add_equipment_to_stockpile = { type = infantry_equipment amount = -500 } } } INS_revolutionary_sentiment = { icon = GFX_decision_POL_organize_strike_two visible = { has_country_flag = INS_coup_in_progress } target_root_trigger = { has_country_flag = INS_coup_in_progress } highlight_states = { highlight_states_trigger = { is_owned_by = FROM } } target_trigger = { FROM = { tag = event_target:INS_revolution_target } } available = { FROM = { NOT = { has_idea = INS_revolutionaries_working_with_indonesians_idea } } } on_map_mode = decision_view_only priority = 18 cost = 75 ai_will_do = { base = 10 } complete_effect = { FROM = { add_timed_idea = { idea = INS_revolutionaries_working_with_indonesians_idea days = 240 } country_event = { id = INS_communist_events.9 hours = 12 } } } } INS_anti_colonialist_bonus = { icon = GFX_decision_generic_independence visible = { has_country_flag = INS_coup_in_progress } target_root_trigger = { has_country_flag = INS_coup_in_progress } highlight_states = { highlight_states_trigger = { is_owned_by = FROM } } target_trigger = { FROM = { tag = event_target:INS_revolution_target is_subject = yes } } available = { FROM = { NOT = { has_idea = INS_anti_colonialist_sentiment_idea } } } on_map_mode = decision_view_only cost = 50 priority = 19 ai_will_do = { base = 10 } complete_effect = { FROM = { add_timed_idea = { idea = INS_anti_colonialist_sentiment_idea days = 240 } country_event = { id = INS_communist_events.10 hours = 12 } } } } } INS_aslia_cat = { INS_integrate_subject = { icon = GFX_decision_generic_confiscation target_root_trigger = { has_completed_focus = INS_federation_of_aslia } available = { NOT = { has_country_flag = INS_integrate_subject_in_progress } } target_trigger = { FROM = { is_subject_of = INS has_civil_war = no OR = { original_tag = MAL original_tag = SIA original_tag = PHI original_tag = AST original_tag = NZL original_tag = BRM original_tag = VIN original_tag = LAO original_tag = CAM original_tag = GDC original_tag = GXC original_tag = YUN original_tag = PNG original_tag = WPG original_tag = SRL original_tag = SAR original_tag = BRN original_tag = SAB original_tag = SNG original_tag = TML original_tag = BOU original_tag = CHM original_tag = CPS } } } cost = 100 days_remove = 120 ai_will_do = { base = 100 } complete_effect = { set_country_flag = { flag = INS_integrate_subject_in_progress days = 120 } } remove_effect = { FROM = { every_core_state = { add_core_of = ROOT } } ROOT = { annex_country = { target = FROM transfer_troops = yes } } } } } INS_limited_wars_cat = { INS_start_limited_war_malaya = { target_root_trigger = { original_tag = INS } target_array = ROOT.malaya_controllers target_trigger = { NOT = { is_in_array = { array = previous_limited_war_targets value = FROM } } is_in_array = { array = ROOT.malaya_controllers value = FROM } any_of_scopes = { array = ROOT.malaya_states is_controlled_by = FROM } } visible = { has_completed_focus = INS_destroy_pacific_colonialism } available = { NOT = { is_ally_with = FROM has_war_with = FROM has_non_aggression_pact_with = FROM FROM = { is_guaranteed_by = ROOT } } custom_trigger_tooltip = { tooltip = is_not_engaged_in_a_limited_war NOT = { has_variable = limited_war_target } } } highlight_states = { highlight_states_trigger = { is_in_array = { array = ROOT.malaya_states value = THIS } is_controlled_by = FROM } } cost = 20 complete_effect = { custom_effect_tooltip = SIA_start_limited_war_indochina_tt_main clear_variable = pre_limited_war_faction_leader if = { limit = { is_in_faction = yes is_faction_leader = no } faction_leader = { set_variable = { ROOT.pre_limited_war_faction_leader = THIS } } leave_faction = yes custom_effect_tooltip = SIA_start_limited_war_rejoin_faction custom_effect_tooltip = newline_tt } custom_effect_tooltip = newline_tt set_rule = { can_join_factions = no } custom_effect_tooltip = SIA_start_limited_war_can_join_faction #General cleanup clear_array = limited_war_states clear_variable = limited_war_target clear_array = limited_war_target_allies #Save all states that is included in the limited war for_each_scope_loop = { array = malaya_states if = { limit = { is_controlled_by = FROM } add_to_array = { array = ROOT.limited_war_states value = THIS } } } set_variable = { limited_war_target = FROM } #is_target_of_limited_war if = { #overlord will always be called if target is a subject limit = { var:limited_war_target = { is_subject = yes } } var:limited_war_target = { overlord = { add_to_array = { array = ROOT.limited_war_target_allies value = THIS } } } } declare_war_on = { target = FROM type = annex_everything } activate_mission = INS_limited_war_malaya add_to_array = { previous_limited_war_targets = FROM } } } INS_limited_war_malaya = { visible = { always = yes } is_good = no available = { all_of_scopes = { array = ROOT.limited_war_states is_controlled_by = ROOT } } fire_only_once = yes activation = { always = no } cancel_trigger = { OR = { exists = no has_capitulated = yes surrender_progress > var:global.limited_war_surrender_threshold } } days_mission_timeout = 365 complete_effect = { country_event = { id = INS_limited_war_events.1 hours = 2 } } cancel_effect = { if = { limit = { surrender_progress > var:global.limited_war_surrender_threshold } var:limited_war_target = { country_event = { id = INS_limited_war_events.6 hours = 2 } } } } timeout_effect = { var:limited_war_target = { country_event = { id = INS_limited_war_events.6 hours = 2 } } } } } INS_leaders_cat = { INS_set_leader_to_tjarda = { icon = GFX_decision_eng_install_government available = { NOT = { has_country_flag = INS_has_changed_leader } has_character = INS_a_t_van_starkenborgh_stachouwer INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 0 } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { INS_a_t_van_starkenborgh_stachouwer = { can_be_country_leader = yes } } promote_character = { character = INS_a_t_van_starkenborgh_stachouwer ideology = conservatism } } else = { INS_a_t_van_starkenborgh_stachouwer = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { TAOG_liberal_colonial_leader } } } } } } } INS_set_leader_to_cornelis = { icon = GFX_decision_eng_install_government available = { NOT = { has_country_flag = INS_has_changed_leader } has_character = INS_bonifacius_cornelis_de_jonge INS_bonifacius_cornelis_de_jonge = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 0 } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { INS_bonifacius_cornelis_de_jonge = { can_be_country_leader = yes } } promote_character = { character = INS_bonifacius_cornelis_de_jonge ideology = conservatism } } else = { INS_bonifacius_cornelis_de_jonge = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_staunch_imperialist } } } } } } } INS_set_leader_to_sjahrir = { icon = GFX_decision_generic_political_discourse available = { NOT = { has_country_flag = INS_has_changed_leader } has_character = INS_sutan_sjahrir INS_sutan_sjahrir = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy has_completed_focus = INSHOL_nationalist_coallition } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { INS_sutan_sjahrir = { can_be_country_leader = yes } } promote_character = { character = INS_sutan_sjahrir ideology = conservatism } } else = { INS_sutan_sjahrir = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { idealist_revolutionary } } } } } } } INS_set_leader_to_hatta = { icon = GFX_decision_generic_political_discourse available = { NOT = { has_country_flag = INS_has_changed_leader } has_character = INS_mohammad_hatta INS_mohammad_hatta = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy has_completed_focus = INSHOL_nationalist_coallition } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { INS_mohammad_hatta = { can_be_country_leader = yes } } promote_character = { character = INS_mohammad_hatta ideology = conservatism } } else = { INS_mohammad_hatta = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_longstanding_nationalist } } } } } } } INS_set_leader_to_sjarifuddin = { icon = GFX_decision_generic_political_discourse available = { NOT = { has_country_flag = INS_has_changed_leader } has_character = INS_amir_sjarifuddin_harahap INS_amir_sjarifuddin_harahap = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { INS_amir_sjarifuddin_harahap = { can_be_country_leader = yes } } promote_character = { character = INS_amir_sjarifuddin_harahap ideology = conservatism } } else = { INS_amir_sjarifuddin_harahap = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_compromising_centrist } } } } } } } INS_set_leader_to_oerip = { icon = GFX_decision_generic_army_support available = { NOT = { has_country_flag = INS_has_changed_leader } has_character = INS_oerip_soemohardjo INS_oerip_soemohardjo = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { INS_oerip_soemohardjo = { can_be_country_leader = yes } } promote_character = { character = INS_oerip_soemohardjo ideology = conservatism } } else = { INS_oerip_soemohardjo = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_the_indonesian_general } } } } } } } INS_set_leader_to_poorten = { icon = GFX_decision_generic_belgian_colonial_helmet available = { NOT = { has_country_flag = INS_has_changed_leader } has_character = INS_hein_ter_poorten INS_hein_ter_poorten = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy has_completed_focus = INSHOL_volksraad_compromises } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { INS_hein_ter_poorten = { can_be_country_leader = yes } } promote_character = { character = INS_hein_ter_poorten ideology = conservatism } } else = { INS_hein_ter_poorten = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_the_steady_hand } } } } } } } INS_set_leader_to_dewa = { icon = GFX_decision_generic_monarchy available = { NOT = { has_country_flag = INS_has_changed_leader } hidden_trigger = { has_event_target = INS_dewa_geg } event_target:INS_dewa_geg = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy has_completed_focus = INSHOL_princely_authority } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { event_target:INS_dewa_geg = { can_be_country_leader = yes has_ideology = conservatism } } event_target:INS_dewa_geg = { promote_character = { character = event_target:INS_dewa_geg ideology = conservatism } } } else = { event_target:INS_dewa_geg = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_paramount_of_bali } } } } } } } INS_set_leader_to_INS_syarif_muhammad_alkadrie = { icon = GFX_decision_generic_monarchy available = { NOT = { has_country_flag = INS_has_changed_leader } hidden_trigger = { has_event_target = INS_syarif_muhammad_alkadrie } event_target:INS_syarif_muhammad_alkadrie = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy has_completed_focus = INSHOL_princely_authority } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { event_target:INS_syarif_muhammad_alkadrie = { can_be_country_leader = yes has_ideology = conservatism } } event_target:INS_syarif_muhammad_alkadrie = { promote_character = { character = event_target:INS_syarif_muhammad_alkadrie ideology = conservatism } } } else = { event_target:INS_syarif_muhammad_alkadrie = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_the_merchant_sultan_of_pontianak } } } } } } } INS_set_leader_to_INS_sultan_muhibuddin = { icon = GFX_decision_generic_monarchy available = { NOT = { has_country_flag = INS_has_changed_leader } hidden_trigger = { has_event_target = INS_sultan_muhibuddin } event_target:INS_sultan_muhibuddin = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy has_completed_focus = INSHOL_princely_authority } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { event_target:INS_sultan_muhibuddin = { can_be_country_leader = yes has_ideology = conservatism } } event_target:INS_sultan_muhibuddin = { promote_character = { character = event_target:INS_sultan_muhibuddin ideology = conservatism } } } else = { event_target:INS_sultan_muhibuddin = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_sombaya_of_gowa } } } } } } } INS_set_leader_to_INS_iskandar_sjah = { icon = GFX_decision_generic_monarchy available = { NOT = { has_country_flag = INS_has_changed_leader } hidden_trigger = { has_event_target = INS_iskandar_sjah } event_target:INS_iskandar_sjah = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy has_completed_focus = INSHOL_princely_authority } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { event_target:INS_iskandar_sjah = { can_be_country_leader = yes has_ideology = conservatism } } event_target:INS_iskandar_sjah = { promote_character = { character = event_target:INS_iskandar_sjah ideology = conservatism } } } else = { event_target:INS_iskandar_sjah = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_the_four_mountains_of_ternate } } } } } } } INS_set_leader_to_INS_syarif_kasim = { icon = GFX_decision_generic_monarchy available = { NOT = { has_country_flag = INS_has_changed_leader } hidden_trigger = { has_event_target = INS_syarif_kasim } event_target:INS_syarif_kasim = { is_country_leader = no } } visible = { has_completed_focus = INSHOL_democracy has_completed_focus = INSHOL_princely_authority } cost = 75 days_remove = 0 fire_only_once = no ai_will_do = { base = 1 modifier = { factor = 15 OR = { INS_a_t_van_starkenborgh_stachouwer = { is_country_leader = yes } INS_bonifacius_cornelis_de_jonge = { is_country_leader = yes } } } } complete_effect = { set_country_flag = { flag = INS_has_changed_leader days = 120 value = 1 } if = { limit = { event_target:INS_syarif_kasim = { can_be_country_leader = yes has_ideology = conservatism } } event_target:INS_syarif_kasim = { promote_character = { character = event_target:INS_syarif_kasim ideology = conservatism } } } else = { event_target:INS_syarif_kasim = { add_country_leader_role = { promote_leader = yes country_leader = { ideology = conservatism expire = 1965.1.1.1 traits = { INS_the_sultan_schoolmaster_of_siak } } } } } } } }