AST_union_control_1_cat = { AST_union_strike = { icon = eng_blackshirt_march available = { NOT = { has_idea = AST_strike_ongoing } } cost = 50 days_remove = 25 days_re_enable = 70 fire_only_once = no visible = { has_completed_focus = AST_take_it_to_the_streets NOT = { has_completed_focus = AST_all_for_one_one_for_all } } cancel_trigger = { has_completed_focus = AST_all_for_one_one_for_all } modifier = { civilian_factory_use = 1 } ai_will_do = { factor = 10 } remove_effect = { add_ideas = AST_strike_ongoing } } AST_veterans_revolt = { icon = eng_blackshirt_march available = { has_government = communism } days_mission_timeout = 720 is_good = no fire_only_once = yes activation = { always = no } cancel_trigger = { hidden_trigger = { OR = { has_government = communism has_country_flag = AST_veterans_revolt_fired } } } cancel_effect = { clr_country_flag = AST_veterans_revolt_active } timeout_effect = { custom_override_tooltip = { tooltip = AST_peace_out_all_wars_tt every_enemy_country = { white_peace = PREV } } start_civil_war = { ruling_party = communism ideology = ROOT states = all states_filter = { NOT = { is_in_array = { AST.AST_seize_leadership_states = THIS } } } } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = idea_AST_civil_war_on_their_own every_enemy_country = { limit = { civilwar_target = ROOT } hidden_effect = { save_event_target_as = AST_revolter_country every_enemy_country = { limit = { NOT = { original_tag = ROOT } } white_peace = event_target:AST_revolter_country } } } } ai_will_do = { factor = 10 } } AST_seize_local_leadership_in_state_major = { icon = eng_blackshirt_march state_target = yes target_root_trigger = { has_completed_focus = AST_against_war_and_fascism } target_array = AST.core_states target_trigger = { FROM = { is_owned_by = ROOT OR = { state = 517 state = 285 } } } on_map_mode = map_only days_remove = 14 cost = 75 fire_only_once = yes remove_effect = { hidden_effect = { FROM = { add_to_array = { array = AST.AST_seize_leadership_states value = THIS } } set_temp_variable = { communism_support = FROM.state_population_k } multiply_temp_variable = { communism_support = 0.6 } # ~60% employment to population ratio multiply_temp_variable = { communism_support = 0.7 } # 30% of them unemployed multiply_temp_variable = { communism_support = 0.37 } # 37% of them with union membership (about 1 million, previous number is 2.7 million) if = { limit = { check_variable = { max_manpower_k > 0 } } divide_temp_variable = { communism_support = max_manpower_k } } multiply_temp_variable = { communism_support = 2 } # tripled for balancing reasons add_to_temp_variable = { communism_support = 0.0285 } # base so that small states still are worth picking set_temp_variable = { stability_cost = communism_support } multiply_temp_variable = { stability_cost = -1 } } add_stability = var:stability_cost add_popularity = { ideology = communism popularity = var:communism_support } custom_effect_tooltip = AST_seize_local_control_tt } ai_will_do = { factor = 10 modifier = { factor = 0 has_stability < 0.5 } modifier = { factor = 0 communism > 0.5 } } } AST_seize_local_leadership_in_state_mid = { icon = eng_blackshirt_march state_target = yes target_root_trigger = { has_completed_focus = AST_against_war_and_fascism } target_array = AST.core_states target_trigger = { FROM = { is_owned_by = ROOT OR = { state = 521 state = 519 } } } on_map_mode = map_only days_remove = 14 cost = 50 fire_only_once = yes remove_effect = { hidden_effect = { FROM = { add_to_array = { array = AST.AST_seize_leadership_states value = THIS } } set_temp_variable = { communism_support = FROM.state_population_k } multiply_temp_variable = { communism_support = 0.6 } # ~60% employment to population ratio multiply_temp_variable = { communism_support = 0.7 } # 30% of them unemployed multiply_temp_variable = { communism_support = 0.37 } # 37% of them with union membership (about 1 million, previous number is 2.7 million) if = { limit = { check_variable = { max_manpower_k > 0 } } divide_temp_variable = { communism_support = max_manpower_k } } multiply_temp_variable = { communism_support = 2 } # tripled for balancing reasons add_to_temp_variable = { communism_support = 0.0285 } # base so that small states still are worth picking set_temp_variable = { stability_cost = communism_support } multiply_temp_variable = { stability_cost = -1 } } add_stability = var:stability_cost add_popularity = { ideology = communism popularity = var:communism_support } custom_effect_tooltip = AST_seize_local_control_tt } ai_will_do = { factor = 10 modifier = { factor = 0 has_stability < 0.5 } modifier = { factor = 0 communism > 0.5 } } } AST_seize_local_leadership_in_state_low = { icon = eng_blackshirt_march state_target = yes target_root_trigger = { has_completed_focus = AST_against_war_and_fascism } target_array = AST.core_states target_trigger = { FROM = { is_owned_by = ROOT OR = { state = 518 state = 873 state = 674 state = 872 state = 520 state = 870 state = 522 state = 871 } } } on_map_mode = map_only days_remove = 14 cost = 25 fire_only_once = yes remove_effect = { hidden_effect = { FROM = { add_to_array = { array = AST.AST_seize_leadership_states value = THIS } } set_temp_variable = { communism_support = FROM.state_population_k } multiply_temp_variable = { communism_support = 0.6 } # ~60% employment to population ratio multiply_temp_variable = { communism_support = 0.7 } # 30% of them unemployed multiply_temp_variable = { communism_support = 0.37 } # 37% of them with union membership (about 1 million, previous number is 2.7 million) if = { limit = { check_variable = { max_manpower_k > 0 } } divide_temp_variable = { communism_support = max_manpower_k } } multiply_temp_variable = { communism_support = 2 } # tripled for balancing reasons add_to_temp_variable = { communism_support = 0.0285 } # base so that small states still are worth picking set_temp_variable = { stability_cost = communism_support } multiply_temp_variable = { stability_cost = -1 } } add_stability = var:stability_cost add_popularity = { ideology = communism popularity = var:communism_support } custom_effect_tooltip = AST_seize_local_control_tt } ai_will_do = { factor = 10 modifier = { factor = 0 has_stability < 0.5 } modifier = { factor = 0 communism > 0.5 } } } } AST_nationalizing_cat = { AST_nationalization = { icon = SOV_the_workers_dictatorship allowed = { original_tag = AST has_dlc = "Thunder at Our Gates" } cost = 0 fire_only_once = yes visible = { has_completed_focus = AST_abolition_of_private_property } available = { has_completed_focus = AST_abolition_of_private_property } modifier = { } complete_effect = { add_ideas = AST_nationalizing_spirit } } } AST_union_control_2_foreign_cat = { AST_foreign_overlord_reclaim_foothold_in_target_mission = { icon = eng_blackshirt_march available = { always = no } visible = { always = no } activation = { always = no } cancel_trigger = { always = no } selectable_mission = no days_mission_timeout = 180 is_good = yes fire_only_once = yes timeout_effect = { custom_override_tooltip= { tooltip = AST_foreign_overlord_reclaim_foothold_in_target_mission_tt if = { limit = { FROM = { NOT = { all_of_scopes = { array = owned_controlled_core_states_cw_start is_fully_controlled_by = FROM } } } } white_peace = FROM } } effect_tooltip = { white_peace = FROM } } ai_will_do = { factor = 10 } } } AST_union_control_2_cat = { AST_take_it_to_foreign_streets = { icon = eng_blackshirt_march available = { has_government = communism any_country = { is_in_array = { array = ROOT.AST_union_control_target_array value = THIS } has_idea = ast_foreign_communist_influence_idea } } cost = 75 days_re_enable = 60 fire_only_once = no visible = { } complete_effect = { every_country = { limit = { is_in_array = { array = ROOT.AST_union_control_target_array value = THIS } has_idea = ast_foreign_communist_influence_idea } modify_timed_idea = { idea = ast_foreign_communist_influence_idea days = 60 } country_event = { id = AST_union_control_events.2 days = 1 } } custom_effect_tooltip = AST_take_it_to_foreign_streets_tt } ai_will_do = { factor = 10 } } AST_organize_in_nation = { icon = eng_blackshirt_march target_root_trigger = { has_government = communism } target_array = AST_union_control_target_array visible = { NOT = { FROM = { OR = { has_capitulated = yes has_government = communism has_idea = ast_foreign_communist_influence_idea } } } } available = { NOT = { has_country_flag = AST_union_infiltration_in_progress } FROM = { NOT = { has_civil_war = yes } num_of_controlled_states > 0 } custom_trigger_tooltip = { tooltip = AST_raj_locked_tt OR = { NOT = { FROM = { tag = RAJ } } AND = { NZL = { has_government = communism } MAL = { has_government = communism } BRM = { has_government = communism } PHI = { has_government = communism } INS = { has_government = communism } } } } } #on_map_mode = map_only highlight_states = { highlight_states_trigger = { is_owned_by = FROM } } cost = 75 days_remove = 30 fire_only_once = no complete_effect = { set_country_flag = AST_union_infiltration_in_progress } remove_effect = { FROM = { add_timed_idea = { idea = ast_foreign_communist_influence_idea days = 180 } hidden_effect = { set_country_flag = AST_has_infiltrated_unions_here } country_event = { id = AST_union_control_events.1 days = 1 } } clr_country_flag = AST_union_infiltration_in_progress } ai_will_do = { factor = 10 modifier = { factor = 0 has_stability < 0.5 } modifier = { factor = 0 communism > 0.5 } } } AST_civil_war_in_nation = { icon = GFX_decision_generic_ignite_civil_war target_root_trigger = { has_government = communism } target_array = AST_union_control_target_array visible = { FROM = { has_country_flag = AST_has_infiltrated_unions_here } NOT = { FROM = { has_government = communism has_civil_war = yes } } } highlight_states = { highlight_states_trigger = { is_owned_by = FROM } } available = { NOT = { has_country_flag = AST_cw_operation_in_progress } FROM = { communism > 0.2 NOT = { has_civil_war = yes } num_of_controlled_states > 0 } custom_trigger_tooltip = { tooltip = AST_raj_locked_tt OR = { NOT = { FROM = { tag = RAJ } } AND = { NZL = { has_government = communism } MAL = { has_government = communism } BRM = { has_government = communism } PHI = { has_government = communism } INS = { has_government = communism } } } } } cost = 150 fire_only_once = yes days_remove = 30 complete_effect = { set_country_flag = AST_cw_operation_in_progress } remove_effect = { clr_country_flag = AST_cw_operation_in_progress if = { limit = { NOT = { has_idea = ast_support_for_comrades_idea } } add_timed_idea = { idea = ast_support_for_comrades_idea days = 60 } } else = { modify_timed_idea = { idea = ast_support_for_comrades_idea days = 60 } } FROM = { remove_from_array = { array = PREV.AST_union_control_target_array value = THIS } for_each_scope_loop = { array = owned_controlled_states if = { limit = { is_core_of = FROM } FROM = { add_to_array = { array = owned_controlled_core_states_cw_start value = PREV } } } } add_ideas = idea_AST_civil_war_on_their_own if = { limit = { communism > 0.5 } set_temp_variable = { civil_war_size_var = 0.75 } AST_instigate_civil_war_in_target = yes } else_if = { limit = { communism > 0.4 communism < 0.5 } set_temp_variable = { civil_war_size_var = 0.5 } AST_instigate_civil_war_in_target = yes } else_if = { limit = { communism > 0.2 communism < 0.4 } set_temp_variable = { civil_war_size_var = 0.25 } AST_instigate_civil_war_in_target = yes } else = { set_temp_variable = { civil_war_size_var = 0.1 } AST_instigate_civil_war_in_target = yes } overlord = { activate_targeted_decision = { target = event_target:AST_instigated_communist_civil_war_country decision = AST_foreign_overlord_reclaim_foothold_in_target_mission } ROOT = { activate_targeted_decision = { target = event_target:AST_instigated_communist_civil_war_country decision = AST_push_foreign_overlord_out_of_target } } } } hidden_effect = { add_relation_rule_override = { can_send_volunteers = yes trigger = volunteer_target_is_triggered_uprising usage_desc = volunteer_target_is_triggered_uprising_tt } } if = { limit = { FROM = { tag = MAL } } country_event = { id = AST_union_control_events.3 days = 10 } } } ai_will_do = { factor = 10 modifier = { factor = 0 has_stability < 0.5 } modifier = { factor = 0 communism > 0.5 } } } AST_push_foreign_overlord_out_of_target = { icon = GFX_decision_generic_civil_support available = { always = no } visible = { always = no } activation = { always = no } cancel_trigger = { always = no } selectable_mission = no days_mission_timeout = 180 is_good = yes fire_only_once = yes timeout_effect = { custom_override_tooltip= { tooltip = AST_push_foreign_overlord_out_of_target_tt } effect_tooltip = { var:FROM.AST_communist_civil_war_enemy_country = { var:faction_leader = { white_peace = FROM } } } } ai_will_do = { factor = 10 } } AST_supply_arms_to_nation = { icon = eng_blackshirt_march target_root_trigger = { has_government = communism } target_array = AST_union_control_target_array visible = { FROM = { has_government = communism has_civil_war = yes } } highlight_states = { highlight_states_trigger = { is_owned_by = FROM } } available = { has_equipment = { infantry_equipment > 2999 } has_equipment = { artillery_equipment > 99 } custom_trigger_tooltip = { tooltip = AST_raj_locked_tt OR = { NOT = { FROM = { tag = RAJ } } AND = { NZL = { has_government = communism } MAL = { has_government = communism } BRM = { has_government = communism } PHI = { has_government = communism } INS = { has_government = communism } } } } } cost = 50 days_re_enable = 35 fire_only_once = no complete_effect = { send_equipment = { equipment = infantry_equipment amount = 3000 target = FROM } send_equipment = { equipment = artillery_equipment amount = 100 target = FROM } } ai_will_do = { factor = 10 modifier = { factor = 0 has_stability < 0.5 } modifier = { factor = 0 communism > 0.5 } } } } AST_election_approaching_cat = { AST_final_reforms_mission = { name = AST_final_reforms_mission desc = AST_final_reforms_mission_desc icon = GFX_decision_generic_political_address is_good = yes available = { hidden_trigger = { always = no } } activation = { #Triggers by event always = no } days_mission_timeout = 180 #Edit AST_final_reforms_effect_tt if changed timeout_effect = { reduce_focus_completion_cost = { focus = { AST_the_pacific_pact AST_advance_pacific_initiatives AST_domestic_industry AST_a_collapsing_league_of_nations AST_department_of_munitions AST_a_democratic_bulwark AST_call_for_a_referendum AST_rural_concessions } cost = -7 } } } AST_labor_campaign_tour_mission = { name = AST_labor_campaign_tour_mission desc = AST_labor_campaign_tour_mission_desc icon = GFX_decision_generic_speech is_good = yes available = { hidden_trigger = { always = no } } activation = { #Triggers by event always = no } days_mission_timeout = 180 #Edit AST_labor_campaign_tour_effect_tt if changed timeout_effect = { random_owned_controlled_state = { limit = { impassable = no free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 285 } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } clr_country_flag = AST_labor_campaign_tour_flag add_to_variable = { var = AST_alp_votes_daily_var value = -0.05 } AST_votes_change_effect = yes } } } AST_election_season_cat = { AST_election_countdown = { icon = GFX_decision_eng_trade_unions_support is_good = yes available = { hidden_trigger = { always = no } } activation = { always = no } days_mission_timeout = 90 timeout_effect = { activate_mission = AST_government_formation_period } } AST_government_formation_period = { icon = GFX_decision_SWI_elect_confederation_president is_good = yes available = { hidden_trigger = { always = no } } activation = { always = no } days_mission_timeout = 15 timeout_effect = { } } } AST_war_is_coming_cat = { AST_seize_civilian_industry = { desc = AST_seize_civilian_industry_desc icon = generic_industry visible = { } available = { } fire_only_once = yes days_remove = 90 cost = 25 complete_effect = { add_days_mission_timeout = { mission = AST_summon_the_cabinet_mission days = 60 } } modifier = { civilian_factory_use = 1 } remove_effect = { random_owned_state = { limit = { industrial_complex > 0 } prioritize = { 519 } add_building_construction = { type = industrial_complex level = -1 instant_build = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt random_owned_state = { limit = { industrial_complex > 0 } prioritize = { 286 } add_building_construction = { type = industrial_complex level = -1 instant_build = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt random_owned_state = { limit = { industrial_complex > 0 } prioritize = { 517 } add_building_construction = { type = industrial_complex level = -1 instant_build = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } ai_will_do = { factor = 5 } } AST_scorch_the_north = { desc = AST_scorch_the_north_desc icon = generic_scorched_earth visible = { } available = { } fire_only_once = yes cost = 25 complete_effect = { add_days_mission_timeout = { mission = AST_summon_the_cabinet_mission days = 60 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = AST_scorch_the_north_tt effect_tooltip = { every_owned_state = { limit = { is_owned_by = ROOT infrastructure > 0 OR = { state = 870 state = 520 state = 872 } } damage_building = { type = infrastructure damage = 3 } } } set_country_flag = AST_scorch_the_north } ai_will_do = { factor = 1 modifier = { is_historical_focus_on = yes factor = 0 } } } AST_the_brisbane_line = { desc = AST_the_brisbane_line_desc icon = generic_fortification visible = { } available = { } fire_only_once = yes days_remove = 90 cost = 100 modifier = { civilian_factory_use = 2 } complete_effect = { add_days_mission_timeout = { mission = AST_summon_the_cabinet_mission days = 60 } add_stability = -0.05 } remove_effect = { random_owned_state = { prioritize = { 521 7564 } #Brisbane port add_building_construction = { type = coastal_bunker level = 3 province = { all_provinces = yes limit_to_victory_point > 0 limit_to_coastal = yes } } } custom_effect_tooltip = generic_skip_one_line_tt random_owned_state = { prioritize = { 521 7535 } #Brisbane line add_building_construction = { type = bunker level = 3 province = { all_provinces = yes limit_to_victory_point > 0 } } } random_owned_state = { prioritize = { 521 4530 } #Brisbane line add_building_construction = { type = bunker level = 3 province = { all_provinces = yes limit_to_victory_point > 0 } } } random_owned_state = { prioritize = { 521 4536 } #Brisbane line add_building_construction = { type = bunker level = 3 province = { all_provinces = yes limit_to_victory_point > 0 } } } random_owned_state = { prioritize = { 521 5227 } #Brisbane line add_building_construction = { type = bunker level = 3 province = { all_provinces = yes limit_to_victory_point > 0 } } } } ai_will_do = { factor = 5 modifier = { is_historical_focus_on = yes factor = 0 } } } AST_summon_the_cabinet_mission = { name = AST_summon_the_cabinet_mission desc = AST_summon_the_cabinet_mission_desc icon = GFX_decision_generic_air available = { } is_good = no selectable_mission = yes activation = { #Triggers by event always = no } days_mission_timeout = 180 timeout_effect = { country_event = { id = AST_canberra_air_disaster_events.1 days = 1 } set_country_flag = AST_summon_the_cabinet_flag } complete_effect = { country_event = { id = AST_canberra_air_disaster_events.1 days = 1 } custom_effect_tooltip = AST_summon_the_cabinet_tt1 set_country_flag = AST_summon_the_cabinet_flag } ai_will_do = { factor = 5 modifier = { is_historical_focus_on = yes factor = 0 } } } } AST_cabinet_trust_cat = { AST_australian_comforts_fund = { desc = AST_australian_comforts_fund_desc icon = GFX_decision_generic_welfare visible = { } available = { } fire_only_once = yes days_remove = 45 modifier = { civilian_factory_use = 1 } remove_effect = { add_days_mission_timeout = { mission = AST_castle_crumbling_mission days = 30 } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = AST_australian_comforts_fund_idea set_country_flag = AST_cabinet_trust_increase AST_cabinet_trust_change = yes #Calls to function swaping Cabinet Trust state custom_effect_tooltip = AST_cabinet_trust_increase_tt } ai_will_do = { factor = 5 modifier = { check_variable = { var = AST_cabinet_trust_state value = 3 compare = less_than } factor = 0.5 } modifier = { is_historical_focus_on = yes factor = 0 } modifier = { has_completed_focus = AST_australia_first factor = 0 } } } AST_eminent_successors = { desc = AST_eminent_successors_desc icon = GFX_decision_SWI_elect_confederation_president visible = { } cost = 0 fire_only_once = yes days_remove = 180 modifier = { stability_weekly = -0.005 } complete_effect = { add_days_mission_timeout = { mission = AST_castle_crumbling_mission days = 30 } custom_effect_tooltip = generic_skip_one_line_tt add_dynamic_modifier = { modifier = AST_eminent_successors_spirit days = 180 } IF = { limit = { any_character = { has_character_flag = AST_political_advisor_dead } } set_variable = { AST_eminent_successors_political_advisor_cost_factor = -0.5 tooltip = political_advisor_cost_factor_tt } } IF = { limit = { any_character = { has_character_flag = AST_army_chief_dead } } set_variable = { AST_eminent_successors_army_chief_cost_factor = -0.5 tooltip = army_chief_cost_factor_tt } } ELSE = { set_variable = { AST_eminent_successors_political_advisor_cost_factor = -0.25 tooltip = political_advisor_cost_factor_tt } set_variable = { AST_eminent_successors_army_chief_cost_factor = -0.25 tooltip = army_chief_cost_factor_tt } } set_country_flag = AST_cabinet_trust_increase AST_cabinet_trust_change = yes #Calls to function swaping Cabinet Trust state custom_effect_tooltip = AST_cabinet_trust_increase_tt } ai_will_do = { factor = 5 modifier = { check_variable = { var = AST_cabinet_trust_state value = 3 compare = less_than } factor = 0.8 } modifier = { is_historical_focus_on = yes factor = 2 } modifier = { has_completed_focus = AST_australia_first factor = 2 } } } AST_critics_to_shame = { desc = AST_critics_to_shame_desc icon = GFX_decision_generic_speech visible = { OR = { has_completed_focus = AST_war_is_coming has_completed_focus = AST_against_war_and_fascism } } available = { } fire_only_once = yes days_remove = 30 modifier = { political_power_gain = -0.5 } remove_effect = { add_days_mission_timeout = { mission = AST_castle_crumbling_mission days = 30 } custom_effect_tooltip = generic_skip_one_line_tt IF = { limit = { has_government = communism } add_popularity = { ideology = communism popularity = 0.05 } } ELSE_IF = { limit = { has_government = democratic } add_popularity = { ideology = democratic popularity = 0.05 } } add_stability = 0.05 set_country_flag = AST_cabinet_trust_increase AST_cabinet_trust_change = yes #Calls to function swaping Cabinet Trust state custom_effect_tooltip = AST_cabinet_trust_increase_tt } ai_will_do = { factor = 5 modifier = { check_variable = { var = AST_cabinet_trust_state value = 3 compare = less_than } factor = 0.5 } modifier = { is_historical_focus_on = yes factor = 0 } modifier = { has_completed_focus = AST_australia_first factor = 0 } } } AST_approach_the_independents = { desc = AST_approach_the_independents_desc icon = GFX_decision_generic_political_discourse visible = { OR = { has_completed_focus = AST_war_is_coming has_completed_focus = AST_australia_first } } available = { } fire_only_once = yes days_remove = 30 modifier = { stability_weekly = -0.01 } remove_effect = { add_days_mission_timeout = { mission = AST_castle_crumbling_mission days = -120 } set_country_flag = AST_cabinet_trust_decrease AST_cabinet_trust_change = yes #Calls to function swaping Cabinet Trust state custom_effect_tooltip = AST_cabinet_trust_decrease_tt } ai_will_do = { factor = 5 modifier = { check_variable = { var = AST_cabinet_trust_state value = 3 compare = greater_than } factor = 0.5 } modifier = { is_historical_focus_on = yes factor = 0 } modifier = { has_completed_focus = AST_australia_first factor = 1.25 } } } AST_a_sound_voice = { desc = AST_a_sound_voice_desc icon = GFX_decision_generic_political_address visible = { OR = { has_completed_focus = AST_war_is_coming has_completed_focus = AST_australia_first } } available = { } fire_only_once = yes complete_effect = { add_days_mission_timeout = { mission = AST_castle_crumbling_mission days = -60 } custom_effect_tooltip = generic_skip_one_line_tt add_country_leader_trait = cabinet_crisis_2 IF = { limit = { has_completed_focus = AST_australia_first } IF = { limit = { AST_percy_stephensen = { has_character_flag = AST_fascist_leader } } AST_percy_stephensen = { add_trait = { trait = AST_a_sound_voice_trait ideology = fascism_ideology } } } ELSE_IF = { limit = { AST_adela_walsh = { has_character_flag = AST_fascist_leader } } AST_adela_walsh = { add_trait = { trait = AST_a_sound_voice_trait ideology = fascism_ideology } } } } ELSE = { IF = { limit = { has_completed_focus = AST_war_is_coming check_variable = { var = AST_ruling_party value = 1 #ALP compare = equals } } IF = { limit = { NOT = { can_be_country_leader = AST_robert_menzies } } add_country_leader_role = { character = AST_robert_menzies country_leader = { ideology = socialism expire = "1989.1.1.1" } } custom_effect_tooltip = generic_skip_one_line_tt } AST_robert_menzies = { add_trait = { trait = AST_a_sound_voice_trait ideology = socialism } } } ELSE_IF = { limit = { has_completed_focus = AST_war_is_coming check_variable = { var = AST_ruling_party value = 0 #UAP compare = equals } } IF = { limit = { NOT = { can_be_country_leader = AST_john_curtin } } add_country_leader_role = { character = AST_john_curtin country_leader = { ideology = socialism expire = "1989.1.1.1" } } custom_effect_tooltip = generic_skip_one_line_tt } AST_john_curtin = { add_trait = { trait = AST_a_sound_voice_trait ideology = socialism } } } } set_country_flag = AST_cabinet_trust_decrease AST_cabinet_trust_change = yes #Calls to function swaping Cabinet Trust state custom_effect_tooltip = AST_cabinet_trust_decrease_tt } ai_will_do = { factor = 5 modifier = { check_variable = { var = AST_cabinet_trust_state value = 3 compare = greater_than } factor = 0.5 } modifier = { has_completed_focus = AST_australia_first factor = 2 } } } AST_challenge_government_narrative = { desc = AST_challenge_government_narrative_desc icon = GFX_decision_generic_brainwash visible = { OR = { has_completed_focus = AST_war_is_coming has_completed_focus = AST_australia_first } } available = { } fire_only_once = yes days_remove = 30 modifier = { stability_weekly = -0.01 } remove_effect = { add_days_mission_timeout = { mission = AST_castle_crumbling_mission days = -60 } set_country_flag = AST_cabinet_trust_decrease AST_cabinet_trust_change = yes #Calls to function swaping Cabinet Trust state custom_effect_tooltip = AST_cabinet_trust_decrease_tt } ai_will_do = { factor = 5 modifier = { check_variable = { var = AST_cabinet_trust_state value = 3 compare = greater_than } factor = 0.5 } modifier = { is_historical_focus_on = yes factor = 0 } modifier = { has_completed_focus = AST_australia_first factor = 1.25 } } } AST_make_a_common_enemy = { desc = AST_make_a_common_enemy_desc icon = GFX_decision_generic_civil_support visible = { OR = { has_completed_focus = AST_war_is_coming has_completed_focus = AST_against_war_and_fascism } } available = { OR = { has_idea = AST_cabinet_trust_state_3_idea has_idea = AST_cabinet_trust_state_4_idea has_idea = AST_cabinet_trust_state_5_idea } } cost = 50 fire_only_once = yes complete_effect = { custom_effect_tooltip = AST_castle_crumbling_mission_complete_tt custom_effect_tooltip = generic_skip_one_line_tt JAP = { country_event = { id = AST_canberra_air_disaster_events.5 hours = 3 } } custom_effect_tooltip = AST_make_a_common_enemy_tt effect_tooltip = { JAP = { create_wargoal = { type = topple_government target = AST } } } set_country_flag = AST_cabinet_trust_complete_1_flag #This completes Castle Crumbling mission AST_cabinet_trust_change = yes #Calls to function removing Cabinet Trust state hidden_effect = { clr_country_flag = AST_canberra_air_disaster_flag } } ai_will_do = { factor = 2.5 modifier = { is_historical_focus_on = yes factor = 0 } } } AST_ensure_cabinet_loyalty = { desc = AST_ensure_cabinet_loyalty_desc icon = GFX_decision_eng_trade_unions_support visible = { OR = { has_completed_focus = AST_war_is_coming has_completed_focus = AST_against_war_and_fascism } } available = { has_idea = AST_cabinet_trust_state_5_idea } cost = 75 fire_only_once = yes cancel_effect = { } complete_effect = { custom_effect_tooltip = AST_castle_crumbling_mission_complete_tt custom_effect_tooltip = generic_skip_one_line_tt set_country_flag = AST_cabinet_trust_complete_2_flag #This completes Castle Crumbling mission AST_cabinet_trust_change = yes #Calls to function removing Cabinet Trust state hidden_effect = { clr_country_flag = AST_canberra_air_disaster_flag } } ai_will_do = { factor = 5 modifier = { is_historical_focus_on = yes factor = 0 } } } AST_castle_crumbling_mission = { name = AST_castle_crumbling_mission desc = AST_castle_crumbling_mission_desc icon = GFX_decision_generic_colonial_administration visible = { has_country_flag = AST_canberra_air_disaster_flag } available = { IF = { limit = { NOT = { has_completed_focus = AST_australia_first } } OR = { has_country_flag = AST_cabinet_trust_complete_1_flag has_country_flag = AST_cabinet_trust_complete_2_flag } } ELSE = { has_country_flag = AST_cabinet_trust_complete_not_tt } } activation = { #Triggers by event always = no } days_mission_timeout = 417 is_good = no fire_only_once = yes timeout_effect = { custom_effect_tooltip = AST_cabinet_trust_remove_tt custom_effect_tooltip = generic_skip_one_line_tt IF = { limit = { has_government = communism } country_event = { id = AST_canberra_air_disaster_events.4 hours = 1 } custom_effect_tooltip = AST_castle_crumbling_mission_event_tt effect_tooltip = { AST_jack_miles = { promote_character = yes } } } ELSE_IF = { limit = { has_completed_focus = AST_australia_first } country_event = { id = AST_canberra_air_disaster_events.3 hours = 1 } custom_effect_tooltip = AST_castle_crumbling_mission_event_tt effect_tooltip = { IF = { limit = { OR = { AND = { AST_percy_stephensen = { is_hired_as_advisor = yes has_character_flag = AST_fascist_leader } } AND = { AST_adela_walsh = { is_hired_as_advisor = yes has_character_flag = AST_fascist_leader } } } } add_political_power = 135 } set_politics = { ruling_party = fascism } } } ELSE_IF = { limit = { NOT = { has_completed_focus = AST_australia_first has_government = communism } } country_event = { id = AST_canberra_air_disaster_events.3 hours = 1 } custom_effect_tooltip = AST_castle_crumbling_mission_event_tt event_option_tooltip = AST_canberra_air_disaster_events.3.a } set_country_flag = AST_cabinet_trust_complete_3_flag hidden_effect = { clr_country_flag = AST_canberra_air_disaster_flag AST_cabinet_trust_swap_idea = yes #Removes Cabinet Trust Ideas } custom_effect_tooltip = generic_skip_one_line_tt } complete_effect = { custom_effect_tooltip = AST_cabinet_trust_remove_tt custom_effect_tooltip = generic_skip_one_line_tt IF = { limit = { NOT = { has_completed_focus = AST_australia_first } } country_event = { id = AST_canberra_air_disaster_events.2 hours = 1 } custom_effect_tooltip = AST_castle_crumbling_mission_event_tt event_option_tooltip = AST_canberra_air_disaster_events.2.a hidden_effect = { clr_country_flag = AST_canberra_air_disaster_flag AST_cabinet_trust_swap_idea = yes #Removes Cabinet Trust Ideas } } } } } AST_war_angst_cat = { AST_deteriorating_prime_minister_nerves_mission = { name = AST_deteriorating_prime_minister_nerves_mission desc = AST_deteriorating_prime_minister_nerves_mission_desc icon = GFX_decision_SWI_elect_confederation_president available = { hidden_trigger = { always = no } OR = { has_completed_focus = AST_seven_million_britishers has_completed_focus = AST_we_endured } } is_good = no activation = { always = no } days_mission_timeout = 270 timeout_effect = { country_event = { id = AST_political_events.4 hours = 1 } retire_country_leader = yes custom_effect_tooltip = generic_skip_one_line_tt hidden_effect = { add_country_leader_role = { character = AST_ben_chifley promote_leader = yes country_leader = { ideology = socialism expire = "1952.1.1.1" } } } } complete_effect = { } } } AST_australian_demands_cat = { AST_aid_australian_military_construction = { desc = AST_aid_australian_military_construction_desc icon = GFX_generic_industry visible = { } available = { } fire_only_once = no days_remove = 90 cost = 75 modifier = { civilian_factory_use = 2 } complete_effect = { add_days_mission_timeout = { mission = AST_japanese_war_mission days = 180 } custom_effect_tooltip = generic_skip_one_line_tt AST = { country_event = { id = AST_diplomatic_events.29 hours = 3 } } } ai_will_do = { factor = 5 } } AST_japanese_war_mission = { name = AST_japanese_war_mission desc = AST_japanese_war_mission_desc icon = GFX_decision_ignite_civil_war available = { } is_good = no selectable_mission = yes activation = { always = no } days_mission_timeout = 180 cancel_trigger = { has_war_with = JAP } timeout_effect = { declare_war_on = { target = JAP type = puppet_wargoal_focus } } complete_effect = { declare_war_on = { target = JAP type = puppet_wargoal_focus } } ai_will_do = { factor = 5 modifier = { is_historical_focus_on = yes factor = 0 } } } } AST_resource_acquisition_cat = { AST_request_resource_rights_in_indonesia = { icon = GFX_decision_oil visible = { has_completed_focus = AST_demand_resources } cost = 100 available = { NOT = { has_country_flag = AST_resource_request_ongoing_flag } 1051 = { controller = { NOT = { has_war_with = AST } } } } fire_only_once = yes complete_effect = { every_country = { limit = { controls_state = 1051 is_subject = yes } OVERLORD = { country_event = { id = AST_diplomatic_events.30 hours = 3 } } } every_country = { limit = { controls_state = 1051 is_subject = no } country_event = { id = AST_diplomatic_events.30 hours = 3 } } set_country_flag = AST_ins_resources_flag set_country_flag = AST_resource_request_ongoing_flag } ai_will_do = { factor = 2.5 modifier = { is_historical_focus_on = yes factor = 0 } } } AST_request_resource_rights_in_malaya = { icon = GFX_decision_rubber visible = { has_completed_focus = AST_demand_resources } cost = 100 available = { NOT = { has_country_flag = AST_resource_request_ongoing_flag } 1064 = { controller = { NOT = { has_war_with = AST } } } } fire_only_once = yes complete_effect = { every_country = { limit = { controls_state = 1064 is_subject = yes } OVERLORD = { country_event = { id = AST_diplomatic_events.30 hours = 3 } } } every_country = { limit = { controls_state = 1064 is_subject = no } country_event = { id = AST_diplomatic_events.30 hours = 3 } } set_country_flag = AST_mal_resources_flag set_country_flag = AST_resource_request_ongoing_flag } ai_will_do = { factor = 2.5 modifier = { is_historical_focus_on = yes factor = 0 } } } AST_request_resource_rights_in_burma = { icon = GFX_decision_tungsten visible = { has_completed_focus = AST_demand_resources } cost = 100 available = { NOT = { has_country_flag = AST_resource_request_ongoing_flag } 288 = { controller = { NOT = { has_war_with = AST } } } } fire_only_once = yes complete_effect = { every_country = { limit = { controls_state = 288 is_subject = yes } OVERLORD = { country_event = { id = AST_diplomatic_events.30 hours = 3 } } } every_country = { limit = { controls_state = 288 is_subject = no } country_event = { id = AST_diplomatic_events.30 hours = 3 } } set_country_flag = AST_brm_resources_flag set_country_flag = AST_resource_request_ongoing_flag } ai_will_do = { factor = 2.5 modifier = { is_historical_focus_on = yes factor = 0 } } } AST_request_resource_rights_in_indochina = { icon = GFX_decision_tungsten visible = { has_completed_focus = AST_demand_resources } cost = 100 available = { NOT = { has_country_flag = AST_resource_request_ongoing_flag } 671 = { controller = { NOT = { has_war_with = AST } } } } fire_only_once = yes complete_effect = { every_country = { limit = { controls_state = 671 is_subject = yes } OVERLORD = { country_event = { id = AST_diplomatic_events.30 hours = 3 } } } every_country = { limit = { controls_state = 671 is_subject = no } country_event = { id = AST_diplomatic_events.30 hours = 3 } } set_country_flag = AST_ind_resources_flag set_country_flag = AST_resource_request_ongoing_flag } ai_will_do = { factor = 2.5 modifier = { is_historical_focus_on = yes factor = 0 } } } } AST_australia_first_movement_cat = { AST_summons_to_australian_hall = { icon = GFX_decision_eng_blackshirt_march visible = { NOT = { has_completed_focus = AST_australia_first_party_focus } } cost = 50 available = { custom_trigger_tooltip = { tooltip = AST_sufficient_funds_tt NOT = { has_country_flag = AST_insufficient_funds } } } ai_will_do = { base = 20 } fire_only_once = no days_remove = 90 modifier = { fascism_drift = 0.03 stability_weekly = -0.005 } complete_effect = { set_country_flag = { flag = AST_insufficient_funds days = 100 value = 1 } IF = { limit = { has_completed_focus = AST_refuse_british_wars } add_autonomy_ratio = { value = 0.05 localization = AST_australia_first_movement_cat } } custom_effect_tooltip = AST_lose_sufficient_funds_tt_100 activate_mission = AST_insufficient_funds_mission hidden_effect = { set_country_flag = { flag = AST_afm_summons days = 90 value = 1 } } } } AST_summons_to_australian_hall_upgrade = { icon = GFX_decision_eng_blackshirt_march visible = { has_completed_focus = AST_australia_first_party_focus NOT = { has_country_flag = AST_afm_summons } } cost = 35 available = { custom_trigger_tooltip = { tooltip = AST_sufficient_funds_tt NOT = { has_country_flag = AST_insufficient_funds } } } ai_will_do = { base = 20 } fire_only_once = no days_remove = 90 modifier = { fascism_drift = 0.05 } complete_effect = { set_country_flag = { flag = AST_insufficient_funds days = 50 value = 1 } IF = { limit = { has_completed_focus = AST_refuse_british_wars } add_autonomy_ratio = { value = 0.05 localization = AST_australia_first_movement_cat } } custom_effect_tooltip = AST_lose_sufficient_funds_tt_50 activate_mission = AST_insufficient_funds_mission hidden_effect = { add_days_mission_timeout = { mission = AST_insufficient_funds_mission days = -50 } } } } AST_print_the_publicist = { icon = GFX_decision_eng_propagande_campaigns visible = { NOT = { has_completed_focus = AST_australia_first_party_focus } } cost = 50 available = { custom_trigger_tooltip = { tooltip = AST_sufficient_funds_tt NOT = { has_country_flag = AST_insufficient_funds } } } ai_will_do = { base = 20 } fire_only_once = no days_remove = 90 modifier = { fascism_drift = 0.02 } complete_effect = { set_country_flag = { flag = AST_insufficient_funds days = 100 value = 1 } IF = { limit = { has_completed_focus = AST_refuse_british_wars } add_autonomy_ratio = { value = 0.05 localization = AST_australia_first_movement_cat } } custom_effect_tooltip = AST_lose_sufficient_funds_tt_100 activate_mission = AST_insufficient_funds_mission hidden_effect = { set_country_flag = { flag = AST_afm_print days = 90 value = 1 } } } } AST_print_the_publicist_upgrade = { icon = GFX_decision_eng_propagande_campaigns visible = { has_completed_focus = AST_australia_first_party_focus NOT = { has_country_flag = AST_afm_print } } cost = 35 available = { custom_trigger_tooltip = { tooltip = AST_sufficient_funds_tt NOT = { has_country_flag = AST_insufficient_funds } } } ai_will_do = { base = 20 } fire_only_once = no days_remove = 90 modifier = { fascism_drift = 0.03 } complete_effect = { set_country_flag = { flag = AST_insufficient_funds days = 50 value = 1 } IF = { limit = { has_completed_focus = AST_refuse_british_wars } add_autonomy_ratio = { value = 0.05 localization = AST_australia_first_movement_cat } } custom_effect_tooltip = AST_lose_sufficient_funds_tt_50 activate_mission = AST_insufficient_funds_mission hidden_effect = { add_days_mission_timeout = { mission = AST_insufficient_funds_mission days = -50 } } } } AST_call_on_fascists = { icon = GFX_decision_generic_fundraising visible = { } cost = var:AST_call_on_fascists_cost available = { has_active_mission = AST_insufficient_funds_mission } ai_will_do = { base = 20 } fire_only_once = no complete_effect = { custom_effect_tooltip = AST_sufficient_funds_tt_2 effect_tooltip = { remove_mission = AST_insufficient_funds_mission } set_country_flag = AST_call_on_fascists_flag hidden_effect = { add_to_variable = { AST_call_on_fascists_cost = 10 } } } } AST_a_convenient_disaster = { icon = GFX_decision_generic_air visible = { } cost = 20 available = { has_completed_focus = AST_australia_first_party_focus fascism > 0.3 } ai_will_do = { base = 30 } fire_only_once = yes complete_effect = { country_event = { id = AST_canberra_air_disaster_events.1 days = 1 } custom_effect_tooltip = AST_a_convenient_disaster_tt } } AST_insufficient_funds_mission = { icon = GFX_decision_generic_welfare is_good = no available = { custom_trigger_tooltip = { tooltip = AST_call_on_fascists has_country_flag = AST_call_on_fascists_flag } } activation = { #Triggers by decisions always = no } days_mission_timeout = 100 timeout_effect = { custom_effect_tooltip = AST_sufficient_funds_tt_2 clr_country_flag = AST_insufficient_funds } complete_effect = { custom_effect_tooltip = AST_sufficient_funds_tt_2 clr_country_flag = AST_insufficient_funds clr_country_flag = AST_call_on_fascists_flag } } } AST_big_business_pact_cat = { AST_naval_expansion = { icon = GFX_decision_generic_naval visible = { has_completed_focus = AST_resist_western_intruders } cost = 50 available = { NOT = { has_country_flag = AST_big_business_request_ongoing_flag } } fire_only_once = yes days_remove = 180 modifier = { industrial_capacity_dockyard = 0.5 } complete_effect = { set_country_flag = AST_big_business_request_ongoing_flag } remove_effect = { clr_country_flag = AST_big_business_request_ongoing_flag } ai_will_do = { factor = 5 } } AST_factory_conversions = { icon = GFX_decision_ger_military_buildup visible = { has_completed_focus = AST_big_business_pact } cost = 50 available = { NOT = { has_country_flag = AST_big_business_request_ongoing_flag } } fire_only_once = no days_remove = 180 modifier = { conversion_cost_civ_to_mil_factor = -0.3 } complete_effect = { set_country_flag = AST_big_business_request_ongoing_flag } remove_effect = { clr_country_flag = AST_big_business_request_ongoing_flag } ai_will_do = { factor = 4 } } AST_land_development = { icon = GFX_decision_generic_construction visible = { has_completed_focus = AST_big_business_pact } cost = 50 available = { NOT = { has_country_flag = AST_big_business_request_ongoing_flag } } fire_only_once = no days_remove = 180 modifier = { production_speed_infrastructure_factor = 0.3 } complete_effect = { random_core_state = { limit = { is_fully_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 } set_country_flag = AST_big_business_request_ongoing_flag } remove_effect = { clr_country_flag = AST_big_business_request_ongoing_flag } ai_will_do = { factor = 4 } } AST_electrical_grid_expansions = { icon = GFX_decision_generic_electricity visible = { has_completed_focus = AST_big_business_pact } cost = 50 available = { NOT = { has_country_flag = AST_big_business_request_ongoing_flag } } fire_only_once = no days_remove = 180 modifier = { production_speed_rail_way_factor = 0.3 production_speed_energy_infrastructure_factor = 0.3 production_speed_industrial_infrastructure_factor = 0.3 } complete_effect = { set_country_flag = AST_big_business_request_ongoing_flag } remove_effect = { clr_country_flag = AST_big_business_request_ongoing_flag } ai_will_do = { factor = 4 } } AST_factory_investments = { icon = GFX_decision_generic_factory visible = { has_completed_focus = AST_big_business_pact } cost = 50 available = { NOT = { has_country_flag = AST_big_business_request_ongoing_flag } } fire_only_once = no days_remove = 180 modifier = { production_speed_industrial_complex_factor = 0.3 production_speed_arms_factory_factor = 0.3 } complete_effect = { set_country_flag = AST_big_business_request_ongoing_flag } remove_effect = { clr_country_flag = AST_big_business_request_ongoing_flag } ai_will_do = { factor = 4 } } } AST_vichy_out_of_africa_cat = { AST_demand_madagascar = { icon = GFX_decision_generic_orginization_of_african_unity cost = 50 fire_only_once = yes available = { NOT = { has_country_flag = AST_vichy_req_ongoing_flag } country_exists = VIC VIC = { controls_state = 543 controls_state = 706 controls_state = 708 } } complete_effect = { hidden_effect = { set_country_flag = AST_vichy_req_ongoing_flag } VIC = { country_event = { id = AST_diplomatic_events.56 days = 1 } } 543 = { set_state_flag = AST_vichy_req } 706 = { set_state_flag = AST_vichy_req } 708 = { set_state_flag = AST_vichy_req } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { VIC = { every_controlled_state = { limit = { OR = { state = 543 state = 706 state = 708 } } transfer_state_to = AST } } } custom_effect_tooltip = generic_skip_one_line_tt } ai_will_do = { factor = 5 } } AST_demand_central_africa = { icon = GFX_decision_generic_orginization_of_african_unity cost = 50 fire_only_once = yes available = { NOT = { has_country_flag = AST_vichy_req_ongoing_flag } country_exists = VIC VIC = { controls_state = 539 controls_state = 660 controls_state = 772 controls_state = 773 controls_state = 774 } } complete_effect = { hidden_effect = { set_country_flag = AST_vichy_req_ongoing_flag } VIC = { country_event = { id = AST_diplomatic_events.56 days = 1 } } 539 = { set_state_flag = AST_vichy_req } 660 = { set_state_flag = AST_vichy_req } 772 = { set_state_flag = AST_vichy_req } 773 = { set_state_flag = AST_vichy_req } 774 = { set_state_flag = AST_vichy_req } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { VIC = { every_controlled_state = { limit = { OR = { state = 539 state = 660 state = 772 state = 773 state = 774 } } transfer_state_to = AST } } } custom_effect_tooltip = generic_skip_one_line_tt } ai_will_do = { factor = 5 } } AST_demand_southwestern_territories = { icon = GFX_decision_generic_orginization_of_african_unity cost = 50 fire_only_once = yes available = { NOT = { has_country_flag = AST_vichy_req_ongoing_flag } country_exists = VIC VIC = { controls_state = 272 controls_state = 776 controls_state = 777 controls_state = 778 controls_state = 779 controls_state = 780 } } complete_effect = { hidden_effect = { set_country_flag = AST_vichy_req_ongoing_flag } VIC = { country_event = { id = AST_diplomatic_events.56 days = 1 } } 272 = { set_state_flag = AST_vichy_req } 776 = { set_state_flag = AST_vichy_req } 777 = { set_state_flag = AST_vichy_req } 778 = { set_state_flag = AST_vichy_req } 779 = { set_state_flag = AST_vichy_req } 780 = { set_state_flag = AST_vichy_req } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { VIC = { every_controlled_state = { limit = { OR = { state = 272 state = 776 state = 777 state = 778 state = 779 state = 780 } } transfer_state_to = AST } } } custom_effect_tooltip = generic_skip_one_line_tt } ai_will_do = { factor = 5 } } } prospect_for_resources = { AST_develop_port_kemla_steel_medium_decision = { icon = steel allowed = { original_tag = AST has_dlc = "Thunder at Our Gates" } available = { num_of_civilian_factories_available_for_projects > 3 owns_state = 285 controls_state = 285 OR = { has_completed_focus = AST_industrial_expansion has_completed_focus = AST_guaranteed_employment } } highlight_states = { highlight_state_targets = { state = 285 } } visible = { 285 = { is_owned_and_controlled_by = ROOT NOT = { has_state_flag = AST_has_completed_kemla_steel_flag } } } fire_only_once = yes cost = 100 days_remove = 60 modifier = { civilian_factory_use = 4 } ai_will_do = { base = 0.3 modifier = { # Too low PP factor = 0.5 has_political_power < 150 } modifier = { #We have plenty of PP, avanti! factor = 3 has_political_power > 200 } modifier = { #Running out of the stuff, need more! factor = 5 has_resources_in_country = { resource = steel amount < 1 } } } remove_effect = { 285 = { add_resource = { type = steel amount = 16 } } 285 = { set_state_flag = AST_has_completed_kemla_steel_flag } } } AST_scale_up_middleback_mines_steel_decision_1 = { icon = steel allowed = { original_tag = AST has_dlc = "Thunder at Our Gates" } available = { num_of_civilian_factories_available_for_projects > 1 owns_state = 519 controls_state = 519 OR = { has_completed_focus = AST_within_reach has_completed_focus = AST_planned_extraction } } highlight_states = { highlight_state_targets = { state = 519 } } visible = { 519 = { is_owned_and_controlled_by = ROOT NOT = { OR ={ has_state_flag = AST_scale_up_middleback_mines_steel_flag_1 has_state_flag = AST_scale_up_middleback_mines_steel_flag_2 has_state_flag = AST_scale_up_middleback_mines_steel_flag_3 } } } } cost = 25 days_remove = 60 modifier = { civilian_factory_use = 2 } ai_will_do = { base = 0.3 modifier = { # Too low PP factor = 0.5 has_political_power < 150 } modifier = { #We have plenty of PP, avanti! factor = 3 has_political_power > 200 } modifier = { #Running out of the stuff, need more! factor = 5 has_resources_in_country = { resource = steel amount < 1 } } } remove_effect = { 519 = { add_resource = { type = steel amount = 4 } } 519 = { set_state_flag = AST_scale_up_middleback_mines_steel_flag_1 } } } AST_scale_up_middleback_mines_steel_decision_2 = { icon = steel allowed = { original_tag = AST has_dlc = "Thunder at Our Gates" } available = { num_of_civilian_factories_available_for_projects > 1 owns_state = 519 controls_state = 519 has_completed_focus = AST_within_reach has_tech = excavation2 } highlight_states = { highlight_state_targets = { state = 519 } } visible = { 519 = { is_owned_and_controlled_by = ROOT NOT = { OR ={ has_state_flag = AST_scale_up_middleback_mines_steel_flag_2 has_state_flag = AST_scale_up_middleback_mines_steel_flag_3 } } has_state_flag = AST_scale_up_middleback_mines_steel_flag_1 } } cost = 50 days_remove = 120 modifier = { civilian_factory_use = 2 } ai_will_do = { base = 0.3 modifier = { # Too low PP factor = 0.5 has_political_power < 150 } modifier = { #We have plenty of PP, avanti! factor = 3 has_political_power > 200 } modifier = { #Running out of the stuff, need more! factor = 5 has_resources_in_country = { resource = steel amount < 1 } } } remove_effect = { 519 = { add_resource = { type = steel amount = 12 } } 519 = { set_state_flag = AST_scale_up_middleback_mines_steel_flag_2 } } } AST_scale_up_middleback_mines_steel_decision_3 = { icon = steel allowed = { original_tag = AST has_dlc = "Thunder at Our Gates" } available = { num_of_civilian_factories_available_for_projects > 1 owns_state = 519 controls_state = 519 has_completed_focus = AST_within_reach has_tech = excavation3 } highlight_states = { highlight_state_targets = { state = 519 } } visible = { 519 = { is_owned_and_controlled_by = ROOT NOT = { OR ={ has_state_flag = AST_scale_up_middleback_mines_steel_flag_1 has_state_flag = AST_scale_up_middleback_mines_steel_flag_3 } } has_state_flag = AST_scale_up_middleback_mines_steel_flag_2 } } cost = 75 days_remove = 180 modifier = { civilian_factory_use = 2 } ai_will_do = { base = 0.3 modifier = { # Too low PP factor = 0.5 has_political_power < 150 } modifier = { #We have plenty of PP, avanti! factor = 3 has_political_power > 200 } modifier = { #Running out of the stuff, need more! factor = 5 has_resources_in_country = { resource = steel amount < 1 } } } remove_effect = { 519 = { add_resource = { type = steel amount = 8 } } 519 = { set_state_flag = AST_scale_up_middleback_mines_steel_flag_3 } } } AST_prospect_pilbara_iron_decision = { icon = steel allowed = { original_tag = AST has_dlc = "Thunder at Our Gates" } available = { num_of_civilian_factories_available_for_projects > 3 owns_state = 870 controls_state = 870 OR = { AND = { has_completed_focus = AST_exports_for_economic_recovery has_completed_focus = AST_within_reach } has_completed_focus = AST_planned_extraction } 870 = { infrastructure > 2 } } highlight_states = { highlight_state_targets = { state = 870 } } visible = { 870 = { is_owned_and_controlled_by = ROOT } NOT = { has_completed_focus = AST_lang_plan } } fire_only_once = yes cost = 250 days_remove = 180 modifier = { civilian_factory_use = 4 } ai_will_do = { base = 0.3 modifier = { # Too low PP factor = 0.5 has_political_power < 400 } modifier = { #We have plenty of PP, avanti! factor = 3 has_political_power > 400 } modifier = { #Running out of the stuff, need more! factor = 5 has_resources_in_country = { resource = steel amount < 1 } } } remove_effect = { 870 = { add_resource = { type = steel amount = 8 } } 870 = { set_state_flag = AST_has_completed_pilbara } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = "AST_pilbara_mining_tt" custom_effect_tooltip = generic_skip_one_line_tt } } AST_scale_up_pilbara_mines_steel_decision = { icon = steel allowed = { original_tag = AST has_dlc = "Thunder at Our Gates" } available = { num_of_civilian_factories_available_for_projects > 1 owns_state = 870 controls_state = 870 } highlight_states = { highlight_state_targets = { state = 870 } } visible = { 870 = { is_owned_and_controlled_by = ROOT has_state_flag = AST_has_completed_pilbara } } cost = 25 days_remove = 60 modifier = { civilian_factory_use = 2 } ai_will_do = { base = 0.3 modifier = { # Too low PP factor = 0.5 has_political_power < 150 } modifier = { #We have plenty of PP, avanti! factor = 3 has_political_power > 200 } modifier = { #Running out of the stuff, need more! factor = 5 has_resources_in_country = { resource = steel amount < 1 } } } remove_effect = { 870 = { add_resource = { type = steel amount = 5 } } } } } AST_ireland_weapon_smuggling_cat = { AST_northern_ireland_rises_up = { icon = eng_blackshirt_march available = { always = no } days_mission_timeout = 120 is_good = yes fire_only_once = yes activation = { always = no } cancel_trigger = { has_war_with = IRE } cancel_effect = { } timeout_effect = { ENG = { release = NIR hidden_effect = { add_state_core = 119 } } if = { limit = { IRE = { check_variable = { var = AST_IRE_northern_ireland_support_var value = 4 compare = greater_than_or_equals } } } IRE = { annex_country = { target = NIR transfer_troops = yes } } } else = { hidden_effect = { IRE = { for_loop_effect = { value = AST_IRE_northern_ireland_support_var 119 = { create_unit = { count = 2 division = "name = \"Infantry Division\" division_template = \"Infantry Division\" start_experience_factor = 0.3 start_equipment_factor = 0.75" owner = NIR } } } } } ENG = { declare_war_on = { target = NIR type = annex_everything } } } set_global_flag = AST_IRE_northern_ireland_rose_up } ai_will_do = { factor = 10 } } AST_smuggle_arms_to_northern_ireland = { icon = GFX_decision_ger_military_buildup visible = { IRE = { has_country_flag = AST_IRE_joined_anti_britain_pact } NOT = { has_global_flag = AST_IRE_northern_ireland_rose_up } } cost = 50 available = { NOT = { has_country_flag = AST_smuggle_arms_to_ireland_ongoing_flag } } ai_will_do = { base = 1 } fire_only_once = no days_remove = 5 complete_effect = { set_country_flag = AST_smuggle_arms_to_ireland_ongoing_flag send_equipment = { equipment = infantry_equipment amount = 100 target = NIR } send_equipment = { equipment = support_equipment amount = 25 target = NIR } send_equipment = { equipment = artillery_equipment amount = 10 target = NIR } } remove_effect = { clr_country_flag = AST_smuggle_arms_to_ireland_ongoing_flag hidden_effect = { IRE = { add_to_variable = { AST_IRE_northern_ireland_support_var = 1 } } } } } AST_smuggle_arms_to_ireland = { icon = GFX_decision_ger_military_buildup visible = { country_exists = IRE IRE = { has_country_flag = AST_IRE_joined_anti_britain_pact has_idea = AST_IRE_stationed_troops_idea } } cost = 50 available = { NOT = { has_country_flag = AST_smuggle_arms_to_ireland_ongoing_flag } } ai_will_do = { base = 1 } fire_only_once = no days_remove = 60 complete_effect = { set_country_flag = AST_smuggle_arms_to_ireland_ongoing_flag send_equipment = { equipment = infantry_equipment amount = 1000 target = IRE } send_equipment = { equipment = support_equipment amount = 250 target = IRE } send_equipment = { equipment = artillery_equipment amount = 100 target = IRE } } remove_effect = { clr_country_flag = AST_smuggle_arms_to_ireland_ongoing_flag IRE = { add_to_variable = { AST_IRE_stationed_troops_count_var = 1 } } } } } AST_special_forces_cat = { AST_specialize_on_jungle_combat = { desc = AST_aid_australian_military_construction_desc icon = GFX_generic_industry visible = { has_completed_focus = AST_establish_training_camps NOT = { has_country_flag = AST_special_forces_active } } available = { } fire_only_once = yes cost = 30 complete_effect = { custom_effect_tooltip = { localization_key = generic_enables_tech_tt TECH_EFFECT = tech_effect|jungle_training_tech TECH_NAME = jungle_training_tech } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = AST_you_can_switch_sf hidden_effect = { set_technology = { jungle_training_tech = 1 } } set_country_flag = AST_special_forces_active } ai_will_do = { base = 1 } } AST_specialize_on_desert_combat = { desc = AST_aid_australian_military_construction_desc icon = GFX_generic_industry visible = { has_completed_focus = AST_establish_training_camps NOT = { has_country_flag = AST_special_forces_active } } available = { } fire_only_once = yes cost = 30 complete_effect = { custom_effect_tooltip = { localization_key = generic_enables_tech_tt TECH_EFFECT = tech_effect|desert_training_tech TECH_NAME = desert_training_tech } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = AST_you_can_switch_sf hidden_effect = { set_technology = { desert_training_tech = 1 } } set_country_flag = AST_special_forces_active } ai_will_do = { base = 1 } } AST_switch_combat_specialization = { desc = AST_aid_australian_military_construction_desc icon = GFX_generic_industry visible = { has_country_flag = AST_special_forces_active } available = { } fire_only_once = no days_remove = 180 cost = 30 complete_effect = { if = { limit = { has_tech = jungle_training_tech } custom_effect_tooltip = { localization_key = generic_enables_tech_tt TECH_EFFECT = tech_effect|desert_training_tech TECH_NAME = desert_training_tech } hidden_effect = { set_technology = { jungle_training_tech = 0 desert_training_tech = 1 } } } else_if = { limit = { has_tech = desert_training_tech } custom_effect_tooltip = { localization_key = generic_enables_tech_tt TECH_EFFECT = tech_effect|jungle_training_tech TECH_NAME = jungle_training_tech } hidden_effect = { set_technology = { jungle_training_tech = 1 desert_training_tech = 0 } } } } ai_will_do = { base = 1 } } }