ws_processing = { ws_v152_process_dec_armored_car = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { always = yes } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { armored_car_equipment > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_armored_car = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_rocket_artillery = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { always = yes } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { rocket_artillery_equipment > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_rocket_artillery = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_amphibious_mech = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { always = yes } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { amphibious_mechanized_equipment > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_amphibious_mech = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_convoys = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { always = yes } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { convoy_1 > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_convoys = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_modern_tank = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { NOT = { has_dlc = "No Step Back" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { modern_tank_chassis > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_modern_tank = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_super_heavy_tank = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { NOT = { has_dlc = "No Step Back" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { super_heavy_tank_chassis > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_super_heavy_tank = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_modern_chassis = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { has_dlc = "No Step Back" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { modern_tank_chassis > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_modern_chassis = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_super_heavy_chassis = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { has_dlc = "No Step Back" } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { super_heavy_tank_chassis > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_super_heavy_chassis = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_nav_bomber = { icon = generic_research ai_will_do = { factor = 0 } cost = 0 visible = { NOT = { has_dlc = "By Blood Alone" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { small_plane_airframe > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_nav_bomber = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_cv_fighter = { icon = generic_research ai_will_do = { factor = 0 } cost = 0 visible = { NOT = { has_dlc = "By Blood Alone" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { small_plane_airframe > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_cv_fighter = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_cv_cas = { icon = generic_research ai_will_do = { factor = 0 } cost = 0 visible = { NOT = { has_dlc = "By Blood Alone" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { small_plane_airframe > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_cv_cas = yes } country_event = { id = war_salvage.2 } } } ws_v152_process_dec_cv_nav_bomber = { icon = generic_research ai_will_do = { factor = 0 } cost = 0 visible = { NOT = { has_dlc = "By Blood Alone" } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized NOT = { has_capitulated = yes } has_equipment = { small_plane_airframe > 0 } check_variable = { ws_iron < 900000 } check_variable = { ws_alloy < 900000 } check_variable = { ws_parts < 900000 } } } complete_effect = { hidden_effect = { ws_v152_process_cv_nav_bomber = yes } country_event = { id = war_salvage.2 } } } } ws_management = { ws_v152_foreign_service_on = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_ui_advanced NOT = { has_idea = ws_foreign_equipment_burden } } available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized } } complete_effect = { add_ideas = ws_foreign_equipment_burden set_country_flag = ws_foreign_equipment_in_service } } ws_v152_foreign_service_off = { icon = generic_army_support ai_will_do = { factor = 0 } cost = 0 visible = { has_country_flag = ws_ui_advanced has_idea = ws_foreign_equipment_burden } complete_effect = { remove_ideas = ws_foreign_equipment_burden clr_country_flag = ws_foreign_equipment_in_service } } } ws_battlefield = { ws_v152_recover_naval_wreckage_dec = { icon = generic_naval ai_will_do = { factor = 0 } cost = 10 available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met has_country_flag = ws_initialized check_variable = { ws_v152_naval_wreckage > 4.999 } check_variable = { ws_iron < 999960 } check_variable = { ws_alloy < 999980 } check_variable = { ws_parts < 999986 } } } complete_effect = { hidden_effect = { ws_v152_recover_naval_wreckage = yes } country_event = { id = war_salvage.242 } } } ws_v152_recovery_1940 = { icon = generic_construction ai_will_do = { factor = 0 } cost = 25 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met date > 1940.1.1 NOT = { has_country_flag = ws_recovery_tech_1940 } } } complete_effect = { set_country_flag = ws_recovery_tech_1940 } } ws_v152_recovery_1942 = { icon = generic_industry ai_will_do = { factor = 0 } cost = 35 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met date > 1942.1.1 has_country_flag = ws_recovery_tech_1940 NOT = { has_country_flag = ws_recovery_tech_1942 } } } complete_effect = { set_country_flag = ws_recovery_tech_1942 } } ws_v152_recovery_1944 = { icon = generic_industry ai_will_do = { factor = 0 } cost = 50 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = ws_tt_conditions_met date > 1944.1.1 has_country_flag = ws_recovery_tech_1942 NOT = { has_country_flag = ws_recovery_tech_1944 } } } complete_effect = { set_country_flag = ws_recovery_tech_1944 } } }