From d146bcc5fbaaf2f92c88ba301598e4102ebd9312 Mon Sep 17 00:00:00 2001 From: Wolferos Date: Fri, 9 Mar 2018 11:32:05 +0100 Subject: [PATCH] 0.5.1a See release for Changelog --- README.md | 2 +- mod/thegreatwar/common/ideas/pakistan.txt | 27 +- .../common/national_focus/nope.txt | 113 + .../common/national_focus/soviet.txt | 12 +- .../common/on_actions/00_on_actions.txt | 980 ++++ .../common/on_actions/01_tfv_on_actions.txt | 361 ++ .../common/on_actions/02_dod_on_actions.txt | 126 + .../common/on_actions/03_wtt_on_actions.txt | 0 ..._china_political_struggle_localisation.txt | 0 .../PRC_scripted_triggers.txt | 0 mod/thegreatwar/events/NewsEvents.txt | 3991 +---------------- mod/thegreatwar/gfx/entities/planes.gfx | 18 +- .../gfx/entities/units_planes.asset | 47 + .../gfx/interface/pdx_int_logo.dds | Bin 184128 -> 184128 bytes .../history/countries/MEX - Mexico.txt | 2 +- mod/thegreatwar/history/states/486-Meta.txt | 2 +- .../history/states/771 - victory_points.txt | 25 +- .../interface/countryconstructionsview.gui | 582 --- .../localisation/state_names_l_english.yml | 1 + mod/thegreatwar/map/airports.txt | 1 + mod/thegreatwar/map/buildings.txt | 28 +- mod/thegreatwar/map/rocketsites.txt | 1 + .../map/supplyareas/182-SupplyArea.txt | 8 + 23 files changed, 1725 insertions(+), 4602 deletions(-) create mode 100644 mod/thegreatwar/common/national_focus/nope.txt create mode 100755 mod/thegreatwar/common/on_actions/00_on_actions.txt create mode 100755 mod/thegreatwar/common/on_actions/01_tfv_on_actions.txt create mode 100755 mod/thegreatwar/common/on_actions/02_dod_on_actions.txt create mode 100755 mod/thegreatwar/common/on_actions/03_wtt_on_actions.txt create mode 100755 mod/thegreatwar/common/scripted_localisation/WTT_china_political_struggle_localisation.txt create mode 100755 mod/thegreatwar/common/scripted_triggers/PRC_scripted_triggers.txt delete mode 100755 mod/thegreatwar/interface/countryconstructionsview.gui mode change 100755 => 100644 mod/thegreatwar/map/airports.txt mode change 100755 => 100644 mod/thegreatwar/map/buildings.txt mode change 100755 => 100644 mod/thegreatwar/map/rocketsites.txt create mode 100755 mod/thegreatwar/map/supplyareas/182-SupplyArea.txt diff --git a/README.md b/README.md index 6d3807b09..6e3439cef 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ **Project Lead:** Wolferos -**Current Version:** 0.5.1 +**Current Version:** 0.5.1a **Compatible with:** Hearts of Iron IV 1.5 "Cornflakes"(with or without Paid DLC) diff --git a/mod/thegreatwar/common/ideas/pakistan.txt b/mod/thegreatwar/common/ideas/pakistan.txt index fe8fbe476..6b7ed50c0 100755 --- a/mod/thegreatwar/common/ideas/pakistan.txt +++ b/mod/thegreatwar/common/ideas/pakistan.txt @@ -1,2 +1,25 @@ -ideas={ - } \ No newline at end of file +ideas = { + country = { + CHI_hyper_inflation_1 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + CHI_hyper_inflation_2 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + CHI_hyper_inflation_3 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + CHI_hyper_inflation_4 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + CHI_hyper_inflation_5 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + CHI_army_corruption_1 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + CHI_army_corruption_2 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + CHI_army_corruption_3 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + PRC_low_popular_support_1 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + PRC_low_popular_support_2 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + PRC_low_popular_support_3 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + PRC_low_popular_support_4 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + PRC_low_popular_support_5 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + JAP_intervene_in_china_1 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + JAP_intervene_in_china_2 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + JAP_intervene_in_china_3 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + JAP_intervene_in_china_4 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + JAP_intervene_in_china_5 = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + MAN_assertiveness = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + MAN_banditry = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + SAF_king_edward = { picture = chi_hyper_inflation allowed = { always = no date > 1945.1.1 } allowed_civil_war = { always = no } removal_cost = -1 modifier = { } } + } +} \ No newline at end of file diff --git a/mod/thegreatwar/common/national_focus/nope.txt b/mod/thegreatwar/common/national_focus/nope.txt new file mode 100644 index 000000000..18de3349e --- /dev/null +++ b/mod/thegreatwar/common/national_focus/nope.txt @@ -0,0 +1,113 @@ +focus_tree = { + id = pakistan_focus + default = no + country = { + factor = 0 + modifier = { + add = 0 + tag = PAK + } + } + + # To keep Doogy quiet - woof woof + focus = { id = GER_reestablish_free_elections icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = GER_oppose_hitler icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = GER_assassinate_mussolini icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = GER_expatriate_the_communists icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = MAN_assertiveness icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_cooperation_with_the_communists icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = MEX_ww1_Save_Madero icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_great_purge icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = USA_war_plan_red icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = GER_focus_on_the_true_enemy icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = PRC_marxist_orthodoxy icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = PRC_social_democracy icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = MAN_independence_war icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = MAN_obedience icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_strengthen_civilian_government icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_the_unthinkable_option icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_the_hump icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_war_of_national_liberation icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_dare_to_die_corps icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_british_cooperation icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_ledo_road icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_mission_to_the_us icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_reach_out_to_france icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_french_drill icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_mission_to_the_soviet_union icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_combined_arms_warfare icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_support_the_kodoha_faction icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_cooperation_with_the_nationalists icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = HUN_invite_the_habsburg_prince icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = USA_war_plan_white icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_cast_the_die icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_warrior_spirit icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = RAJ_institute_of_fundamental_research icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CAN_forced_quebec_conscription icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CAN_crown_corporations icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CAN_fund_fairchilds_development icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CAN_cookie_carriers icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_give_falkenhausen_citizenship icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_hire_chennault icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_chinese_panzers icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_camco icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_local_fighter_production icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_local_bomber_production icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = HUN_naval_warfare icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = NZL_the_lee_affair icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = NZL_strengthen_the_commonwealth icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = NZL_constitution_amendment_act icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = NZL_in_the_darkness icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = RAJ_cripps_mission icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = AST_adopt_westminster icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = AST_abandon_the_westminster_system icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = AST_sever_ties_with_uk icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = MAN_the_two_emperors icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CZE_faction_tech_sharing icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = PRC_anti_japanese_expedition icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = HUN_proclaim_the_restoration_of_austria_hungary icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = BUL_balkan_league icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_strike_south_doctrine icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_prepare_for_war_with_the_soviet_union icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_intervene_in_china icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_secure_the_philippines icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_technological_exchange icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_southern_thrust icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_claims_on_poland icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_claims_on_baltic icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_baltic_security icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_claim_on_the_straits icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_claim_bessarabia icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_claim_on_sinkiang icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_reconcile_japan icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_anti_capitalist_diplomacy icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SOV_anti_fascist_diplomacy icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = PRC_infiltration icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = PRC_coalition_government icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = HUN_the_balkan_pact icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = HUN_alliance_with_italy icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = YUG_pan_slavic_workers_congress icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = ROM_the_cordon_sanitaire icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = PRC_government_of_national_defense icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_join_the_chinese_soviet icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = PRC_socialism_with_chinese_characteristics icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = GER_tackle_the_communist_threat icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = POL_the_between_the_seas_concept icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = AST_a_deal_with_japan icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CAN_skewer_the_eagle icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_join_comintern icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_greater_east_asian_co_prosperity_sphere icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_rekindle_the_old_alliance icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = AST_the_south_west_pacific_initiative icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CZE_an_entente_of_our_own icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = HUN_renounce_the_treaty_of_trianon icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = HUN_the_revolutionary_council icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = SAF_Union_of_the_African_People icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CAN_north_american_alliance icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = CHI_united_front icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = GER_central_european_alliance icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = JAP_west_pacific_treaty_organization icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = ROM_align_hungary icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + focus = { id = GER_the_central_powers icon = GFX_goal_generic_demand_territory completion_reward = { } ai_will_do = { factor = 0 } cost = 999 x = 500 y = 500 } + +} \ No newline at end of file diff --git a/mod/thegreatwar/common/national_focus/soviet.txt b/mod/thegreatwar/common/national_focus/soviet.txt index a1d6700c5..dcdf259d9 100755 --- a/mod/thegreatwar/common/national_focus/soviet.txt +++ b/mod/thegreatwar/common/national_focus/soviet.txt @@ -515,8 +515,8 @@ focus_tree = { id = SOV_ww1_europe_revolution icon = GFX_goal_generic_war_with_comintern prerequisite = { focus = SOV_ww1_third_international } - completion_reward = { every_other_country = { limit = { any_owned_state = { is_on_continent = europe } } add_timed_idea = { idea = comintern_influence days = 360 } } } - ai_will_do = { factor = 10 modifier = { factor = 1 is_historical_focus_on = yes} } + completion_reward = { every_other_country = { limit = { any_owned_state = { is_on_continent = europe } } add_timed_idea = { idea = comintern_influence days = 7 } } } + ai_will_do = { factor = 0 modifier = { factor = 1 is_historical_focus_on = yes} } cost = 10 x = 8 y = 10 @@ -526,8 +526,8 @@ focus_tree = { id = SOV_ww1_asia_revolution icon = GFX_goal_generic_war_with_comintern prerequisite = { focus = SOV_ww1_europe_revolution } - completion_reward = { every_other_country = { limit = { NOT = { has_idea = comintern_influence } any_owned_state = { is_on_continent = asia } } add_timed_idea = { idea = comintern_influence days = 360 } } } - ai_will_do = { factor = 10 modifier = { factor = 1 is_historical_focus_on = yes} } + completion_reward = { every_other_country = { limit = { NOT = { has_idea = comintern_influence } any_owned_state = { is_on_continent = asia } } add_timed_idea = { idea = comintern_influence days = 7 } } } + ai_will_do = { factor = 0 modifier = { factor = 1 is_historical_focus_on = yes} } cost = 10 x = 8 y = 11 @@ -537,8 +537,8 @@ focus_tree = { id = SOV_ww1_americas_revolution icon = GFX_goal_generic_war_with_comintern prerequisite = { focus = SOV_ww1_asia_revolution } - completion_reward = { every_other_country = { limit = { NOT = { has_idea = comintern_influence } any_owned_state = { OR = { is_on_continent = north_america is_on_continent = south_america } } } add_timed_idea = { idea = comintern_influence days = 360 } } } - ai_will_do = { factor = 10 modifier = { factor = 1 is_historical_focus_on = yes} } + completion_reward = { every_other_country = { limit = { NOT = { has_idea = comintern_influence } any_owned_state = { OR = { is_on_continent = north_america is_on_continent = south_america } } } add_timed_idea = { idea = comintern_influence days = 7 } } } + ai_will_do = { factor = 0 modifier = { factor = 1 is_historical_focus_on = yes} } cost = 10 x = 8 y = 12 diff --git a/mod/thegreatwar/common/on_actions/00_on_actions.txt b/mod/thegreatwar/common/on_actions/00_on_actions.txt new file mode 100755 index 000000000..4ea9086bd --- /dev/null +++ b/mod/thegreatwar/common/on_actions/00_on_actions.txt @@ -0,0 +1,980 @@ +on_actions = { + # Ace pilots + # country, FROM = ace + on_ace_promoted = { + random_events = { + 100 = ace_promoted.1 + 5 = ace_promoted.2 + } + } + + # country, FROM = ace, PREV = enemy ace + # This event fires twice, once for each ace. + on_aces_killed_each_other = { + random_events = { + 100 = aces_killed_each_other.1 + } + } + + # country, FROM = our ace, + # PREV = enemy ace, has killed FROM + on_ace_killed_by_ace = { + random_events = { + 100 = ace_killed_by_ace.1 + } + } + + # country, FROM = our ace, + # PREV = enemy ace, killed by FROM + on_ace_killed_other_ace = { + random_events = { + 100 = ace_killed_other_ace.1 + } + } + + # country, FROM = ace + on_ace_killed = { + random_events = { + 100 = ace_died.1 + } + } + + # During justifying wargoals + # triggered daily, so make sure there is a sink somewhere not firing events + # country, FROM = target nation + on_justifying_wargoal_pulse = { + + random_events = { + 100 = war_justification.1 + 100 = war_justification.2 + 100 = war_justification.3 + 100 = war_justification.4 + 100 = war_justification.5 + 100 = war_justification.6 + 100 = war_justification.7 + 100 = war_justification.8 + 100 = war_justification.9 + 100 = war_justification.10 + 100 = war_justification.11 + 100 = war_justification.12 + 100 = war_justification.13 + 100 = war_justification.14 + 100 = war_justification.15 + 100 = war_justification.16 + 100 = war_justification.17 + 100 = war_justification.18 + 100 = war_justification.19 + 17000 = 0 + } + } + + on_wargoal_expire = { + random_events = { + 100 = war_justification.301 + } + } + + on_nuke_drop = { + + effect = { + set_global_flag = first_nuke_dropped + if = { + limit = { NOT = { has_global_flag = first_nuke_dropped } } + country_event = { id = generic.8 } + } + if = { + limit = { has_idea = race_for_the_bomb_outclassed } + remove_ideas = race_for_the_bomb_outclassed + } + if = { + limit = { NOT = { has_country_flag = achievement_has_dropped_nuke } } + goto_state = FROM + set_country_flag = achievement_has_dropped_nuke + } + if = { + limit = { + FROM = { state = 378 } + } + set_country_flag = achievement_has_nuked_california + } + if = { + limit = { + FROM = { is_core_of = AST } + } + set_country_flag = achievement_AST_nuke_self + } + if = { + limit = { + tag = SWE + FROM = { + is_owned_by = DEN + is_core_of = DEN + } + } + set_country_flag = achievement_med_plutonium + } + if = { + limit = { + FROM = { + is_core_of = JAP + } + has_global_flag = JAP_nuke_1 + NOT = { + has_global_flag = JAP_nuke_2 + } + } + set_global_flag = JAP_nuke_2 + } + if = { + limit = { + FROM = { + is_core_of = JAP + } + NOT = { + has_global_flag = JAP_nuke_1 + } + } + set_global_flag = JAP_nuke_1 + } + + news_event = { id = nuke_dropped.2 days = 1} + news_event = { id = nuke_dropped.3 days = 1} + news_event = { id = nuke_dropped.4 days = 1} + news_event = { id = nuke_dropped.5 days = 1} + news_event = { id = nuke_dropped.6 days = 1} + news_event = { id = nuke_dropped.7 days = 1} + news_event = { id = nuke_dropped.8 days = 1} + news_event = { id = nuke_dropped.9 days = 1} + news_event = { id = nuke_dropped.10 days = 1} + news_event = { id = nuke_dropped.11 days = 1} + news_event = { id = nuke_dropped.12 days = 1} + news_event = { id = nuke_dropped.13 days = 1} + } + random_events = { + 100 = nuke_dropped.0 + } + } + + # country random events + #on_bi_yearly_pulse = { + # + #} + + #on_five_year_pulse = { + # + #} + + on_border_war_lost = { + effect = { + owner = { + country_event = { id = china.14 } + country_event = { id = china.16 } + } + } + } + + on_leave_faction = { + effect = { + if = { + limit = { + AND = { + tag = CAN + NOT = { has_dlc = "Together for Victory" } + } + } + drop_cosmetic_tag = yes + } + FROM = { + add_opinion_modifier = { + modifier = faction_traitor + target = ROOT + days = 365 + } + + add_opinion_modifier = { + modifier = faction_traitor_trade + target = ROOT + days = 365 + } + } + } + } + + #FROM is the one that joins the faction + on_create_faction = { + effect = { + # Sunset invasion check + if = { + limit = { + FROM = { is_puppet = no } + OR = { + AND = { + tag = MEX + FROM = { + capital_scope = { + NOT = { is_on_continent = south_america } + } + } + } + AND = { + FROM = { + tag = MEX + } + capital_scope = { + NOT = { is_on_continent = south_america } + } + } + } + } + set_country_flag = achievement_failed_sunset_invasion + } + } + } + + #FROM is country getting invited. + on_offer_join_faction = { + effect = { + #Give achievement to nation joining a faction, but not in one from game start + if = { + limit = { + date > 1936.01.02 + } + FROM = { + if = { + limit = { + is_faction_leader = no + } + set_country_flag = achievement_has_joined_faction + } + } + } + #Remove anti_soviet_pact if joining commie Soviet in faction + if = { + limit = { + original_tag = SOV + has_government = communism + FROM = { + has_idea = anti_soviet_pact + } + } + FROM = { + remove_ideas = anti_soviet_pact + } + } + + # Sunset invasion check + if = { + limit = { + is_puppet = no + OR = { + AND = { + tag = MEX + FROM = { + capital_scope = { + NOT = { is_on_continent = south_america } + } + } + } + AND = { + FROM = { + tag = MEX + } + capital_scope = { + NOT = { is_on_continent = south_america } + } + } + } + } + set_country_flag = achievement_failed_sunset_invasion + } + } + } + + #FROM is faction leader on join faction requests. THIS DOES NOT FIRE ON ADD_TO_FACTION EFFECT! USE ON_OFFER_JOIN_FACTION! + on_join_faction = { + effect = { + set_country_flag = achievement_has_joined_faction + #Remove anti_soviet_pact if joining commie Soviet in faction + if = { + limit = { + has_idea = anti_soviet_pact + FROM = { + original_tag = SOV + has_government = communism + } + } + remove_ideas = anti_soviet_pact + } + + # Sunset invasion check + if = { + limit = { + is_puppet = no + OR = { + AND = { + tag = MEX + FROM = { + capital_scope = { + NOT = { is_on_continent = south_america } + } + } + } + AND = { + FROM = { + tag = MEX + } + capital_scope = { + NOT = { is_on_continent = south_america } + } + } + } + } + set_country_flag = achievement_failed_sunset_invasion + } + } + } + + #FROM is war target + on_declare_war = { + effect = { + if = { + limit = { + FROM = { + OR = { + has_idea = american_protection_drift_democratic + has_idea = american_protection_drift_communism + has_idea = american_protection_drift_fascism + has_idea = american_protection_defence_democratic + has_idea = american_protection_defence_communism + has_idea = american_protection_defence_fascism + } + } + NOT = { + tag = USA + is_in_faction_with = USA # I guess USA will not go to war with someone they are in faction with + has_war_with = USA + #USA = { has_war_with = FROM } Should USA enforce peace in a nation it is already at war with? + } + OR = { + has_idea = american_protection_drift_democratic + has_idea = american_protection_drift_communism + has_idea = american_protection_drift_fascism + has_idea = american_protection_defence_democratic + has_idea = american_protection_defence_communism + has_idea = american_protection_defence_fascism + } + } + FROM = { country_event = { id = usa.16 days = 1 } } + } + + ## Soviet defensive war while having purge penalty + if = { + limit = { + FROM = { + tag = SOV + OR = { + has_idea = officers_purged + has_idea = officers_purged_2 + has_idea = officers_purged_3 + has_idea = officers_purged_4 + has_idea = officers_purged_5 + has_idea = officers_purged_6 + has_idea = officers_purged_7 + has_idea = officers_purged_8 + has_idea = officers_purged_9 + has_idea = officers_purged_10 + } + NOT = { has_idea = SOV_great_patriotic_war } + NOT = { has_idea = SOV_great_patriotic_war_2 } + NOT = { has_idea = SOV_great_patriotic_war_3 } + NOT = { has_idea = SOV_great_patriotic_war_4 } + NOT = { has_idea = SOV_great_patriotic_war_5 } + } + ROOT = { is_major = yes } + } + SOV = { country_event = { id = soviet.46 days = 2 } } + } + + ## Soviet war after purge + if = { + limit = { + OR = { + FROM = { tag = SOV } + ROOT = { tag = SOV } + } + SOV = { + NOT = { has_country_flag = SOV_war_since_purge } + has_completed_focus = SOV_great_purge + } + } + SOV = { set_country_flag = SOV_war_since_purge } + } + + # Remove pact opinion modifiers if at war with Germany + if = { + limit = { + tag = GER + FROM = { + OR = { + has_opinion_modifier = anti_comintern_pact_opinion + has_opinion_modifier = tripartite_pact_opinion + has_idea = anti_soviet_pact + } + } + } + FROM = { + remove_opinion_modifier = { target = GER modifier = anti_comintern_pact_opinion } + remove_opinion_modifier = { target = GER modifier = tripartite_pact_opinion } + remove_ideas = anti_soviet_pact + } + } + #Germany has started a war - allies should try to contain Germany + if = { + limit = { + ROOT = { + TAG = GER + } + NOT = { + has_global_flag = GER_has_started_war + } + } + set_global_flag = GER_has_started_war + } + + + + #Call Anti-Soviet pact members to war + if = { + limit = { + ROOT = { tag = SOV } + FROM = { has_idea = anti_soviet_pact } + } + FROM = { + country_event = { id = germany.84 days = 1 } + } + } + + #Remove MEFO bills if Germany goes to war + if = { + limit = { + ROOT = { tag = GER } + ROOT = { GER_has_mefo_bills = yes } + } + ROOT = { + country_event = { id = wtt_germany.61 } + } + } + + #Remove MEFO bills if Germany is declared war on + if = { + limit = { + FROM = { tag = GER } + FROM = { GER_has_mefo_bills = yes } #TODO_WTT_CD_MEFO_REWORK + NOT = { ROOT = { original_tag = GER } } + } + FROM = { + country_event = { id = wtt_germany.61 } + } + } + + #Remove previous ideology civil war faction from Democratic Germany faction and add Democratic civil war faction to Germany's faction + if = { + limit = { + FROM = { + is_in_faction_with = GER + # has_civil_war = yes + NOT = { has_government = democratic } + } + has_government = democratic + GER = { has_government = democratic } + } + FROM = { set_country_flag = GER_civil_war_target } + GER = { remove_from_faction = FROM } + GER = { add_to_faction = ROOT } + GER = { country_event = wtt_germany.52 } + } + + #If prepared by siphoning equipment, receive equipment back + if = { + limit = { + FROM = { + has_civil_war = yes + has_country_flag = siphoned_equipment_stockpiles_for_civil_war + } + has_civil_war = yes + } + FROM = { + clr_country_flag = siphoned_equipment_stockpiles_for_civil_war + add_equipment_to_stockpile = { + type = infantry_equipment + amount = 1000 + } + } + } + + #If prepared with surprise attack plan, get bonus + if = { + limit = { + FROM = { + has_civil_war = yes + has_country_flag = formulated_surprise_attack_plan_for_civil_war + } + has_civil_war = yes + } + FROM = { + clr_country_flag = formulated_surprise_attack_plan_for_civil_war + add_timed_idea = { + idea = civil_war_surprise_attack_plan + days = 30 + } + } + } + + if = { + limit = { + FROM = { + has_civil_war = yes + original_tag = SPR + } + has_civil_war = yes + original_tag = SPR + + } + random_country = { + limit = { + original_tag = FRA + has_completed_focus = FRA_support_the_right + } + country_event = { id = france.32 } + } + } + } + } + + # When a new faction is formed + on_faction_formed = { + effect = { + news_event = { id = news.159 } + } + } + + # ROOT is capitulated country, FROM is winner + on_capitulation = { + effect = { + if = { + limit = { + NOT = { original_tag = GER } + NOT = { has_government = fascism } + NOT = { has_civil_war = yes } + } + } + news_event = { id = country_capitulated.0 days = 0 } + if = { + limit = { + original_tag = POL + has_government = neutrality + } + retire_country_leader = yes + } + if = { + limit = { + original_tag = YUG + } + # remove_ideas = YUG_idea_economic_aid + } + if = { + limit = { + original_tag = HOL + has_country_flag = netherlands_refused_return_kaiser + FROM = { + original_tag = GER + has_country_flag = germany_war_return_kaiser + has_government = neutrality + } + } + FROM = { country_event = { id = wtt_germany.6 } } + } + if = { + limit = { + original_tag = DEN + } + country_event = { id = wtt_denmark.1 days = 1 } + } + } + } + + # ROOT is previously capitulated country + on_uncapitulation = { + effect = { + if = { + limit = { + original_tag = FRA + has_government = democratic + is_puppet = no + } + drop_cosmetic_tag = yes + } + } + } + + on_government_change = { + effect = { + #Make sure Soviet can always create factions + if = { + limit = { + original_tag = SOV + NOT = { has_government = communism } + } + set_rule = { can_create_factions = yes } + } + if = { + limit = { has_government = democratic } + if = { + limit = { has_idea = democratic_opposition_voicing_protests } + remove_ideas = democratic_opposition_voicing_protests + } + if = { + limit = { has_idea = democratic_revolutionaries } + remove_ideas = democratic_revolutionaries + } + if = { + limit = { has_idea = reign_of_terror } + remove_ideas = reign_of_terror + } + } + if = { + limit = { has_government = communism } + if = { + limit = { TAG = SAF } + set_cosmetic_tag = SAF_COM + } + if = { + limit = { has_idea = communist_partisans_recruiting } + remove_ideas = communist_partisans_recruiting + } + if = { + limit = { has_idea = communist_revolutionaries } + remove_ideas = communist_revolutionaries + } + if = { + limit = { has_idea = communism_defeated } + remove_ideas = communism_defeated + } + + #Remove anti_soviet_pact + if = { + limit = { has_idea = anti_soviet_pact } + remove_ideas = anti_soviet_pact + } + } + if = { + limit = { has_government = fascism } + if = { + limit = { has_idea = fascist_assault_divisions } + remove_ideas = fascist_assault_divisions + } + if = { + limit = { has_idea = fascist_revolutionaries } + remove_ideas = fascist_revolutionaries + } + if = { + limit = { has_idea = fascism_defeated } + remove_ideas = fascism_defeated + } + if = { + limit = { has_idea = anti_nazi_coup } + remove_ideas = anti_nazi_coup + } + } + #Replace the following two with events for SOV if they are not communist. + #if = { + # limit = { + # OR = { + # has_idea = trotskyite_plot + # has_idea = trotskyite_plot_purged + # } + # NOT = { + # has_civil_war = yes + # } + # } + # country_event = { id = soviet.54 } + #} + } + } + + on_coup_succeeded = { + effect = { + #Turn elections on for democracies created from coup + random_other_country = { + limit = { + has_government = democratic + original_tag = ROOT + } + set_politics = { + elections_allowed = yes + } + } + } + } + + #ROOT is winner #FROM gets annexed - This will also fire on_annex + on_civil_war_end = { + effect = { + + #End of SCW + if = { + limit = { + FROM = { + original_tag = SPR + } + ROOT = { + original_tag = SPR + has_government = fascism + } + } + add_timed_idea = { idea = SPA_recovering_from_civil_war days = 1825 } + } + #End of SCW + if = { + limit = { + FROM = { + original_tag = SPR + } + } + ROOT = { + set_country_flag = achievement_won_spanish_civil_war + } + } + if = { + limit = { + has_government = democratic + } + set_politics = { + elections_allowed = yes + } + } + #End of German Civil War + if = { + limit = { + FROM = { + original_tag = GER + has_government = fascism + } + original_tag = GER + has_government = neutrality + } + set_global_flag = { flag = civil_war_olympics value = 1 days = 30 } + country_event = { id = wtt_germany.18 days = 1 } + } + + #End of ideology Civil War + if = { + limit = { + has_country_flag = ideology_civil_war + } + country_event = { id = generic.11 days = 1 } + } + } + } + + #used when puppeting in a peace conference + #ROOT = nation being puppeted, FROM = overlord + + on_puppet = { + effect = { + if = { + limit = { + OR = { + original_tag = DDR + original_tag = WGR + original_tag = GER + } + has_government = communism + has_country_leader = { name = "Wilhelm Pieck" } + FROM = { + original_tag = SOV + has_government = communism + has_country_leader = { name = "Joseph Stalin" } # Would look silly if Trotsky released Stalin's Puppet + } + } + add_country_leader_trait = stalins_puppet + } + } + } + + #used when puppeting through the occupied territories menu during peace time (or when releasing from non-core but owned territory, f.e. Britain releasing Egypt) + #ROOT = nation being released, FROM = overlord + + on_release_as_puppet = { + effect = { + if = { + limit = { + OR = { + original_tag = DDR + original_tag = WGR + original_tag = GER + } + has_government = communism + has_country_leader = { name = "Wilhelm Pieck" } + FROM = { + original_tag = SOV + has_government = communism + has_country_leader = { name = "Joseph Stalin" } # Would look silly if Trotsky released Stalin's Puppet + } + } + add_country_leader_trait = stalins_puppet + } + } + } + + #ROOT is winner #FROM gets annexed - For civil wars on_civil_war_end is also fired + on_annex = { + effect = { + + } + } + + #Not run on a specific country. + on_startup = { + effect = { + + } + } + + on_unit_leader_created = { + effect = { + } + } + + #ROOT is new controller #FROM is old controller #FROM.FROM is state ID + on_state_control_changed = { + effect = { + if = { + limit = { + tag = GER + divisions_in_state = { state = FROM.FROM size > 0 } + FROM = { + original_tag = GER + has_government = fascism + has_civil_war = yes + } + } + FROM.FROM = { + set_state_flag = nazi_state_withdrawn + random_list = { + 20 = { + set_state_flag = nazi_state_withdrawn1 + } + 20 = { + set_state_flag = nazi_state_withdrawn2 + } + 20 = { + set_state_flag = nazi_state_withdrawn3 + } + 20 = { + set_state_flag = nazi_state_withdrawn4 + } + 20 = { + set_state_flag = nazi_state_withdrawn5 + } + } + state_event = { id = wtt_germany.49 trigger_for = controller } + } + } + if = { + limit = { + tag = GER + 64 = { is_controlled_by = GER } + any_other_country = { + original_tag = GER + has_government = fascism + has_civil_war = yes + owns_state = 64 + } + NOT = { has_global_flag = fall_of_berlin_civil_war } + } + set_global_flag = fall_of_berlin_civil_war + country_event = { id = wtt_germany.50 days = 1 random = 3 } + } + } + } + + on_unit_leader_level_up = { + effect = { + + } + } + + # From is owner country + on_army_leader_daily = { + effect = { + if = { + limit = { + check_variable = { random < 0.02 } + NOT = { has_trait = sick } + set_temp_variable = { temp = sum_unit_terrain_modifier@sickness_chance } + divide_temp_variable = { temp = num_units } + check_variable = { temp > 0.75 } + NOT = { has_unit_leader_flag = recently_sick } + } + add_timed_unit_leader_trait = { + trait = sick + days = 30 + } + unit_leader_event = { id = generic.17 } + } + } + } + + # From is owner country + on_army_leader_won_combat = { + effect = { + if = { + limit = { + set_temp_variable = { chance = 0.001 } + set_temp_variable = { factor = 1.0 } + add_to_temp_variable = { factor = leader_modifier@wounded_chance_factor } + multiply_temp_variable = { chance = factor } + check_variable = { random < chance } + NOT = { has_trait = wounded } + } + add_timed_unit_leader_trait = { + trait = wounded + days = 90 + } + unit_leader_event = { id = generic.18 } + } + } + } + + # From is owner country + on_army_leader_lost_combat = { + effect = { + if = { + limit = { + set_temp_variable = { chance = 0.005 } + set_temp_variable = { factor = 1.0 } + add_to_temp_variable = { factor = leader_modifier@wounded_chance_factor } + multiply_temp_variable = { chance = factor } + check_variable = { random < chance } + NOT = { has_trait = wounded } + } + add_timed_unit_leader_trait = { + trait = wounded + days = 90 + } + unit_leader_event = { id = generic.18 } + } + } + } + + + on_army_leader_promoted = { + effect = { + add_timed_unit_leader_trait = { + trait = recently_promoted + days = 100 + } + } + } +} diff --git a/mod/thegreatwar/common/on_actions/01_tfv_on_actions.txt b/mod/thegreatwar/common/on_actions/01_tfv_on_actions.txt new file mode 100755 index 000000000..8545dd249 --- /dev/null +++ b/mod/thegreatwar/common/on_actions/01_tfv_on_actions.txt @@ -0,0 +1,361 @@ +on_actions = { + on_capitulation = { + effect = { + if = { + limit = { + ROOT = { + original_tag = INS + NOT = { has_government = fascism } + } + FROM = { + original_tag = INS + has_government = fascism + controls_state = 334 + controls_state = 673 + controls_state = 669 + controls_state = 668 + controls_state = 738 + controls_state = 667 + controls_state = 672 + controls_state = 335 + } + } + AST = { + country_event = { id = tfv_australia.41 } + } + } + if = { + limit = { + ROOT = { + original_tag = FRA + has_government = democratic + } + } + set_cosmetic_tag = FRA_FREE + } + } + + } + + #ROOT is subject FROM is previous overlord + on_subject_free = { + effect = { + if = { + limit = { + NOT = { + AND = { + TAG = SAF + has_government = communism #communist SAF gets cosmetic tag to allow recruitment of black generals. If they go communist before breaking free, they would lose the cosmetic tag. + } + } + } + drop_cosmetic_tag = yes + } + + if = { + limit = { + TAG = INS + } + retire_country_leader = yes + } + if = { + limit = { + TAG = MAL + } + retire_country_leader = yes + } + + if = { + limit = { + has_idea = RAJ_marginalized_muslim_community_happy + } + RAJ = { + release = PAK + } + } + + if = { + limit = { + original_tag = RAJ + } + remove_ideas = { + RAJ_quit_india_movement + RAJ_marginalized_muslim_community + RAJ_marginalized_muslim_community_angry + RAJ_marginalized_muslim_community_happy + RAJ_princely_states + RAJ_princely_states_donations + RAJ_princely_states_donations_troops + } + } + + #Achievement + if = { + limit = { + FROM = { + original_tag = SAF + } + } + if = { + limit = { + tag = ANG + } + set_country_flag = SAF_released_ANG + } + if = { + limit = { + tag = MZB + } + set_country_flag = SAF_released_MZB + } + if = { + limit = { + tag = BOT + } + set_country_flag = SAF_released_BOT + } + if = { + limit = { + tag = ZIM + } + set_country_flag = SAF_released_ZIM + } + if = { + limit = { + tag = KEN + } + set_country_flag = SAF_released_KEN + } + if = { + limit = { + tag = COG + } + set_country_flag = SAF_released_COG + } + } + + #Achievement + if = { + limit = { tag = EGY } + set_country_flag = achievement_EGY_free + log = EGY_free + } + } + } + + #ROOT is subject FROM is overlord + on_subject_autonomy_level_change = { + effect = { + #Achievement + if = { + limit = { tag = EGY } + if = { + limit = { has_autonomy_state = autonomy_colony } + set_country_flag = achievement_EGY_colony + log = EGY_colony + } + if = { + limit = { has_autonomy_state = autonomy_dominion } + set_country_flag = achievement_EGY_dominion + log = EGY_dominion + } + } + + #Add to commonwealth tech group + if = { + limit = { + OR = { + has_autonomy_state = autonomy_colony + has_autonomy_state = autonomy_dominion + } + OVERLORD = { is_in_tech_sharing_group = commonwealth_research } + } + add_to_tech_sharing_group = commonwealth_research + } + + if = { + limit = { + tag = RAJ + has_autonomy_state = autonomy_dominion + } + set_politics = { + ruling_party = democratic + elections_allowed = yes + } + add_popularity = { + ideology = neutrality + popularity = -1 + } + } + } + } + + #ROOT is subject FROM is overlord + on_subject_annexed = { + + } + + #used when puppeting in a peace conference + #ROOT = nation being puppeted, FROM = overlord + on_puppet = { + effect = { + if = { + limit = { + has_dlc = "Death or Dishonor" + tag = HUN + FROM = { + has_country_flag = HUN_ROM_puppet_war #Romania only + } + } + ROM = { set_country_flag = ROM_HUN_aligned } + } + if = { + limit = { + AND = { + OR = { + TAG = SOV + TAG = GER + } + SOV = { has_idea = SOV_molotov_ribbentrop_pact } + } + } + SOV = { remove_ideas = SOV_molotov_ribbentrop_pact } #the pact is OFF if one of them is a puppet + } + if = { + limit = { + AND = { + TAG = USA + is_subject_of = ENG + } + } + set_cosmetic_tag = USA_UK + } + if = { + limit = { + AND = { + TAG = USA + is_subject_of = SAF + SAF = { has_idea = SAF_king_edward } + } + } + set_cosmetic_tag = USA_SAF_EDW + } + if = { + limit = { + AND = { + TAG = UKR + is_subject_of = GER + } + } + set_cosmetic_tag = UKR_GER + } + if = { + limit = { + AND = { + TAG = UKR + is_subject_of = SOV + SOV = { has_government = communism } + } + } + set_cosmetic_tag = UKR_SOV + } + if = { + limit = { + AND = { + TAG = BLR + is_subject_of = GER + } + } + set_cosmetic_tag = BLR_GER + } + if = { + limit = { + AND = { + TAG = CZE + SLO = { exists = yes } + } + } + CZE = { set_cosmetic_tag = CZE_ONLY } #cosmetic tag for CZE if Slovakia exists + } + } + } + + #used when puppeting through the occupied territories menu during peace time (or when releasing from non-core but owned territory, f.e. Britain releasing Egypt) + #ROOT = nation being released, FROM = overlord + on_release_as_puppet = { + effect = { + if = { + limit = { + has_dlc = "Death or Dishonor" + tag = HUN + FROM = { + has_country_flag = HUN_ROM_puppet_war #Romania only + } + } + ROM = { set_country_flag = ROM_HUN_aligned } + } + if = { + limit = { + AND = { + TAG = USA + is_subject_of = ENG + } + } + set_cosmetic_tag = USA_UK + } + if = { + limit = { + AND = { + TAG = UKR + is_subject_of = GER + } + } + set_cosmetic_tag = UKR_GER + } + if = { + limit = { + AND = { + TAG = UKR + is_subject_of = SOV + SOV = { has_government = communism } + } + } + set_cosmetic_tag = UKR_SOV + } + if = { + limit = { + AND = { + TAG = BLR + is_subject_of = GER + } + } + set_cosmetic_tag = BLR_GER + } + if = { + limit = { + AND = { + TAG = CZE + SLO = { exists = yes } + } + } + CZE = { set_cosmetic_tag = CZE_ONLY } #cosmetic tag for CZE if Slovakia exists + } + } + } + + #ROOT is free nation FROM is releaser + on_release_as_free = { + effect = { + if = { + limit = { + AND = { + TAG = CZE + SLO = { exists = yes } + } + } + CZE = { set_cosmetic_tag = CZE_ONLY } #cosmetic tag for CZE if Slovakia exists + } + } + } + +} \ No newline at end of file diff --git a/mod/thegreatwar/common/on_actions/02_dod_on_actions.txt b/mod/thegreatwar/common/on_actions/02_dod_on_actions.txt new file mode 100755 index 000000000..b07a67612 --- /dev/null +++ b/mod/thegreatwar/common/on_actions/02_dod_on_actions.txt @@ -0,0 +1,126 @@ +on_actions = { + + #FROM is war target + on_declare_war = { + effect = { + + #Powder keg ach + if = { + limit = { + tag = YUG + OR = { + is_in_faction_with = GER + is_in_faction_with = ENG + } + FROM = { + OR = { + tag = GER + tag = ENG + } + } + } + set_country_flag = YUG_delcared_war_on_axis_allies + } + + #Make sure Horthy or Franz does not go to war against himself. + #Remove fascist sympaty trait if neutral Horthy at war with fascists + if = { + limit = { + original_tag = HUN + FROM = { original_tag = HUN } + OR = { + has_government = fascism + FROM = { has_government = fascism } + } + } + + #Neutral Horthy no longer likes fascist if a civil war breaks out because of them + if = { + limit = { + has_country_leader = { id = 500 } #Horthy Neutral + } + remove_country_leader_trait = fascist_sympathies + } + FROM = { + if = { + limit = { + has_country_leader = { id = 500 } #Horthy Neutral + } + remove_country_leader_trait = fascist_sympathies + } + } + + #If Fascist Horthy or Nazi Franz is leading a fascist side. Get rid of the neutral guy. + if = { + limit = { + AND = { + FROM = { + has_country_leader = { id = 502 } #Nazi Franz + } + has_country_leader = { id = 501 } #Neutral Franz + } + } + retire_country_leader = yes + #Neutral Horthy no longer likes fascist if a civil war breaks out because of them + if = { + limit = { + has_country_leader = { id = 500 } #Horthy Neutral + } + remove_country_leader_trait = fascist_sympathies + } + } + if = { + limit = { + has_country_leader = { id = 502 } #Nazi Franz + FROM = { has_country_leader = { id = 501 } } #Neutral Franz + } + FROM = { + retire_country_leader = yes + #Neutral Horthy no longer likes fascist if a civil war breaks out because of them + if = { + limit = { + has_country_leader = { id = 500 } #Horthy Neutral + } + remove_country_leader_trait = fascist_sympathies + } + } + } + + if = { + limit = { + AND = { + FROM = { + has_country_leader = { id = 503 } #Horthy fascist + } + has_country_leader = { id = 500 } #Horthy Neutral + } + } + retire_country_leader = yes + } + + if = { + limit = { + has_country_leader = { id = 503 } #Horthy fascist + FROM = { has_country_leader = { id = 500 } } #Horthy Neutral + } + FROM = { retire_country_leader = yes } + } + } + } + } + + #ROOT is new controller #FROM is old controller #FROM.FROM is state ID + on_state_control_changed = { + effect = { + if = { + limit = { + FROM.FROM = { is_core_of = ROM } + } + FROM = { + set_country_flag = ROM_lost_starting_state + } + } + } + } + +} \ No newline at end of file diff --git a/mod/thegreatwar/common/on_actions/03_wtt_on_actions.txt b/mod/thegreatwar/common/on_actions/03_wtt_on_actions.txt new file mode 100755 index 000000000..e69de29bb diff --git a/mod/thegreatwar/common/scripted_localisation/WTT_china_political_struggle_localisation.txt b/mod/thegreatwar/common/scripted_localisation/WTT_china_political_struggle_localisation.txt new file mode 100755 index 000000000..e69de29bb diff --git a/mod/thegreatwar/common/scripted_triggers/PRC_scripted_triggers.txt b/mod/thegreatwar/common/scripted_triggers/PRC_scripted_triggers.txt new file mode 100755 index 000000000..e69de29bb diff --git a/mod/thegreatwar/events/NewsEvents.txt b/mod/thegreatwar/events/NewsEvents.txt index afff60fe4..5f282702b 100755 --- a/mod/thegreatwar/events/NewsEvents.txt +++ b/mod/thegreatwar/events/NewsEvents.txt @@ -1,3990 +1 @@ -########################### -# News Events -########################### - -add_namespace = news - -# Games of the XI Olympiad -news_event = { - id = news.66 - title = news.66.t - desc = news.66.d - picture = GFX_news_event_olympics_1940 - - major = yes - - trigger = { - date > 1936.8.15 - NOT = { has_global_flag = olympics_1936 } - country_exists = GER - country_exists = USA - GER = { has_war = no } - FRA = { has_war = no } - ENG = { has_war = no } - USA = { has_war = no } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - set_global_flag = olympics_1936 - } - - option = { - name = news.66.a - trigger = { - NOT = { TAG = GER } - } - } - option = { - name = news.66.b - trigger = { TAG = GER } - } -} - -# Games of the XII Olympiad (Tokyo) -news_event = { - id = news.67 - title = news.67.t - desc = news.67.d - picture = GFX_news_event_070 - - major = yes - - trigger = { - date > 1940.10.5 - has_global_flag = olympics_1936 - NOT = { - has_global_flag = olympics_jap_1940 - has_global_flag = olympics_fin_1940 - } - country_exists = JAP - country_exists = USA - country_exists = GER - GER = { has_war = no } - FRA = { has_war = no } - ENG = { has_war = no } - USA = { has_war = no } - JAP = { has_war = no } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - set_global_flag = olympics_jap_1940 - } - - option = { - name = news.66.a - } -} - -# Games of the XII Olympiad (Helsinki) -news_event = { - id = news.68 - title = news.67.t - desc = news.68.d - picture = GFX_news_event_069 - - major = yes - - trigger = { - date > 1940.8.3 - has_global_flag = olympics_1936 - NOT = { - has_global_flag = olympics_jap_1940 - has_global_flag = olympics_fin_1940 - } - country_exists = FIN - country_exists = USA - country_exists = GER - country_exists = ITA - JAP = { has_war = yes } - FIN = { has_war = no } - ITA = { has_war = no } - SOV = { has_war = no } - GER = { has_war = no } - FRA = { has_war = no } - ENG = { has_war = no } - USA = { has_war = no } - } - - mean_time_to_happen = { - days = 2 - } - - immediate = { - set_global_flag = olympics_fin_1940 - } - - option = { - name = news.66.a - } -} - -# The Fall of Paris (Germany) -news_event = { - id = news.101 - title = news.101.t - desc = news.101.d - picture = GFX_news_event_german_soldiers - - major = yes - - trigger = { - 16 = { is_controlled_by = GER } - 16 = { is_owned_by = FRA } - FRA = { has_war_with = GER } - NOT = { has_global_flag = fall_of_paris_ger } - } - - immediate = { - set_global_flag = fall_of_paris_ger - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.101.a - trigger = { - NOT = { - TAG = GER - TAG = FRA - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.100.c - trigger = { TAG = FRA } - } -} - -# The Fall of London (Germany) -news_event = { - id = news.102 - title = news.102.t - desc = news.102.d - picture = GFX_news_event_soldiers_marching - - major = yes - - trigger = { - 126 = { is_controlled_by = GER } - 126 = { is_owned_by = FRA } - GER = { has_war_with = FRA } - NOT = { has_global_flag = fall_of_london_ger } - } - - immediate = { - set_global_flag = fall_of_london_ger - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.145.a - trigger = { - NOT = { - TAG = GER - TAG = ENG - } - } - } - option = { - name = news.100.b - trigger = { TAG = GER } - } - option = { - name = news.100.c - trigger = { TAG = ENG } - } -} - -# Komet Sighted -news_event = { - id = news.156 - title = news.156.t - desc = news.156.d - picture = GFX_news_event_komet - - #major = yes - - fire_only_once = yes - - trigger = { - tag = GER - has_tech = rocket_engines - } - - mean_time_to_happen = { - days = 2 - } - - option = { - name = news.156.a - custom_effect_tooltip = news.156.a.tt - } -} - -news_event = { - id = news.172 - title = news.172.t - desc = news.172.d - - picture = GFX_news_event_009 - - major = yes - - is_triggered_only = yes - - option = { - name = news.172.a - trigger = { - TAG = GER - } - } - option = { - name = news.172.b - trigger = { - NOT = { TAG = GER } - NOT = { TAG = GRE } - is_in_faction_with = GER - } - } - option = { - name = news.172.c - trigger = { - NOT = { TAG = GER } - NOT = { is_in_faction_with = GER } - is_in_faction = yes - NOT = { tag = GRE } - } - } - option = { - name = news.172.e - trigger = { - NOT = { TAG = GER } - is_in_faction = no - NOT = { tag = GRE } - } - } - option = { - name = news.172.f - trigger = { - tag = GRE - } - } -} - -news_event = { - id = news.173 - title = news.173.t - picture = GFX_news_event_023 - - fire_only_once = yes - - trigger = { - SOV = { - OR = { - has_completed_focus = SOV_great_purge - NOT = { has_country_flag = SOV_purge_started } - } - has_government = communism - } - date > 1938.9.1 - } - - immediate = { - set_global_flag = SOV_fourth_international_fired - - # Set flag for amount of purges (completing focus counts as 1) - SOV = { - #1 - if = { - limit = { - has_completed_focus = SOV_great_purge - has_country_flag = no_political_purge - has_country_flag = purge_1_no_purge - has_country_flag = purge_2_no_purge - } - set_country_flag = SOV_purged_1 - } - #2 - if = { - limit = { - has_completed_focus = SOV_great_purge - OR = { - AND = { - NOT = { has_country_flag = no_political_purge } - has_country_flag = purge_1_no_purge - has_country_flag = purge_2_no_purge - } - AND = { - has_country_flag = no_political_purge - NOT = { has_country_flag = purge_1_no_purge } - has_country_flag = purge_2_no_purge - } - AND = { - has_country_flag = no_political_purge - has_country_flag = purge_1_no_purge - NOT = { has_country_flag = purge_2_no_purge } - } - } - } - set_country_flag = SOV_purged_2 - } - #3 - if = { - limit = { - has_completed_focus = SOV_great_purge - OR = { - AND = { - NOT = { has_country_flag = no_political_purge } - NOT = { has_country_flag = purge_1_no_purge } - has_country_flag = purge_2_no_purge - } - AND = { - has_country_flag = no_political_purge - NOT = { has_country_flag = purge_1_no_purge } - NOT = { has_country_flag = purge_2_no_purge } - } - AND = { - NOT = { has_country_flag = no_political_purge } - has_country_flag = purge_1_no_purge - NOT = { has_country_flag = purge_2_no_purge } - } - } - } - set_country_flag = SOV_purged_3 - } - #4 - if = { - limit = { - SOV = { - has_completed_focus = SOV_great_purge - NOT = { has_country_flag = no_political_purge } - NOT = { has_country_flag = purge_1_no_purge } - NOT = { has_country_flag = purge_2_no_purge } - } - } - set_country_flag = SOV_purged_4 - } - } - } - - mean_time_to_happen = { days = 1 } - - desc = { - #not enough ppl killed - text = news.173.d_1 - trigger = { - SOV = { - OR = { - NOT = { has_completed_focus = SOV_great_purge } - has_country_flag = no_political_purge - has_country_flag = purge_1_no_purge - has_country_flag = purge_2_no_purge - } - } - } - } - desc = { - text = news.173.d_2 - trigger = { - SOV = { - has_completed_focus = SOV_great_purge - NOT = { has_country_flag = no_political_purge } - NOT = { has_country_flag = purge_1_no_purge } - NOT = { has_country_flag = purge_2_no_purge } - } - } - } - - option = { - name = news.173.a - trigger = { NOT = { tag = SOV } } - } - option = { - name = news.173.b - trigger = { tag = SOV } - } -} - - -#FROM pursues nuclear technology -news_event = { - id = news.174 - title = news.174.t - picture = GFX_news_event_069 - desc = news.174.d - - major = yes - - is_triggered_only = yes - - #We should follow this development. - option = { - name = news.174.a - trigger = { - NOT = { - is_in_faction_with = FROM - has_war_with = FROM - tag = FROM - } - } - } - - #Let us hope their research bears fruit. - option = { - name = news.174.b - trigger = { - is_in_faction_with = FROM - NOT = { - tag = FROM - } - } - } - - #It will never amount to anything. - option = { - name = news.174.c - trigger = { - has_war_with = FROM - } - } - - #We will conduct our research in secret. - option = { - name = news.174.e - trigger = { - tag = FROM - } - } -} - - -#France joins Britain -news_event = { - id = news.175 - title = news.175.t - picture = GFX_news_event_churchill_degaulle - desc = news.175.d - - major = yes - - is_triggered_only = yes - - #We stand together. - option = { - name = news.175.a - trigger = { - OR = { - tag = ENG - tag = FRA - } - } - } - - #They are preparing for the worst. - option = { - name = news.175.b - trigger = { - FRA = { - has_war = no - } - NOT = { - OR = { - tag = FRA - tag = ENG - tag = GER - } - } - } - } - - #Banding together like cornered rats. - option = { - name = news.175.c - trigger = { - OR = { - tag = GER - has_war_with = FRA - } - } - } - - #Britain has thrown in their lot. - option = { - name = news.175.e - trigger = { - FRA = { - has_war = yes - } - NOT = { - has_war_with = FRA - } - NOT = { - OR = { - tag = FRA - tag = ENG - tag = GER - } - } - } - } -} - - - -#Britain rejects French alliance -news_event = { - id = news.176 - title = news.176.t - picture = GFX_news_event_churchill_degaulle - desc = news.176.d - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #They should have asked more nicely. - option = { - name = news.176.a - trigger = { - tag = ENG - } - } - - #Our old enemies stand divided. - option = { - name = news.176.b - trigger = { - tag = GER - } - } - - #A dark day for the old allies. - option = { - name = news.176.b - trigger = { - NOT = { - OR = { - tag = ENG - tag = GER - } - } - } - } -} - -#The Little Entente -news_event = { - id = news.177 - title = news.177.t - desc = news.177.d - picture = GFX_news_event_057 - - major = yes - - is_triggered_only = yes - - #Don't come crying to us later, then! - option = { - name = news.177.a - trigger = { - tag = ENG - } - } - - #Vive la France! - option = { - name = news.177.b - trigger = { - tag = FRA - } - } - - #We must never again let France have hegemony in Europe. - option = { - name = news.177.c - trigger = { - OR = { - tag = GER - tag = ITA - AND = { - original_tag = SPR - has_government = fascism - } - tag = SOV - } - } - } - - #Europe must unite against Fascist aggressors! - option = { - name = news.177.e - trigger = { - tag = CZE - NOT = { - has_government = fascism - } - } - } - - #European tension is growing. - option = { - name = news.177.f - trigger = { - NOT = { - tag = GER - tag = ITA - tag = SOV - AND = { - original_tag = SPR - NOT = { - has_government = fascism - } - } - tag = FRA - tag = ENG - AND = { - tag = CZE - has_government = fascism - } - } - } - } -} - - -#The Left Ascendant in France -news_event = { - id = news.178 - title = news.178.t - desc = news.178.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #France is with us towards the future! - option = { - name = news.178.a - trigger = { - has_government = communism - } - } - - #A sure sign of French weakness. - option = { - name = news.178.b - trigger = { - has_government = fascism - } - } - - #A tragic day for the Third Republic. - option = { - name = news.178.c - trigger = { - has_government = democratic - } - } - - #A worrisome development. - option = { - name = news.178.e - trigger = { - has_government = neutrality - } - } -} - - -#The Right Ascendant in France -news_event = { - id = news.179 - title = news.179.t - desc = news.179.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #The French government is an enemy of its people! - option = { - name = news.179.a - trigger = { - has_government = communism - } - } - - #This could once again make France a great nation. - option = { - name = news.179.b - trigger = { - has_government = fascism - } - } - - #A tragic day for the Third Republic. - option = { - name = news.179.c - trigger = { - has_government = democratic - } - } - - #A worrisome development. - option = { - name = news.179.e - trigger = { - has_government = neutrality - } - } -} - - -#France Is Welcomed by the Comintern -news_event = { - id = news.180 - title = news.180.t - desc = news.180.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - immediate = { - FRA = { - save_event_target_as = France - } - } - - #United towards the World Revolution! - option = { - name = news.180.a - trigger = { - OR = { - has_government = communism - tag = FRA - } - } - } - - #Their alliance will crumble soon enough. - option = { - name = news.180.b - trigger = { - has_government = fascism - NOT = { - tag = FRA - } - } - } - - #The enemies of democracy must not be allowed to grow stronger. - option = { - name = news.180.c - trigger = { - has_government = democratic - NOT = { - tag = FRA - } - } - } - - #France has picked her side. - option = { - name = news.180.e - trigger = { - has_government = neutrality - NOT = { - tag = FRA - } - } - } -} - - -#Italy And France Unite -news_event = { - id = news.181 - title = news.181.t - desc = news.181.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - immediate = { - FRA = { - save_event_target_as = France - } - } - - #Together we stand strong! - option = { - name = news.181.a - trigger = { - OR = { - tag = FRA - tag = ITA - } - } - } - - - #The enemies of democracy grow stronger. - option = { - name = news.181.b - trigger = { - NOT = { - tag = FRA - } - NOT = { - tag = ITA - } - has_government = democratic - } - } - - #An unexpected Friendship - option = { - name = news.181.c - trigger = { - NOT = { - tag = FRA - } - NOT = { - tag = ITA - } - NOT = { - has_government = democratic - } - } - } -} - - -#France Joins the [From.GetFaction] (Germany) -news_event = { - id = news.182 - title = news.182.t - desc = news.182.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - immediate = { - FRA = { - save_event_target_as = France - } - } - - #Nothing can threaten the [From.GetFaction]! - option = { - name = news.182.a - trigger = { - is_in_faction_with = GER - } - } - - #The new [From.GetName] looms over Europe. - option = { - name = news.182.b - trigger = { - NOT = { - is_in_faction_with = GER - } - is_in_faction = yes - NOT = { - tag = ENG - } - } - } - - #European diplomacy realigns along the Paris-Berlin Axis. - option = { - name = news.182.c - trigger = { - NOT = { - is_in_faction = yes - } - } - } - - option = { - name = news.182.e - trigger = { - tag = ENG - } - } -} - - -#[From.GetName] Rejects French Offer of Alliance! -news_event = { - id = news.183 - title = news.183.t - desc = news.183.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - immediate = { - FRA = { - save_event_target_as = France - } - } - - #How dare they! - option = { - name = news.183.a - trigger = { - tag = FRA - } - } - - #We can live with them as our enemies. - option = { - name = news.183.b - trigger = { - tag = FROM - } - } - - #As long as they are busy fighting each other... - option = { - name = news.183.c - trigger = { - NOT = { - OR = { - tag = FRA - tag = FROM - } - } - } - } -} - - -#Italy Pursues Closer Bonds With Germany -news_event = { - id = news.184 - title = news.184.t - desc = news.184.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #Our nations share many common interests. - option = { - name = news.184.a - trigger = { - tag = GER - } - } - - #We will keep an eye on the situation. - option = { - name = news.184.b - trigger = { - NOT = { tag = GER } - } - } -} - -#Italy Seeks Extensive Military Pact -news_event = { - id = news.185 - title = news.185.t - desc = news.185.d - picture = GFX_news_053 - - major = yes - - is_triggered_only = yes - - #Italy at the heart of a new power structure. - option = { - name = news.185.a - trigger = { - OR = { - tag = ITA - is_in_faction_with = ITA - } - } - } - - #A new power structure in the Mediterrenean - option = { - name = news.185.b - trigger = { - NOT = { - OR = { - tag = ITA - is_in_faction_with = ITA - } - } - NOT = { - OR = { - tag = YUG - tag = BUL - tag = ALB - } - } - } - } - - option = { - name = news.185.c - trigger = { - NOT = { - is_in_faction_with = ITA - } - OR = { - tag = YUG - tag = BUL - tag = ALB - } - } - } -} - -#Italy Lays Claim to Greek Territory -news_event = { - id = news.186 - title = news.186.t - desc = news.186.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - GRE = { - save_event_target_as = Greece - } - } - - #Italy should be in control of the Aegean - option = { - name = news.186.a - trigger = { - is_in_faction_with = ITA - } - } - - #Outrageous claims! - option = { - name = news.186.b - trigger = { - NOT = { - is_in_faction_with = ITA - } - } - } -} - -#Italy Seeks to Improve Relations With Greece -news_event = { - id = news.187 - title = news.187.t - desc = news.187.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - immediate = { - GRE = { - save_event_target_as = Greece - } - } - - #Surely they share our interests. - option = { - name = news.187.a - trigger = { - is_in_faction_with = ITA - } - } - - #This is not surprising. - option = { - name = news.187.b - trigger = { - NOT = { - is_in_faction_with = ITA - } - } - } - - #We do have much shared history. - option = { - name = news.187.c - trigger = { - NOT = { - is_in_faction_with = ITA - } - tag = GRE - } - } -} - -#Italy Seeks Reconciliation With Turkey -news_event = { - id = news.188 - title = news.188.t - desc = news.188.d - picture = GFX_news_event_french_parade - - major = yes - - is_triggered_only = yes - - trigger = { - NOT = { - OR = { - tag = ITA - tag = TUR - } - } - } - - option = { - name = news.188.a - trigger = { - is_in_faction_with = ITA - } - } - - option = { - name = news.188.b - trigger = { - has_war_with = ITA - } - } - - option = { - name = news.188.c - trigger = { - NOT = { - OR = { - is_in_faction_with = ITA - has_war_with = ITA - } - } - } - } -} - -#Italy Demands Anatolian Naval Bases -news_event = { - id = news.189 - title = news.189.t - desc = news.189.d - picture = GFX_news_event_german_speech - - major = yes - - is_triggered_only = yes - - #This matter was settled! - option = { - name = news.189.a - trigger = { - tag = TUR - } - } - - #We will have what we were promised! - option = { - name = news.189.c - trigger = { - tag = ITA - } - } - - #Their rivalry is intensifying. - option = { - name = news.189.c - trigger = { - NOT ={ - OR = { - tag = ITA - tag = TUR - } - } - } - } -} - -#Spain Cedes the Balearic Islands -news_event = { - id = news.190 - title = news.190.t - desc = news.190.d - picture = GFX_news_event_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - immediate = { - ITA = { - save_event_target_as = Italy - } - } - - #This is an important step towards complete Mediterranean dominance. - option = { - name = news.190.a - trigger = { - tag = ITA - } - } - - # - option = { - name = news.190.b - trigger = { - is_in_faction_with = ITA - } - } - - #Italy is strengthening its grip on the Mediterrenean. - option = { - name = news.190.b - trigger = { - NOT = { - OR = { - tag = FROM - tag = ITA - } - } - } - } - - #A symbol of the \"dear friendship\" between our nations. - option = { - name = news.190.c - trigger = { - tag = FROM - } - } -} - - -#Italy Establishes Alliance With Spain -#news_event = { -# id = news.191 -# title = news.191.t -# desc = news.191.d -# picture = GFX_news_event_french_parade -# -# is_triggered_only = yes -# -# option = { -# name = news.191.a -# } -#} - -#Italy Announces Claims On Yugoslavian Territory -news_event = { - id = news.192 - title = news.192.t - desc = news.192.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #Those are Yugoslavian lands, not Italian! - option = { - name = news.192.a - trigger = { - tag = YUG - } - } - - #They are upsetting the already fragile balance in the region. - option = { - name = news.192.b - trigger = { - NOT = { - OR = { - tag = YUG - tag = ITA - } - } - NOT = { - has_government = fascism - } - } - } - - #Those territories seem more Italian than Yugoslavian. - option = { - name = news.192.c - trigger = { - NOT = { - OR = { - tag = YUG - tag = ITA - } - } - has_government = fascism - } - } -} - -#Italy Establishes Permanent Diplomatic Mission in Yugoslavia -news_event = { - id = news.193 - title = news.193.t - desc = news.193.d - picture = GFX_news_event_yugoslavian_coup - - major = yes - - is_triggered_only = yes - - #Our nations stand together as friends. - option = { - name = news.193.a - trigger = { - OR = { - tag = ITA - tag = YUG - } - } - } - - #There will be peace in the Adriatic. - option = { - name = news.193.b - trigger = { - NOT = { - OR = { - tag = ITA - tag = YUG - } - } - ITA = { - has_war = no - } - } - } - - #It will be interesting to see where this ends. - option = { - name = news.193.c - trigger = { - NOT = { - OR = { - tag = ITA - tag = YUG - } - } - ITA = { - has_war = yes - } - } - } -} - -#Eastern Poland Ceded to the Soviet Union -news_event = { - id = news.194 - title = news.194.t - desc = news.194.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - POL = { - save_event_target_as = Poland - } - } - - #[Poland.GetName] recognises the strength of the [From.GetFactionName]! - option = { - name = news.194.a - trigger = { - is_in_faction_with = SOV - } - } - - #The [From.GetName] consumes everything in its path. - option = { - name = news.194.b - trigger = { - NOT = { - is_in_faction_with = SOV - } - is_in_faction = yes - } - } - - #[Poland.GetName] must have been left with no other choice. - option = { - name = news.194.c - trigger = { - is_in_faction = no - } - } -} - -#Eastern Germany Passed to Poland -news_event = { - id = news.195 - title = news.195.t - desc = news.195.d - picture = GFX_news_event_polish_tanks - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - SOV = { - save_event_target_as = Soviet - } - GER = { - save_event_target_as = Germany - } - } - - #[Soviet.GetName] honors its treaties. - option = { - name = news.195.a - trigger = { - is_in_faction_with = SOV - } - } - - #Let us hope a free Poland can rise from the ashes created by its \"protector.\" - option = { - name = news.195.b - trigger = { - NOT = { - is_in_faction_with = SOV - } - is_in_faction = yes - } - } - - #A geographic shift for Poland. Again. - option = { - name = news.195.c - trigger = { - is_in_faction = no - } - } -} - - -#The Comintern Seeks to Destabilize Western Powers -news_event = { - id = news.196 - title = news.196.t - desc = news.196.d - picture = GFX_news_event_worker_protest - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #Democracy shall never be brought low! - option = { - name = news.196.a - trigger = { - has_government = democratic - } - } - - #A laughable effort! - option = { - name = news.196.b - trigger = { - has_government = fascism - } - } - - #Rise, brothers and sisters! - option = { - name = news.196.c - trigger = { - has_government = communism - } - } - - #The clash of ideologies is the last battle of civilizations. - option = { - name = news.196.e - trigger = { - has_government = neutrality - } - } -} - - -#[From.GetName] Gives in to [Soviet.GetAdjective] Ultimatum -news_event = { - id = news.197 - title = news.197.t - desc = news.197.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - SOV = { - save_event_target_as = Soviet - } - } - - #They should be pleased we offered them such good terms. - option = { - name = news.197.a - trigger = { - tag = SOV - } - } - - #The [Soviet.GetName] must be stopped! - option = { - name = news.197.b - trigger = { - NOT = { - tag = SOV - } - has_war_with = SOV - } - } - - #The [Soviet.GetName] is positioning to enter the Mediterranean. - option = { - name = news.197.c - trigger = { - NOT = { - tag = SOV - has_war_with = SOV - } - } - } -} - -#Greece Resists Soviet Ultimatum -news_event = { - id = news.198 - title = news.198.t - desc = news.198.d - picture = GFX_news_event_020 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - SOV = { - save_event_target_as = Soviet - } - } - - #Then the time for talk is over. - option = { - name = news.198.a - trigger = { - tag = SOV - } - } - - #The warmongers of [Soviet.GetName] must be stopped! - option = { - name = news.198.b - trigger = { - NOT = { - tag = SOV - } - has_war_with = SOV - NOT = { - is_in_faction_with = GRE - } - } - } - - #This was their ultimatum. Greece must prepare for war. - option = { - name = news.198.c - trigger = { - NOT = { - tag = SOV - has_war_with = SOV - } - NOT = { - is_in_faction_with = GRE - } - } - } - - #We stand with [From.GetName] - option = { - name = news.198.e - trigger = { - is_in_faction_with = GRE - } - } -} - - -#[Romania.GetName] Cedes Bessarabia to the [From.GetName] -news_event = { - id = news.199 - title = news.199.t - desc = news.199.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - ROM = { - save_event_target_as = Romania - } - } - - #This is essential to the [From.GetAdjective] strategy. - option = { - name = news.199.a - trigger = { - is_in_faction_with = SOV - } - } - - #The countries of the world must face the evil of the [From.GetName]! - option = { - name = news.199.b - trigger = { - has_war_with = SOV - } - } - - #[Romania.GetName] is in an unfortunate position. - option = { - name = news.199.c - trigger = { - NOT = { - is_in_faction_with = SOV - } - NOT = { - has_war_with = SOV - } - } - } -} - -#Germany Exerts Influence Over Czechoslovakia -news_event = { - id = news.200 - title = news.200.t - desc = news.200.d - picture = GFX_news_event_hitler_speech - - major = yes - - is_triggered_only = yes - - immediate = { - CZE = { - save_event_target_as = Czech - } - } - - #German friendship is preferable to German overlordship. - option = { - name = news.200.a - trigger = { - tag = CZE - } - } - - #The Czech have always been friends of the Germans. - option = { - name = news.200.b - trigger = { - tag = GER - } - } - - #The [From.GetName] continues to expand their sphere of influence unabated. - option = { - name = news.200.c - trigger = { - OR = { - has_government = democratic - has_government = communism - } - NOT = { - OR = { - tag = GER - tag = CZE - tag = ENG - } - } - } - } - - #Peace for our time? - option = { - name = news.200.e - trigger = { - NOT = { - OR = { - has_government = democratic - has_government = communism - } - } - NOT = { - OR = { - tag = GER - tag = CZE - tag = ENG - } - } - } - } - - #Great news for when [Root.GetLeader] returns from vacation in Munich! - option = { - name = news.200.f - trigger = { - tag = ENG - } - } -} - - -#Germany Puppets Turkey -news_event = { - id = news.201 - title = news.201.t - desc = news.201.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - immediate = { - GER = { - save_event_target_as = Germany - } - SOV = { - save_event_target_as = Soviet - } - } - - trigger = { - NOT = { - tag = TUR - } - } - - #The new Turkish government secures our competitiveness in the Mediterranean. - option = { - name = news.201.a - trigger = { - tag = GER - } - } - - #This terrible force is felling countries like dominoes. - option = { - name = news.201.b - trigger = { - OR = { - has_war_with = GER - has_war_with = SOV - } - } - } - - #[From.GetName] couldn't resist the strength of the [Germany.GetFactionName]. - option = { - name = news.201.c - trigger = { - is_in_faction_with = GER - NOT = { - OR = { - tag = GER - tag = SOV - } - } - } - } - - #The alliance is strengthening our position and remains highly beneficial. For now. - option = { - name = news.201.e - trigger = { - tag = SOV - } - } - - #Turkey has fallen victim to the predatory [Germany.GetFactionName]. - option = { - name = news.201.f - trigger = { - NOT = { - is_in_faction_with = GER - } - NOT = { - OR = { - tag = GER - tag = SOV - } - } - } - } -} - - - - - -#Danzig For Slovakia -news_event = { - id = news.202 - title = news.202.t - desc = news.202.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - POL = { - save_event_target_as = Poland - } - } - - #A fair exchange to correct the mistakes of Versailles. - option = { - name = news.202.a - trigger = { - is_in_faction_with = GER - } - } - - #Cooperation makes us stronger than conflict does. - option = { - name = news.202.b - trigger = { - is_in_faction_with = POL - NOT = { - is_in_faction_with = GER - } - } - } - - #This is a blatant breach of Versailles! - option = { - name = news.202.c - trigger = { - OR = { - tag = ENG - tag = FRA - } - } - } - - #Conflict over Danzig has been averted. - option = { - name = news.202.e - trigger = { - NOT = { - OR = { - tag = ENG - tag = FRA - } - } - NOT = { - is_in_faction_with = POL - } - NOT = { - is_in_faction_with = GER - } - } - } -} - -#Danzig Ceded -news_event = { - id = news.203 - title = news.203.t - desc = news.203.d - picture = GFX_news_events_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.203.a - trigger = { - has_government = democratic - NOT = { - is_in_faction_with = GER - } - } - } - - option = { - name = news.203.b - trigger = { - is_in_faction_with = GER - } - } - - option = { - name = news.203.c - trigger = { - has_government = neutrality - NOT = { - is_in_faction_with = GER - } - } - } - - option = { - name = news.203.e - trigger = { - has_government = communism - NOT = { - is_in_faction_with = GER - } - } - } -} - - -#Poland Refuses to Cede Danzig -news_event = { - id = news.204 - title = news.204.t - desc = news.204.d - picture = GFX_news_event_polish_tanks - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - #They have ignored every warning! - option = { - name = news.204.a - trigger = { - is_in_faction = yes - NOT = { - is_in_faction_with = GER - } - NOT = { - is_in_faction_with = POL - } - } - } - - # - option = { - name = news.204.b - trigger = { - is_in_faction_with = GER - } - } - - #Together we must stop this aggressor! - option = { - name = news.204.c - trigger = { - is_in_faction_with = POL - } - } - - #This is a grave situation. - option = { - name = news.204.e - trigger = { - is_in_faction = no - } - } -} - - -#Pax Americana -news_event = { - id = news.205 - title = news.205.t - desc = { - text = news.205.d_america - trigger = { - has_country_flag = monroe_doctrine - } - } - desc = { - text = news.205.d_not_america - trigger = { - NOT = { - has_country_flag = monroe_doctrine - } - } - } - picture = GFX_news_event_soldiers_marching - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.205.a - trigger = { - has_country_flag = monroe_doctrine - } - } - - option = { - name = news.205.b - trigger = { - is_in_faction_with = USA - NOT = { - has_country_flag = monroe_doctrine - } - } - } - - option = { - name = news.205.c - trigger = { - has_war_with = USA - } - } - - option = { - name = news.205.e - trigger = { - NOT = { - OR = { - is_in_faction_with = USA - has_war_with = USA - has_country_flag = monroe_doctrine - } - } - } - } -} - -#US Aims for the Empire -news_event = { - id = news.206 - title = news.206.t - desc = { - text = news.206.d_communist - trigger = { - has_government = communism - } - } - desc = { - text = news.206.d_not_communist - trigger = { - NOT = { - has_government = communism - } - } - } - picture = GFX_news_event_006 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.206.a - trigger = { - has_government = communism - } - } - - option = { - name = news.206.b - trigger = { - OR = { - tag = ENG - is_puppet_of = ENG - } - not = { - has_government = communism - } - } - } - - option = { - name = news.206.c - trigger = { - has_government = democratic - NOT = { - OR = { - tag = ENG - is_puppet_of = ENG - } - } - } - } - - option = { - name = news.206.e - trigger = { - has_government = fascism - NOT = { - OR = { - tag = ENG - is_puppet_of = ENG - } - } - } - } - - option = { - name = news.206.f - trigger = { - has_government = neutrality - } - } -} - -#US Seeks to Dismantle the Comintern -news_event = { - id = news.207 - title = news.207.t - desc = { - text = news.207.d_fascism - trigger = { - has_government = fascism - } - } - desc = { - text = news.207.d_not_fascism - trigger = { - NOT = { - has_government = fascism - } - } - } - picture = GFX_news_event_021 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.207.a - trigger = { - has_government = fascism - NOT = { - is_in_faction_with = SOV - } - } - } - - option = { - name = news.207.b - trigger = { - has_government = communism - NOT = { - is_in_faction_with = SOV - } - } - } - - option = { - name = news.207.c - trigger = { - is_in_faction_with = SOV - } - } - - option = { - name = news.207.e - trigger = { - NOT = { - has_government = fascism - is_in_faction_with = USA - } - } - } - - option = { - name = news.207.f - trigger = { - NOT = { - has_government = fascism - } - is_in_faction_with = USA - } - } -} - -#Japan Embraces Nanshin-ron -news_event = { - id = news.208 - title = news.208.t - desc = news.208.d - picture = GFX_news_event_020 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.208.a - trigger = { - OR = { - tag = ENG - tag = FRA - tag = HOL - } - } - } - - option = { - name = news.208.b - trigger = { - tag = USA - } - } - - option = { - name = news.208.c - trigger = { - tag = SOV - } - } - - option = { - name = news.208.e - trigger = { - NOT = { - OR = { - tag = ENG - tag = FRA - tag = HOL - tag = USA - tag = SOV - } - } - } - } -} - -#Japanese Embraces Hokushin-ron -news_event = { - id = news.209 - title = news.209.t - desc = news.209.d - picture = GFX_news_event_041 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.209.a - trigger = { - OR = { - tag = ENG - tag = FRA - tag = HOL - } - } - } - - option = { - name = news.209.b - trigger = { - tag = USA - } - } - - option = { - name = news.209.c - trigger = { - tag = SOV - } - } - - option = { - name = news.209.e - trigger = { - NOT = { - OR = { - tag = ENG - tag = FRA - tag = HOL - tag = USA - tag = SOV - } - } - } - } -} - -#Japan Puppets China -news_event = { - id = news.210 - title = news.210.t - desc = news.210.d - picture = GFX_news_event_040 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.210.a - trigger = { - is_in_faction_with = JAP - } - } - - option = { - name = news.210.b - trigger = { - tag = SOV - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.210.c - trigger = { - OR = { - tag = USA - tag = ENG - tag = FRA - } - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.210.e - trigger = { - NOT = { - OR = { - tag = USA - tag = ENG - tag = FRA - tag = SOV - } - } - NOT = { - is_in_faction_with = JAP - } - } - } -} - -#Japan Claims Hegemony Over East Asia -news_event = { - id = news.211 - title = news.211.t - desc = news.211.d - picture = GFX_news_event_048 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.211.a - trigger = { - is_in_faction_with = JAP - } - } - - option = { - name = news.211.b - trigger = { - tag = GER - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.211.c - trigger = { - tag = SOV - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.211.e - trigger = { - tag = USA - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.211.f - trigger = { - OR = { - tag = ENG - tag = FRA - tag = HOL - tag = RAJ - } - NOT = { - is_in_faction_with = JAP - } - } - } - - option = { - name = news.211.g - trigger = { - NOT = { - OR = { - tag = GER - tag = SOV - tag = USA - tag = ENG - tag = FRA - tag = HOL - tag = RAJ - } - } - NOT = { - is_in_faction_with = JAP - } - } - } -} - -#Japan Moves Closer to Germany -news_event = { - id = news.212 - title = news.212.t - desc = { - text = news.212.d_axis - trigger = { - OR = { - tag = GER - is_in_faction_with = GER - } - } - } - desc = { - text = news.212.d_not_axis - trigger = { - NOT = { - OR = { - tag = GER - is_in_faction_with = GER - } - } - } - } - picture = GFX_news_event_hitler_handshake - - major = yes - - is_triggered_only = yes - - option = { - name = news.212.a - trigger = { - OR = { - tag = GER - is_in_faction_with = GER - } - NOT = { - has_war_with = JAP - } - } - } - - option = { - name = news.212.b - trigger = { - OR = { - has_war_with = JAP - has_war_with = GER - } - } - } - - option = { - name = news.212.c - trigger = { - NOT = { - OR = { - tag = GER - is_in_faction_with = GER - } - } - NOT = { - OR = { - has_war_with = GER - has_war_with = JAP - } - } - } - } -} - - -#US Aims to Stop Fascism -news_event = { - id = news.213 - title = news.213.t - desc = { - text = news.213.d_peace - trigger = { - NOT = { - USA = { - has_war_with = GER - } - } - } - } - desc = { - text = news.213.d_war - trigger = { - OR = { - USA = { - has_war_with = GER - } - any_country = { - is_in_faction_with = USA - has_war_with = GER - } - } - } - } - picture = GFX_news_event_005 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.213.a - trigger = { - tag = GER - } - } - - option = { - name = news.213.b - trigger = { - is_in_faction_with = GER - NOT = { - tag = GER - } - } - } - - option = { - name = news.213.c - trigger = { - has_war_with = GER - } - } - - option = { - name = news.213.e - trigger = { - NOT = { - tag = GER - } - NOT = { - is_in_faction_with = GER - } - NOT = { - has_war_with = GER - } - } - } -} - -#Poland Seeks Baltic Cooperation -news_event = { - id = news.214 - title = news.214.t - desc = { - text = news.214.d_baltic - trigger = { - OR = { - tag = EST - tag = LAT - tag = LIT - } - } - } - desc = { - text = news.214.d_not_baltic - trigger = { - NOT = { - OR = { - tag = EST - tag = LAT - tag = LIT - } - } - } - } - picture = GFX_news_event_polish_army - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.214.a - trigger = { - NOT = { - OR = { - tag = EST - tag = LAT - tag = LIT - tag = GER - tag = SOV - } - } - } - } - - option = { - name = news.214.b - trigger = { - tag = SOV - } - } - - option = { - name = news.214.c - trigger = { - tag = GER - } - } - - option = { - name = news.214.e - trigger = { - OR = { - tag = EST - tag = LAT - tag = LIT - } - } - } -} - - -#Anti-Soviet Pact -news_event = { - id = news.215 - title = news.215.t - desc = { - text = news.215.d_soviet - trigger = { - tag = SOV - } - } - desc = { - text = news.215.d_not_soviet - trigger = { - NOT = { - tag = SOV - } - } - } - picture = GFX_news_event_hitler_handshake - - major = yes - - is_triggered_only = yes - - option = { - name = news.215.a - trigger = { - has_idea = anti_soviet_pact - } - } - - option = { - name = news.215.b - trigger = { - has_government = communism - NOT = { - has_idea = anti_soviet_pact - } - } - } - - option = { - name = news.215.c - trigger = { - NOT = { - OR = { - has_government = communism - has_idea = anti_soviet_pact - } - } - } - } -} - -#Turkey Resists German Ultimatum -news_event = { - id = news.216 - title = news.216.t - desc = news.216.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.216.a - trigger = { - has_war_with = GER - NOT = { - is_in_faction_with = TUR - } - } - } - - option = { - name = news.216.b - trigger = { - is_in_faction_with = TUR - NOT = { - is_in_faction_with = GER - } - } - } - - option = { - name = news.216.c - trigger = { - is_in_faction_with = GER - } - } - - option = { - name = news.216.e - trigger = { - NOT = { - OR = { - is_in_faction_with = GER - is_in_faction_with = TUR - has_war_with = GER - } - } - } - } -} - -#Turkey Joins Allies to Avoid Ultimatum -news_event = { - id = news.217 - title = news.217.t - desc = news.217.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.217.a - trigger = { - is_in_faction_with = TUR - } - } - - option = { - name = news.217.b - trigger = { - has_war_with = GER - NOT = { - is_in_faction_with = TUR - } - } - } - - option = { - name = news.217.c - trigger = { - OR = { - tag = GER - is_in_faction_with = GER - } - } - } - - option = { - name = news.217.e - trigger = { - NOT = { - OR = { - tag = GER - is_in_faction_with = GER - is_in_faction_with = TUR - has_war_with = GER - } - } - } - } -} - -#No bananas -news_event = { - id = news.218 - title = news.218.t - desc = news.218.d - picture = GFX_news_event_worker_protests - - trigger = { - tag = ENG - OR = { - has_idea = war_economy - has_idea = tot_economic_mobilisation - } - any_country = { - is_major = yes - has_war_with = ENG - } - controls_state = 126 - } - - mean_time_to_happen = { - months = 160 - } - - fire_only_once = yes - - option = { - name = news.218.a - } -} - -#Soviet Union's Great Purge -news_event = { - id = news.219 - title = news.219.t - desc = news.219.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.219.a - trigger = { - has_government = communism - } - } - - option = { - name = news.219.b - trigger = { - has_government = fascism - } - } - - option ={ - name = news.219.c - trigger = { - NOT = { - OR = { - has_government = fascism - has_government = communism - } - } - } - } -} - -#Officers Revolt in the Soviet Union -news_event = { - id = news.220 - title = news.220.t - desc = news.220.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.220.a - trigger = { - has_government = communism - NOT = { - tag = SOV - } - NOT = { - has_war_with = SOV - } - } - } - - option = { - name = news.220.b - trigger = { - original_tag = SOV - } - } - - option = { - name = news.220.c - trigger = { - has_war_with = SOV - NOT = { - original_tag = SOV - } - } - } - - option = { - name = news.220.e - trigger = { - has_government = fascism - NOT = { - original_tag = SOV - } - NOT = { - has_war_with = SOV - } - } - } - - option = { - name = news.220.f - trigger = { - NOT = { - OR = { - has_government = communism - has_government = fascism - original_tag = SOV - has_war_with = SOV - } - } - } - } -} - -#Trotsky Strikes Back -news_event = { - id = news.221 - title = news.221.t - desc = news.221.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.221.a - trigger = { - OR = { - has_government = communism - } - } - } - - option = { - name = news.221.b - trigger = { - NOT = { - has_government = communism - } - NOT = { - tag = MEX - } - } - } - - option = { - name = news.221.c - trigger = { - tag = MEX - } - } -} - -#UK Plans Scandinavian Intervention -news_event = { - id = news.222 - title = news.222.t - desc = news.222.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.222.a - trigger = { - tag = ENG - } - } - - option = { - name = news.222.b - trigger = { - OR = { - tag = NOR - tag = SWE - tag = DEN - } - NOT = { - is_in_faction_with = FRA - } - } - } - - option = { - name = news.222.c - trigger = { - is_in_faction_with = FRA - NOT = { - OR = { - tag = ENG - } - } - } - } - - option = { - name = news.222.e - trigger = { - is_in_faction = yes - NOT = { - is_in_faction_with = FRA - } - NOT = { - OR = { - tag = SWE - tag = NOR - tag = DEN - } - } - } - } - - option = { - name = news.222.f - trigger = { - NOT = { - OR = { - tag = ENG - tag = DEN - tag = NOR - tag = SWE - is_in_faction_with = FRA - is_in_faction = yes - } - } - } - } -} - -#UK Plans Intervention in the Benelux -news_event = { - id = news.223 - title = news.223.t - desc = news.223.d - picture = GFX_news_event_journalists_speech - - major = yes - - is_triggered_only = yes - - option = { - name = news.223.a - trigger = { - tag = ENG - } - } - - option = { - name = news.223.b - trigger = { - OR = { - tag = BEL - tag = HOL - tag = LUX - } - } - } - - option = { - name = news.223.c - trigger = { - is_in_faction_with = FRA - NOT = { - tag = ENG - } - } - } - - option = { - name = news.223.e - trigger = { - is_in_faction = yes - NOT = { - is_in_faction_with = FRA - } - NOT = { - OR = { - tag = BEL - tag = HOL - tag = LUX - } - } - } - } - - option = { - name = news.223.f - trigger = { - NOT = { - OR = { - tag = ENG - tag = BEL - tag = HOL - tag = LUX - is_in_faction_with = FRA - is_in_faction = yes - } - } - } - } -} - - -#British Influence on Spain -news_event = { - id = news.224 - title = news.224.t - desc = news.224.d - picture = GFX_news_event_generic_sign_treaty2 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - immediate = { - hidden_effect = { - random_country = { - limit = { - original_tag = SPR - } - save_event_target_as = Spain - } - } - } - - option = { - name = news.224.a - trigger = { - original_tag = SPR - } - } - - option = { - name = news.224.b - trigger = { - NOT = { - original_tag = SPR - } - OR = { - has_government = fascism - has_government = communism - } - } - } - - option = { - name = news.224.c - trigger = { - NOT = { - OR = { - original_tag = SPR - has_government = fascism - has_government = communism - } - } - } - } -} - - - - -#British Influence on Turkey -news_event = { - id = news.225 - title = news.225.t - desc = news.225.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.225.a - trigger = { - tag = TUR - } - } - - option = { - name = news.225.b - trigger = { - NOT = { - tag = TUR - } - OR = { - has_government = fascism - has_government = communism - } - } - } - - option = { - name = news.225.c - trigger = { - NOT = { - OR = { - tag = TUR - has_government = fascism - has_government = communism - } - } - } - } -} - -#British Influence on Greece -news_event = { - id = news.226 - title = news.226.t - desc = news.226.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.226.a - trigger = { - tag = GRE - } - } - - option = { - name = news.226.b - trigger = { - NOT = { - tag = GRE - } - OR = { - has_government = fascism - has_government = communism - } - } - } - - option = { - name = news.226.c - trigger = { - NOT = { - OR = { - tag = GRE - has_government = fascism - has_government = communism - } - } - } - } -} - -news_event = { - id = news.227 - title = news.227.t - desc = news.227.d - picture = GFX_news_event_generic_sign_treaty1 - - fire_only_once = yes - - trigger = { - tag = USA - has_war_with = GER - divisions_in_state = { - state = 64 - size > 0 - } - NOT = { - GER = { - has_capitulated = yes - } - } - NOT = { - SOV = { - divisions_in_state = { - state = 64 - size > 0 - } - } - } - } - - mean_time_to_happen = { - months = 60 - } - - option = { - name = news.227.a - } -} - - -#British Diplomatic Balkan Strategy -news_event = { - id = news.228 - title = news.228.t - desc = news.228.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.228.a - trigger = { - OR = { - tag = YUG - tag = GRE - tag = ROM - } - NOT = { - is_in_faction_with = GER - } - } - } - - option = { - name = news.228.b - trigger = { - OR = { - is_in_faction_with = GER - AND = { - tag = GER - NOT = { - is_in_faction_with = FRA - } - } - AND = { - tag = ITA - NOT = { - is_in_faction_with = FRA - } - } - AND = { - tag = BUL - NOT = { - is_in_faction_with = FRA - } - } - AND = { - tag = HUN - NOT = { - is_in_faction_with = FRA - } - } - } - } - } - - option = { - name = news.228.c - trigger = { - OR = { - is_in_faction_with = FRA - tag = ENG - } - NOT = { - OR = { - tag = YUG - tag = GRE - tag = ROM - } - } - } - } - - option = { - name = news.228.e - trigger = { - NOT = { - OR = { - tag = YUG - tag = HUN - tag = GRE - tag = ROM - tag = BUL - tag = GER - tag = ENG - } - } - } - } -} - - -#Greece Refuses Puppeting -news_event = { - id = news.229 - title = news.229.t - desc = news.229.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.229.a - trigger = { - OR = { - tag = ENG - has_war_with = GER - is_in_faction_with = FRA - } - } - } - - option = { - name = news.229.b - trigger = { - OR = { - is_in_faction_with = GER - has_war_with = GRE - } - } - } - - option = { - name = news.229.c - trigger = { - NOT = { - OR = { - tag = ENG - has_war_with = GER - is_in_faction_with = FRA - is_in_faction_with = GER - has_war_with = GRE - } - } - } - } -} - -#US Supports Democratic Rebellions -news_event = { - id = news.230 - title = news.230.t - desc = news.230.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.230.a - trigger = { - OR = { - tag = MEX - tag = ARG - } - } - } - - option = { - name = news.230.b - trigger = { - tag = USA - } - } - - option = { - name = news.230.c - trigger = { - has_government = democratic - NOT = { - OR = { - tag = USA - tag = MEX - tag = ARG - } - } - } - } - - option = { - name = news.230.e - trigger = { - NOT = { - has_government = democratic - tag = USA - tag = MEX - tag = ARG - } - } - } -} - -#Japan Seeks War in China -news_event = { - id = news.231 - title = news.231.t - desc = news.231.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.231.a - trigger = { - is_independent_china_or_warlord = yes - } - } - - option = { - name = news.231.b - trigger = { - is_independent_china_or_warlord = no - } - } -} - - -#Germany Seeks Scandinavian Support -news_event = { - id = news.232 - title = news.232.t - desc = news.232.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - trigger = { - NOT = { - tag = GER - } - } - - option = { - name = news.232.a - trigger = { - OR = { - tag = DEN - tag = SWE - tag = NOR - } - NOT = { - has_war_with = GER - } - } - } - - option = { - name = news.232.b - trigger = { - has_war_with = GER - } - } - - option = { - name = news.232.c - trigger = { - NOT = { - OR = { - tag = DEN - tag = SWE - tag = NOR - has_war_with = GER - } - } - } - } -} - - -#Germany Plans Northern Intervention -news_event = { - id = news.233 - title = news.233.t - desc = { - text = news.233.d_war - trigger = { - OR = { - NOR = { - has_war_with = GER - } - DEN = { - has_war_with = GER - } - } - } - } - desc = { - text = news.233.d_no_war - trigger = { - NOT = { - OR = { - NOR = { - has_war_with = GER - } - DEN = { - has_war_with = GER - } - } - } - } - } - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - fire_for_sender = no - - option = { - name = news.233.a - trigger = { - OR = { - tag = DEN - tag = NOR - } - } - } - - option = { - name = news.233.b - trigger = { - has_war_with = GER - } - } - - option = { - name = news.233.c - trigger = { - NOT = { - OR = { - tag = DEN - tag = NOR - has_war_with = GER - } - } - } - } -} - - -#Germany Moves to Strike Around Maginot -news_event = { - id = news.234 - title = news.234.t - desc = news.234.d - picture = GFX_news_event_generic_sign_treaty1 - - major = yes - - is_triggered_only = yes - - option = { - name = news.234.a - trigger = { - tag = BEL - tag = LUX - } - } - - option = { - name = news.234.b - trigger = { - OR = { - tag = HOL - is_in_faction_with = BEL - is_in_faction_with = LUX - is_in_faction_with = HOL - } - has_war_with = GER - } - } - - option = { - name = news.234.c - trigger = { - NOT = { - OR = { - tag = HOL - tag = BEL - tag = LUX - is_in_faction_with = HOL - is_in_faction_with = LUX - is_in_faction_with = BEL - } - } - } - } -} - -news_event = { - id = news.235 - title = news.235.t - desc = news.235.d - picture = GFX_news_event_generic_sign_treaty1 - - fire_only_once = yes - - trigger = { - tag = GER - has_government = fascism - has_war_with = USA - divisions_in_state = { - state = 378 - size > 3 - } - NOT = { - OR = { - has_global_flag = chaplin_seized - has_global_flag = chaplin_resistance - } - } - } - - mean_time_to_happen = { - months = 12 - } - - immediate = { - hidden_effect = { - set_global_flag = chaplin_seized - } - } - - option = { - name = news.235.a - } -} - -#Yalta Conference -news_event = { - id = news.236 - title = news.236.t - desc = news.236.d - picture = GFX_news_event_generic_sign_treaty1 - - is_triggered_only = yes - - major = yes - - option = { - name = news.236.a - trigger = { - tag = GER - } - } - - option = { - name = news.236.b - trigger = { - OR = { - event_target:yalta_origin = { - tag = ROOT - } - event_target:yalta_partner = { - tag = ROOT - } - } - } - } - - option = { - name = news.236.c - trigger = { - NOT = { - OR = { - event_target:yalta_origin = { - tag = ROOT - } - event_target:yalta_partner = { - tag = ROOT - } - } - } - has_war_with = GER - } - } - - option = { - name = news.236.e - trigger = { - NOT = { - OR = { - event_target:yalta_origin = { - tag = ROOT - } - event_target:yalta_partner = { - tag = ROOT - } - } - } - NOT = { - has_war_with = GER - } - NOT = { - tag = GER - } - } - } -} \ No newline at end of file + \ No newline at end of file diff --git a/mod/thegreatwar/gfx/entities/planes.gfx b/mod/thegreatwar/gfx/entities/planes.gfx index 3dc5c350e..601baff55 100755 --- a/mod/thegreatwar/gfx/entities/planes.gfx +++ b/mod/thegreatwar/gfx/entities/planes.gfx @@ -264,4 +264,20 @@ objectTypes = { animation = { id = "success" type = "fighter_3_vs_fighter_3_success_animation" } animation = { id = "fail" type = "fighter_3_vs_fighter_3_fail_animation" } } -} + pdxmesh = { + name = "fighter_1_vs_transport_1_mesh" + file = "gfx/models/units/planes/fighter_1_vs_bomber_1.mesh" + animation = { id = "pass" type = "fighter_1_vs_bomber_1_pass_animation" } + animation = { id = "success" type = "fighter_1_vs_bomber_1_success_animation" } + } + pdxmesh = { + name = "transport_1_supplying_mesh" + file = "gfx/models/units/planes/bomber_1_bombing.mesh" + animation = { id = "default" type = "bomber_1_bombing_animation" } + } + pdxmesh = { + name = "transport_3_supplying_mesh" + file = "gfx/models/units/planes/bomber_3.mesh" + animation = { id = "default" type = "bomber_3_bombing_animation" } + } +} \ No newline at end of file diff --git a/mod/thegreatwar/gfx/entities/units_planes.asset b/mod/thegreatwar/gfx/entities/units_planes.asset index b9543dbbd..184fb4054 100755 --- a/mod/thegreatwar/gfx/entities/units_planes.asset +++ b/mod/thegreatwar/gfx/entities/units_planes.asset @@ -913,3 +913,50 @@ entity = { } #scale = 0.5 } + +entity = { + name = "fighter_1_vs_transport_1_entity" + pdxmesh = "fighter_1_vs_transport_1_mesh" + state = { name = "pass" animation = "pass" + event = { time = 2.2 id = d_bomb } + event = { time = 2.5 id = d_idle } + event = { time = 1.9 id = a_fire } + event = { time = 2.2 id = a_idle } + } + state = { name = "success" animation = "success" + event = { time = 1.5 id = a_fire } + event = { time = 1.8 id = a_idle } + + event = { time = 1.7 id = d_crash } + event = { time = 1.9 id = d_idle } + event = { time = 2.4 id = d_crash } + event = { time = 2.7 id = d_idle } + } + #scale = 0.5 +} + +entity = { + name = "transport_1_supplying_entity" + pdxmesh = "transport_1_supplying_mesh" #copy of bombing + state = { name = "default" animation = "default" + event = { time = 3.7 id = a_supply } + event = { time = 4.0 id = a_idle } + } + #scale = 0.5 +} + +entity = { + name = "transport_3_supplying_entity" + pdxmesh = "transport_3_supplying_mesh" #copy of bombing + state = { name = "default" animation = "default" + event = { time = 3.33 id = a_2_supply } + event = { time = 3.43 id = a_2_idle } + + event = { time = 4.0 id = a_1_supply } + event = { time = 4.1 id = a_1_idle } + + event = { time = 4.93 id = a_3_supply } + event = { time = 5.03 id = a_3_idle } + } + #scale = 0.5 +} \ No newline at end of file diff --git a/mod/thegreatwar/gfx/interface/pdx_int_logo.dds b/mod/thegreatwar/gfx/interface/pdx_int_logo.dds index 442d5c2973682d108bb43eef044b5f9f99fd0f56..e0441c72bcc37af1e28dd182d1572764828f0bba 100644 GIT binary patch delta 910 zcmZvaZAg<*6vuZ@J+(4Z*+jv78MCrfY++eB(@;oCGMT-ZrDZXz(Zr(qU?^-9^(Ab< z4O$Kg3@X^d;6Q%ZqR21B_NkHrzeExeLeL9I+5gN2AwBSWo_p>&|Np(`-X}Jc78^<% z@TQRGrW*whVW)2k6LgJ8({4&ROI}Ip)P)wO5;pi&5pt!n(a+9HJEuB>y zFQpa9aH?EFcg5e(=YTQKtfwN$2Kv9kZUc2I4s4`inbIA(Waj85>QuaX3*NRWlgShW zW8fqB23~^^a21pV9<_wI*(om38rrXnOw2}g(Mqx#zcIXqf_rnFOx4mc#rw8VtIA)5 z)GIJMk6(yqM4h7!LU}h3e`{u6y$GipAhfm46No`CSPT|`GurQ>^MP1P9b2}ONAcxG z$g)o%_3v8WrCbNAs8D^vIw75L17{uHA$=4!L6K!gg>;)zMFt%f9UUgC?pQ-XuH7YP z$<1gvzZ_+L&<(OdE%1U6i0jNs8cDV>(IW26E^1dx)**EV{LqOqddA*8;x@Tg+(h{k zq!vzn-(zkl>83;Nl+M-z)TOw;4V%>&m1H&KUTSn=D~&P=;Foh)T7Ui@uM!;@CVR3I zF{{j*wI7ilbyrFNHMqIOcA}jMKWs@h4tPl4z9 LL(LVvly&G2!R+?y delta 484 zcmX>wkNdzp?uHh|Elk346CF6V3(GMTFit=Jn~`JtWO*hQCXm>4MWz