debug_decisions = { DEBUG_MUN_show_skoda = { priority = 999 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes } available = { } complete_effect = { CZE_start_skoda_GUI = yes } } DEBUG_MUN_hide_skoda = { priority = 999 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes has_global_flag = CZE_skoda_focus_activation } available = { } complete_effect = { clr_global_flag = CZE_skoda_focus_activation } } DEBUG_MUN_become_SLO = { #as it says priority = 998 allowed = { tag = CZE } visible = { is_ai = no is_debug = yes } available = { CZE = { exists = yes } } complete_effect = { release = SLO SLO = { inherit_technology = CZE } SLO = { change_tag_from = ROOT } } } DEBUG_MUN_become_the_second_rep = { #end product of second rep event chain priority = 999 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes } available = { } complete_effect = { if = { limit = { ROOT = { controls_state = 69 } } GER = { add_state_core = 69 transfer_state = 69 } } if = { limit = { ROOT = { controls_state = 972 } } GER = { add_state_core = 972 transfer_state = 972 } } if = { limit = { ROOT = { controls_state = 74 } } GER = { add_state_core = 74 transfer_state = 74 } } if = { limit = { ROOT = { controls_state = 72 } } POL = { add_state_core = 72 transfer_state = 72 } } if = { limit = { ROOT = { controls_state = 664 } } HUN = { add_state_core = 664 transfer_state = 664 } } CZE_get_rid_of_the_auto_blok = yes set_politics = { ruling_party = neutrality elections_allowed = no last_election = "1935.5.19" } set_popularities = { democratic = 4 neutrality = 94 fascism = 0 communism = 2 } CZE_emil_hacha = { promote_character = yes } set_party_name = { ideology = democratic long_name = CZE_democratic_party_second_republic name = CZE_democratic_party_second_republic #intentionally duplicate } CZE_antonin_hampl = { promote_character = yes } set_cosmetic_tag = CZE_fall_of_the_republic 73 = { add_core_of = RUT } release_autonomy = { target = RUT autonomy_state = autonomy_integrated_puppet freedom_level = 0.5 } RUT = { add_ideas = CZE_back_against_the_mountains_RUT #So you don't do anything silly set_popularities = { democratic = 76 fascism = 9 communism = 14 neutrality = 1 } set_politics = { ruling_party = democratic } load_oob = "RUT_fall_of_the_republic" if = { limit = { num_of_military_factories < 1 } add_offsite_building = { type = arms_factory level = 1 } } } release_autonomy = { target = SLO autonomy_state = autonomy_integrated_puppet freedom_level = 0.25 } SLO = { set_popularities = { democratic = 5 fascism = 90 communism = 5 } set_politics = { ruling_party = fascism } } } } DEBUG_MUN_second_rep_fate_czech_edge_case_test = { #test possible weridness with the fate of czech after fate of czechs if HUN isn't a thing and another tag gets the RUT war event priority = 998 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes } available = { } complete_effect = { if = { limit = { ROOT = { controls_state = 69 } } GER = { add_state_core = 69 transfer_state = 69 } } if = { limit = { ROOT = { controls_state = 972 } } GER = { add_state_core = 972 transfer_state = 972 } } if = { limit = { ROOT = { controls_state = 74 } } GER = { add_state_core = 74 transfer_state = 74 } } if = { limit = { ROOT = { controls_state = 72 } } POL = { add_state_core = 72 transfer_state = 72 } } if = { limit = { ROOT = { controls_state = 664 } } HUN = { add_state_core = 664 transfer_state = 664 } } CZE_get_rid_of_the_auto_blok = yes set_politics = { ruling_party = neutrality elections_allowed = no last_election = "1935.5.19" } set_popularities = { democratic = 4 neutrality = 94 fascism = 0 communism = 2 } CZE_emil_hacha = { promote_character = yes } set_party_name = { ideology = democratic long_name = CZE_democratic_party_second_republic name = CZE_democratic_party_second_republic #intentionally duplicate } CZE_antonin_hampl = { promote_character = yes } set_cosmetic_tag = CZE_fall_of_the_republic 73 = { add_core_of = RUT } release_autonomy = { target = RUT autonomy_state = autonomy_integrated_puppet freedom_level = 0.5 } RUT = { add_ideas = CZE_back_against_the_mountains_RUT #So you don't do anything silly set_popularities = { democratic = 76 fascism = 9 communism = 14 neutrality = 1 } set_politics = { ruling_party = democratic } load_oob = "RUT_fall_of_the_republic" if = { limit = { num_of_military_factories < 1 } add_offsite_building = { type = arms_factory level = 1 } } } release_autonomy = { target = SLO autonomy_state = autonomy_integrated_puppet freedom_level = 0.25 } set_cosmetic_tag = CZE_fall_of_the_republic SLO = { set_popularities = { democratic = 5 fascism = 90 communism = 5 } set_politics = { ruling_party = fascism } } ROM = { annex_country = { target = HUN } } GER = { change_tag_from = ROOT } #we need to tag onto germany for test GER = { country_event = { id = germany.55 #fate of czechs hours = 1 } } } } DEBUG_MUN_give_GER_sudetenland_CZE = { #germany.50 effect without all the extra effects priority = 997 allowed = { tag = CZE } visible = { is_ai = no is_debug = yes } available = { GER = { exists = yes } } complete_effect = { if = { limit = { ROOT = { controls_state = 69 } } GER = { add_state_core = 69 transfer_state = 69 } } if = { limit = { ROOT = { controls_state = 972 } } GER = { add_state_core = 972 transfer_state = 972 } } if = { limit = { ROOT = { controls_state = 74 } } GER = { add_state_core = 74 transfer_state = 74 } } } } DEBUG_MUN_fire_MUN_czech.3 = { #to lazy to type and use console all the time on this event. Need to fire it a lot for bug fixing priority = 998 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes } available = { ROOT = { controls_state = 69 controls_state = 972 controls_state = 74 } } complete_effect = { country_event = { id = MUN_czech.3 } } } DEBUG_MUN_give_GER_cores_on_sudetenland = { priority = 999 allowed = { tag = CZE } visible = { is_ai = no is_debug = yes } available = { GER = { exists = yes } } complete_effect = { if = { limit = { ROOT = { controls_state = 69 } } GER = { add_state_core = 69 } } if = { limit = { ROOT = { controls_state = 972 } } GER = { add_state_core = 972 } } if = { limit = { ROOT = { controls_state = 74 } } GER = { add_state_core = 74 } } } } DEBUG_MUN_give_POL_72 = { priority = 900 allowed = { tag = CZE } visible = { is_ai = no is_debug = yes } available = { POL = { exists = yes } } complete_effect = { if = { limit = { ROOT = { controls_state = 72 } } POL = { add_state_core = 72 transfer_state = 72 } } } } DEBUG_MUN_give_HUN_give_664 = { priority = 899 allowed = { tag = CZE } visible = { is_ai = no is_debug = yes } available = { HUN = { exists = yes } } complete_effect = { if = { limit = { ROOT = { controls_state = 664 } } HUN = { add_state_core = 664 transfer_state = 664 } } } } DEBUG_MUN_remove_divide_nation_country_flag = { #used to help debug divide nation agaisnt edge cases of losing states priority = 899 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes has_country_flag = DEBUG_MUN_show_all_state_dynamic_modifiers_but_one_flag } available = { } complete_effect = { clr_country_flag = CZE_a_divided_nation_decision_in_progress } } DEBUG_MUN_give_CZE_stop_resistance_on_sudetenland = { priority = 999 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes } available = { } complete_effect = { if = { limit = { ROOT = { controls_state = 69 } } ROOT = { 69 = { cancel_resistance = yes } } } if = { limit = { ROOT = { controls_state = 972 } } GER = { add_state_core = 972 } } if = { limit = { ROOT = { controls_state = 74 } } GER = { add_state_core = 74 } } } } DEBUG_MUN_remove_all_state_dynamic_modifiers_but_one_CZE_state_69 = { #Used to debug the remove script in a divided nation decisions priority = 998 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes has_country_flag = DEBUG_MUN_show_all_state_dynamic_modifiers_but_one_flag } available = { GER = { exists = yes } } complete_effect = { every_controlled_state = { limit = { NOT = { state = 69 #North Sudetenland } } remove_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_czech_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_slovakia_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_hungarian_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_ukrainian_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_tesinko_polish_state_modifier scope = ROOT } } } } DEBUG_MUN_remove_all_state_dynamic_modifiers_but_one_CZE_state_9 = { #Used to debug the remove script in a divided nation decisions priority = 997 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes has_country_flag = DEBUG_MUN_show_all_state_dynamic_modifiers_but_one_flag } available = { } complete_effect = { every_controlled_state = { limit = { NOT = { state = 9 #Bohemia } } remove_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_czech_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_slovakia_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_hungarian_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_ukrainian_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_tesinko_polish_state_modifier scope = ROOT } } } } DEBUG_MUN_remove_all_state_dynamic_modifiers_but_one_CZE_state_73 = { #Used to debug the remove script in a divided nation decisions priority = 997 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes has_country_flag = DEBUG_MUN_show_all_state_dynamic_modifiers_but_one_flag } available = { } complete_effect = { every_controlled_state = { limit = { NOT = { state = 73 #Podkarpatska Rus } } remove_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_czech_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_slovakia_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_hungarian_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_ukrainian_state_modifier scope = ROOT } remove_dynamic_modifier = { modifier = CZE_tesinko_polish_state_modifier scope = ROOT } } } } DEBUG_MUN_show_all_state_dynamic_modifiers_but_one_CZE_state_debug_decisions = { #Used to show decisions that debug the remove script in a divided nation decisions priority = 997 allowed = { tag = CZE has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes } available = { } complete_effect = { set_country_flag = DEBUG_MUN_show_all_state_dynamic_modifiers_but_one_flag } } DEBUG_MUN_test_raid_agaisnt_CZE = { #Used to test if the raid CZE_sokolov_raid_pfot works priority = 2 allowed = { tag = GER has_dlc = "Peace For Our Time" } visible = { is_ai = no is_debug = yes } available = { } complete_effect = { add_command_power = 20 add_equipment_to_stockpile = { type = infantry_equipment amount = 1000 } add_equipment_to_stockpile = { type = transport_plane_equipment amount = 10 } add_equipment_to_stockpile = { type = support_equipment amount = 1000 } unlock_national_focus = GER_expanding_the_luftwaffe set_technology = { paratroopers = 1 popup = no } division_template = { name = "DEBUG_MUN_test_raid_agaisnt_CZE test" regiments = { paratrooper = { x = 0 y = 0 } paratrooper = { x = 0 y = 1 } } } 64 = { create_unit = { division = "name = \"test for raid\" division_template = \"DEBUG_MUN_test_raid_agaisnt_CZE test\" start_experience_factor = 1 start_equipment_factor = 1" owner = GER prioritize_location = 9496 count = 1 } } } } } # BOP debug decisions CZE_bop_army_readiness_category = { QLOC_CZE_bop_end_bop_script = { name = "DEBUG: END BOP" priority = 106 visible = { is_debug = yes} allowed = { tag = CZE} complete_effect = { CZE_bop_stop_the_bop_and_give_final_idea = yes } } QLOC_CZE_bop_decrease_max = { name = "DEBUG: Minimize BOP" priority = 105 visible = { is_debug = yes} allowed = { tag = CZE} complete_effect = { add_power_balance_value = { id = CZE_bop_army_readiness value = -2 } } } QLOC_CZE_bop_decrease_a_bit = { name = "DEBUG: Slightly Decrease BOP" priority = 104 visible = { is_debug = yes} allowed = { tag = CZE} complete_effect = { add_power_balance_value = { id = CZE_bop_army_readiness value = -0.2 } } } QLOC_CZE_bop_decrease = { name = "DEBUG: Decrease BOP" priority = 104 visible = { is_debug = yes} allowed = { tag = CZE} complete_effect = { add_power_balance_value = { id = CZE_bop_army_readiness value = -0.5 } } } QLOC_CZE_bop_balance = { name = "DEBUG: Zero BOP" priority = 103 visible = { is_debug = yes} allowed = { tag = CZE} complete_effect = { add_power_balance_value = { id = CZE_bop_army_readiness value = -2 } add_power_balance_value = { id = CZE_bop_army_readiness value = 1 } } } QLOC_CZE_bop_increase_a_bit = { name = "DEBUG: Slightly Increase BOP" priority = 102 visible = { is_debug = yes} allowed = { tag = CZE} complete_effect = { add_power_balance_value = { id = CZE_bop_army_readiness value = 0.2 } } } QLOC_CZE_bop_increase = { name = "DEBUG: Increase BOP" priority = 102 visible = { is_debug = yes} allowed = { tag = CZE} complete_effect = { add_power_balance_value = { id = CZE_bop_army_readiness value = 0.2 } } } QLOC_CZE_bop_increase_max = { name = "DEBUG: Maximize BOP" priority = 101 visible = { is_debug = yes} allowed = { tag = CZE} complete_effect = { add_power_balance_value = { id = CZE_bop_army_readiness value = 2 } } } } political_actions = { CZE_restore_civilian_leadership = { priority = 11 icon = GFX_decision_hol_war_on_pacifism allowed = { original_tag = CZE } ai_will_do = { base = 5 } visible = { has_country_leader = { character = CZE_jan_syrovy ruling_only = yes } } available = { NOT = { has_country_flag = CZE_jan_syrovy_was_recently_made_leader_flag } has_war = no has_country_leader = { character = CZE_jan_syrovy ruling_only = yes } } complete_effect = { remove_country_leader_role = { character = CZE_jan_syrovy ideology = conservatism } retire_country_leader = yes } } CZE_recall_zdenko_hudecek = { priority = 10 icon = GFX_decision_SWE_set_navy_budget allowed = { original_tag = CZE } visible = { if = { limit = { has_dlc = "Peace For Our Time" } has_completed_focus = CZE_reform_the_naval_detachment } else = { has_completed_focus = CZE_access_to_the_sea } } available = { if = { limit = { has_dlc = "Peace For Our Time" } has_completed_focus = CZE_reform_the_naval_detachment } else = { has_completed_focus = CZE_access_to_the_sea } } custom_cost_trigger = { command_power > 24 } custom_cost_text = decision_cost_CP_25 fire_only_once = yes complete_effect = { hidden_effect = { add_command_power = -25 } set_country_flag = CZE_unlock_zdenko_hudecek_flag if = { limit = { has_dlc = "Peace For Our Time" } show_unit_leaders_tooltip = CZE_zdenko_hudecek custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_theorist show_ideas_tooltip = CZE_zdenko_hudecek_theorist_mun custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_chief_of_navy show_ideas_tooltip = CZE_zdenko_hudecek_navy_chief_mun custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_military_high_command show_ideas_tooltip = CZE_zdenko_hudecek_high_command_mun } else = { custom_effect_tooltip = available_chief_of_navy show_ideas_tooltip = CZE_zdenko_hudecek_navy_chief custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_military_high_command show_ideas_tooltip = CZE_zdenko_hudecek_high_command } } } CZE_sudeten_promise_mission = { #Used as the counter balance to discourge other tag for triggering Sudeten German Quandary effects just to grief CZE priority = 12 icon = GFX_decision_CHL_carabineros allowed = { #overriden by event, better for optimization always = no } days_mission_timeout = 365 available = { OR = { any_country_with_original_tag = { original_tag_to_check = CZE OR = { controls_state = 69 #North Sudetenland controls_state = 972 #South Sudetenland controls_state = 74 #Czeske Slezsko } has_war_with = ROOT } OR = { controls_state = 69 #North Sudetenland controls_state = 972 #South Sudetenland controls_state = 74 #Czeske Slezsko } } } is_good = no complete_effect = { add_political_power = 25 } timeout_effect = { add_war_support = -0.15 add_popularity = { ideology = ROOT popularity = -0.15 } if = { limit = { has_war_with_major = no } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_sudeten_facde days = 365 } } } } # SOV_airlift_troops_into_czechoslovakia = { #Replaced with raid, please keep at least initially in case raiding an ally gives unforeseen issues # icon = GFX_decision_SWE_set_air_budget # allowed = { # original_tag = SOV # } # priority = 500 # visible = { # CZE = { # has_completed_focus = CZE_airlift_soviet_support # NOT = { # has_war_with = ROOT # is_neighbor_of = ROOT # } # controls_state = 73 # } # OR = { # owns_state = 199 # controls_state = 199 # } # } # custom_cost_trigger = { # has_equipment = { infantry_equipment > 1999 } # } # custom_cost_text = decision_cost_ie_2000 # available = { # CZE = { # has_completed_focus = CZE_airlift_soviet_support #duplicate to show SOV why its there # } # has_war_together_with = CZE # OR = { # has_equipment = { # transport_plane_equipment > 49 # } # has_equipment = { # large_plane_airframe > 49 # } # } # } # custom_cost_trigger = { # OR = { # is_ai = yes #let AI cheat so CZE player isn't screwed if AI is incompetent # command_power > 25 # } # } # custom_cost_text = decision_cost_CP_25 # fire_only_once = yes # ai_will_do = { # base = 1 # } # days_remove = 14 # remove_effect = { # add_equipment_to_stockpile = { # type = infantry_equipment # amount = -2000 # } # CZE = { # hidden_effect = { # division_template = { # name = "Soviet Volunteer Division" # division_names_group = SOV_INF_01 # regiments = { # infantry = { x = 0 y = 0 } # infantry = { x = 1 y = 0 } # infantry = { x = 2 y = 0 } # infantry = { x = 0 y = 1 } # infantry = { x = 1 y = 1 } # infantry = { x = 2 y = 1 } # infantry = { x = 0 y = 2 } # infantry = { x = 1 y = 2 } # infantry = { x = 2 y = 2 } # } # support = { # engineer = { x = 0 y = 0 } # artillery = { x = 0 y = 1 } # } # } # } # } # 73 = { # create_unit = { # division = "name = \"Soviet Volunteers\" division_template = \"Soviet Volunteer Division\" start_experience_factor = 0.4" # owner = CZE # prioritize_location = 9563 # count = 5 # } # } # custom_effect_tooltip = generic_skip_one_line_tt # CZE = { # country_event = MUN_czech.1055 # } # } # } CZE_request_ally_give_ussr_mil_access = { allowed = { original_tag = CZE } targets = { ROM POL } fire_only_once = yes target_root_trigger = { SOV = { exists = yes NOT = { is_neighbor_of = ROOT #mil access no longer required has_war_with = ROOT } } } target_trigger = { OR = { AND = { FROM = { original_tag = POL } has_completed_focus = CZE_ally_poland } AND = { FROM = { original_tag = ROM } has_completed_focus = CZE_ally_romania } } FROM = { NOT = { is_ally_with = ROOT #should have the same wars as CZE } SOV = { is_neighbor_of = PREV #mil access is useful NOT = { is_ally_with = PREV has_war_with = PREV } } NOT = { gives_military_access_to = SOV } } } visible = { NOT = { has_completed_focus = CZE_intervene_in_the_ussr } } available = { has_completed_focus = CZE_soviet_alliance OR = { is_in_faction_with = SOV is_guaranteed_by = SOV } } remove_effect = { FROM = { country_event = MUN_czech.1052 } } } CZE_escalate_involvement_in_soviet_civil_war = { icon = GFX_decision_hol_draw_up_staff_plans allowed = { original_tag = CZE } priority = 500 visible = { has_completed_focus = CZE_intervene_in_the_ussr any_country = { original_tag = SOV has_civil_war = yes } NOT = { any_country = { original_tag = SOV has_war_with = ROOT } } } fire_only_once = yes available = { any_country = { original_tag = SOV OR = { has_volunteers_amount_from = { tag = ROOT count > 0 } any_other_country = { original_tag = SOV has_volunteers_amount_from = { tag = ROOT count > 0 } has_war_with = PREV } } OR = { is_neighbor_of = ROOT any_neighbor_country = { is_ally_with = ROOT } } } } remove_effect = { random_other_country = { limit = { original_tag = SOV has_volunteers_amount_from = { tag = ROOT count > 0 } } #friendly SOV scope random_enemy_country = { limit = { original_tag = SOV has_civil_war = yes } ROOT = { add_to_war = { targeted_alliance = PREV.PREV enemy = PREV hostility_reason = asked_to_join } } } } } } CZE_white_peace_silesia_owner = { icon = GFX_decision_generic_operation allowed = { original_tag = CZE } priority = 999 days_re_enable = 60 #allow multiple times ai_will_do = { base = 1 } visible = { has_war_with = 66.owner has_country_flag = CZE_unlock_white_peace NOT = { has_global_flag = CZE_block_silesia_war_negotations #lets Germany player block annoying CZE } } available = { all_owned_state = { is_controlled_by = ROOT } 66 = { is_controlled_by = ROOT } } remove_effect = { 66 = { owner = { country_event = MUN_czech.1024 } } } } } ######################### ### Balance of Power ### ######################### CZE_bop_army_readiness_category = { CZE_bop_ready_for_anything = { icon = GFX_decision_gre_faction_management allowed = { original_tag = CZE } priority = 100 ai_will_do = { base = 100 } cost = 100 available = { #OR = { #AND = { power_balance_value = { id = CZE_bop_army_readiness value > 0.75 } OR = { has_completed_focus = CZE_lessons_of_war is_major = yes any_allied_country = { is_major = yes } } has_army_manpower = { size > 424999 } OR = { has_deployed_air_force_size = { size > 199 type = fighter } has_equipment = { #I guess if you forgot about planes... train_equipment > 199 } } # has_deployed_air_force_size = { # size > 49 # type = cas # } OR = { num_of_factories > 75 AND = { num_of_military_factories > 24 num_of_civilian_factories > 24 } } custom_trigger_tooltip = { tooltip = CZE_bop_no_divided_nation_tt NOT = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } } custom_trigger_tooltip = { tooltip = CZE_bop_no_agrarians_tt NOT = { has_idea = CZE_agrarian_politics_3 has_idea = CZE_agrarian_politics_2 has_idea = CZE_agrarian_politics_1 } } custom_trigger_tooltip = { tooltip = CZE_bop_no_industrialists_tt NOT = { has_idea = CZE_industrialists_veto has_idea = CZE_industrialists_veto_2 } } #} # AND = { #I'm a badass exit clause # #surrender_progress < 0.01 # power_balance_value = { # id = CZE_bop_army_readiness # value > 0.10 # } # any_other_country = { # hidden_trigger = { # exists = yes # is_major = yes # } # OR = { # original_tag = GER # original_tag = SOV # } # is_neighbor_of = ROOT # has_war_with = ROOT # AND = { # #surrender_progress > 0.20 # casualties_inflicted_by = { # opponent = ROOT # thousands > 350 # } # } # } # } #} } complete_effect = { CZE_bop_stop_the_bop_and_give_final_idea = yes } } CZE_live_fire_exercise = { icon = GFX_decision_generic_prepare_civil_war allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 1 has_equipment = { infantry_equipment > 4999 } } modifier = { factor = 2 power_balance_value = { id = CZE_bop_army_readiness value < -0.10 } } } available = { has_war = no #has_completed_focus = CZE_continue_armed_force_reform } visible = { has_war = no #has_completed_focus = CZE_raise_more_industrial_funds } custom_cost_trigger = { has_equipment = { infantry_equipment > 499 } } custom_cost_text = decision_cost_ie_500 complete_effect = { add_equipment_to_stockpile = { type = infantry_equipment amount = -500 } } days_remove = 30 days_re_enable = 45 modifier = { experience_gain_army = 0.1 } remove_effect = { CZE_bop_high_increase_effect = yes } } CZE_send_observers_to_the_italo_ethiopian_war = { icon = GFX_decision_generic_belgian_colonial_helmet allowed = { original_tag = CZE } ai_will_do = { base = 25 modifier = { factor = 2 ETH = { is_ai = no } } } custom_cost_trigger = { command_power > 14 } custom_cost_text = decision_cost_CP_15 complete_effect = { hidden_effect = { add_command_power = -14 } } days_remove = 7 fire_only_once = yes modifier = { war_support_weekly = 0.01 } available = { has_global_flag = second_italo_ethiopian_war_flag if = { limit = { NOT = { has_government = fascism } } ETH = { has_opinion = { target = ROOT value > -11 } } } else_if = { limit = { ITA = { has_government = fascism } } ITA = { has_opinion = { target = ROOT value > -11 } } } else = { has_war_support > 0.50 } hidden_trigger = { has_war = no NOT = { OR = { has_war_with = ITA has_war_with = ETH } } } } visible = { has_global_flag = second_italo_ethiopian_war_flag } remove_effect = { if = { limit = { NOT = { has_government = fascism } } custom_effect_tooltip = CZE_send_observers_to_the_italo_ethiopian_war_tt custom_effect_tooltip = generic_skip_one_line_tt } CZE_bop_very_low_increase_effect = yes if = { limit = { NOT = { has_government = fascism } } custom_effect_tooltip = generic_skip_one_line_tt ETH = { add_opinion_modifier = { target = ROOT modifier = CZE_sent_observers } hidden_effect = { country_event = { id = MUN_czech_bop.3 days = 1 } } } custom_effect_tooltip = generic_skip_one_line_tt ITA = { add_opinion_modifier = { target = ROOT modifier = CZE_sent_observers_to_enemy } } set_country_flag = CZE_made_contact_with_eth } else_if = { limit = { ITA = { has_government = fascism } } custom_effect_tooltip = generic_skip_one_line_tt ITA = { add_opinion_modifier = { target = ROOT modifier = CZE_sent_observers } } custom_effect_tooltip = generic_skip_one_line_tt ETH = { add_opinion_modifier = { target = ROOT modifier = CZE_sent_observers_to_enemy } } } else = { army_experience = 1 } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = CZE_send_observers_to_the_italo_ethiopian_war cost_reduction = 0.05 uses = 1 category = land_doctrine } } } CZE_field_exercises = { icon = GFX_decision_hol_draw_up_staff_plans allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 1 power_balance_value = { id = CZE_bop_army_readiness value < -0.10 } } modifier = { factor = 5 power_balance_value = { id = CZE_bop_army_readiness value < -0.25 } } } cost = 15 # custom_cost_trigger = { # command_power > 14 # } # custom_cost_text = decision_cost_CP_15 # complete_effect = { # hidden_effect = { # add_command_power = -14 # } # } days_remove = 30 days_re_enable = 45 modifier = { training_time_factor = -0.10 } available = { #has_war_with_major = no #has_completed_focus = CZE_continue_armed_force_reform } visible = { #has_war_with_major = no } remove_effect = { CZE_bop_very_low_increase_effect = yes } } CZE_recruit_red_cross_veterans = { icon = GFX_decision_generic_military allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 10 power_balance_value = { id = CZE_bop_army_readiness value < 0.10 } } } cost = 25 days_remove = 30 fire_only_once = yes modifier = { experience_loss_factor = -0.10 } available = { NOT = { has_global_flag = second_italo_ethiopian_war_flag } } complete_effect = { hidden_effect = { add_command_power = -25 } } remove_effect = { CZE_bop_medium_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_recruit_red_cross_veterans bonus = 0.50 uses = 1 category = hospital_tech } } } CZE_construction_telephone_stations = { icon = GFX_decision_generic_electricity allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 1 power_balance_value = { id = CZE_bop_army_readiness value < -0.10 } } modifier = { add = 2 has_war = yes } modifier = { factor = 2 power_balance_value = { id = CZE_bop_army_readiness value < -0.25 } } } available = { has_completed_focus = CZE_raise_more_industrial_funds #has_tech = construction1 } ai_hint_pp_cost = 25 custom_cost_trigger = { command_power > 24 has_political_power > 24 } custom_cost_text = decision_cost_CP_25_pp_25 complete_effect = { hidden_effect = { add_command_power = -25 add_political_power = -25 } } days_remove = 90 days_re_enable = 275 modifier = { coordination_bonus = 0.01 land_reinforce_rate = 0.01 production_speed_energy_infrastructure_factor = 0.10 production_speed_industrial_infrastructure_factor = 0.10 } remove_effect = { CZE_bop_high_increase_effect = yes } } CZE_embezzle_quatermaster_funds = { icon = GFX_decision_generic_fundraising allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 2 power_balance_value = { id = CZE_bop_army_readiness value > 0.50 } } modifier = { factor = 2 power_balance_value = { id = CZE_bop_army_readiness value > 0.75 } } } cost = 25 days_remove = 90 days_re_enable = 90 modifier = { consumer_goods_factor = -0.10 production_speed_industrial_complex_factor = 0.10 } available = { has_war = no NOT = { has_completed_focus = CZE_bribery_investigations } } visible = { has_war = no NOT = { has_completed_focus = CZE_bribery_investigations } } complete_effect = { hidden_effect = { add_command_power = -25 } } remove_effect = { CZE_bop_medium_decrease_effect = yes } } CZE_redirect_military_discretionary_spending = { icon = GFX_decision_generic_welfare allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 2 power_balance_value = { id = CZE_bop_army_readiness value > 0.25 } } modifier = { factor = 2 power_balance_value = { id = CZE_bop_army_readiness value > 0.50 } } } available = { has_war = no NOT = { has_completed_focus = CZE_national_defense_act } } visible = { has_war = no NOT = { has_completed_focus = CZE_national_defense_act } } cost = 25 days_remove = 90 days_re_enable = 90 modifier = { production_speed_arms_factory_factor = -0.15 production_speed_industrial_complex_factor = 0.15 } remove_effect = { CZE_bop_medium_decrease_effect = yes } } CZE_prioritize_export_contracts = { icon = GFX_decision_generic_merge_plant_tank allowed = { original_tag = CZE } ai_will_do = { base = 0 } cost = 25 days_remove = 90 days_re_enable = 180 modifier = { industrial_capacity_factory = 0.10 equipment_conversion_speed = 0.25 tank_manufacturer_cost_factor = -0.25 } available = { has_war = no NOT = { has_completed_focus = CZE_force_the_industrialists_hand } } visible = { has_war = no NOT = { has_completed_focus = CZE_force_the_industrialists_hand } } remove_effect = { CZE_bop_very_high_decrease_effect = yes } } CZE_focus_on_export_designs = { icon = GFX_decision_generic_tank allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 2 power_balance_value = { id = CZE_bop_army_readiness value > 0.50 } } modifier = { factor = 2 power_balance_value = { id = CZE_bop_army_readiness value > 0.75 } } } cost = 25 days_remove = 90 days_re_enable = 90 modifier = { equipment_upgrade_xp_cost = -0.50 equipment_conversion_speed = 0.50 line_change_production_efficiency_factor = 0.10 } available = { has_war = no NOT = { has_completed_focus = CZE_national_defense_act } } visible = { has_war = no NOT = { has_completed_focus = CZE_national_defense_act } } remove_effect = { CZE_bop_very_high_decrease_effect = yes } } CZE_warehouse_inspections = { icon = GFX_decision_generic_decision allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 10 power_balance_value = { id = CZE_bop_army_readiness value < -0.10 } } } ai_hint_pp_cost = 25 custom_cost_trigger = { command_power > 24 has_political_power > 24 } custom_cost_text = decision_cost_CP_25_pp_25 complete_effect = { hidden_effect = { add_command_power = -25 add_political_power = -25 } } days_remove = 180 days_re_enable = 65 modifier = { equipment_conversion_speed = -0.25 } available = { has_completed_focus = CZE_bribery_investigations } remove_effect = { CZE_bop_high_increase_effect = yes } } CZE_junior_officer_recruitment = { icon = GFX_decision_generic_army_support allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 2 power_balance_value = { id = CZE_bop_army_readiness value < -0.25 } } } custom_cost_trigger = { command_power > 24 } custom_cost_text = decision_cost_CP_25 days_remove = 60 days_re_enable = 185 modifier = { army_leader_cost_factor = -0.5 } available = { has_completed_focus = CZE_continue_armed_force_reform } complete_effect = { hidden_effect = { add_command_power = -25 } } remove_effect = { CZE_bop_high_increase_effect = yes } } CZE_send_foreign_attaches = { icon = GFX_decision_generic_military allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 1 power_balance_value = { id = CZE_bop_army_readiness value < -0.25 } } } ai_hint_pp_cost = 25 custom_cost_trigger = { command_power > 24 has_political_power > 24 } custom_cost_text = decision_cost_CP_25_pp_25 days_remove = 90 days_re_enable = 275 modifier = { experience_gain_army_factor = 0.05 } available = { has_completed_focus = CZE_continue_armed_force_reform has_war = no any_other_country = { has_government = ROOT is_major = yes hidden_trigger = { has_war = no } capital_scope = { is_on_continent = europe } has_opinion = { target = ROOT value > 9 } } } visible = { has_war = no } complete_effect = { hidden_effect = { add_command_power = -25 add_political_power = -25 } } remove_effect = { CZE_bop_medium_increase_effect = yes if = { limit = { any_other_country = { has_government = ROOT is_major = yes capital_scope = { is_on_continent = europe } has_opinion = { target = ROOT value > 9 } } } custom_effect_tooltip = generic_skip_one_line_tt every_other_country = { limit = { is_major = yes hidden_trigger = { has_war = no } NOT = { has_war_with = ROOT } capital_scope = { is_on_continent = europe } has_government = ROOT has_opinion = { target = ROOT value > 9 } } THIS = { add_opinion_modifier = { target = ROOT modifier = CZE_sent_attaches } } } } } } CZE_state_defense_loans = { icon = GFX_decision_generic_welfare allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 1 power_balance_value = { id = CZE_bop_army_readiness value < -0.50 } } } available = { has_completed_focus = CZE_national_defense_act } cost = 100 days_remove = 180 days_re_enable = 365 modifier = { consumer_goods_factor = -0.10 production_speed_arms_factory_factor = 0.10 } remove_effect = { CZE_bop_very_high_increase_effect = yes } } CZE_bop_car_rationing = { icon = GFX_decision_generic_trucks allowed = { original_tag = CZE } ai_will_do = { base = 0 modifier = { add = 1 power_balance_value = { id = CZE_bop_army_readiness value < -0.50 } } } fire_only_once = yes cost = 25 days_remove = 60 modifier = { truck_attrition_factor = -0.10 production_lack_of_resource_penalty_factor = -0.10 } available = { has_completed_focus = CZE_car_and_oil_rationing } remove_effect = { CZE_bop_medium_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt add_equipment_to_stockpile = { type = motorized_equipment amount = 100 } } } CZE_seize_rail_lines = { icon = GFX_decision_generic_train allowed = { original_tag = CZE } ai_will_do = { base = 2 } fire_only_once = yes cost = 25 days_remove = 40 modifier = { production_speed_rail_way_factor = 0.1 production_speed_supply_node_factor = 0.1 } available = { has_completed_focus = CZE_national_defense_act } visible = { has_war = yes } remove_effect = { add_equipment_to_stockpile = { type = train_equipment amount = 10 } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_medium_increase_effect = yes } } } CZE_a_divided_nation_fake_category = { CZE_a_divided_nation_bridge_the_divide_fake = { icon = GFX_decision_generic_political_discourse allowed = { original_tag = CZE } ai_will_do = { base = 0 } available = { hidden_trigger = { always = no } OR = { has_completed_focus = CZE_coalition_building has_completed_focus = CZE_appeal_to_the_castle } } highlight_states = { highlight_states_trigger = { is_owned_by = ROOT OR = { has_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_czech_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_tesinko_polish_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_slovakia_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_hungarian_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_ukrainian_state_modifier scope = ROOT } } } } complete_effect = { custom_effect_tooltip = CZE_a_divided_nation_category_3_tt } } } # A Divided Nation Decisions tied to removing state modifiers and reducing the National Spirit's debuffs # Each state gets it's own decision tagerts so there can have it's own flavor. If more states are every added content should be adjusted. CZE_a_divided_nation_category = { CZE_a_divided_nation_sudentenland_germans = { icon = GFX_decision_generic_political_discourse ai_will_do = { base = 15 } allowed = { original_tag = CZE } visible = { OR = { has_country_flag = CZE_no_compromise_with_the_sdp_was_first NOT = { OR = { has_country_flag = CZE_contact_henlein_was_first_flag #has_completed_focus = CZE_contact_henlein check uses above country flag has_completed_focus = CZE_cooperate_with_the_sdp has_completed_focus = CZE_recruit_communist_exiles has_completed_focus = CZE_cooperate_with_tito has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } } } available = { OR = { has_completed_focus = CZE_integrate_sudeten_germans has_completed_focus = CZE_no_compromise_with_the_sdp has_government = communism #Working with Tito cant always be done, and only 1 path can use exiles } FROM = { has_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier scope = ROOT } } NOT = { has_country_flag = CZE_a_divided_nation_decision_in_progress } } days_remove = CZE_a_divided_nation_days_remove_variable ai_hint_pp_cost = 25 custom_cost_trigger = { command_power > 24 has_political_power > 24 } custom_cost_text = decision_cost_CP_25_pp_25 highlight_states = { highlight_state_targets = { state = FROM } } state_target = yes targets = { 74 69 972 } target_trigger = { FROM = { is_fully_controlled_by = ROOT has_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier scope = ROOT } } } modifier = { command_power_gain_mult = -0.10 political_power_factor = -0.10 } complete_effect = { hidden_effect = { add_command_power = -25 add_political_power = -25 } set_country_flag = CZE_a_divided_nation_decision_in_progress set_country_flag = CZE_a_divided_nation_sudentenland_germans_dynamic_local_set #sets dynamic local for MUN_czech.1032 hidden_effect = { if = { limit = { NOT = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } } country_event = { id = MUN_czech.1032 days = CZE_a_divided_nation_days_remove_variable } } else = { country_event = { id = MUN_czech.1046 days = CZE_a_divided_nation_days_remove_variable hours = 1 } } } } # If stability variable is below -0.04 or no state debuffs are remaining in controlled states remove NS dynamic modifier. Else if modifiy it. If scripting somehow breaks Else gives 25 PP 'refund'. remove_effect = { hidden_effect = { #This needs to go first FROM = { remove_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier } } } if = { limit = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } remove_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } # hidden_effect = { # country_event = { # id = MUN_czech.1046 hours = 1 # } # } } else_if = { limit = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } custom_effect_tooltip = CZE_modify_a_divided_nation_ns_intro_tt add_to_variable = { CZE_a_divided_nation_stability_factor = 0.02 tooltip = stability_factor_tt } add_to_variable = { CZE_a_divided_nation_drift_defence_factor = 0.03 tooltip = drift_defence_factor_tt } } else = { add_political_power = 25 } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Moved around in effect order for a cleaner looking tooltip FROM = { remove_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier } } } ##clr_country_flag = CZE_a_divided_nation_decision_in_progress cleared in the follow up event as a way to prevent edge case bugs with state weirdness cleared in the follow up event as a way to prevent edge case bugs with state weirdness } } #Same as above but changed in the context of working with the SdP CZE_a_divided_nation_sudentenland_germans_cooperate = { icon = GFX_decision_generic_welfare ai_will_do = { base = 13 } allowed = { original_tag = CZE } visible = { OR = { has_country_flag = CZE_contact_henlein_was_first_flag NOT = { OR = { has_completed_focus = CZE_integrate_sudeten_germans has_completed_focus = CZE_no_compromise_with_the_sdp } } } } available = { OR = { has_completed_focus = CZE_cooperate_with_the_sdp has_completed_focus = CZE_contact_henlein has_completed_focus = CZE_recruit_communist_exiles has_completed_focus = CZE_cooperate_with_tito has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } FROM = { has_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier scope = ROOT } } NOT = { has_country_flag = CZE_a_divided_nation_decision_in_progress } } days_remove = CZE_a_divided_nation_days_remove_variable cost = CZE_divided_nation_25_default state_target = yes #targets = { 74 69 972 } target_trigger = { FROM = { is_fully_controlled_by = ROOT has_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier scope = ROOT } } } modifier = { consumer_goods_factor = 0.05 party_popularity_stability_factor = 0.05 #Yes a + #political_power_factor = -0.05 } complete_effect = { set_country_flag = CZE_a_divided_nation_decision_in_progress set_country_flag = CZE_a_divided_nation_sudentenland_germans_cooperate_dynamic_local_set #sets dynamic local for MUN_czech.1032 hidden_effect = { if = { limit = { NOT = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } } country_event = { id = MUN_czech.1032 days = CZE_a_divided_nation_days_remove_variable } } else = { country_event = { id = MUN_czech.1046 days = CZE_a_divided_nation_days_remove_variable hours = 1 } } } FROM = { add_dynamic_modifier = { modifier = CZE_economic_investment_in_state_modifier days = 270 } } } # If stability variable is below -0.04 or no state debuffs are remaining in controlled states remove NS dynamic modifier. Else if modifiy it. If scripting somehow breaks Else gives 25 PP 'refund'. remove_effect = { hidden_effect = { #This needs to go first FROM = { remove_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier } } } if = { limit = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } remove_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } # hidden_effect = { # country_event = { # id = MUN_czech.1046 hours = 1 # } # } } else_if = { limit = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } custom_effect_tooltip = CZE_modify_a_divided_nation_ns_intro_tt add_to_variable = { CZE_a_divided_nation_stability_factor = 0.02 tooltip = stability_factor_tt } add_to_variable = { CZE_a_divided_nation_drift_defence_factor = 0.03 tooltip = drift_defence_factor_tt } } else = { add_political_power = 25 } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Moved around in effect order for a cleaner looking tooltip FROM = { remove_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier } } } #clr_country_flag = CZE_a_divided_nation_decision_in_progress cleared in the follow up event as a way to prevent edge case bugs with state weirdness } } CZE_a_divided_nation_czech_states = { icon = GFX_decision_generic_research ai_will_do = { base = 12 } allowed = { original_tag = CZE } visible = { } available = { FROM = { has_dynamic_modifier = { modifier = CZE_czech_state_modifier scope = ROOT } } NOT = { has_country_flag = CZE_a_divided_nation_decision_in_progress } } days_remove = CZE_a_divided_nation_days_remove_variable cost = 5 state_target = yes targets = { 9 75 } target_trigger = { FROM = { is_fully_controlled_by = ROOT has_dynamic_modifier = { modifier = CZE_czech_state_modifier scope = ROOT } } } modifier = { research_speed_factor = 0.05 consumer_goods_factor = 0.05 } complete_effect = { set_country_flag = CZE_a_divided_nation_decision_in_progress set_country_flag = CZE_a_divided_nation_czech_states_dynamic_local_set #sets dynamic local for MUN_czech.1032 hidden_effect = { if = { limit = { NOT = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } } country_event = { id = MUN_czech.1032 days = CZE_a_divided_nation_days_remove_variable } } else = { country_event = { id = MUN_czech.1046 days = CZE_a_divided_nation_days_remove_variable hours = 1 } } } } # If stability variable is below -0.04 or no state debuffs are remaining in controlled states remove NS dynamic modifier. Else if modifiy it. If scripting somehow breaks Else gives 25 PP 'refund'. remove_effect = { hidden_effect = { #This needs to go first FROM = { remove_dynamic_modifier = { modifier = CZE_czech_state_modifier } } } if = { limit = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } remove_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } # hidden_effect = { # country_event = { # id = MUN_czech.1046 hours = 1 # } # } } else_if = { limit = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } custom_effect_tooltip = CZE_modify_a_divided_nation_ns_intro_tt add_to_variable = { CZE_a_divided_nation_stability_factor = 0.02 tooltip = stability_factor_tt } add_to_variable = { CZE_a_divided_nation_drift_defence_factor = 0.03 tooltip = drift_defence_factor_tt } } else = { add_political_power = 25 } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { # Moved around in effect order for a cleaner looking tooltip FROM = { remove_dynamic_modifier = { modifier = CZE_czech_state_modifier } } } #clr_country_flag = CZE_a_divided_nation_decision_in_progress cleared in the follow up event as a way to prevent edge case bugs with state weirdness } } CZE_a_divided_nation_tesinko_poles = { icon = GFX_decision_generic_political_discourse ai_will_do = { base = 10 } allowed = { original_tag = CZE } visible = { } available = { FROM = { has_dynamic_modifier = { modifier = CZE_tesinko_polish_state_modifier scope = ROOT } } NOT = { has_country_flag = CZE_a_divided_nation_decision_in_progress } } days_remove = CZE_a_divided_nation_days_remove_variable cost = CZE_divided_nation_15_default state_target = yes targets = { 72 } target_trigger = { FROM = { is_fully_controlled_by = ROOT has_dynamic_modifier = { modifier = CZE_tesinko_polish_state_modifier scope = ROOT } } } modifier = { political_power_factor = -0.05 command_power_gain_mult = -0.05 } complete_effect = { set_country_flag = CZE_a_divided_nation_decision_in_progress set_country_flag = CZE_a_divided_nation_tesinko_poles_dynamic_local_set #sets dynamic local for MUN_czech.1032 hidden_effect = { if = { limit = { NOT = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } } country_event = { id = MUN_czech.1032 days = CZE_a_divided_nation_days_remove_variable } } else = { country_event = { id = MUN_czech.1046 days = CZE_a_divided_nation_days_remove_variable hours = 1 } } } } # If stability variable is below -0.04 or no state debuffs are remaining in controlled states remove NS dynamic modifier. Else if modifiy it. If scripting somehow breaks Else gives 25 PP 'refund'. remove_effect = { hidden_effect = { #This needs to go first FROM = { remove_dynamic_modifier = { modifier = CZE_tesinko_polish_state_modifier } } } if = { limit = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } remove_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } # hidden_effect = { # country_event = { # id = MUN_czech.1046 hours = 1 # } # } } else_if = { limit = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } custom_effect_tooltip = CZE_modify_a_divided_nation_ns_intro_tt add_to_variable = { CZE_a_divided_nation_stability_factor = 0.02 tooltip = stability_factor_tt } add_to_variable = { CZE_a_divided_nation_drift_defence_factor = 0.03 tooltip = drift_defence_factor_tt } } else = { add_political_power = 25 } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Moved around in effect order for a cleaner looking tooltip FROM = { remove_dynamic_modifier = { modifier = CZE_tesinko_polish_state_modifier } } } #clr_country_flag = CZE_a_divided_nation_decision_in_progress cleared in the follow up event as a way to prevent edge case bugs with state weirdness } } CZE_a_divided_nation_slovakia_states = { icon = GFX_decision_generic_factory ai_will_do = { base = 11 } allowed = { original_tag = CZE } visible = { } available = { FROM = { has_dynamic_modifier = { modifier = CZE_slovakia_state_modifier scope = ROOT } } NOT = { has_country_flag = CZE_a_divided_nation_decision_in_progress } } days_remove = CZE_a_divided_nation_days_remove_variable cost = CZE_divided_nation_25_default state_target = yes targets = { 70 71 } target_trigger = { FROM = { is_fully_controlled_by = ROOT has_dynamic_modifier = { modifier = CZE_slovakia_state_modifier scope = ROOT } } } modifier = { consumer_goods_factor = 0.05 #command_power_gain_mult = -0.05 } complete_effect = { set_country_flag = CZE_a_divided_nation_decision_in_progress set_country_flag = CZE_a_divided_nation_slovakia_states_dynamic_local_set #sets dynamic local for MUN_czech.1032 FROM = { add_dynamic_modifier = { modifier = CZE_economic_investment_in_state_modifier days = 270 } } hidden_effect = { if = { limit = { NOT = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } } country_event = { id = MUN_czech.1032 days = CZE_a_divided_nation_days_remove_variable } } else = { country_event = { id = MUN_czech.1046 days = CZE_a_divided_nation_days_remove_variable hours = 1 } } } } # If stability variable is below -0.04 or no state debuffs are remaining in controlled states remove NS dynamic modifier. Else if modifiy it. If scripting somehow breaks Else gives 25 PP 'refund'. remove_effect = { hidden_effect = { #This needs to go first FROM = { remove_dynamic_modifier = { modifier = CZE_slovakia_state_modifier } } } if = { limit = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } remove_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } # hidden_effect = { # country_event = { # id = MUN_czech.1046 hours = 1 # } # } } else_if = { limit = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } custom_effect_tooltip = CZE_modify_a_divided_nation_ns_intro_tt add_to_variable = { CZE_a_divided_nation_stability_factor = 0.02 tooltip = stability_factor_tt } add_to_variable = { CZE_a_divided_nation_drift_defence_factor = 0.03 tooltip = drift_defence_factor_tt } } else = { add_political_power = 25 } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { # Moved around in effect order for a cleaner looking tooltip FROM = { remove_dynamic_modifier = { modifier = CZE_slovakia_state_modifier } } } #clr_country_flag = CZE_a_divided_nation_decision_in_progress cleared in the follow up event as a way to prevent edge case bugs with state weirdness } } CZE_a_divided_nation_hungarian_states = { icon = GFX_decision_generic_political_discourse ai_will_do = { base = 10 } allowed = { original_tag = CZE } visible = { } available = { FROM = { has_dynamic_modifier = { modifier = CZE_hungarian_state_modifier scope = ROOT } } NOT = { has_country_flag = CZE_a_divided_nation_decision_in_progress } } days_remove = CZE_a_divided_nation_days_remove_variable ai_hint_pp_cost = 25 custom_cost_trigger = { command_power > 24 has_political_power > 24 } custom_cost_text = decision_cost_CP_25_pp_25 state_target = yes targets = { 664 } target_trigger = { FROM = { is_fully_controlled_by = ROOT has_dynamic_modifier = { modifier = CZE_hungarian_state_modifier scope = ROOT } } } modifier = { command_power_gain_mult = -0.05 political_power_factor = -0.05 } complete_effect = { hidden_effect = { add_political_power = -25 add_command_power = -25 } set_country_flag = CZE_a_divided_nation_decision_in_progress set_country_flag = CZE_a_divided_nation_hungarian_states_dynamic_local_set #sets dynamic local for MUN_czech.1032 hidden_effect = { if = { limit = { NOT = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } } country_event = { id = MUN_czech.1032 days = CZE_a_divided_nation_days_remove_variable } } else = { country_event = { id = MUN_czech.1046 days = CZE_a_divided_nation_days_remove_variable hours = 1 } } } } # If stability variable is below -0.04 or no state debuffs are remaining in controlled states remove NS dynamic modifier. Else if modifiy it. If scripting somehow breaks Else gives 25 PP 'refund'. remove_effect = { hidden_effect = { #This needs to go first FROM = { remove_dynamic_modifier = { modifier = CZE_hungarian_state_modifier } } } if = { limit = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } remove_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } # hidden_effect = { # country_event = { # id = MUN_czech.1046 hours = 1 # } # } } else_if = { limit = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } custom_effect_tooltip = CZE_modify_a_divided_nation_ns_intro_tt add_to_variable = { CZE_a_divided_nation_stability_factor = 0.02 tooltip = stability_factor_tt } add_to_variable = { CZE_a_divided_nation_drift_defence_factor = 0.03 tooltip = drift_defence_factor_tt } } else = { add_political_power = 25 } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Moved around in effect order for a cleaner looking tooltip FROM = { remove_dynamic_modifier = { modifier = CZE_hungarian_state_modifier } } } #clr_country_flag = CZE_a_divided_nation_decision_in_progress cleared in the follow up event as a way to prevent edge case bugs with state weirdness } } CZE_a_divided_nation_ukrainian_states = { icon = GFX_decision_generic_factory ai_will_do = { base = 10 } allowed = { original_tag = CZE } visible = { } available = { FROM = { has_dynamic_modifier = { modifier = CZE_ukrainian_state_modifier scope = ROOT } } NOT = { has_country_flag = CZE_a_divided_nation_decision_in_progress } } days_remove = CZE_a_divided_nation_days_remove_variable cost = CZE_divided_nation_15_default state_target = yes targets = { 73 } target_trigger = { FROM = { is_fully_controlled_by = ROOT has_dynamic_modifier = { modifier = CZE_ukrainian_state_modifier scope = ROOT } } } modifier = { consumer_goods_factor = 0.05 #command_power_gain_mult = -0.05 } complete_effect = { set_country_flag = CZE_a_divided_nation_decision_in_progress set_country_flag = CZE_a_divided_nation_ukrainian_states_dynamic_local_set #sets dynamic local for MUN_czech.1032 FROM = { add_dynamic_modifier = { modifier = CZE_economic_investment_in_state_modifier days = 270 } } hidden_effect = { if = { limit = { NOT = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } } country_event = { id = MUN_czech.1032 days = CZE_a_divided_nation_days_remove_variable } } else = { country_event = { id = MUN_czech.1046 days = CZE_a_divided_nation_days_remove_variable hours = 1 } } } } # If stability variable is below -0.04 or no state debuffs are remaining in controlled states remove NS dynamic modifier. Else if modifiy it. If scripting somehow breaks Else gives 25 PP 'refund'. remove_effect = { hidden_effect = { #This needs to go first FROM = { remove_dynamic_modifier = { modifier = CZE_ukrainian_state_modifier } } } if = { limit = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } remove_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } # hidden_effect = { # country_event = { # id = MUN_czech.1046 hours = 1 # } # } } else_if = { limit = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } custom_effect_tooltip = CZE_modify_a_divided_nation_ns_intro_tt add_to_variable = { CZE_a_divided_nation_stability_factor = 0.02 tooltip = stability_factor_tt } add_to_variable = { CZE_a_divided_nation_drift_defence_factor = 0.03 tooltip = drift_defence_factor_tt } } else = { add_political_power = 25 } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { # Moved around in effect order for a cleaner looking tooltip FROM = { remove_dynamic_modifier = { modifier = CZE_ukrainian_state_modifier } } } #clr_country_flag = CZE_a_divided_nation_decision_in_progress cleared in the follow up event as a way to prevent edge case bugs with state weirdness } } # In the case something breaks or goes wrong for some unforseen reason or edge case. This decision removes the divided nation modifier if it's still around. Just to be extra safe. CZE_a_divided_nation_bridge_the_divide = { icon = GFX_decision_generic_political_discourse ai_will_do = { base = 10 } allowed = { original_tag = CZE } visible = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } all_controlled_state = { #No state modifiers left but the National Spirit is somehow still around :O NOT = { OR = { has_dynamic_modifier = { modifier = CZE_sudetenland_german_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_tesinko_polish_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_czech_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_slovakia_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_hungarian_state_modifier scope = ROOT } has_dynamic_modifier = { modifier = CZE_ukrainian_state_modifier scope = ROOT } } } } } available = { hidden_trigger = { #Doesn't look good in a TT imo has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } NOT = { has_country_flag = CZE_a_divided_nation_decision_in_progress } } days_remove = 7 cost = 0 complete_effect = { set_country_flag = CZE_a_divided_nation_decision_in_progress hidden_effect = { if = { limit = { NOT = { OR = { check_variable = { CZE_a_divided_nation_drift_defence_factor > -0.04 } CZE_is_last_state_with_dynamic_modifier = yes } } } country_event = { id = MUN_czech.1032 days = CZE_a_divided_nation_days_remove_variable } } } } remove_effect = { add_political_power = 25 #Sorry we made you wait an extra 7 days because your decisions were interrupted. Accept this as our way of saying sorry. custom_effect_tooltip = generic_skip_one_line_tt remove_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } } } CZE_crisis_in_the_sudentenland = { CZE_tackle_crisis_in_the_sudentenland = { icon = GFX_decision_oppression available = { FROM = { is_controlled_by = ROOT has_dynamic_modifier = { modifier = CZE_sudetenland_paramilitaries_modifier scope = ROOT } } } visible = { any_core_state = { is_controlled_by = ROOT has_dynamic_modifier = { modifier = CZE_sudetenland_paramilitaries_modifier scope = ROOT } } } ai_will_do = { base = 100 } days_remove = 35 ai_hint_pp_cost = 25 custom_cost_trigger = { command_power > 24 has_political_power > 24 } custom_cost_text = decision_cost_CP_25_pp_25 state_target = yes targets = { 69 972 74 } target_trigger = { FROM = { has_dynamic_modifier = { modifier = CZE_sudetenland_paramilitaries_modifier scope = ROOT } OR = { state = 69 #North Sudetenland state = 972 #South Sudetenland state = 74 #Czeske Slezsko } } } modifier = { planning_speed = -0.1 resistance_damage_to_garrison = 0.1 #here for flavor } complete_effect = { hidden_effect = { add_political_power = -25 add_command_power = -25 } } remove_effect = { FROM = { remove_dynamic_modifier = { modifier = CZE_sudetenland_paramilitaries_modifier scope = ROOT } if = { limit = { FROM = { is_core_of = SDL } } remove_core_of = SDL } } } } } ################################### ######## FORTS ######## ################################### CZE_the_second_fortification_program_category = { CZE_fate_of_the_ro = { priority = 10 activation = { always = no } days_mission_timeout = 106 available = { OR = { has_completed_focus = CZE_the_second_fortification_program has_completed_focus = CZE_redirect_the_fortification_councils_funds } } icon = GFX_decision_generic_fundraising is_good = no complete_effect = { if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } CZE_bop_super_low_increase_effect = yes } } timeout_effect = { country_event = { id = MUN_czech.1028 hours = 1 } } } CZE_bop_army_bunker_maintenance = { icon = GFX_decision_generic_construction ai_will_do = { base = 13 } allowed = { original_tag = CZE } #cost = 25 available = { has_completed_focus = CZE_the_second_fortification_program has_war_with_major = no } days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_0 days_re_enable = 180 visible = { has_power_balance = { id = CZE_bop_army_readiness } NOT = { has_completed_focus = CZE_redirect_the_fortification_councils_funds } any_controlled_state = { #Hate how this TT looks when shown, so it's on the visible check any_province_building_level = { province = { all_provinces = yes } building = bunker level > 0 } } } modifier = { repair_speed_bunker_factor = 0.10 production_speed_bunker_factor = -0.10 } remove_effect = { CZE_bop_super_low_increase_effect = yes } } CZE_fortification_research = { icon = GFX_decision_generic_research ai_will_do = { base = 14 } days_remove = 30 fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = CZE_fortification_research_tt OR = { has_idea = CZE_directorate_of_fortification_works_gd_idea has_idea = CZE_directorate_of_fortification_works_no_gd_idea } } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } modifier = { research_speed_factor = -0.05 } visible = { #has_power_balance = { # id = CZE_bop_army_readiness #} } custom_cost_trigger = { command_power > 14 } custom_cost_text = decision_cost_CP_15 complete_effect = { hidden_effect = { add_command_power = -15 } set_country_flag = CZE_fortification_decision_inprogress hidden_effect = { country_event = { id = MUN_czech.1029 days = 30 } #days needs to be same as the above days_remove! } } remove_effect = { ROOT = { add_tech_bonus = { name = CZE_fortification_research bonus = 0.25 uses = 1 category = cat_fortification } } custom_effect_tooltip = generic_skip_one_line_tt subtract_from_variable = { var = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 value = 30 tooltip = CZE_fortification_research_subtract_variable_tt } hidden_effect = { subtract_from_variable = { var = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_0 value = 30 tooltip = CZE_fortification_research_subtract_variable_tt } subtract_from_variable = { var = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_2 value = 30 tooltip = CZE_fortification_research_subtract_variable_tt } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_directorate_of_fortification_works_no_gd_idea } swap_ideas = { remove_idea = CZE_directorate_of_fortification_works_no_gd_idea add_idea = CZE_directorate_of_fortification_works_no_gd_idea_2 } } else_if = { limit = { has_idea = CZE_directorate_of_fortification_works_gd_idea } swap_ideas = { remove_idea = CZE_directorate_of_fortification_works_gd_idea add_idea = CZE_directorate_of_fortification_works_gd_idea_2 } } else = { } clr_country_flag = CZE_fortification_decision_inprogress } } #Second Fortification Program CZE_second_sudetenland_fortification_program = { icon = GFX_decision_generic_mountain_fortification ai_will_do = { base = 75 modifier = { factor = 0.5 is_in_faction_with = GER } modifier = { factor = 0.1 HABSBURG_joint_trigger = yes } } highlight_states = { highlight_state_targets = { state = 69 state = 972 state = 74 } highlight_provinces = { 494 445 9692 9539 } } on_map_mode = map_and_decisions_view days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 #Set in history file available = { has_completed_focus = CZE_the_second_fortification_program 69 = { is_fully_controlled_by = ROOT } 972 = { is_fully_controlled_by = ROOT } 74 = { is_fully_controlled_by = ROOT } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } cancel_trigger = { OR = { 69 = { NOT = { is_fully_controlled_by = ROOT } } 972 = { NOT = { is_fully_controlled_by = ROOT } } 74 = { NOT = { is_fully_controlled_by = ROOT } } } } cancel_effect = { clr_country_flag = CZE_fortification_decision_inprogress } visible = { NOT = { has_country_flag = CZE_second_sudetenland_fortification_program_was_finished } OR = { 69 = { any_province_building_level = { province = { all_provinces = yes } building = bunker level < 3 } } 972 = { any_province_building_level = { province = { all_provinces = yes } building = bunker level < 3 } } 9 = { any_province_building_level = { province = { id = 445 id = 494 } building = bunker level < 3 } } 74 = { any_province_building_level = { province = { id = 421 id = 6485 id = 3414 id = 3583 } building = bunker level < 3 } } 70 = { any_province_building_level = { province = { id = 9539 id = 9692 } building = bunker level < 3 } } } } modifier = { civilian_factory_use = 1 production_speed_bunker_factor = -0.25 } complete_effect = { set_country_flag = CZE_fortification_decision_inprogress hidden_effect = { country_event = { id = MUN_czech.1029 days = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 } #days NEEDS to be same as the above days_remove } } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 0 } custom_cost_text = decision_cost_civ_factory_1 remove_effect = { if = { #being overly safe since this is decision sided limit = { has_dynamic_modifier = { modifier = CZE_ceskoslovenska_armada_dynamic_modifier } } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_supply_combat_penalties_on_core_factor = -0.025 tooltip = supply_combat_penalties_on_core_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { 69 = { is_fully_controlled_by = ROOT } } 69 = { set_building_level = { type = bunker level = 3 province = { all_provinces = yes level < 3 } } } } if = { limit = { 972 = { is_fully_controlled_by = ROOT } } 972 = { set_building_level = { type = bunker level = 3 province = { all_provinces = yes level < 3 } } } } if = { limit = { controls_province = 494 controls_province = 445 } 9 = { set_building_level = { type = bunker level = 3 province = { id = 445 id = 494 level < 3 } } } } if = { limit = { 74 = { is_fully_controlled_by = ROOT } } 74 = { set_building_level = { type = bunker level = 3 province = { all_provinces = yes level < 3 } } } } if = { limit = { 70 = { controls_or_subject_of = yes } } 70 = { set_building_level = { type = bunker level = 3 province = { id = 9539 id = 9692 level < 3 } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } clr_country_flag = CZE_fortification_decision_inprogress set_country_flag = CZE_second_sudetenland_fortification_program_was_finished } } CZE_third_sudetenland_fortification_program = { icon = GFX_decision_generic_mountain_fortification ai_will_do = { base = 35 modifier = { factor = 0.5 is_in_faction_with = GER } modifier = { factor = 0.1 HABSBURG_joint_trigger = yes } } highlight_states = { highlight_state_targets = { state = 69 state = 972 state = 74 } highlight_provinces = { 494 445 9692 9539 } } on_map_mode = map_and_decisions_view days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_2 #Set in history file visible = { NOT = { has_country_flag = CZE_third_sudetenland_fortification_program_was_finished } 69 = { any_province_building_level = { province = { all_provinces = yes } building = bunker level > 2 } any_province_building_level = { province = { all_provinces = yes } building = bunker level < 5 } } 972 = { any_province_building_level = { province = { all_provinces = yes } building = bunker level > 2 } any_province_building_level = { province = { all_provinces = yes } building = bunker level < 5 } } 9 = { any_province_building_level = { province = { id = 445 id = 494 } building = bunker level > 2 } any_province_building_level = { province = { all_provinces = yes } building = bunker level < 5 } } 74 = { any_province_building_level = { province = { id = 421 id = 6485 id = 3414 id = 3583 } building = bunker level > 2 } any_province_building_level = { province = { all_provinces = yes #limit_to_border = yes } building = bunker level < 5 } } 70 = { any_province_building_level = { province = { id = 9539 id = 9692 #limit_to_border = yes } building = bunker level > 2 } any_province_building_level = { province = { all_provinces = yes #limit_to_border = yes } building = bunker level < 5 } } } available = { has_tech = basic_fortification_tech has_completed_focus = CZE_the_second_fortification_program 69 = { is_fully_controlled_by = ROOT } 972 = { is_fully_controlled_by = ROOT } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } cancel_trigger = { OR = { 69 = { NOT = { is_fully_controlled_by = ROOT } } 972 = { NOT = { is_fully_controlled_by = ROOT } } } } cancel_effect = { clr_country_flag = CZE_fortification_decision_inprogress } modifier = { civilian_factory_use = 3 production_speed_bunker_factor = -0.25 } complete_effect = { set_country_flag = CZE_fortification_decision_inprogress hidden_effect = { country_event = { id = MUN_czech.1029 days = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_2 } #days NEEDS to be same as the above days_remove } } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 2 } custom_cost_text = decision_cost_civ_factory_3 remove_effect = { if = { limit = { controls_state = 69 } 69 = { set_building_level = { type = bunker level = 5 province = { all_provinces = yes #limit_to_border = yes level < 5 } } } } if = { limit = { controls_state = 972 } 972 = { set_building_level = { type = bunker level = 5 province = { all_provinces = yes #limit_to_border = yes level < 5 } } } } if = { limit = { controls_state = 9 } 9 = { set_building_level = { type = bunker level = 5 province = { id = 445 id = 494 #limit_to_border = yes level < 5 } } } } if = { limit = { controls_state = 74 } 74 = { set_building_level = { type = bunker level = 5 province = { id = 421 id = 6485 id = 3414 id = 3583 #limit_to_border = yes level < 5 } } } } if = { limit = { 70 = { controls_or_subject_of = yes } } 70 = { set_building_level = { type = bunker level = 5 province = { id = 9539 id = 9692 #limit_to_border = yes level < 5 } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } clr_country_flag = CZE_fortification_decision_inprogress set_country_flag = CZE_third_sudetenland_fortification_program_was_finished } } CZE_fourth_sudetenland_fortification_program = { icon = GFX_decision_generic_mountain_fortification ai_will_do = { base = 35 modifier = { factor = 0.5 is_in_faction_with = GER } modifier = { factor = 0.1 HABSBURG_joint_trigger = yes } } highlight_states = { highlight_state_targets = { state = 69 state = 972 state = 74 } highlight_provinces = { 494 445 9692 9539 } } on_map_mode = map_and_decisions_view days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_2 #Set in history file visible = { NOT = { has_country_flag = CZE_fourth_sudetenland_fortification_program_was_finished } 69 = { any_province_building_level = { province = { all_provinces = yes #limit_to_border = yes } building = bunker level > 4 } any_province_building_level = { province = { all_provinces = yes #limit_to_border = yes } building = bunker level < 7 } } 972 = { any_province_building_level = { province = { all_provinces = yes #limit_to_border = yes } building = bunker level > 4 } any_province_building_level = { province = { all_provinces = yes #limit_to_border = yes } building = bunker level < 7 } } 9 = { any_province_building_level = { province = { id = 445 id = 494 #limit_to_border = yes } building = bunker level > 4 } any_province_building_level = { province = { all_provinces = yes id = 445 id = 494 #limit_to_border = yes } building = bunker level < 7 } } 74 = { any_province_building_level = { province = { id = 421 id = 6485 id = 3414 id = 3583 #limit_to_border = yes } building = bunker level > 4 } any_province_building_level = { province = { all_provinces = yes #limit_to_border = yes } building = bunker level < 7 } } 70 = { any_province_building_level = { province = { id = 9539 id = 9692 #limit_to_border = yes } building = bunker level > 4 } any_province_building_level = { province = { all_provinces = yes id = 9539 id = 9692 #limit_to_border = yes } building = bunker level < 7 } } } available = { has_completed_focus = CZE_the_second_fortification_program 69 = { is_fully_controlled_by = ROOT } 74 = { is_fully_controlled_by = ROOT } 972 = { is_fully_controlled_by = ROOT } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } cancel_trigger = { OR = { 69 = { NOT = { is_fully_controlled_by = ROOT } } 74 = { NOT = { is_fully_controlled_by = ROOT } } 972 = { NOT = { is_fully_controlled_by = ROOT } } } } cancel_effect = { clr_country_flag = CZE_fortification_decision_inprogress } modifier = { civilian_factory_use = 5 production_speed_bunker_factor = -0.25 } complete_effect = { set_country_flag = CZE_fortification_decision_inprogress hidden_effect = { country_event = { id = MUN_czech.1029 days = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_2 } #days NEEDS to be same as the above days_remove } } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 4 } custom_cost_text = decision_cost_civ_factory_5 remove_effect = { if = { limit = { controls_state = 69 } 69 = { set_building_level = { type = bunker level = 7 province = { all_provinces = yes limit_to_border = yes level < 7 } } } } if = { limit = { controls_state = 972 } 972 = { set_building_level = { type = bunker level = 7 province = { all_provinces = yes #limit_to_border = yes level < 7 } } } } if = { limit = { controls_state = 9 } 9 = { set_building_level = { type = bunker level = 7 province = { id = 445 id = 494 #limit_to_border = yes level < 7 } } } } if = { limit = { controls_state = 74 } 74 = { set_building_level = { type = bunker level = 7 province = { id = 421 id = 6485 id = 3414 id = 3583 #limit_to_border = yes level < 7 } } } } if = { limit = { 70 = { controls_or_subject_of = yes } } 70 = { set_building_level = { type = bunker level = 7 province = { id = 9539 id = 9692 #limit_to_border = yes level < 7 } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } clr_country_flag = CZE_fortification_decision_inprogress set_country_flag = CZE_fourth_sudetenland_fortification_program_was_finished } } CZE_fortify_the_crossroads_with_slo = { icon = GFX_decision_generic_fortification ai_will_do = { base = 5 modifier = { factor = 0.5 is_in_faction_with = GER } modifier = { factor = 0.1 HABSBURG_joint_trigger = yes } } highlight_states = { highlight_provinces = { 6418 11542 11556 6562 3569 541 } } on_map_mode = map_and_decisions_view days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 #Set in history file fire_only_once = yes available = { has_completed_focus = CZE_the_second_fortification_program 9 = { is_fully_controlled_by = ROOT } 75 = { is_fully_controlled_by = ROOT } 70 = { controls_or_subject_of = yes } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } visible = { NOT = { has_country_flag = CZE_fortify_the_crossroads_no_double_dip } 9 = { any_province_building_level = { province = { id = 6418 id = 11542 id = 11556 } building = bunker level < 3 } } 75 = { any_province_building_level = { province = { id = 3569 id = 6562 id = 11511 } building = bunker level < 3 } } 70 = { controls_or_subject_of = yes any_province_building_level = { province = { id = 541 } building = bunker level < 3 } } } cancel_trigger = { OR = { 9 = { NOT = { is_fully_controlled_by = ROOT } } 75 = { NOT = { is_fully_controlled_by = ROOT } } 70 = { controls_or_subject_of = no } } } cancel_effect = { clr_country_flag = CZE_fortification_decision_inprogress } modifier = { civilian_factory_use = 1 production_speed_bunker_factor = -0.25 } complete_effect = { set_country_flag = CZE_fortification_decision_inprogress hidden_effect = { country_event = { id = MUN_czech.1029 days = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 } #days NEEDS to be same as the above days_remove } } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 0 } custom_cost_text = decision_cost_civ_factory_1 remove_effect = { if = { #being overly safe since this is a decision sided limit = { has_dynamic_modifier = { modifier = CZE_ceskoslovenska_armada_dynamic_modifier } } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_supply_combat_penalties_on_core_factor = -0.025 tooltip = supply_combat_penalties_on_core_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { 9 = { controls_or_subject_of = yes } } 9 = { set_building_level = { type = bunker level = 3 province = { id = 6418 id = 11542 id = 11556 level < 3 } } } } if = { limit = { 75 = { controls_or_subject_of = yes } } 75 = { set_building_level = { type = bunker level = 3 province = { id = 3569 id = 6562 id = 11511 level < 3 } } if = { limit = { free_building_slots = { building = anti_air_building size > 0 } } add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } } } if = { limit = { 70 = { controls_or_subject_of = yes } } 70 = { set_building_level = { type = bunker level = 3 province = { id = 541 level < 3 } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_super_low_increase_effect = yes } set_country_flag = CZE_fortify_the_crossroads_no_double_dip clr_country_flag = CZE_fortification_decision_inprogress } } CZE_fortify_the_crossroads_with_no_slo = { icon = GFX_decision_generic_fortification name = "CZE_fortify_the_crossroads_with_slo" ai_will_do = { base = 5 modifier = { factor = 0.5 is_in_faction_with = GER } modifier = { factor = 0.1 HABSBURG_joint_trigger = yes } } highlight_states = { highlight_provinces = { 6418 11542 11556 3569 6562 } } on_map_mode = map_and_decisions_view days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 #Set in history file fire_only_once = yes available = { has_completed_focus = CZE_the_second_fortification_program 9 = { is_fully_controlled_by = ROOT } 75 = { is_fully_controlled_by = ROOT } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } visible = { NOT = { has_country_flag = CZE_fortify_the_crossroads_no_double_dip } 70 = { controls_or_subject_of = no } 9 = { any_province_building_level = { province = { id = 6418 id = 11542 id = 11556 } building = bunker level < 3 } } 75 = { any_province_building_level = { province = { id = 3569 id = 6562 } building = bunker level < 3 } } } cancel_trigger = { OR = { 9 = { NOT = { is_fully_controlled_by = ROOT } } 75 = { NOT = { is_fully_controlled_by = ROOT } } } } cancel_effect = { clr_country_flag = CZE_fortification_decision_inprogress } modifier = { civilian_factory_use = 1 production_speed_bunker_factor = -0.25 } complete_effect = { set_country_flag = CZE_fortification_decision_inprogress hidden_effect = { country_event = { id = MUN_czech.1029 days = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 } #days NEEDS to be same as the above days_remove } } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 0 } custom_cost_text = decision_cost_civ_factory_1 remove_effect = { if = { #being overly safe since this is a decision sided limit = { has_dynamic_modifier = { modifier = CZE_ceskoslovenska_armada_dynamic_modifier SCOPE = ROOT } } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_supply_combat_penalties_on_core_factor = -0.05 tooltip = supply_combat_penalties_on_core_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { 75 = { controls_or_subject_of = yes } } 75 = { set_building_level = { type = bunker level = 3 province = { id = 3569 id = 6562 level < 3 } } if = { limit = { free_building_slots = { building = anti_air_building size > 0 } } add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } } } if = { limit = { 9 = { controls_or_subject_of = yes } } 9 = { set_building_level = { type = bunker level = 3 province = { id = 6418 id = 11542 id = 11556 limit_to_border = yes level < 3 } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_super_low_increase_effect = yes } set_country_flag = CZE_fortify_the_crossroads_no_double_dip clr_country_flag = CZE_fortification_decision_inprogress } } CZE_fortify_the_hungarian_border_with_73 = { icon = GFX_decision_generic_fortification ai_will_do = { base = 6 modifier = { factor = 0.2 is_in_faction_with = HUN } modifier = { factor = 0.2 HUN = { exists = no } } modifier = { factor = 0.1 HABSBURG_joint_trigger = yes } } highlight_states = { highlight_state_targets = { state = 664 } highlight_provinces = { 11691 3548 } } on_map_mode = map_and_decisions_view days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 #Set in history file fire_only_once = yes available = { has_completed_focus = CZE_the_second_fortification_program 664 = { controls_or_subject_of = yes } 73 = { controls_or_subject_of = yes } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } visible = { 664 = { controls_or_subject_of = yes any_province_building_level = { province = { all_provinces = yes limit_to_border = yes } building = bunker level < 3 } } 73 = { controls_or_subject_of = yes any_province_building_level = { province = { all_provinces = yes limit_to_border = yes } building = bunker level < 3 } } } cancel_trigger = { OR = { 664 = { state_is_fully_controlled_by_ROOT_or_subject = no } 73 = { state_is_fully_controlled_by_ROOT_or_subject = no } } } cancel_effect = { clr_country_flag = CZE_fortification_decision_inprogress } modifier = { civilian_factory_use = 2 production_speed_bunker_factor = -0.25 } complete_effect = { set_country_flag = CZE_fortification_decision_inprogress hidden_effect = { country_event = { id = MUN_czech.1029 days = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 } #days NEEDS to be same as the above days_remove } } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 1 } custom_cost_text = decision_cost_civ_factory_2 remove_effect = { if = { #being overly safe since this is a decision sided limit = { has_dynamic_modifier = { modifier = CZE_ceskoslovenska_armada_dynamic_modifier } } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_supply_combat_penalties_on_core_factor = -0.025 tooltip = supply_combat_penalties_on_core_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { 664 = { controls_or_subject_of = yes } } 664 = { set_building_level = { type = bunker level = 3 province = { all_provinces = yes limit_to_border = yes } level < 3 } } } if = { limit = { 73 = { controls_or_subject_of = yes } } 73 = { set_building_level = { type = bunker level = 3 province = { id = 11691 id = 3548 level < 3 } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_super_low_increase_effect = yes } set_country_flag = CZE_fortify_the_hungarian_border_no_double_dip clr_country_flag = CZE_fortification_decision_inprogress } } CZE_fortify_the_hungarian_border_no_73 = { icon = GFX_decision_generic_fortification name = "CZE_fortify_the_hungarian_border_with_73" ai_will_do = { base = 6 modifier = { factor = 0.2 is_in_faction_with = HUN } modifier = { factor = 0.2 HUN = { exists = no } } modifier = { factor = 0.1 HABSBURG_joint_trigger = yes } } highlight_states = { highlight_state_targets = { state = 664 } } on_map_mode = map_and_decisions_view days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 #Set in history file fire_only_once = yes available = { has_completed_focus = CZE_the_second_fortification_program 664 = { controls_or_subject_of = yes } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } visible = { NOT = { has_country_flag = CZE_fortify_the_hungarian_border_no_double_dip } 664 = { controls_or_subject_of = yes any_province_building_level = { province = { all_provinces = yes limit_to_border = yes } building = bunker level < 3 } } 73 = { controls_or_subject_of = no } } cancel_trigger = { 664 = { NOT = { is_fully_controlled_by = ROOT } } } cancel_effect = { clr_country_flag = CZE_fortification_decision_inprogress } modifier = { civilian_factory_use = 2 production_speed_bunker_factor = -0.25 } complete_effect = { set_country_flag = CZE_fortification_decision_inprogress hidden_effect = { country_event = { id = MUN_czech.1029 days = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 } #days NEEDS to be same as the above days_remove } } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 1 } custom_cost_text = decision_cost_civ_factory_2 remove_effect = { if = { #being overly safe since this is a decision sided limit = { has_dynamic_modifier = { modifier = CZE_ceskoslovenska_armada_dynamic_modifier } } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_supply_combat_penalties_on_core_factor = -0.025 tooltip = supply_combat_penalties_on_core_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { 664 = { controls_or_subject_of = yes } } 664 = { set_building_level = { type = bunker level = 3 province = { all_provinces = yes limit_to_border = yes } level < 3 } } } if = { limit = { 73 = { controls_or_subject_of = yes } } 73 = { set_building_level = { type = bunker level = 3 province = { id = 11691 id = 3548 level < 3 } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_super_low_increase_effect = yes } set_country_flag = CZE_fortify_the_hungarian_border_no_double_dip clr_country_flag = CZE_fortification_decision_inprogress } } CZE_fortify_the_polish_border_with_72 = { icon = GFX_decision_generic_fortification ai_will_do = { base = 5 modifier = { factor = 0.2 is_in_faction_with = POL } modifier = { factor = 0.2 POL = { exists = no } } modifier = { factor = 0.1 HABSBURG_joint_trigger = yes } } highlight_states = { highlight_state_targets = { state = 72 } highlight_provinces = { 581 3550 3581 6604 11554 } } on_map_mode = map_and_decisions_view days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 #Set in history file fire_only_once = yes available = { has_completed_focus = CZE_the_second_fortification_program 72 = { controls_or_subject_of = yes } 71 = { controls_or_subject_of = yes } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } visible = { NOT = { has_country_flag = CZE_fortify_the_polish_border_no_double_dip } 72 = { controls_or_subject_of = yes any_province_building_level = { province = { all_provinces = yes limit_to_border = yes } building = bunker level < 3 } } 71 = { controls_or_subject_of = yes any_province_building_level = { province = { id = 581 id = 3550 id = 3581 id = 6604 id = 11554 } building = bunker level < 3 } } } cancel_trigger = { OR = { 72 = { state_is_fully_controlled_by_ROOT_or_subject = no } 71 = { state_is_fully_controlled_by_ROOT_or_subject = no } } } cancel_effect = { clr_country_flag = CZE_fortification_decision_inprogress } modifier = { civilian_factory_use = 2 production_speed_bunker_factor = -0.25 } complete_effect = { hidden_effect = { country_event = { id = MUN_czech.1029 days = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 } #days NEEDS to be same as the above days_remove } set_country_flag = CZE_fortification_decision_inprogress } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 1 } custom_cost_text = decision_cost_civ_factory_2 remove_effect = { if = { #being overly safe since this is a decision sided limit = { has_dynamic_modifier = { modifier = CZE_ceskoslovenska_armada_dynamic_modifier } } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_supply_combat_penalties_on_core_factor = -0.025 tooltip = supply_combat_penalties_on_core_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { 72 = { controls_or_subject_of = yes } } 72 = { set_building_level = { type = bunker level = 3 province = { all_provinces = yes limit_to_border = yes } level < 3 } } } if = { limit = { 71 = { controls_or_subject_of = yes } } 71 = { set_building_level = { type = bunker level = 3 province = { id = 581 id = 3550 id = 3581 id = 6604 id = 11554 level < 3 } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_super_low_increase_effect = yes } set_country_flag = CZE_fortify_the_polish_border_no_double_dip clr_country_flag = CZE_fortification_decision_inprogress } } CZE_fortify_the_polish_border_no_72 = { name = CZE_fortify_the_polish_border_with_72 icon = GFX_decision_generic_fortification ai_will_do = { base = 5 modifier = { factor = 0.2 is_in_faction_with = POL } modifier = { factor = 0.2 POL = { exists = no } } modifier = { factor = 0.1 HABSBURG_joint_trigger = yes } } highlight_states = { highlight_provinces = { 581 3550 3581 6604 11554 3484 11539 } } on_map_mode = map_and_decisions_view days_remove = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 #Set in history file fire_only_once = yes available = { has_completed_focus = CZE_the_second_fortification_program 70 = { controls_or_subject_of = yes } 71 = { controls_or_subject_of = yes } NOT = { has_country_flag = CZE_fortification_decision_inprogress } } visible = { NOT = { has_country_flag = CZE_fortify_the_polish_border_no_double_dip } 72 = { NOT = { controls_or_subject_of = yes } } 70 = { controls_or_subject_of = yes any_province_building_level = { province = { id = 3484 id = 11539 } building = bunker level < 3 } } 71 = { controls_or_subject_of = yes any_province_building_level = { province = { id = 581 id = 3550 id = 3581 id = 6604 id = 11554 } building = bunker level < 3 } } } cancel_trigger = { OR = { 70 = { state_is_fully_controlled_by_ROOT_or_subject = no } 71 = { state_is_fully_controlled_by_ROOT_or_subject = no } } } cancel_effect = { clr_country_flag = CZE_fortification_decision_inprogress } modifier = { civilian_factory_use = 2 production_speed_bunker_factor = -0.25 } complete_effect = { set_country_flag = CZE_fortification_decision_inprogress hidden_effect = { country_event = { id = MUN_czech.1029 days = CZE.CZE_second_sudetenland_fortification_program_days_remove_variable_1 } #days NEEDS to be same as the above days_remove } } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 1 } custom_cost_text = decision_cost_civ_factory_2 remove_effect = { if = { #being overly safe since this is a decision sided limit = { has_dynamic_modifier = { modifier = CZE_ceskoslovenska_armada_dynamic_modifier } } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_supply_combat_penalties_on_core_factor = -0.025 tooltip = supply_combat_penalties_on_core_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { 70 = { controls_or_subject_of = yes } } 70 = { set_building_level = { type = bunker level = 3 province = { id = 3484 id = 11539 } level < 3 } } } if = { limit = { 71 = { controls_or_subject_of = yes } } 71 = { set_building_level = { type = bunker level = 3 province = { id = 581 id = 3550 id = 3581 id = 6604 id = 11554 level < 3 } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_super_low_increase_effect = yes } set_country_flag = CZE_fortify_the_polish_border_no_double_dip clr_country_flag = CZE_fortification_decision_inprogress } } } CZE_invest_in_the_balkans = { CZE_invest_in_balkan_industry = { targets = { HUN YUG ROM } target_trigger = { #marijn211: I tested and these do cancel if these become false during the process FROM = { is_subject = no NOT = { has_war_with = ROOT } OR = { is_in_faction_with = ROOT is_in_faction = no } hidden_trigger = { NOT = { has_country_flag = CZE_refused_investment } } } } days_remove = 100 fire_only_once = yes complete_effect = { FROM = { country_event = MUN_czech.1020 } custom_effect_tooltip = if_they_accept_newline_tt effect_tooltip = { if = { limit = { FROM = { original_tag = HUN } } give_resource_rights = { receiver = ROOT state = 155 } } else_if = { limit = { FROM = { original_tag = ROM } } ROM = { #this unnecessary scope is for tooltip purposes add_ideas = CZE_trade_agreement } } else_if = { limit = { FROM = { original_tag = YUG } } give_resource_rights = { receiver = ROOT state = 106 } } custom_effect_tooltip = generic_skip_one_line_tt add_opinion_modifier = { target = FROM modifier = CZE_investment_deal } reverse_add_opinion_modifier = { target = FROM modifier = CZE_investment_deal } } } modifier = { civilian_factory_use = 3 } custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 2 } custom_cost_text = decision_cost_civ_factory_3 remove_effect = { #build the things if they accept FROM = { random_owned_controlled_state = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } every_owned_state = { limit = { is_controlled_by = PREV infrastructure < 5 } add_building_construction = { type = infrastructure level = 1 instant_build = yes } random_select_amount = 3 } if = { limit = { original_tag = ROM } custom_effect_tooltip = generic_skip_one_line_tt build_railway = { #upgrades existing railway level = 1 fallback = yes path = { 3663 9651 11652 9701 6747 3741 } start_province = 3663 target_province = 3741 } build_railway = { #upgrades existing railway level = 1 fallback = yes path = { 6747 723 3707 } start_province = 6747 target_province = 3707 } } else_if = { limit = { original_tag = YUG } custom_effect_tooltip = generic_skip_one_line_tt build_railway = { #upgrades existing railway level = 1 fallback = yes path = { 3601 6611 984 3974 3924 } start_province = 3601 #Junction in between Split, Zagreb and Italian border target_province = 3924 #Split } build_railway = { #upgrades existing railway level = 1 fallback = yes path = { 11586 11583 6634 9602 } start_province = 11586 #Belgrade target_province = 3707 #Nis } } } } } } CZE_skoda_focus_category = { CZE_build_skoda_office_middle_east = { icon = GFX_decision_generic_construction visible = { has_completed_focus = CZE_expand_skoda_offices } remove_effect = { set_global_flag = CZE_skoda_unlock_middle_east if = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } unlock_decision_tooltip = CZE_select_continent_middle_east } else = { custom_effect_tooltip = CZE_ai_nations_more_likely_to_buy_weapons_tt } } days_remove = 120 modifier = { civilian_factory_use = 2 } fire_only_once = yes custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 1 } custom_cost_text = decision_cost_civ_factory_2 } CZE_select_continent_middle_east = { priority = 2 allowed = { NOT = { has_dlc = "Arms Against Tyranny" } } visible = { has_global_flag = CZE_skoda_unlock_middle_east } remove_effect = { set_global_flag = CZE_skoda_selected_middle_east clr_global_flag = CZE_skoda_selected_asia clr_country_flag = CZE_little_entente_group_selected #clr_global_flag = CZE_skoda_selected_middle_east clr_global_flag = CZE_skoda_selected_north_america clr_global_flag = CZE_skoda_selected_south_america clear_variable = global.CZE_selling_country } } CZE_build_skoda_office_north_america = { icon = GFX_decision_generic_construction visible = { has_completed_focus = CZE_expand_skoda_offices } remove_effect = { set_global_flag = CZE_skoda_unlock_north_america if = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } unlock_decision_tooltip = CZE_select_continent_north_america } else = { custom_effect_tooltip = CZE_ai_nations_more_likely_to_buy_weapons_tt } } days_remove = 120 modifier = { civilian_factory_use = 2 } fire_only_once = yes custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 1 } custom_cost_text = decision_cost_civ_factory_2 } CZE_select_continent_north_america = { priority = 2 allowed = { NOT = { has_dlc = "Arms Against Tyranny" } } visible = { has_global_flag = CZE_skoda_unlock_north_america } remove_effect = { set_global_flag = CZE_skoda_selected_north_america clr_global_flag = CZE_skoda_selected_asia clr_country_flag = CZE_little_entente_group_selected clr_global_flag = CZE_skoda_selected_middle_east #clr_global_flag = CZE_skoda_selected_north_america clr_global_flag = CZE_skoda_selected_south_america clear_variable = global.CZE_selling_country } } CZE_build_skoda_office_south_america = { icon = GFX_decision_generic_construction visible = { has_completed_focus = CZE_expand_skoda_offices } remove_effect = { set_global_flag = CZE_skoda_unlock_south_america if = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } unlock_decision_tooltip = CZE_select_continent_south_america } else = { custom_effect_tooltip = CZE_ai_nations_more_likely_to_buy_weapons_tt } } days_remove = 120 modifier = { civilian_factory_use = 2 } fire_only_once = yes custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 1 } custom_cost_text = decision_cost_civ_factory_2 } CZE_select_continent_south_america = { priority = 2 allowed = { NOT = { has_dlc = "Arms Against Tyranny" } } visible = { has_global_flag = CZE_skoda_unlock_south_america } remove_effect = { set_global_flag = CZE_skoda_selected_south_america clr_global_flag = CZE_skoda_selected_asia clr_country_flag = CZE_little_entente_group_selected clr_global_flag = CZE_skoda_selected_middle_east clr_global_flag = CZE_skoda_selected_north_america #clr_global_flag = CZE_skoda_selected_south_america clear_variable = global.CZE_selling_country } } CZE_expand_shanghai_office = { icon = GFX_decision_generic_construction visible = { has_completed_focus = CZE_expand_skoda_offices } remove_effect = { set_global_flag = CZE_skoda_unlock_asia if = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } unlock_decision_tooltip = CZE_select_continent_asia } else = { custom_effect_tooltip = CZE_ai_nations_more_likely_to_buy_weapons_tt } } days_remove = 120 modifier = { civilian_factory_use = 2 } fire_only_once = yes custom_cost_trigger = { num_of_civilian_factories_available_for_projects > 1 } custom_cost_text = decision_cost_civ_factory_2 } CZE_select_continent_asia = { priority = 2 allowed = { NOT = { has_dlc = "Arms Against Tyranny" } } visible = { has_global_flag = CZE_skoda_unlock_asia } complete_effect = { set_global_flag = CZE_skoda_selected_asia #clr_global_flag = CZE_skoda_selected_asia clr_country_flag = CZE_little_entente_group_selected clr_global_flag = CZE_skoda_selected_middle_east clr_global_flag = CZE_skoda_selected_north_america clr_global_flag = CZE_skoda_selected_south_america clear_variable = global.CZE_selling_country } } CZE_skoda_select_country = { icon = GFX_decision_generic_form_nation allowed = { NOT = { has_dlc = "Arms Against Tyranny" } } target_root_trigger = { has_completed_focus = CZE_expand_skoda_offices } visible = { NOT = { has_variable = global.CZE_selling_country } } target_trigger = { FROM = { NOT = { tag = ROOT has_war_with = ROOT } capital_scope = { OR = { #is_on_continent = europe AND = { has_global_flag = CZE_skoda_selected_asia OR = { is_on_continent = asia is_on_continent = australia } } AND = { has_global_flag = CZE_skoda_selected_middle_east OR = { is_on_continent = middle_east is_on_continent = africa } } AND = { has_global_flag = CZE_skoda_selected_north_america is_on_continent = north_america } AND = { has_global_flag = CZE_skoda_selected_south_america is_on_continent = south_america } } } } } complete_effect = { FROM = { set_variable = { var = global.CZE_selling_country value = THIS.id } } } } CZE_skoda_select_spain_group = { priority = 2 visible = { has_completed_focus = CZE_profit_off_the_spanish_civil_war any_other_country = { #also automatically checks for exists = yes OR = { tag = SPA tag = SPB tag = SPC tag = SPD } NOT = { has_war_with = ROOT } } } complete_effect = { set_country_flag = CZE_spain_group_selected clear_variable = global.CZE_selling_country } } CZE_skoda_select_little_entente_group = { priority = 2 allowed = { NOT = { has_dlc = "Arms Against Tyranny" } } visible = { has_completed_focus = CZE_improve_balkan_trade_relations any_other_country = { #also automatically checks for exists = yes OR = { tag = ROM tag = YUG tag = FRA } NOT = { has_war_with = ROOT } } } complete_effect = { set_country_flag = CZE_little_entente_group_selected clr_global_flag = CZE_skoda_selected_asia clr_global_flag = CZE_skoda_selected_middle_east clr_global_flag = CZE_skoda_selected_north_america clr_global_flag = CZE_skoda_selected_south_america clear_variable = global.CZE_selling_country } } CZE_skoda_sell_weapons_to_little_entente = { allowed = { NOT = { has_dlc = "Arms Against Tyranny" } } targets = { ROM YUG FRA } visible = { has_country_flag = CZE_little_entente_group_selected NOT = { has_variable = global.CZE_selling_country } } target_trigger = { FROM = { NOT = { has_war_with = ROOT } } } icon = GFX_decision_SWE_set_army_budget complete_effect = { FROM = { set_variable = { var = global.CZE_selling_country value = THIS.id } } } } CZE_skoda_sell_weapons_to_SPR = { targets = { SPA SPB SPC SPD } visible = { has_country_flag = CZE_spain_group_selected NOT = { has_variable = global.CZE_selling_country } } target_trigger = { FROM = { NOT = { has_war_with = ROOT } } } icon = GFX_decision_SWE_set_army_budget complete_effect = { FROM = { set_variable = { var = global.CZE_selling_country value = THIS.id } } } } #marijn211: including ships is unviable, since it cant distinguish new/old cheap/expensive ships of the same class (UNLESS named/spawned ships) CZE_skoda_license_czech_tank_design = { available = { var:global.CZE_selling_country = { NOT = { has_license = { from = ROOT archetype = light_tank_chassis } } } if = { limit = { has_dlc = "No Step Back" } var:global.CZE_selling_country = { has_tech = gwtank_chassis } OR = { AND = { has_tech = basic_light_tank_chassis var:global.CZE_selling_country = { NOT = { has_tech = basic_light_tank_chassis } } } AND = { has_tech = improved_light_tank_chassis var:global.CZE_selling_country = { NOT = { has_tech = improved_light_tank_chassis } } } AND = { has_tech = advanced_light_tank_chassis var:global.CZE_selling_country = { NOT = { has_tech = advanced_light_tank_chassis } } } } } else = { var:global.CZE_selling_country = { has_tech = gwtank } OR = { AND = { has_tech = basic_light_tank var:global.CZE_selling_country = { NOT = { has_tech = basic_light_tank } } } } OR = { AND = { has_tech = improved_light_tank var:global.CZE_selling_country = { NOT = { has_tech = improved_light_tank } } } } OR = { AND = { has_tech = advanced_light_tank var:global.CZE_selling_country = { NOT = { has_tech = advanced_light_tank } } } } } } visible = { has_variable = global.CZE_selling_country } icon = GFX_decision_hol_attract_foreign_investors complete_effect = { var:global.CZE_selling_country = { set_variable = { CZE_most_recent_sale_type = 1 } custom_effect_tooltip = { localization_key = CZE_get_event_fake EVENT_T = MUN_czech.1038.t.1 } hidden_effect = { country_event = MUN_czech.1038 } } custom_effect_tooltip = if_they_accept_newline_tt var:global.CZE_selling_country = { effect_tooltip = { if = { limit = { has_idea = CZE_skoda_weapons_buyer_idea } modify_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } else = { add_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } } } custom_effect_tooltip = CZE_get_weapon_sales_idea_tt custom_effect_tooltip = if_they_refuse_newline_tt custom_effect_tooltip = CZE_weapon_sale_refusal_tt } } CZE_skoda_sell_guns = { icon = GFX_decision_SWE_set_army_budget available = { has_equipment = { infantry_equipment > 999 } } visible = { has_variable = global.CZE_selling_country } complete_effect = { var:global.CZE_selling_country = { set_variable = { CZE_most_recent_sale_type = 2 } custom_effect_tooltip = { localization_key = CZE_get_event_fake EVENT_T = MUN_czech.1038.t.2 } hidden_effect = { country_event = MUN_czech.1038 } } custom_effect_tooltip = if_they_accept_newline_tt var:global.CZE_selling_country = { effect_tooltip = { if = { limit = { has_idea = CZE_skoda_weapons_buyer_idea } modify_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } else = { add_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } } } custom_effect_tooltip = CZE_get_weapon_sales_idea_tt custom_effect_tooltip = if_they_refuse_newline_tt custom_effect_tooltip = CZE_weapon_sale_refusal_tt } } CZE_skoda_sell_artillery = { icon = ger_military_buildup available = { has_equipment = { artillery_equipment > 149 } } visible = { has_variable = global.CZE_selling_country } complete_effect = { var:global.CZE_selling_country = { set_variable = { CZE_most_recent_sale_type = 3 } custom_effect_tooltip = { localization_key = CZE_get_event_fake EVENT_T = MUN_czech.1038.t.3 } hidden_effect = { country_event = MUN_czech.1038 } } custom_effect_tooltip = if_they_accept_newline_tt var:global.CZE_selling_country = { effect_tooltip = { if = { limit = { has_idea = CZE_skoda_weapons_buyer_idea } modify_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } else = { add_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } } } custom_effect_tooltip = CZE_get_weapon_sales_idea_tt custom_effect_tooltip = if_they_refuse_newline_tt custom_effect_tooltip = CZE_weapon_sale_refusal_tt } } CZE_skoda_sell_tanks = { available = { has_equipment = { light_tank_chassis > 59 } } visible = { has_variable = global.CZE_selling_country } icon = GFX_decision_generic_tank complete_effect = { var:global.CZE_selling_country = { set_variable = { CZE_most_recent_sale_type = 4 } custom_effect_tooltip = { localization_key = CZE_get_event_fake EVENT_T = MUN_czech.1038.t.4 } hidden_effect = { country_event = MUN_czech.1038 } } custom_effect_tooltip = if_they_accept_newline_tt var:global.CZE_selling_country = { effect_tooltip = { if = { limit = { has_idea = CZE_skoda_weapons_buyer_idea } modify_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } else = { add_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } } } custom_effect_tooltip = CZE_get_weapon_sales_idea_tt custom_effect_tooltip = if_they_refuse_newline_tt custom_effect_tooltip = CZE_weapon_sale_refusal_tt } } CZE_skoda_sell_planes = { available = { has_equipment = { small_plane_airframe > 23 } } visible = { has_variable = global.CZE_selling_country } icon = GFX_decision_generic_air complete_effect = { var:global.CZE_selling_country = { set_variable = { CZE_most_recent_sale_type = 5 } custom_effect_tooltip = { localization_key = CZE_get_event_fake EVENT_T = MUN_czech.1038.t.5 } hidden_effect = { country_event = MUN_czech.1038 } } custom_effect_tooltip = if_they_accept_newline_tt var:global.CZE_selling_country = { effect_tooltip = { if = { limit = { has_idea = CZE_skoda_weapons_buyer_idea } modify_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } else = { add_timed_idea = { idea = CZE_skoda_weapons_buyer_idea days = 60 } } } } custom_effect_tooltip = CZE_get_weapon_sales_idea_tt custom_effect_tooltip = if_they_refuse_newline_tt custom_effect_tooltip = CZE_weapon_sale_refusal_tt } } } CZE_spread_the_revolution_category = { CZE_demand_regime_change = { target_root_trigger = { is_subject = no has_government = communism } target_trigger = { FROM = { is_subject = no NOT = { has_government = communism has_war_with = ROOT } any_neighbor_country = { OR = { tag = ROOT is_ally_with = ROOT } } } } cost = 25 available = { NOT = { FROM = { is_ally_with = ROOT } } } targets = { BUL GRE YUG ALB ROM TUR SLV BOS HRZ MAC SER CRO KOS MNT TRA AUS HUN } #These are all tags included in scripted trigger "BUL_is_balkan_nation = yes" + HUN + AUS fire_only_once = yes remove_effect = { FROM = { country_event = { id = NSB_soviet_foreign_politics_events.1 hours = 4 random_hours = 2 } } } } CZE_propose_unification = { #suggest becoming a puppet target_root_trigger = { has_completed_focus = CZE_balkan_union } cost = 50 fire_only_once = yes target_trigger = { FROM = { is_subject = no has_government = communism OR = { is_in_faction = no is_in_faction_with = ROOT } } } targets = { BUL GRE YUG ALB ROM TUR SLV BOS HRZ MAC SER CRO KOS MNT TRA HUN AUS } #These are all tags included in scripted trigger "BUL_is_balkan_nation = yes" + HUN + AUS available = { any_neighbor_country = { OR = { tag = ROOT is_subject_of = ROOT } } } remove_effect = { FROM = { country_event = MUN_czech.1030 } } } CZE_integrate_nation = { target_root_trigger = { has_completed_focus = CZE_balkan_union } targets = { BUL GRE YUG ALB ROM TUR SLV BOS HRZ MAC SER CRO KOS MNT TRA HUN AUS SLO RUT } #These are all tags included in scripted trigger "BUL_is_balkan_nation = yes" + HUN + AUS + SLO + RUT target_trigger = { FROM = { is_subject_of = ROOT NOT = { has_idea = CZE_integration_efforts_communism } } } available = { # } days_remove = 90 cost = 75 remove_effect = { if = { limit = { FROM = { BUL_is_balkan_nation = yes } NOT = { has_cosmetic_tag = CZE_union_expanded } } set_cosmetic_tag = CZE_union_expanded hidden_effect = { every_subject_country = { limit = { has_cosmetic_tag = CZE_puppet } set_cosmetic_tag = CZE_union_expanded_puppet } } custom_effect_tooltip = generic_skip_one_line_tt } FROM = { add_ideas = CZE_integration_efforts_communism } } } } CZE_autonomous_sentiment = { CZE_the_autonomous_bloc_demands = { icon = GFX_decision_hol_exchange_intelligence_data allowed = { #bypassed by focus tree always = no } available = { has_completed_focus = CZE_slovakia_autonomy_agreement } cancel_trigger = { CZE_SLO_is_not_its_own_thing = no } is_good = no days_mission_timeout = 365 complete_effect = { add_political_power = 25 } timeout_effect = { add_political_power = -25 add_stability = -0.10 add_war_support = -0.10 every_owned_state = { limit = { is_owned_and_controlled_by = ROOT is_core_of = SLO OR = { state = 70 state = 71 state = 664 } NOT = { state = 73 } } add_dynamic_modifier = { modifier = CZE_nationalist_protests days = 1095 } } set_country_flag = CZE_failed_SLO_demands } } CZE_the_rut_demands = { icon = GFX_decision_hol_exchange_intelligence_data allowed = { #bypassed by focus tree always = no } available = { OR = { has_completed_focus = CZE_comprise_with_the_carpathians has_completed_focus = CZE_cut_carpathia_loose } } cancel_trigger = { CZE_RUT_is_not_its_own_thing = no } cancel_effect = { } is_good = no days_mission_timeout = 180 complete_effect = { add_political_power = 25 } timeout_effect = { add_political_power = -25 add_stability = -0.05 add_war_support = -0.05 73 = { add_dynamic_modifier = { modifier = CZE_nationalist_protests days = 1095 } } set_country_flag = CZE_failed_RUT_demands } } } CZE_central_european_federation = { CZE_form_the_european_federation = { icon = GFX_decision_generic_form_nation highlight_states = { highlight_state_targets = { state = 69 state = 9 state = 972 state = 75 state = 74 state = 72 state = 70 state = 71 state = 664 state = 73 state = 154 state = 43 state = 155 state = 974 state = 973 state = 975 state = 4 state = 976 state = 152 state = 89 state = 88 state = 762 state = 67 state = 53 state = 66 state = 76 state = 83 state = 82 state = 102 state = 45 state = 764 state = 84 } } available = { has_government = democratic is_subject = no controls_state = 69 controls_state = 9 controls_state = 972 controls_state = 75 controls_state = 74 controls_state = 72 70 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 664 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 71 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 73 = { state_is_fully_controlled_by_ROOT_or_subject = yes } OR = { 154 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 43 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 155 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 973 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 974 = { state_is_fully_controlled_by_ROOT_or_subject = yes } } OR = { 975 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 4 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 976 = { state_is_fully_controlled_by_ROOT_or_subject = yes } 152 = { state_is_fully_controlled_by_ROOT_or_subject = yes } } } visible = { has_completed_focus = CZE_form_a_federation } fire_only_once = yes remove_effect = { custom_effect_tooltip = CZE_form_the_european_federation_HUN_tt hidden_effect = { 154 = { add_core_of = ROOT } 43 = { add_core_of = ROOT } 155 = { add_core_of = ROOT } 974 = { add_core_of = ROOT } 973 = { add_core_of = ROOT } } custom_effect_tooltip = CZE_form_the_european_federation_AUS_tt hidden_effect = { 975 = { add_core_of = ROOT } 4 = { add_core_of = ROOT } 976 = { add_core_of = ROOT } 152 = { add_core_of = ROOT } } custom_effect_tooltip = CZE_form_the_european_federation_POL_tt hidden_effect = { 89 = { add_core_of = ROOT } 88 = { add_core_of = ROOT } 762 = { add_core_of = ROOT } } custom_effect_tooltip = CZE_form_the_european_federation_GER_tt hidden_effect = { 67 = { add_core_of = ROOT } 66 = { add_core_of = ROOT } 53 = { add_core_of = ROOT } } custom_effect_tooltip = CZE_form_the_european_federation_ROM_tt hidden_effect = { 76 = { add_core_of = ROOT } 83 = { add_core_of = ROOT } 82 = { add_core_of = ROOT } 84 = { add_core_of = ROOT } } custom_effect_tooltip = CZE_form_the_european_federation_YUG_tt hidden_effect = { 102 = { add_core_of = ROOT } 45 = { add_core_of = ROOT } 764 = { add_core_of = ROOT } } hidden_effect = { #Make sure we still have our cores if = { limit = { 70 = { NOT = { is_core_of = ROOT } } } 70 = { add_core_of = ROOT } } if = { limit = { 71 = { NOT = { is_core_of = ROOT } } } 71 = { add_core_of = ROOT } } if = { limit = { 664 = { NOT = { is_core_of = ROOT } } } 664 = { add_core_of = ROOT } } if = { limit = { 73 = { NOT = { is_core_of = ROOT } } } 73 = { add_core_of = ROOT } } if = { limit = { 72 = { NOT = { is_core_of = ROOT } } } 72 = { add_core_of = ROOT } } } } } CZE_demands_hun_joins_us = { icon = GFX_decision_generic_protection visible = { has_completed_focus = CZE_form_a_federation is_subject = no } available = { NOT = { is_in_faction_with = HUN has_war_with = HUN } OR = { is_neighbor_of = HUN any_other_country = { is_subject_of = ROOT is_neighbor_of = HUN } } HUN = { any_core_state = { is_controlled_by = HUN } } } war_with_on_complete = HUN fire_only_once = yes days_remove = 30 cost = 75 remove_effect = { HUN = { country_event = { id = MUN_czech.1043 hours = 1 } } } } CZE_demands_aus_joins_us = { icon = GFX_decision_generic_protection visible = { has_completed_focus = CZE_form_a_federation is_subject = no } available = { NOT = { is_in_faction_with = AUS has_war_with = AUS } is_neighbor_of = AUS AUS = { any_core_state = { is_controlled_by = AUS } } } war_with_on_complete = AUS fire_only_once = yes days_remove = 30 cost = 75 remove_effect = { AUS = { country_event = { id = MUN_czech.1043 hours = 1 } } } } }