scripted_gui = { CZE_tech_scripted_gui = { context_type = player_context window_name = "CZE_tech_window" parent_window_name = nsb_armour_folder dirty = CZE_gui_dirty_var visible = { original_tag = CZE } } CZE_skoda_superb_cars_sell_scripted_gui = { window_name = "CZE_skoda_superb_cars_sell_window" context_type = decision_category dirty = CZE_gui_dirty_var visible = { has_completed_focus = CZE_skoda_superb_i } triggers = { CZE_skoda_superb_cars_sell_GER_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = GER } NOT = { is_embargoed_by = GER } } } GER = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = GER } CZE_skoda_superb_cars_sell_ENG_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = ENG } NOT = { is_embargoed_by = ENG } } } ENG = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = ENG } CZE_skoda_superb_cars_sell_FRA_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = FRA } NOT = { is_embargoed_by = FRA } } } FRA = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = FRA } CZE_skoda_superb_cars_sell_ITA_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = ITA } NOT = { is_embargoed_by = ITA } } } ITA = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = ITA } CZE_skoda_superb_cars_sell_SPR_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = SPR } NOT = { is_embargoed_by = SPR } } } SPR = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = SPR } CZE_skoda_superb_cars_sell_POL_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = POL } NOT = { is_embargoed_by = POL } } } POL = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = POL } CZE_skoda_superb_cars_sell_SOV_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = SOV } NOT = { is_embargoed_by = SOV } } } SOV = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = SOV } CZE_skoda_superb_cars_sell_AUS_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = AUS } NOT = { is_embargoed_by = AUS } } } AUS = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = AUS } CZE_skoda_superb_cars_sell_SLO_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = SLO } NOT = { is_embargoed_by = SLO } } } SLO = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = SLO } CZE_skoda_superb_cars_sell_SWI_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = SWI } NOT = { is_embargoed_by = SWI } } } SWI = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = SWI } CZE_skoda_superb_cars_sell_SWE_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = SWE } NOT = { is_embargoed_by = SWE } } } SWE = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = SWE } CZE_skoda_superb_cars_sell_norway_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = NRY } NOT = { is_embargoed_by = NRY } } } NRY = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = NRY } CZE_skoda_superb_cars_sell_belgium_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = BEL } NOT = { is_embargoed_by = BEL } } } BEL = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = BEL } CZE_skoda_superb_cars_sell_netherlands_button_click_enabled = { OR = { NOT = { has_dlc = "By Blood Alone" } AND = { NOT = { is_embargoing = HOL } NOT = { is_embargoed_by = HOL } } } HOL = { NOT = { has_country_flag = skoda_superb_export_offer_cooldown } NOT = { has_country_flag = skoda_superb_recent_purchase } } country_exists = HOL } CZE_skoda_superb_cars_text_visible = { always = yes } CZE_skoda_superb_cars_sell_text_visible = { always = yes } } effects = { # Universal button click effects CZE_skoda_superb_cars_sell_GER_button_click = { set_variable = { CZE_skoda_export_target_tag = GER.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_ENG_button_click = { set_variable = { CZE_skoda_export_target_tag = ENG.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_FRA_button_click = { set_variable = { CZE_skoda_export_target_tag = FRA.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_ITA_button_click = { set_variable = { CZE_skoda_export_target_tag = ITA.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_SPR_button_click = { set_variable = { CZE_skoda_export_target_tag = SPR.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_POL_button_click = { set_variable = { CZE_skoda_export_target_tag = POL.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_SOV_button_click = { set_variable = { CZE_skoda_export_target_tag = SOV.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_AUS_button_click = { set_variable = { CZE_skoda_export_target_tag = AUS.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_SLO_button_click = { set_variable = { CZE_skoda_export_target_tag = SLO.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_SWI_button_click = { set_variable = { CZE_skoda_export_target_tag = SWI.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_SWE_button_click = { set_variable = { CZE_skoda_export_target_tag = SWE.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_norway_button_click = { set_variable = { CZE_skoda_export_target_tag = NRY.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_belgium_button_click = { set_variable = { CZE_skoda_export_target_tag = BEL.id } CZE_skoda_universal_export_button_click = yes } CZE_skoda_superb_cars_sell_netherlands_button_click = { set_variable = { CZE_skoda_export_target_tag = HOL.id } CZE_skoda_universal_export_button_click = yes } } ai_enabled = { always = yes } ai_weights = { CZE_skoda_superb_cars_sell_GER_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = GER is_embargoed_by = GER } } GER = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 GER = { is_ai = no } } } } CZE_skoda_superb_cars_sell_ENG_button_click = { ai_will_do = { base = 95 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = ENG is_embargoed_by = ENG } } ENG = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 ENG = { is_ai = no } } } } CZE_skoda_superb_cars_sell_FRA_button_click = { ai_will_do = { base = 90 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = FRA is_embargoed_by = FRA } } FRA = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 FRA = { is_ai = no } } } } CZE_skoda_superb_cars_sell_ITA_button_click = { ai_will_do = { base = 85 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = ITA is_embargoed_by = ITA } } ITA = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 ITA = { is_ai = no } } } } CZE_skoda_superb_cars_sell_SPR_button_click = { ai_will_do = { base = 80 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = SPR is_embargoed_by = SPR } } SPR = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 SPR = { is_ai = no } } } } CZE_skoda_superb_cars_sell_POL_button_click = { ai_will_do = { base = 75 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = POL is_embargoed_by = POL } } POL = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 POL = { is_ai = no } } } } CZE_skoda_superb_cars_sell_SOV_button_click = { ai_will_do = { base = 70 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = SOV is_embargoed_by = SOV } } SOV = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 SOV = { is_ai = no } } } } CZE_skoda_superb_cars_sell_AUS_button_click = { ai_will_do = { base = 65 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = AUS is_embargoed_by = AUS } } AUS = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 AUS = { is_ai = no } } } } CZE_skoda_superb_cars_sell_SLO_button_click = { ai_will_do = { base = 60 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = SLO is_embargoed_by = SLO } } SLO = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 SLO = { is_ai = no } } } } CZE_skoda_superb_cars_sell_SWI_button_click = { ai_will_do = { base = 55 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = SWI is_embargoed_by = SWI } } SWI = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 SWI = { is_ai = no } } } } CZE_skoda_superb_cars_sell_SWE_button_click = { ai_will_do = { base = 50 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = SWE is_embargoed_by = SWE } } SWE = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 SWE = { is_ai = no } } } } CZE_skoda_superb_cars_sell_norway_button_click = { ai_will_do = { base = 45 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = NRY is_embargoed_by = NRY } } NRY = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 NRY = { is_ai = no } } } } CZE_skoda_superb_cars_sell_belgium_button_click = { ai_will_do = { base = 40 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = BEL is_embargoed_by = BEL } } BEL = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 BEL = { is_ai = no } } } } CZE_skoda_superb_cars_sell_netherlands_button_click = { ai_will_do = { base = 35 modifier = { factor = 0 OR = { AND = { has_dlc = "By Blood Alone" OR = { is_embargoing = HOL is_embargoed_by = HOL } } HOL = { OR = { has_country_flag = skoda_superb_export_offer_cooldown has_country_flag = skoda_superb_recent_purchase exists = no } } } } modifier = { factor = 0.5 HOL = { is_ai = no } } } } } } CZE_political_leaders_button_scripted_gui = { context_type = player_context window_name = "CZE_political_leaders_button_window" parent_window_name = "MapmodesInterface_Ingame" visible = { original_tag = CZE } triggers = { CZE_political_leaders_open_button_visible = { always = yes } } effects = { CZE_political_leaders_open_button_click = { if = { limit = { has_country_flag = CZE_political_leaders_active } clr_country_flag = CZE_political_leaders_active } else = { set_country_flag = CZE_political_leaders_active } if = { limit = { NOT = { OR = { has_country_flag = CZE_political_leaders_ods_flag has_country_flag = CZE_political_leaders_cssd_flag has_country_flag = CZE_political_leaders_kdu_flag has_country_flag = CZE_political_leaders_us_flag has_country_flag = CZE_political_leaders_kscm_flag has_country_flag = CZE_political_leaders_top_flag has_country_flag = CZE_political_leaders_ano_flag } } } set_country_flag = CZE_political_leaders_ods_flag } } } } CZE_political_leaders_scripted_gui = { context_type = player_context window_name = "CZE_political_leaders_window" dirty = CZE_gui_dirty_var visible = { has_country_flag = CZE_political_leaders_active } triggers = { # ZEMAN CZE_political_leaders_milos_zeman_icon_visible = { has_country_flag = CZE_political_leaders_cssd_flag date < 2001.4.7 } CZE_political_leaders_milos_zeman_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date < 2001.4.7 } CZE_political_leaders_milos_zeman_effect_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date < 2001.4.7 } # SPIDLA CZE_political_leaders_vladimir_spidla_icon_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2001.4.7 if = { limit = { has_completed_focus = CZE_victory_of_vladimir_spidl } date < 2010.6.7 } else = { date < 2004.6.26 } } CZE_political_leaders_vladimir_spidla_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2001.4.7 if = { limit = { has_completed_focus = CZE_victory_of_vladimir_spidl } date < 2010.6.7 } else = { date < 2004.6.26 } } CZE_political_leaders_vladimir_spidla_effect_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2001.4.7 if = { limit = { has_completed_focus = CZE_victory_of_vladimir_spidl } date < 2010.6.7 } else = { date < 2004.6.26 } } # KASAL CZE_political_leaders_jan_kasal_icon_visible = { has_country_flag = CZE_political_leaders_kdu_flag date < 2001.4.26 } CZE_political_leaders_jan_kasal_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date < 2001.4.26 } CZE_political_leaders_jan_kasal_effect_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date < 2001.4.26 } # SVOBODA CZE_political_leaders_cyril_svoboda_icon_visible = { has_country_flag = CZE_political_leaders_kdu_flag OR = { AND = { date > 2001.4.26 date < 2003.11.8 } AND = { date > 2009.4.30 date < 2010.4.29 } } } CZE_political_leaders_cyril_svoboda_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag OR = { AND = { date > 2001.4.26 date < 2003.11.8 } AND = { date > 2009.4.30 date < 2010.4.29 } } } CZE_political_leaders_cyril_svoboda_effect_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag OR = { AND = { date > 2001.4.26 date < 2003.11.8 } AND = { date > 2009.4.30 date < 2010.4.29 } } } # CUNEK CZE_political_leaders_jiri_cunek_icon_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2006.8.25 date < 2009.4.30 } CZE_political_leaders_jiri_cunek_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2006.8.25 date < 2009.4.30 } CZE_political_leaders_jiri_cunek_effect_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2006.8.25 date < 2009.4.30 } # BELOBRADEK CZE_political_leaders_pavel_belobradek_icon_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2010.4.29 date < 2019.3.29 } CZE_political_leaders_pavel_belobradek_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2010.4.29 date < 2019.3.29 } CZE_political_leaders_pavel_belobradek_effect_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2010.4.29 date < 2019.3.29 } # VYBORNY CZE_political_leaders_marek_vyborny_icon_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2019.3.29 date < 2020.1.25 } CZE_political_leaders_marek_vyborny_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2019.3.29 date < 2020.1.25 } CZE_political_leaders_marek_vyborny_effect_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2019.3.29 date < 2020.1.25 } # JURECKA CZE_political_leaders_marian_jurecka_icon_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2020.1.25 } CZE_political_leaders_marian_jurecka_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2020.1.25 } CZE_political_leaders_marian_jurecka_effect_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag date > 2020.1.25 } # KUHNL CZE_political_leaders_karel_kuhnl_icon_visible = { has_country_flag = CZE_political_leaders_us_flag date < 2001.6.23 } CZE_political_leaders_karel_kuhnl_text_visible = { has_country_flag = CZE_political_leaders_us_flag date < 2001.6.23 } CZE_political_leaders_karel_kuhnl_effect_text_visible = { has_country_flag = CZE_political_leaders_us_flag date < 2001.6.23 } # MARVANOVA CZE_political_leaders_hana_marvanova_icon_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2001.6.23 date < 2002.7.4 } CZE_political_leaders_hana_marvanova_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2001.6.23 date < 2002.7.4 } CZE_political_leaders_hana_marvanova_effect_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2001.6.23 date < 2002.7.4 } # PILIP CZE_political_leaders_ivan_pilip_icon_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2002.7.4 date < 2003.1.19 } CZE_political_leaders_ivan_pilip_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2002.7.4 date < 2003.1.19 } CZE_political_leaders_ivan_pilip_effect_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2002.7.4 date < 2003.1.19 } # MARES CZE_political_leaders_petr_mares_icon_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2003.1.19 date < 2004.6.27 } CZE_political_leaders_petr_mares_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2003.1.19 date < 2004.6.27 } CZE_political_leaders_petr_mares_effect_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2003.1.19 date < 2004.6.27 } # NEMEC CZE_political_leaders_pavel_nemec_icon_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2004.6.27 date < 2006.6.5 } CZE_political_leaders_pavel_nemec_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2004.6.27 date < 2006.6.5 } CZE_political_leaders_pavel_nemec_effect_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2004.6.27 date < 2006.6.5 } # HADRAVA CZE_political_leaders_jan_hadrava_icon_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2006.6.5 date < 2007.6.2 } CZE_political_leaders_jan_hadrava_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2006.6.5 date < 2007.6.2 } CZE_political_leaders_jan_hadrava_effect_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2006.6.5 date < 2007.6.2 } # CERNY CZE_political_leaders_jan_cerny_icon_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2007.6.2 } CZE_political_leaders_jan_cerny_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2007.6.2 } CZE_political_leaders_jan_cerny_effect_text_visible = { has_country_flag = CZE_political_leaders_us_flag date > 2007.6.2 } # BABIS CZE_political_leaders_andrej_babis_icon_visible = { has_country_flag = CZE_political_leaders_ano_flag } CZE_political_leaders_andrej_babis_text_visible = { has_country_flag = CZE_political_leaders_ano_flag } CZE_political_leaders_andrej_babis_effect_text_visible = { has_country_flag = CZE_political_leaders_ano_flag } # SCHWARZENBERG CZE_political_leaders_karel_schwarzenberg_icon_visible = { has_country_flag = CZE_political_leaders_top_flag date < 2015.11.29 } CZE_political_leaders_karel_schwarzenberg_text_visible = { has_country_flag = CZE_political_leaders_top_flag date < 2015.11.29 } CZE_political_leaders_karel_schwarzenberg_effect_text_visible = { has_country_flag = CZE_political_leaders_top_flag date < 2015.11.29 } # KALOUSEK CZE_political_leaders_miroslav_kalousek_icon_visible = { OR = { AND = { has_country_flag = CZE_political_leaders_top_flag date > 2015.11.29 date < 2017.11.26 } AND = { has_country_flag = CZE_political_leaders_kdu_flag date > 2003.11.8 date < 2006.8.25 } } } CZE_political_leaders_miroslav_kalousek_text_visible = { OR = { AND = { has_country_flag = CZE_political_leaders_top_flag date > 2015.11.29 date < 2017.11.26 } AND = { has_country_flag = CZE_political_leaders_kdu_flag date > 2003.11.8 date < 2006.8.25 } } } CZE_political_leaders_miroslav_kalousek_effect_text_visible = { OR = { AND = { has_country_flag = CZE_political_leaders_top_flag date > 2015.11.29 date < 2017.11.26 } AND = { has_country_flag = CZE_political_leaders_kdu_flag date > 2003.11.8 date < 2006.8.25 } } } # POSPISIL CZE_political_leaders_jiri_pospisil_icon_visible = { has_country_flag = CZE_political_leaders_top_flag date > 2017.11.26 date < 2019.11.24 } CZE_political_leaders_jiri_pospisil_text_visible = { has_country_flag = CZE_political_leaders_top_flag date > 2017.11.26 date < 2019.11.24 } CZE_political_leaders_jiri_pospisil_effect_text_visible = { has_country_flag = CZE_political_leaders_top_flag date > 2017.11.26 date < 2019.11.24 } # PEKAROVA CZE_political_leaders_marketa_pekarova_icon_visible = { has_country_flag = CZE_political_leaders_top_flag date > 2019.11.24 } CZE_political_leaders_marketa_pekarova_text_visible = { has_country_flag = CZE_political_leaders_top_flag date > 2019.11.24 } CZE_political_leaders_marketa_pekarova_effect_text_visible = { has_country_flag = CZE_political_leaders_top_flag date > 2019.11.24 } # KLAUS CZE_political_leaders_vaclav_klaus_icon_visible = { has_country_flag = CZE_political_leaders_ods_flag date < 2002.12.15 } CZE_political_leaders_vaclav_klaus_text_visible = { has_country_flag = CZE_political_leaders_ods_flag date < 2002.12.15 } CZE_political_leaders_vaclav_klaus_effect_text_visible = { has_country_flag = CZE_political_leaders_ods_flag date < 2002.12.15 } # TOPOLANEK CZE_political_leaders_mirek_topolanek_icon_visible = { has_country_flag = CZE_political_leaders_ods_flag date > 2002.12.15 date < 2010.4.13 } CZE_political_leaders_mirek_topolanek_text_visible = { has_country_flag = CZE_political_leaders_ods_flag date > 2002.12.15 date < 2010.4.13 } CZE_political_leaders_mirek_topolanek_effect_text_visible = { has_country_flag = CZE_political_leaders_ods_flag date > 2002.12.15 date < 2010.4.13 } # NECAS CZE_political_leaders_petr_necas_icon_visible = { has_country_flag = CZE_political_leaders_ods_flag date > 2010.4.13 date < 2013.6.17 } CZE_political_leaders_petr_necas_text_visible = { has_country_flag = CZE_political_leaders_ods_flag date > 2010.4.13 date < 2013.6.17 } CZE_political_leaders_petr_necas_effect_text_visible = { has_country_flag = CZE_political_leaders_ods_flag date > 2010.4.13 date < 2013.6.17 } # FIALA CZE_political_leaders_petr_fiala_icon_visible = { has_country_flag = CZE_political_leaders_ods_flag date > 2013.6.17 } CZE_political_leaders_petr_fiala_text_visible = { has_country_flag = CZE_political_leaders_ods_flag date > 2013.6.17 } CZE_political_leaders_petr_fiala_effect_text_visible = { has_country_flag = CZE_political_leaders_ods_flag date > 2013.6.17 } # GROSS CZE_political_leaders_stanislav_gross_icon_visible = { has_country_flag = CZE_political_leaders_cssd_flag if = { limit = { has_completed_focus = CZE_victory_of_vladimir_spidl } always = no } else = { date > 2004.6.26 if = { limit = { has_completed_focus = CZE_stanislav_gross_keeps_power } date < 2010.6.7 } else = { date < 2005.9.24 } } } CZE_political_leaders_stanislav_gross_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag if = { limit = { has_completed_focus = CZE_victory_of_vladimir_spidl } always = no } else = { date > 2004.6.26 if = { limit = { has_completed_focus = CZE_stanislav_gross_keeps_power } date < 2010.6.7 } else = { date < 2005.9.24 } } } CZE_political_leaders_stanislav_gross_effect_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag if = { limit = { has_completed_focus = CZE_victory_of_vladimir_spidl } always = no } else = { date > 2004.6.26 if = { limit = { has_completed_focus = CZE_stanislav_gross_keeps_power } date < 2010.6.7 } else = { date < 2005.9.24 } } } # PAROUBEK CZE_political_leaders_jiri_paroubek_icon_visible = { has_country_flag = CZE_political_leaders_cssd_flag if = { limit = { has_completed_focus = CZE_victory_of_vladimir_spidl } always = no } else = { if = { limit = { has_completed_focus = CZE_stanislav_gross_keeps_power } always = no } else = { date > 2005.9.24 date < 2010.6.7 } } } CZE_political_leaders_jiri_paroubek_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag if = { limit = { has_completed_focus = CZE_victory_of_vladimir_spidl } always = no } else = { if = { limit = { has_completed_focus = CZE_stanislav_gross_keeps_power } always = no } else = { date > 2005.9.24 date < 2010.6.7 } } } CZE_political_leaders_jiri_paroubek_effect_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag if = { limit = { has_completed_focus = CZE_victory_of_vladimir_spidl } always = no } else = { if = { limit = { has_completed_focus = CZE_stanislav_gross_keeps_power } always = no } else = { date > 2005.9.24 date < 2010.6.7 } } } # SOBOTKA CZE_political_leaders_bohuslav_sobotka_icon_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2010.6.7 date < 2017.6.15 } CZE_political_leaders_bohuslav_sobotka_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2010.6.7 date < 2017.6.15 } CZE_political_leaders_bohuslav_sobotka_effect_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2010.6.7 date < 2017.6.15 } # HAMACEK CZE_political_leaders_jan_hamacek_icon_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2017.6.15 date < 2021.10.25 } CZE_political_leaders_jan_hamacek_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2017.6.15 date < 2021.10.25 } CZE_political_leaders_jan_hamacek_effect_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2017.6.15 date < 2021.10.25 } # SMARDA CZE_political_leaders_michal_smarda_icon_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2021.10.25 } CZE_political_leaders_michal_smarda_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2021.10.25 } CZE_political_leaders_michal_smarda_effect_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag date > 2021.10.25 } # GREBENICEK CZE_political_leaders_miroslav_grebenicek_icon_visible = { has_country_flag = CZE_political_leaders_kscm_flag date < 2005.10.1 } CZE_political_leaders_miroslav_grebenicek_text_visible = { has_country_flag = CZE_political_leaders_kscm_flag date < 2005.10.1 } CZE_political_leaders_miroslav_grebenicek_effect_text_visible = { has_country_flag = CZE_political_leaders_kscm_flag date < 2005.10.1 } # FILIP CZE_political_leaders_vojtech_filip_icon_visible = { has_country_flag = CZE_political_leaders_kscm_flag date > 2005.10.1 date < 2021.10.9 } CZE_political_leaders_vojtech_filip_text_visible = { has_country_flag = CZE_political_leaders_kscm_flag date > 2005.10.1 date < 2021.10.9 } CZE_political_leaders_vojtech_filip_effect_text_visible = { has_country_flag = CZE_political_leaders_kscm_flag date > 2005.10.1 date < 2021.10.9 } # KONECNA CZE_political_leaders_katerina_konecna_icon_visible = { has_country_flag = CZE_political_leaders_kscm_flag date > 2021.10.9 } CZE_political_leaders_katerina_konecna_text_visible = { has_country_flag = CZE_political_leaders_kscm_flag date > 2021.10.9 } CZE_political_leaders_katerina_konecna_effect_text_visible = { has_country_flag = CZE_political_leaders_kscm_flag date > 2021.10.9 } CZE_political_leaders_us_button_visible = { date < 2011.1.1 } CZE_political_leaders_ods_title_text_visible = { has_country_flag = CZE_political_leaders_ods_flag } CZE_political_leaders_ods_description_text_visible = { has_country_flag = CZE_political_leaders_ods_flag } CZE_political_leaders_cssd_title_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag } CZE_political_leaders_cssd_description_text_visible = { has_country_flag = CZE_political_leaders_cssd_flag } CZE_political_leaders_kdu_title_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag } CZE_political_leaders_kdu_description_text_visible = { has_country_flag = CZE_political_leaders_kdu_flag } CZE_political_leaders_kscm_title_text_visible = { has_country_flag = CZE_political_leaders_kscm_flag } CZE_political_leaders_kscm_description_text_visible = { has_country_flag = CZE_political_leaders_kscm_flag } CZE_political_leaders_us_title_text_visible = { has_country_flag = CZE_political_leaders_us_flag date < 2011.1.1 } CZE_political_leaders_us_description_text_visible = { has_country_flag = CZE_political_leaders_us_flag date < 2011.1.1 } CZE_political_leaders_us_text_visible = { date < 2011.1.1 } CZE_political_leaders_ano_button_visible = { date > 2011.1.1 } CZE_political_leaders_ano_text_visible = { date > 2011.1.1 } CZE_political_leaders_ano_title_text_visible = { has_country_flag = CZE_political_leaders_ano_flag } CZE_political_leaders_ano_description_text_visible = { has_country_flag = CZE_political_leaders_ano_flag } CZE_political_leaders_top_title_text_visible = { has_country_flag = CZE_political_leaders_top_flag } CZE_political_leaders_top_description_text_visible = { has_country_flag = CZE_political_leaders_top_flag } CZE_political_leaders_ano_button_click_enabled = { date > 2011.4.11 } CZE_political_leaders_top_button_click_enabled = { date > 2011.1.1 } } effects = { CZE_politics_gui_close_click = { clr_country_flag = CZE_political_leaders_active } CZE_political_leaders_ods_button_click = { if = { limit = { NOT = { has_country_flag = CZE_political_leaders_ods_flag } } set_country_flag = CZE_political_leaders_ods_flag clr_country_flag = CZE_political_leaders_cssd_flag clr_country_flag = CZE_political_leaders_kdu_flag clr_country_flag = CZE_political_leaders_us_flag clr_country_flag = CZE_political_leaders_kscm_flag clr_country_flag = CZE_political_leaders_top_flag clr_country_flag = CZE_political_leaders_ano_flag } CZE_gui_dirty_update = yes } CZE_political_leaders_cssd_button_click = { if = { limit = { NOT = { has_country_flag = CZE_political_leaders_cssd_flag } } set_country_flag = CZE_political_leaders_cssd_flag clr_country_flag = CZE_political_leaders_ods_flag clr_country_flag = CZE_political_leaders_kdu_flag clr_country_flag = CZE_political_leaders_us_flag clr_country_flag = CZE_political_leaders_kscm_flag clr_country_flag = CZE_political_leaders_top_flag clr_country_flag = CZE_political_leaders_ano_flag } CZE_gui_dirty_update = yes } CZE_political_leaders_kdu_button_click = { if = { limit = { NOT = { has_country_flag = CZE_political_leaders_kdu_flag } } set_country_flag = CZE_political_leaders_kdu_flag clr_country_flag = CZE_political_leaders_ods_flag clr_country_flag = CZE_political_leaders_cssd_flag clr_country_flag = CZE_political_leaders_us_flag clr_country_flag = CZE_political_leaders_kscm_flag clr_country_flag = CZE_political_leaders_top_flag clr_country_flag = CZE_political_leaders_ano_flag } CZE_gui_dirty_update = yes } CZE_political_leaders_us_button_click = { if = { limit = { NOT = { has_country_flag = CZE_political_leaders_us_flag } } set_country_flag = CZE_political_leaders_us_flag clr_country_flag = CZE_political_leaders_ods_flag clr_country_flag = CZE_political_leaders_cssd_flag clr_country_flag = CZE_political_leaders_kdu_flag clr_country_flag = CZE_political_leaders_kscm_flag clr_country_flag = CZE_political_leaders_top_flag clr_country_flag = CZE_political_leaders_ano_flag } CZE_gui_dirty_update = yes } CZE_political_leaders_kscm_button_click = { if = { limit = { NOT = { has_country_flag = CZE_political_leaders_kscm_flag } } set_country_flag = CZE_political_leaders_kscm_flag clr_country_flag = CZE_political_leaders_ods_flag clr_country_flag = CZE_political_leaders_cssd_flag clr_country_flag = CZE_political_leaders_kdu_flag clr_country_flag = CZE_political_leaders_us_flag clr_country_flag = CZE_political_leaders_top_flag clr_country_flag = CZE_political_leaders_ano_flag } CZE_gui_dirty_update = yes } CZE_political_leaders_top_button_click = { if = { limit = { NOT = { has_country_flag = CZE_political_leaders_top_flag } } set_country_flag = CZE_political_leaders_top_flag clr_country_flag = CZE_political_leaders_ods_flag clr_country_flag = CZE_political_leaders_cssd_flag clr_country_flag = CZE_political_leaders_kdu_flag clr_country_flag = CZE_political_leaders_us_flag clr_country_flag = CZE_political_leaders_kscm_flag clr_country_flag = CZE_political_leaders_ano_flag } CZE_gui_dirty_update = yes } CZE_political_leaders_ano_button_click = { if = { limit = { NOT = { has_country_flag = CZE_political_leaders_ano_flag } } set_country_flag = CZE_political_leaders_ano_flag clr_country_flag = CZE_political_leaders_ods_flag clr_country_flag = CZE_political_leaders_cssd_flag clr_country_flag = CZE_political_leaders_kdu_flag clr_country_flag = CZE_political_leaders_us_flag clr_country_flag = CZE_political_leaders_kscm_flag clr_country_flag = CZE_political_leaders_top_flag } CZE_gui_dirty_update = yes } } } CZE_petr_pavel_open_button_scripted_gui = { context_type = player_context window_name = "CZE_petr_pavel_open_button_window" parent_window_name = "MapmodesInterface_Ingame" dirty = CZE_pavel_gui_dirty_var visible = { original_tag = CZE NOT = { OR = { has_completed_focus = CZE_military_pension has_country_flag = CZE_SLO_pavel_revolted } } has_character = CZE_petr_pavel } triggers = { CZE_petr_pavel_open_button_visible = { always = yes } } ai_enabled = { always = no } effects = { CZE_petr_pavel_open_button_click = { if = { limit = { has_country_flag = CZE_petr_pavel_gui_visible } clr_country_flag = CZE_petr_pavel_gui_visible } else_if = { limit = { has_country_flag = CZE_petr_pavel_training_visible } clr_country_flag = CZE_petr_pavel_training_visible set_country_flag = CZE_petr_pavel_training_visible_temporary } else_if = { limit = { has_country_flag = CZE_petr_pavel_training_visible_temporary } clr_country_flag = CZE_petr_pavel_training_visible_temporary set_country_flag = CZE_petr_pavel_training_visible } else = { set_country_flag = CZE_petr_pavel_gui_visible } if = { limit = { NOT = { OR = { has_country_flag = CZE_petr_pavel_missions_visible has_country_flag = CZE_petr_pavel_politics_visible } } } set_country_flag = CZE_petr_pavel_missions_visible } CZE_pavel_gui_dirty_update = yes } } } CZE_petr_pavel_scripted_gui = { context_type = player_context window_name = "CZE_petr_pavel_scripted_gui_window" dirty = CZE_pavel_gui_dirty_var visible = { OR = { has_country_flag = CZE_petr_pavel_gui_visible has_country_flag = CZE_petr_pavel_training_visible } original_tag = CZE NOT = { OR = { has_country_flag = CZE_SLO_pavel_revolted has_completed_focus = CZE_military_pension } } has_character = CZE_petr_pavel } properties = { CZE_pavel_progress_bar = { frame = CZE.CZE_petr_pavel_training_points } CZE_pavel_card_one_progress_bar = { frame = CZE.CZE_petr_pavel_card_one_points } CZE_pavel_card_two_progress_bar = { frame = CZE.CZE_petr_pavel_card_two_points } CZE_pavel_card_three_progress_bar = { frame = CZE.CZE_petr_pavel_card_three_points } CZE_pavel_card_four_progress_bar = { frame = CZE.CZE_petr_pavel_card_four_points } CZE_pavel_card_five_progress_bar = { frame = CZE.CZE_petr_pavel_card_five_points } CZE_pavel_card_six_progress_bar = { frame = CZE.CZE_petr_pavel_card_six_points } CZE_pavel_card_one_progress_bar_active = { frame = CZE.CZE_petr_pavel_card_one_points } CZE_pavel_card_two_progress_bar_active = { frame = CZE.CZE_petr_pavel_card_two_points } CZE_pavel_card_three_progress_bar_active = { frame = CZE.CZE_petr_pavel_card_three_points } CZE_pavel_card_four_progress_bar_active = { frame = CZE.CZE_petr_pavel_card_four_points } CZE_pavel_card_five_progress_bar_active = { frame = CZE.CZE_petr_pavel_card_five_points } CZE_pavel_card_six_progress_bar_active = { frame = CZE.CZE_petr_pavel_card_six_points } } triggers = { # Army Ranks CZE_gen1_grey_icon_visible = { NOT = { has_completed_focus = CZE_brigadni_general } has_country_flag = CZE_petr_pavel_gui_visible } CZE_gen2_grey_icon_visible = { NOT = { has_completed_focus = CZE_generalmajor } has_country_flag = CZE_petr_pavel_gui_visible } CZE_gen3_grey_icon_visible = { NOT = { has_completed_focus = CZE_generalporucik } has_country_flag = CZE_petr_pavel_gui_visible } CZE_gen4_grey_icon_visible = { NOT = { has_completed_focus = CZE_armadni_general } has_country_flag = CZE_petr_pavel_gui_visible } CZE_gen1_yel_icon_visible = { has_completed_focus = CZE_brigadni_general has_country_flag = CZE_petr_pavel_gui_visible } CZE_gen2_yel_icon_visible = { has_completed_focus = CZE_generalmajor has_country_flag = CZE_petr_pavel_gui_visible } CZE_gen3_yel_icon_visible = { has_completed_focus = CZE_generalporucik has_country_flag = CZE_petr_pavel_gui_visible } CZE_gen4_yel_icon_visible = { has_completed_focus = CZE_armadni_general has_country_flag = CZE_petr_pavel_gui_visible } CZE_pavel_main_gui_visible = { NOT = { has_country_flag = CZE_petr_pavel_training_visible } } CZE_pavel_training_gui_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_switch_to_missions_button_visible = { has_country_flag = CZE_petr_pavel_politics_visible NOT = { has_country_flag = CZE_petr_pavel_training_visible } } CZE_petr_pavel_switch_to_politics_button_visible = { has_country_flag = CZE_petr_pavel_missions_visible NOT = { has_country_flag = CZE_petr_pavel_training_visible } } CZE_petr_pavel_switch_to_missions_button_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible NOT = { has_country_flag = CZE_petr_pavel_training_visible } } CZE_petr_pavel_switch_to_politics_button_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible NOT = { has_country_flag = CZE_petr_pavel_training_visible } } CZE_petr_pavel_switch_to_training_button_visible = { NOT = { has_country_flag = CZE_petr_pavel_training_visible } } CZE_petr_pavel_switch_to_main_button_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_one_progress_bar_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_two_progress_bar_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_three_progress_bar_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_four_progress_bar_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_five_progress_bar_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_six_progress_bar_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_one_text_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_two_text_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_three_text_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_four_text_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_five_text_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_six_text_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_switch_to_training_button_text_visible = { has_country_flag = CZE_petr_pavel_gui_visible } CZE_petr_pavel_switch_to_main_button_text_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_one_button_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_one_button_click_enabled = { NOT = { has_country_flag = CZE_petr_pavel_card_one_activated } } CZE_petr_pavel_card_two_button_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_two_button_click_enabled = { NOT = { has_country_flag = CZE_petr_pavel_card_two_activated } } CZE_petr_pavel_card_three_button_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_three_button_click_enabled = { NOT = { has_country_flag = CZE_petr_pavel_card_three_activated } } CZE_petr_pavel_card_four_button_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_four_button_click_enabled = { NOT = { has_country_flag = CZE_petr_pavel_card_four_activated } } CZE_petr_pavel_card_five_button_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_five_button_click_enabled = { NOT = { has_country_flag = CZE_petr_pavel_card_five_activated } } CZE_petr_pavel_card_six_button_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_six_button_click_enabled = { NOT = { has_country_flag = CZE_petr_pavel_card_six_activated } } CZE_petr_pavel_card_one_button_active_visible = { has_country_flag = CZE_petr_pavel_card_one_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_one_progress_bar_active_visible = { has_country_flag = CZE_petr_pavel_card_one_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_one_text_active_visible = { has_country_flag = CZE_petr_pavel_card_one_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_two_button_active_visible = { has_country_flag = CZE_petr_pavel_card_two_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_two_progress_bar_active_visible = { has_country_flag = CZE_petr_pavel_card_two_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_two_text_active_visible = { has_country_flag = CZE_petr_pavel_card_two_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_three_button_active_visible = { has_country_flag = CZE_petr_pavel_card_three_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_three_progress_bar_active_visible = { has_country_flag = CZE_petr_pavel_card_three_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_three_text_active_visible = { has_country_flag = CZE_petr_pavel_card_three_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_four_button_active_visible = { has_country_flag = CZE_petr_pavel_card_four_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_four_progress_bar_active_visible = { has_country_flag = CZE_petr_pavel_card_four_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_four_text_active_visible = { has_country_flag = CZE_petr_pavel_card_four_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_five_button_active_visible = { has_country_flag = CZE_petr_pavel_card_five_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_five_progress_bar_active_visible = { has_country_flag = CZE_petr_pavel_card_five_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_five_text_active_visible = { has_country_flag = CZE_petr_pavel_card_five_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_six_button_active_visible = { has_country_flag = CZE_petr_pavel_card_six_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_pavel_card_six_progress_bar_active_visible = { has_country_flag = CZE_petr_pavel_card_six_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_card_six_text_active_visible = { has_country_flag = CZE_petr_pavel_card_six_activated has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_training_info_text_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_training_info_two_text_visible = { has_country_flag = CZE_petr_pavel_training_visible } CZE_petr_pavel_scripted_gui_missions_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible NOT = { has_country_flag = CZE_petr_pavel_training_visible } } CZE_petr_pavel_scripted_gui_politics_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible NOT = { has_country_flag = CZE_petr_pavel_training_visible } } } effects = { CZE_petr_pavel_gui_close_click = { if = { limit = { has_country_flag = CZE_petr_pavel_gui_visible } clr_country_flag = CZE_petr_pavel_gui_visible } else_if = { limit = { has_country_flag = CZE_petr_pavel_training_visible } clr_country_flag = CZE_petr_pavel_training_visible set_country_flag = CZE_petr_pavel_training_visible_temporary } else_if = { limit = { has_country_flag = CZE_petr_pavel_training_visible_temporary } clr_country_flag = CZE_petr_pavel_training_visible_temporary set_country_flag = CZE_petr_pavel_training_visible } else = { set_country_flag = CZE_petr_pavel_gui_visible } CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_switch_to_training_button_click = { clr_country_flag = CZE_petr_pavel_gui_visible set_country_flag = CZE_petr_pavel_training_visible CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_switch_to_main_button_click = { set_country_flag = CZE_petr_pavel_gui_visible clr_country_flag = CZE_petr_pavel_training_visible CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_switch_to_missions_button_click = { set_country_flag = CZE_petr_pavel_missions_visible clr_country_flag = CZE_petr_pavel_politics_visible CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_switch_to_politics_button_click = { set_country_flag = CZE_petr_pavel_politics_visible clr_country_flag = CZE_petr_pavel_missions_visible CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_one_button_click = { set_country_flag = CZE_petr_pavel_card_one_activated clr_country_flag = CZE_petr_pavel_card_two_activated clr_country_flag = CZE_petr_pavel_card_three_activated clr_country_flag = CZE_petr_pavel_card_four_activated clr_country_flag = CZE_petr_pavel_card_five_activated clr_country_flag = CZE_petr_pavel_card_six_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_one_button_active_click = { clr_country_flag = CZE_petr_pavel_card_one_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_two_button_click = { clr_country_flag = CZE_petr_pavel_card_one_activated set_country_flag = CZE_petr_pavel_card_two_activated clr_country_flag = CZE_petr_pavel_card_three_activated clr_country_flag = CZE_petr_pavel_card_four_activated clr_country_flag = CZE_petr_pavel_card_five_activated clr_country_flag = CZE_petr_pavel_card_six_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_two_button_active_click = { clr_country_flag = CZE_petr_pavel_card_two_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_three_button_click = { clr_country_flag = CZE_petr_pavel_card_one_activated clr_country_flag = CZE_petr_pavel_card_two_activated set_country_flag = CZE_petr_pavel_card_three_activated clr_country_flag = CZE_petr_pavel_card_four_activated clr_country_flag = CZE_petr_pavel_card_five_activated clr_country_flag = CZE_petr_pavel_card_six_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_three_button_active_click = { clr_country_flag = CZE_petr_pavel_card_three_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_four_button_click = { clr_country_flag = CZE_petr_pavel_card_one_activated clr_country_flag = CZE_petr_pavel_card_two_activated clr_country_flag = CZE_petr_pavel_card_three_activated set_country_flag = CZE_petr_pavel_card_four_activated clr_country_flag = CZE_petr_pavel_card_five_activated clr_country_flag = CZE_petr_pavel_card_six_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_four_button_active_click = { clr_country_flag = CZE_petr_pavel_card_four_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_five_button_click = { clr_country_flag = CZE_petr_pavel_card_one_activated clr_country_flag = CZE_petr_pavel_card_two_activated clr_country_flag = CZE_petr_pavel_card_three_activated clr_country_flag = CZE_petr_pavel_card_four_activated set_country_flag = CZE_petr_pavel_card_five_activated clr_country_flag = CZE_petr_pavel_card_six_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_five_button_active_click = { clr_country_flag = CZE_petr_pavel_card_five_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_six_button_click = { clr_country_flag = CZE_petr_pavel_card_one_activated clr_country_flag = CZE_petr_pavel_card_two_activated clr_country_flag = CZE_petr_pavel_card_three_activated clr_country_flag = CZE_petr_pavel_card_four_activated clr_country_flag = CZE_petr_pavel_card_five_activated set_country_flag = CZE_petr_pavel_card_six_activated CZE_pavel_gui_dirty_update = yes } CZE_petr_pavel_card_six_button_active_click = { clr_country_flag = CZE_petr_pavel_card_six_activated CZE_pavel_gui_dirty_update = yes } } ai_enabled = { always = yes } ai_weights = { CZE_petr_pavel_gui_close_click = { ai_will_do = { base = 0 } } CZE_petr_pavel_switch_to_training_button_click = { ai_will_do = { base = 0 modifier = { has_country_flag = petr_pavel_mission_ongoing add = 50 } } } CZE_petr_pavel_switch_to_main_button_click = { ai_will_do = { base = 0 modifier = { NOT = { has_country_flag = petr_pavel_mission_ongoing } add = 50 } } } CZE_petr_pavel_switch_to_missions_button_click = { ai_will_do = { base = 10 } } CZE_petr_pavel_switch_to_politics_button_click = { ai_will_do = { base = 10 } } CZE_petr_pavel_card_one_button_click = { ai_will_do = { base = 50 modifier = { check_variable = { CZE_petr_pavel_card_one_points > 50 } add = -30 } } } CZE_petr_pavel_card_two_button_click = { ai_will_do = { base = 50 modifier = { check_variable = { CZE_petr_pavel_card_two_points > 50 } add = -40 } } } CZE_petr_pavel_card_three_button_click = { ai_will_do = { base = 50 modifier = { check_variable = { CZE_petr_pavel_card_three_points > 50 } add = -40 } } } CZE_petr_pavel_card_four_button_click = { ai_will_do = { base = 50 modifier = { check_variable = { CZE_petr_pavel_card_four_points > 50 } add = -20 } } } CZE_petr_pavel_card_five_button_click = { ai_will_do = { base = 50 modifier = { check_variable = { CZE_petr_pavel_card_five_points > 50 } add = -40 } } } CZE_petr_pavel_card_six_button_click = { ai_will_do = { base = 50 modifier = { check_variable = { CZE_petr_pavel_card_six_points > 50 } add = -30 } } } } } CZE_petr_pavel_northern_flank_gui = { context_type = player_context parent_scripted_gui = CZE_petr_pavel_scripted_gui window_name = CZE_petr_pavel_scripted_gui_north_flank_container dirty = CZE_pavel_gui_dirty_var visible = { has_country_flag = CZE_petr_pavel_gui_visible } triggers = { CZE_petr_pavel_scripted_gui_north_flank_button_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_north_flank_button_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_north_flank_politics_button_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_north_flank_politics_button_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_north_flank_politics_button_two_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_north_flank_politics_button_two_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_north_flank_politics_button_three_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_north_flank_politics_button_three_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_north_flank_button_click_enabled = { CZE_petr_pavel_north_flank_mission_available = yes } CZE_petr_pavel_scripted_gui_north_flank_politics_button_click_enabled = { CZE_petr_pavel_north_flank_politics_mission_available = yes } CZE_petr_pavel_scripted_gui_north_flank_politics_button_two_click_enabled = { CZE_petr_pavel_north_flank_politics_button_two_mission_available = yes } CZE_petr_pavel_scripted_gui_north_flank_politics_button_three_click_enabled = { CZE_petr_pavel_north_flank_politics_button_three_mission_available = yes } } effects = { CZE_petr_pavel_scripted_gui_north_flank_button_click = { if = { limit = { CZE_petr_pavel_north_flank_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 180 } set_variable = { petr_pavel_north_flank_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_north_flank_flag_one days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.28 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } if = { limit = { ENG = { is_in_faction_with = USA has_war = no } } ENG = { country_event = CZE_petr_pavel_event.29 } } if = { limit = { DEN = { is_in_faction_with = USA has_war = no } } DEN = { country_event = CZE_petr_pavel_event.29 } } if = { limit = { NRY = { is_in_faction_with = USA has_war = no } } NRY = { country_event = CZE_petr_pavel_event.29 } } } effect_tooltip = { CZE_petr_pavel_north_flank_completion_reward = yes } } CZE_petr_pavel_scripted_gui_north_flank_politics_button_click = { if = { limit = { CZE_petr_pavel_north_flank_politics_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 120 } set_variable = { petr_pavel_north_flank_politics_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_north_flank_flag_two days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.30 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_north_flank_politics_completion_reward = yes } } CZE_petr_pavel_scripted_gui_north_flank_politics_button_two_click = { if = { limit = { CZE_petr_pavel_north_flank_politics_button_two_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 60 } set_variable = { petr_pavel_north_flank_politics_mission_two_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_north_flank_flag_three days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.31 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } add_timed_idea = { idea = CZE_petr_pavel_walia_representative_idea days = 60 } } effect_tooltip = { CZE_petr_pavel_north_flank_politics_button_two_completion_reward = yes } } CZE_petr_pavel_scripted_gui_north_flank_politics_button_three_click = { if = { limit = { CZE_petr_pavel_north_flank_politics_button_three_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 240 } set_variable = { petr_pavel_north_flank_politics_mission_three_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_north_flank_flag_four days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.32 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_north_flank_politics_button_three_completion_reward = yes } } } ai_enabled = { always = yes } ai_weights = { CZE_petr_pavel_scripted_gui_north_flank_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_north_flank_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_north_flank_politics_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_north_flank_politics_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_north_flank_politics_button_two_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_north_flank_politics_button_two_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_north_flank_politics_button_three_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_north_flank_politics_button_three_mission_available = yes } } } } } } CZE_petr_pavel_east_south_flank_gui = { context_type = player_context parent_scripted_gui = CZE_petr_pavel_scripted_gui window_name = CZE_petr_pavel_scripted_gui_east_south_flank_container dirty = CZE_pavel_gui_dirty_var visible = { has_country_flag = CZE_petr_pavel_gui_visible } triggers = { CZE_petr_pavel_scripted_gui_east_south_flank_button_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_east_south_flank_button_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_two_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_two_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_three_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_three_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_east_south_flank_button_click_enabled = { CZE_petr_pavel_east_south_flank_mission_available = yes } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_click_enabled = { CZE_petr_pavel_east_south_flank_politics_mission_available = yes } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_two_click_enabled = { CZE_petr_pavel_east_south_flank_politics_button_two_mission_available = yes } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_three_click_enabled = { CZE_petr_pavel_east_south_flank_politics_button_three_mission_available = yes } } effects = { CZE_petr_pavel_scripted_gui_east_south_flank_button_click = { if = { limit = { CZE_petr_pavel_east_south_flank_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 260 } set_variable = { petr_pavel_east_south_flank_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_east_south_flank_flag_one days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.22 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_east_south_flank_completion_reward = yes } } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_click = { if = { limit = { CZE_petr_pavel_east_south_flank_politics_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 75 } set_variable = { petr_pavel_east_south_flank_politics_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_east_south_flank_flag_two days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.23 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } SLO = { country_event = CZE_petr_pavel_event.24 } HUN = { country_event = CZE_petr_pavel_event.24 } } effect_tooltip = { CZE_petr_pavel_east_south_flank_politics_completion_reward = yes } } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_two_click = { if = { limit = { CZE_petr_pavel_east_south_flank_politics_button_two_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 80 } set_variable = { petr_pavel_east_south_flank_politics_mission_two_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_east_south_flank_flag_three days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.25 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_east_south_flank_politics_button_two_completion_reward = yes } } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_three_click = { if = { limit = { CZE_petr_pavel_east_south_flank_politics_button_three_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 100 } set_variable = { petr_pavel_east_south_flank_politics_mission_three_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_east_south_flank_flag_four days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.26 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } BOS = { country_event = CZE_petr_pavel_event.27 } } effect_tooltip = { CZE_petr_pavel_east_south_flank_politics_button_three_completion_reward = yes } } } ai_enabled = { always = yes } ai_weights = { CZE_petr_pavel_scripted_gui_east_south_flank_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_east_south_flank_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_east_south_flank_politics_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_two_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_east_south_flank_politics_button_two_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_east_south_flank_politics_button_three_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_east_south_flank_politics_button_three_mission_available = yes } } } } } } CZE_petr_pavel_eastern_flank_gui = { context_type = player_context parent_scripted_gui = CZE_petr_pavel_scripted_gui window_name = CZE_petr_pavel_scripted_gui_eastern_flank_container dirty = CZE_pavel_gui_dirty_var visible = { has_country_flag = CZE_petr_pavel_gui_visible } triggers = { CZE_petr_pavel_scripted_gui_eastern_flank_button_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_eastern_flank_button_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_eastern_flank_button_two_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_eastern_flank_button_two_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_eastern_flank_political_button_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_eastern_flank_political_button_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_eastern_flank_button_click_enabled = { CZE_petr_pavel_eastern_flank_mission_available = yes } CZE_petr_pavel_scripted_gui_eastern_flank_button_two_click_enabled = { CZE_petr_pavel_eastern_flank_button_two_mission_available = yes } CZE_petr_pavel_scripted_gui_eastern_flank_political_button_click_enabled = { CZE_petr_pavel_eastern_flank_political_mission_available = yes } } effects = { CZE_petr_pavel_scripted_gui_eastern_flank_button_click = { if = { limit = { CZE_petr_pavel_eastern_flank_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 280 } set_variable = { petr_pavel_eastern_flank_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_eastern_flank_flag_one days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.10 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } if = { limit = { POL = { is_in_faction_with = CZE is_in_faction_with = USA } } POL = { country_event = CZE_petr_pavel_event.11 } } if = { limit = { LIT = { is_in_faction_with = CZE is_in_faction_with = USA } } LIT = { country_event = CZE_petr_pavel_event.11 } } if = { limit = { LAT = { is_in_faction_with = CZE is_in_faction_with = USA } } LAT = { country_event = CZE_petr_pavel_event.11 } } if = { limit = { EST = { is_in_faction_with = CZE is_in_faction_with = USA } } EST = { country_event = CZE_petr_pavel_event.11 } } } effect_tooltip = { CZE_petr_pavel_eastern_flank_completion_reward = yes } } CZE_petr_pavel_scripted_gui_eastern_flank_button_two_click = { if = { limit = { CZE_petr_pavel_eastern_flank_button_two_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 280 } set_variable = { petr_pavel_eastern_flank_mission_two_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_eastern_flank_flag_two days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.12 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_eastern_flank_button_two_completion_reward = yes } } CZE_petr_pavel_scripted_gui_eastern_flank_political_button_click = { if = { limit = { CZE_petr_pavel_eastern_flank_political_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 120 } set_variable = { petr_pavel_eastern_flank_mission_three_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_eastern_flank_flag_three days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.13 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } if = { limit = { LIT = { is_in_faction_with = CZE is_in_faction_with = USA } } LIT = { country_event = CZE_petr_pavel_event.14 } } if = { limit = { LAT = { is_in_faction_with = CZE is_in_faction_with = USA } } LAT = { country_event = CZE_petr_pavel_event.14 } } if = { limit = { EST = { is_in_faction_with = CZE is_in_faction_with = USA } } EST = { country_event = CZE_petr_pavel_event.14 } } } effect_tooltip = { CZE_petr_pavel_eastern_flank_political_completion_reward = yes } } } ai_enabled = { always = yes } ai_weights = { CZE_petr_pavel_scripted_gui_eastern_flank_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_eastern_flank_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_eastern_flank_button_two_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_eastern_flank_button_two_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_eastern_flank_political_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_eastern_flank_political_mission_available = yes } } } } } } CZE_petr_pavel_usa_gui = { context_type = player_context parent_scripted_gui = CZE_petr_pavel_scripted_gui window_name = CZE_petr_pavel_scripted_gui_usa_container dirty = CZE_pavel_gui_dirty_var visible = { has_country_flag = CZE_petr_pavel_gui_visible } triggers = { CZE_petr_pavel_scripted_gui_usa_button_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_usa_button_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_usa_button_two_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_usa_button_two_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_usa_politics_button_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_usa_politics_button_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_usa_button_click_enabled = { CZE_petr_pavel_usa_mission_available = yes } CZE_petr_pavel_scripted_gui_usa_button_two_click_enabled = { CZE_petr_pavel_usa_button_two_mission_available = yes } CZE_petr_pavel_scripted_gui_usa_politics_button_click_enabled = { CZE_petr_pavel_usa_politics_mission_available = yes } } effects = { CZE_petr_pavel_scripted_gui_usa_button_click = { if = { limit = { CZE_petr_pavel_usa_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 60 } set_variable = { petr_pavel_usa_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_usa_flag_one days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.15 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } USA = { country_event = CZE_petr_pavel_event.16 } } effect_tooltip = { CZE_petr_pavel_usa_completion_reward = yes } } CZE_petr_pavel_scripted_gui_usa_button_two_click = { if = { limit = { CZE_petr_pavel_usa_button_two_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 360 } set_variable = { petr_pavel_usa_mission_two_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_usa_flag_two days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.17 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } USA = { country_event = CZE_petr_pavel_event.18 } } effect_tooltip = { CZE_petr_pavel_usa_button_two_completion_reward = yes } } CZE_petr_pavel_scripted_gui_usa_politics_button_click = { if = { limit = { CZE_petr_pavel_usa_politics_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 45 } set_variable = { petr_pavel_usa_politics_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_usa_flag_three days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.36 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_usa_politics_completion_reward = yes } } } ai_enabled = { always = yes } ai_weights = { CZE_petr_pavel_scripted_gui_usa_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_usa_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_usa_button_two_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_usa_button_two_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_usa_politics_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_usa_politics_mission_available = yes } } } } } } CZE_petr_pavel_russia_gui = { context_type = player_context parent_scripted_gui = CZE_petr_pavel_scripted_gui window_name = CZE_petr_pavel_scripted_gui_russia_container dirty = CZE_pavel_gui_dirty_var visible = { has_country_flag = CZE_petr_pavel_gui_visible } triggers = { CZE_petr_pavel_scripted_gui_russia_button_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_russia_button_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_russia_politics_button_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_russia_politics_button_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_russia_politics_button_click_enabled = { CZE_petr_pavel_russia_politics_mission_available = yes } CZE_petr_pavel_scripted_gui_russia_button_click_enabled = { CZE_petr_pavel_russia_mission_available = yes } } effects = { CZE_petr_pavel_scripted_gui_russia_politics_button_click = { if = { limit = { CZE_petr_pavel_russia_politics_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 60 } set_variable = { petr_pavel_russia_politics_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_russia_flag_one days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.33 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_russia_politics_completion_reward = yes } } CZE_petr_pavel_scripted_gui_russia_button_click = { if = { limit = { CZE_petr_pavel_russia_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 40 } set_variable = { petr_pavel_russia_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_russia_flag_two days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.37 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_russia_completion_reward = yes } } } ai_enabled = { always = yes } ai_weights = { CZE_petr_pavel_scripted_gui_russia_politics_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_russia_politics_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_russia_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_russia_mission_available = yes } } } } } } CZE_petr_pavel_qatar_gui = { context_type = player_context parent_scripted_gui = CZE_petr_pavel_scripted_gui window_name = CZE_petr_pavel_scripted_gui_qatar_container dirty = CZE_pavel_gui_dirty_var visible = { has_country_flag = CZE_petr_pavel_gui_visible } triggers = { CZE_petr_pavel_scripted_gui_qatar_button_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_qatar_button_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_qatar_politics_button_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_qatar_politics_button_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_qatar_button_click_enabled = { CZE_petr_pavel_qatar_mission_available = yes } CZE_petr_pavel_scripted_gui_qatar_politics_button_click_enabled = { CZE_petr_pavel_qatar_politics_mission_available = yes } } effects = { CZE_petr_pavel_scripted_gui_qatar_button_click = { if = { limit = { CZE_petr_pavel_qatar_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 20 } set_variable = { petr_pavel_qatar_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_qatar_flag_one days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.20 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } QAT = { country_event = CZE_petr_pavel_event.19 } USA = { country_event = CZE_petr_pavel_event.19 } } effect_tooltip = { CZE_petr_pavel_qatar_completion_reward = yes } } CZE_petr_pavel_scripted_gui_qatar_politics_button_click = { if = { limit = { CZE_petr_pavel_qatar_politics_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 30 } set_variable = { petr_pavel_qatar_mission_two_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_qatar_flag_two days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.21 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_qatar_politics_completion_reward = yes } } } ai_enabled = { always = yes } ai_weights = { CZE_petr_pavel_scripted_gui_qatar_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_qatar_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_qatar_politics_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_qatar_politics_mission_available = yes } } } } } } CZE_petr_pavel_iraq_gui = { context_type = player_context parent_scripted_gui = CZE_petr_pavel_scripted_gui window_name = CZE_petr_pavel_scripted_gui_iraq_container dirty = CZE_pavel_gui_dirty_var visible = { has_country_flag = CZE_petr_pavel_gui_visible } triggers = { CZE_petr_pavel_scripted_gui_iraq_button_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_iraq_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_iraq_politics_button_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_iraq_politics_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_iraq_button_click_enabled = { CZE_petr_pavel_iraq_mission_available = yes } CZE_petr_pavel_scripted_gui_iraq_politics_button_click_enabled = { CZE_petr_pavel_iraq_politics_mission_available = yes } } effects = { CZE_petr_pavel_scripted_gui_iraq_button_click = { if = { limit = { CZE_petr_pavel_iraq_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 20 } set_variable = { petr_pavel_iraq_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_iraq_flag_one days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.35 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } IRQ = { country_event = CZE_petr_pavel_event.34 } USA = { country_event = CZE_petr_pavel_event.34 } } effect_tooltip = { CZE_petr_pavel_iraq_completion_reward = yes } } CZE_petr_pavel_scripted_gui_iraq_politics_button_click = { if = { limit = { CZE_petr_pavel_iraq_politics_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 45 } set_variable = { petr_pavel_iraq_mission_two_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_iraq_flag_two days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.38 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } } effect_tooltip = { CZE_petr_pavel_iraq_politics_completion_reward = yes } } } ai_enabled = { always = yes } ai_weights = { CZE_petr_pavel_scripted_gui_iraq_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_iraq_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_iraq_politics_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_iraq_politics_mission_available = yes } } } } } } CZE_petr_pavel_afghanistan_gui = { context_type = player_context parent_scripted_gui = CZE_petr_pavel_scripted_gui window_name = CZE_petr_pavel_scripted_gui_afghanistan_container dirty = CZE_pavel_gui_dirty_var visible = { has_country_flag = CZE_petr_pavel_gui_visible } triggers = { CZE_petr_pavel_scripted_gui_afghanistan_political_button_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_afghanistan_political_button_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_afghanistan_political_button_two_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_afghanistan_political_button_two_text_visible = { has_country_flag = CZE_petr_pavel_politics_visible } CZE_petr_pavel_scripted_gui_afghanistan_button_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_afghanistan_button_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_afghanistan_button_two_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_afghanistan_button_two_text_visible = { has_country_flag = CZE_petr_pavel_missions_visible } CZE_petr_pavel_scripted_gui_afghanistan_button_click_enabled = { CZE_petr_pavel_afghanistan_mission_available = yes } CZE_petr_pavel_scripted_gui_afghanistan_button_two_click_enabled = { CZE_petr_pavel_afghanistan_button_two_mission_available = yes } CZE_petr_pavel_scripted_gui_afghanistan_political_button_click_enabled = { CZE_petr_pavel_afghanistan_political_mission_available = yes } CZE_petr_pavel_scripted_gui_afghanistan_political_button_two_click_enabled = { CZE_petr_pavel_afghanistan_political_button_two_mission_available = yes } } effects = { CZE_petr_pavel_scripted_gui_afghanistan_button_click = { if = { limit = { CZE_petr_pavel_afghanistan_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 260 } set_variable = { petr_pavel_afghanistan_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_afghanistan_flag_one days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.2 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } AFG = { country_event = CZE_petr_pavel_event.1 } } effect_tooltip = { CZE_petr_pavel_afghanistan_completion_reward = yes } } CZE_petr_pavel_scripted_gui_afghanistan_button_two_click = { if = { limit = { CZE_petr_pavel_afghanistan_button_two_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 220 } set_variable = { petr_pavel_afghanistan_mission_two_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_afghanistan_flag_two days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.4 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } AFG = { country_event = CZE_petr_pavel_event.3 } } effect_tooltip = { CZE_petr_pavel_afghanistan_button_two_completion_reward = yes } } CZE_petr_pavel_scripted_gui_afghanistan_political_button_click = { if = { limit = { CZE_petr_pavel_afghanistan_political_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 120 } set_variable = { petr_pavel_afghanistan_political_mission_one_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_afghanistan_flag_three days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.5 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = CZE_petr_pavel_modifier } add_to_variable = { CZE_petr_pavel_modifier_opinion_relation = 0.1 tooltip = opinion_gain_monthly_factor_tt } } effect_tooltip = { CZE_petr_pavel_afghanistan_political_completion_reward = yes } } CZE_petr_pavel_scripted_gui_afghanistan_political_button_two_click = { if = { limit = { CZE_petr_pavel_afghanistan_political_button_two_mission_available = yes } hidden_effect = { set_temp_variable = { CZE_petr_pavel_mission_duration = 75 } set_variable = { petr_pavel_afghanistan_political_mission_two_completed = 1 } set_country_flag = { flag = CZE_petr_pavel_afghanistan_flag_four days = CZE_petr_pavel_mission_duration value = 1 } country_event = { id = CZE_petr_pavel_event.7 days = CZE_petr_pavel_mission_duration } CZE_petr_pavel_start_mission = yes } AFG = { country_event = CZE_petr_pavel_event.6 } } effect_tooltip = { CZE_petr_pavel_afghanistan_political_button_two_completion_reward = yes } } } ai_enabled = { always = yes } ai_weights = { CZE_petr_pavel_scripted_gui_afghanistan_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_afghanistan_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_afghanistan_button_two_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_afghanistan_button_two_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_afghanistan_political_button_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_afghanistan_political_mission_available = yes } } } } CZE_petr_pavel_scripted_gui_afghanistan_political_button_two_click = { ai_will_do = { base = 100 modifier = { factor = 0 NOT = { CZE_petr_pavel_afghanistan_political_button_two_mission_available = yes } } } } } } CZE_SLO_scripted_gui = { window_name = "CZE_SLO_scripted_gui_window" context_type = decision_category dirty = CZE_gui_dirty_var visible = { has_country_flag = CZE_SLO_czechoslovakia_start NOT = { OR = { has_completed_focus = CZE_SLO_new_dawn_of_czechoslovakia check_variable = { THIS.CZE_SLO_people_acceptance > 99 } check_variable = { THIS.CZE_SLO_law_similarity > 99 } check_variable = { THIS.CZE_SLO_military_support > 99 } } } } properties = { CZE_SLO_social_progress_bar = { frame = THIS.CZE_SLO_people_acceptance } CZE_SLO_law_progress_bar = { frame = THIS.CZE_SLO_law_similarity } CZE_SLO_military_progress_bar = { frame = THIS.CZE_SLO_military_support } } triggers = { CZE_SLO_country_picture_visible = { always = yes } CZE_SLO_social_progress_bar_visible = { always = yes } CZE_SLO_law_progress_bar_visible = { always = yes } CZE_SLO_military_progress_bar_visible = { always = yes } CZE_SLO_law_icon_visible = { always = yes } CZE_SLO_social_icon_visible = { always = yes } CZE_SLO_military_icon_visible = { always = yes } } } }