ws_obsolete = { ws_v15_retire_dec_smallarms = { icon = generic_construction ai_will_do = { factor = 0 } cost = 0 available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_retire_cd_smallarms } NOT = { has_capitulated = yes } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } OR = { AND = { has_tech = infantry_weapons1 has_equipment = { infantry_equipment_0 > 0 } } AND = { has_tech = improved_infantry_weapons has_equipment = { infantry_equipment_1 > 0 } } AND = { has_tech = advanced_infantry_weapons has_equipment = { infantry_equipment_2 > 0 } } } } } complete_effect = { hidden_effect = { ws_v15_retire_smallarms = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_retire_cd_smallarms days = 14 } } } country_event = { id = war_salvage.240 } } } ws_v15_retire_dec_guns = { icon = generic_construction ai_will_do = { factor = 0 } cost = 0 available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_retire_cd_guns } NOT = { has_capitulated = yes } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } OR = { AND = { has_tech = artillery1 has_equipment = { artillery_equipment_1 > 0 } } AND = { has_tech = artillery4 has_equipment = { artillery_equipment_2 > 0 } } AND = { has_tech = antiair2 has_equipment = { anti_air_equipment_1 > 0 } } AND = { has_tech = antiair5 has_equipment = { anti_air_equipment_2 > 0 } } AND = { has_tech = antitank2 has_equipment = { anti_tank_equipment_1 > 0 } } AND = { has_tech = antitank5 has_equipment = { anti_tank_equipment_2 > 0 } } AND = { has_tech = mechanised_infantry2 has_equipment = { mechanized_equipment_1 > 0 } } AND = { has_tech = mechanised_infantry3 has_equipment = { mechanized_equipment_2 > 0 } } } } } complete_effect = { hidden_effect = { ws_v15_retire_guns = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_retire_cd_guns days = 14 } } } country_event = { id = war_salvage.240 } } } ws_v15_retire_dec_armor = { icon = generic_construction ai_will_do = { factor = 0 } cost = 0 available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_retire_cd_armor } NOT = { has_capitulated = yes } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } OR = { AND = { has_dlc = "No Step Back" has_tech = basic_light_tank_chassis has_equipment = { light_tank_chassis_0 > 0 } } AND = { has_dlc = "No Step Back" has_tech = improved_light_tank_chassis has_equipment = { light_tank_chassis_1 > 0 } } AND = { has_dlc = "No Step Back" has_tech = advanced_light_tank_chassis has_equipment = { light_tank_chassis_2 > 0 } } AND = { has_dlc = "No Step Back" has_tech = basic_medium_tank_chassis has_equipment = { medium_tank_chassis_0 > 0 } } AND = { has_dlc = "No Step Back" has_tech = improved_medium_tank_chassis has_equipment = { medium_tank_chassis_1 > 0 } } AND = { has_dlc = "No Step Back" has_tech = advanced_medium_tank_chassis has_equipment = { medium_tank_chassis_2 > 0 } } AND = { has_dlc = "No Step Back" has_tech = basic_heavy_tank_chassis has_equipment = { heavy_tank_chassis_0 > 0 } } AND = { has_dlc = "No Step Back" has_tech = improved_heavy_tank_chassis has_equipment = { heavy_tank_chassis_1 > 0 } } AND = { has_dlc = "No Step Back" has_tech = advanced_heavy_tank_chassis has_equipment = { heavy_tank_chassis_2 > 0 } } AND = { NOT = { has_dlc = "No Step Back" } has_tech = improved_light_tank has_equipment = { light_tank_equipment_1 > 0 } } AND = { NOT = { has_dlc = "No Step Back" } has_tech = advanced_light_tank has_equipment = { light_tank_equipment_2 > 0 } } AND = { NOT = { has_dlc = "No Step Back" } has_tech = improved_medium_tank has_equipment = { medium_tank_equipment_1 > 0 } } AND = { NOT = { has_dlc = "No Step Back" } has_tech = advanced_medium_tank has_equipment = { medium_tank_equipment_2 > 0 } } AND = { NOT = { has_dlc = "No Step Back" } has_tech = improved_heavy_tank has_equipment = { heavy_tank_equipment_1 > 0 } } AND = { NOT = { has_dlc = "No Step Back" } has_tech = advanced_heavy_tank has_equipment = { heavy_tank_equipment_2 > 0 } } } } } complete_effect = { hidden_effect = { ws_v15_retire_armor = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_retire_cd_armor days = 14 } } } country_event = { id = war_salvage.240 } } } ws_v15_retire_dec_air = { icon = generic_construction ai_will_do = { factor = 0 } cost = 0 available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_retire_cd_air } NOT = { has_capitulated = yes } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } OR = { AND = { has_dlc = "By Blood Alone" has_tech = basic_small_airframe has_equipment = { small_plane_airframe_0 > 0 } } AND = { has_dlc = "By Blood Alone" has_tech = improved_small_airframe has_equipment = { small_plane_airframe_1 > 0 } } AND = { has_dlc = "By Blood Alone" has_tech = advanced_small_airframe has_equipment = { small_plane_airframe_2 > 0 } } AND = { has_dlc = "By Blood Alone" has_tech = basic_medium_airframe has_equipment = { medium_plane_airframe_0 > 0 } } AND = { has_dlc = "By Blood Alone" has_tech = improved_medium_airframe has_equipment = { medium_plane_airframe_1 > 0 } } AND = { has_dlc = "By Blood Alone" has_tech = advanced_medium_airframe has_equipment = { medium_plane_airframe_2 > 0 } } AND = { has_dlc = "By Blood Alone" has_tech = basic_large_airframe has_equipment = { large_plane_airframe_0 > 0 } } AND = { has_dlc = "By Blood Alone" has_tech = improved_large_airframe has_equipment = { large_plane_airframe_1 > 0 } } AND = { has_dlc = "By Blood Alone" has_tech = advanced_large_airframe has_equipment = { large_plane_airframe_2 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = fighter1 has_equipment = { fighter_equipment_0 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = fighter2 has_equipment = { fighter_equipment_1 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = fighter3 has_equipment = { fighter_equipment_2 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = CAS2 has_equipment = { CAS_equipment_1 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = CAS3 has_equipment = { CAS_equipment_2 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = tactical_bomber1 has_equipment = { tac_bomber_equipment_0 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = tactical_bomber2 has_equipment = { tac_bomber_equipment_1 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = tactical_bomber3 has_equipment = { tac_bomber_equipment_2 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = strategic_bomber2 has_equipment = { strat_bomber_equipment_1 > 0 } } AND = { NOT = { has_dlc = "By Blood Alone" } has_tech = strategic_bomber3 has_equipment = { strat_bomber_equipment_2 > 0 } } } } } complete_effect = { hidden_effect = { ws_v15_retire_air = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_retire_cd_air days = 14 } } } country_event = { id = war_salvage.240 } } } } ws_refurbishment = { ws_v15_refurb_dec_light_tanks = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized has_dlc = "No Step Back" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_light_tanks } NOT = { has_country_flag = ws_v15_refurb_cd_light_tanks } NOT = { has_capitulated = yes } ws_v15_refurb_stock_light_tanks = yes ws_v15_refurb_parts_light_tanks = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_light_tanks = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_light_tanks days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_medium_tanks = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized has_dlc = "No Step Back" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_medium_tanks } NOT = { has_country_flag = ws_v15_refurb_cd_medium_tanks } NOT = { has_capitulated = yes } ws_v15_refurb_stock_medium_tanks = yes ws_v15_refurb_parts_medium_tanks = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_medium_tanks = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_medium_tanks days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_heavy_tanks = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized has_dlc = "No Step Back" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_heavy_tanks } NOT = { has_country_flag = ws_v15_refurb_cd_heavy_tanks } NOT = { has_capitulated = yes } ws_v15_refurb_stock_heavy_tanks = yes ws_v15_refurb_parts_heavy_tanks = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_heavy_tanks = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_heavy_tanks days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_light_tanks_old = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized NOT = { has_dlc = "No Step Back" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_light_tanks_old } NOT = { has_country_flag = ws_v15_refurb_cd_light_tanks_old } NOT = { has_capitulated = yes } ws_v15_refurb_stock_light_tanks_old = yes ws_v15_refurb_parts_light_tanks_old = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_light_tanks_old = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_light_tanks_old days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_medium_tanks_old = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized NOT = { has_dlc = "No Step Back" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_medium_tanks_old } NOT = { has_country_flag = ws_v15_refurb_cd_medium_tanks_old } NOT = { has_capitulated = yes } ws_v15_refurb_stock_medium_tanks_old = yes ws_v15_refurb_parts_medium_tanks_old = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_medium_tanks_old = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_medium_tanks_old days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_heavy_tanks_old = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized NOT = { has_dlc = "No Step Back" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_heavy_tanks_old } NOT = { has_country_flag = ws_v15_refurb_cd_heavy_tanks_old } NOT = { has_capitulated = yes } ws_v15_refurb_stock_heavy_tanks_old = yes ws_v15_refurb_parts_heavy_tanks_old = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_heavy_tanks_old = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_heavy_tanks_old days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_small_air = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized has_dlc = "By Blood Alone" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_small_air } NOT = { has_country_flag = ws_v15_refurb_cd_small_air } NOT = { has_capitulated = yes } ws_v15_refurb_stock_small_air = yes ws_v15_refurb_parts_small_air = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_small_air = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_small_air days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_medium_air = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized has_dlc = "By Blood Alone" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_medium_air } NOT = { has_country_flag = ws_v15_refurb_cd_medium_air } NOT = { has_capitulated = yes } ws_v15_refurb_stock_medium_air = yes ws_v15_refurb_parts_medium_air = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_medium_air = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_medium_air days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_large_air = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized has_dlc = "By Blood Alone" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_large_air } NOT = { has_country_flag = ws_v15_refurb_cd_large_air } NOT = { has_capitulated = yes } ws_v15_refurb_stock_large_air = yes ws_v15_refurb_parts_large_air = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_large_air = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_large_air days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_fighter_old = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized NOT = { has_dlc = "By Blood Alone" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_fighter_old } NOT = { has_country_flag = ws_v15_refurb_cd_fighter_old } NOT = { has_capitulated = yes } ws_v15_refurb_stock_fighter_old = yes ws_v15_refurb_parts_fighter_old = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_fighter_old = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_fighter_old days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_cas_old = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized NOT = { has_dlc = "By Blood Alone" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_cas_old } NOT = { has_country_flag = ws_v15_refurb_cd_cas_old } NOT = { has_capitulated = yes } ws_v15_refurb_stock_cas_old = yes ws_v15_refurb_parts_cas_old = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_cas_old = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_cas_old days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_tac_old = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized NOT = { has_dlc = "By Blood Alone" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_tac_old } NOT = { has_country_flag = ws_v15_refurb_cd_tac_old } NOT = { has_capitulated = yes } ws_v15_refurb_stock_tac_old = yes ws_v15_refurb_parts_tac_old = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_tac_old = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_tac_old days = 14 } } } country_event = { id = war_salvage.241 } } } ws_v15_refurb_dec_strat_old = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_initialized NOT = { has_dlc = "By Blood Alone" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met NOT = { has_country_flag = ws_v15_busy_strat_old } NOT = { has_country_flag = ws_v15_refurb_cd_strat_old } NOT = { has_capitulated = yes } ws_v15_refurb_stock_strat_old = yes ws_v15_refurb_parts_strat_old = yes } } complete_effect = { hidden_effect = { ws_v15_refurb_strat_old = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_refurb_cd_strat_old days = 14 } } } country_event = { id = war_salvage.241 } } } } ws_battlefield = { ws_v15_recover_wreckage_dec = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 10 available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } check_variable = { ws_v15_wreckage > 9.999 } check_variable = { ws_iron < 999960 } check_variable = { ws_alloy < 999992 } check_variable = { ws_parts < 999988 } } } complete_effect = { ws_v15_recover_wreckage = yes country_event = { id = war_salvage.242 } } } ws_v15_view_wreckage = { icon = generic_industry ai_will_do = { factor = 0 } cost = 0 complete_effect = { hidden_effect = { ws_initialize = yes } country_event = { id = war_salvage.242 } } } } ws_research = { ws_v15_analyse_dec_smallarms = { icon = generic_research ai_will_do = { factor = 0 } cost = 15 visible = { always = yes } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_research_cd_smallarms } NOT = { has_capitulated = yes } has_equipment = { infantry_equipment > 0 } } } complete_effect = { hidden_effect = { ws_v15_analyse_smallarms = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_research_cd_smallarms days = 180 } } else = { add_political_power = 15 } } country_event = { id = war_salvage.243 } } } ws_v15_analyse_dec_artillery = { icon = generic_research ai_will_do = { factor = 0 } cost = 15 visible = { always = yes } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_research_cd_artillery } NOT = { has_capitulated = yes } has_equipment = { artillery_equipment > 0 } } } complete_effect = { hidden_effect = { ws_v15_analyse_artillery = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_research_cd_artillery days = 180 } } else = { add_political_power = 15 } } country_event = { id = war_salvage.243 } } } ws_v15_analyse_dec_armor_nsb = { icon = generic_research ai_will_do = { factor = 0 } cost = 15 visible = { has_dlc = "No Step Back" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_research_cd_armor_nsb } NOT = { has_capitulated = yes } has_equipment = { medium_tank_chassis > 0 } } } complete_effect = { hidden_effect = { ws_v15_analyse_armor_nsb = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_research_cd_armor_nsb days = 180 } } else = { add_political_power = 15 } } country_event = { id = war_salvage.243 } } } ws_v15_analyse_dec_armor_old = { icon = generic_research ai_will_do = { factor = 0 } cost = 15 visible = { NOT = { has_dlc = "No Step Back" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_research_cd_armor_old } NOT = { has_capitulated = yes } has_equipment = { medium_tank_chassis > 0 } } } complete_effect = { hidden_effect = { ws_v15_analyse_armor_old = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_research_cd_armor_old days = 180 } } else = { add_political_power = 15 } } country_event = { id = war_salvage.243 } } } ws_v15_analyse_dec_air_bba = { icon = generic_research ai_will_do = { factor = 0 } cost = 15 visible = { has_dlc = "By Blood Alone" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_research_cd_air_bba } NOT = { has_capitulated = yes } has_equipment = { small_plane_airframe > 0 } } } complete_effect = { hidden_effect = { ws_v15_analyse_air_bba = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_research_cd_air_bba days = 180 } } else = { add_political_power = 15 } } country_event = { id = war_salvage.243 } } } ws_v15_analyse_dec_air_old = { icon = generic_research ai_will_do = { factor = 0 } cost = 15 visible = { NOT = { has_dlc = "By Blood Alone" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_v15_research_cd_air_old } NOT = { has_capitulated = yes } has_equipment = { small_plane_airframe > 0 } } } complete_effect = { hidden_effect = { ws_v15_analyse_air_old = yes if = { limit = { check_variable = { ws_last_removed > 0 } } set_country_flag = { flag = ws_v15_research_cd_air_old days = 180 } } else = { add_political_power = 15 } } country_event = { id = war_salvage.243 } } } } ws_national = { ws_v15_view_national = { icon = generic_nationalism ai_will_do = { factor = 0 } cost = 0 complete_effect = { hidden_effect = { ws_initialize = yes ws_apply_national_doctrine = yes } country_event = { id = war_salvage.244 } } } ws_v15_nat_ger = { icon = generic_nationalism ai_will_do = { factor = 0 } cost = 50 fire_only_once = yes visible = { tag = GER } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_nat_upgrade_ger } } } complete_effect = { set_country_flag = ws_nat_upgrade_ger ws_apply_national_doctrine = yes } } ws_v15_nat_sov = { icon = generic_nationalism ai_will_do = { factor = 0 } cost = 50 fire_only_once = yes visible = { tag = SOV } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_nat_upgrade_sov } } } complete_effect = { set_country_flag = ws_nat_upgrade_sov ws_apply_national_doctrine = yes } } ws_v15_nat_jap = { icon = generic_nationalism ai_will_do = { factor = 0 } cost = 50 fire_only_once = yes visible = { tag = JAP } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_nat_upgrade_jap } } } complete_effect = { set_country_flag = ws_nat_upgrade_jap ws_apply_national_doctrine = yes } } ws_v15_nat_usa = { icon = generic_nationalism ai_will_do = { factor = 0 } cost = 50 fire_only_once = yes visible = { tag = USA } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_nat_upgrade_usa } } } complete_effect = { set_country_flag = ws_nat_upgrade_usa ws_apply_national_doctrine = yes } } ws_v15_nat_eng = { icon = generic_nationalism ai_will_do = { factor = 0 } cost = 50 fire_only_once = yes visible = { tag = ENG } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_country_flag = ws_nat_upgrade_eng } } } complete_effect = { set_country_flag = ws_nat_upgrade_eng ws_apply_national_doctrine = yes } } }