From 8a92102bf8953c698153d240a228beac2a254bda Mon Sep 17 00:00:00 2001 From: Hannah-Dagemark Date: Mon, 15 Jul 2024 01:32:33 +0200 Subject: [PATCH] Jargon 1 --- common/decisions/categories/floddstatt.txt | 32 +++ common/decisions/floddstatt.txt | 255 ++++++++++++++++++ .../on_actions/00_on_actions_floddstatt.txt | 14 + common/opinion_modifiers/floddstatt.txt | 18 ++ common/scripted_effects/floddstatt.txt | 80 ++++++ events/floddstatt_common.txt | 24 ++ localisation/english/decisions_l_english.yml | 140 +--------- 7 files changed, 426 insertions(+), 137 deletions(-) create mode 100644 common/decisions/categories/floddstatt.txt create mode 100644 common/decisions/floddstatt.txt create mode 100644 common/on_actions/00_on_actions_floddstatt.txt create mode 100644 common/opinion_modifiers/floddstatt.txt create mode 100644 common/scripted_effects/floddstatt.txt create mode 100644 events/floddstatt_common.txt diff --git a/common/decisions/categories/floddstatt.txt b/common/decisions/categories/floddstatt.txt new file mode 100644 index 0000000..5c73965 --- /dev/null +++ b/common/decisions/categories/floddstatt.txt @@ -0,0 +1,32 @@ +floddstatt_general = { + + allowed = { + OR = { + original_tag = BOR + original_tag = AVI + original_tag = GRT + original_tag = BRK + original_tag = CUM + original_tag = LAN + } + } + + visible = { + + } + + available = { + + } + + custom_tooltip = { + text = { + localisation_key = "fg_election_desc" + } + } + + priority = 100 + picture = GFX_decision_category_picture + icon = POL_category + visible_when_empty = yes +} \ No newline at end of file diff --git a/common/decisions/floddstatt.txt b/common/decisions/floddstatt.txt new file mode 100644 index 0000000..0068088 --- /dev/null +++ b/common/decisions/floddstatt.txt @@ -0,0 +1,255 @@ +floddstatt_general = { + fg_capital_encouragement = { + available = { + has_idea = floddstatt_leader + } + complete_effect = { + add_political_power = -100 + } + } + + fg_election = { + activation = { + always = no + } + visible = { + always = yes + } + available = { + always = no + } + icon = mission_icon + is_good = yes + days_mission_timeout = 180 + complete_effect = { + add_political_power = 100 + country_event = { id = floddstatt.1 } + } + } + + grt_fg_campaign_across_the_border_ = { + + icon = eng_propaganda_campaigns + + days_remove = 20 + + available = { + FROM = { + has_idea = floddstatt_member + } + OR = { + political_power_daily > 0.25 + has_political_power > 20 + } + } + + visible = { + original_tag = GRT + } + + # target_array = subjects #Turn into some sort of floddstatt list maybe? + + target_trigger = { + FROM = { + has_idea = floddstatt_member + } + } + + complete_effect = { + add_political_power = -5 + flod_grt_support_grow_s = yes + custom_effect_tooltip = flod_add_support_s + } + + modifier = { + political_power_cost = 0.2 + } + + ai_will_do = { + factor = 1 + modifier = { political_power_daily < 0.6 factor = 0} + modifier = { political_power_daily > 1 factor = 0} + } + } + + brk_fg_campaign_across_the_border_ = { + + icon = eng_propaganda_campaigns + + days_remove = 20 + + available = { + FROM = { + has_idea = floddstatt_member + } + OR = { + political_power_daily > 0.25 + has_political_power > 20 + } + } + + visible = { + original_tag = BRK + } + + # target_array = subjects #Turn into some sort of floddstatt list maybe? + + target_trigger = { + FROM = { + has_idea = floddstatt_member + } + } + + complete_effect = { + add_political_power = -5 + flod_brk_support_grow_s = yes + custom_effect_tooltip = flod_add_support_s + } + + modifier = { + political_power_cost = 0.2 + } + + ai_will_do = { + factor = 1 + modifier = { political_power_daily < 0.6 factor = 0} + modifier = { political_power_daily > 1 factor = 0} + } + } + + + cum_fg_campaign_across_the_border_ = { + + icon = eng_propaganda_campaigns + + days_remove = 20 + + available = { + FROM = { + has_idea = floddstatt_member + } + OR = { + political_power_daily > 0.25 + has_political_power > 20 + } + } + + visible = { + original_tag = CUM + } + + # target_array = subjects #Turn into some sort of floddstatt list maybe? + + target_trigger = { + FROM = { + has_idea = floddstatt_member + } + } + + complete_effect = { + add_political_power = -5 + flod_cum_support_grow_s = yes + custom_effect_tooltip = flod_add_support_s + } + + modifier = { + political_power_cost = 0.2 + } + + ai_will_do = { + factor = 1 + modifier = { political_power_daily < 0.6 factor = 0} + modifier = { political_power_daily > 1 factor = 0} + } + } + + lan_fg_campaign_across_the_border_ = { + + icon = eng_propaganda_campaigns + + days_remove = 20 + + available = { + FROM = { + has_idea = floddstatt_member + } + OR = { + political_power_daily > 0.25 + has_political_power > 20 + } + } + + visible = { + original_tag = LAN + } + + # target_array = subjects #Turn into some sort of floddstatt list maybe? + + target_trigger = { + FROM = { + has_idea = floddstatt_member + } + } + + complete_effect = { + add_political_power = -5 + flod_lan_support_grow_s = yes + custom_effect_tooltip = flod_add_support_s + } + + modifier = { + political_power_cost = 0.2 + } + + ai_will_do = { + factor = 1 + modifier = { political_power_daily < 0.6 factor = 0} + modifier = { political_power_daily > 1 factor = 0} + } + } + + avi_fg_campaign_across_the_border_ = { + + icon = eng_propaganda_campaigns + + days_remove = 20 + + available = { + FROM = { + has_idea = floddstatt_member + } + OR = { + political_power_daily > 0.25 + has_political_power > 20 + } + } + + visible = { + original_tag = AVI + } + + # target_array = subjects #Turn into some sort of floddstatt list maybe? + + target_trigger = { + FROM = { + has_idea = floddstatt_member + } + } + + complete_effect = { + add_political_power = -5 + flod_avi_support_grow_s = yes + custom_effect_tooltip = flod_add_support_s + } + + modifier = { + political_power_cost = 0.2 + } + + ai_will_do = { + factor = 1 + modifier = { political_power_daily < 0.6 factor = 0} + modifier = { political_power_daily > 1 factor = 0} + } + } +} \ No newline at end of file diff --git a/common/on_actions/00_on_actions_floddstatt.txt b/common/on_actions/00_on_actions_floddstatt.txt new file mode 100644 index 0000000..fe8481f --- /dev/null +++ b/common/on_actions/00_on_actions_floddstatt.txt @@ -0,0 +1,14 @@ +on_actions = { + on_startup = { + effect = { + every_country = { + limit = { + has_idea = floddstatt_member + } + flod_set_election_standard = yes + country_event = { id = floddstatt.1 } + activate_mission = fg_election + } + } + } +} \ No newline at end of file diff --git a/common/opinion_modifiers/floddstatt.txt b/common/opinion_modifiers/floddstatt.txt new file mode 100644 index 0000000..d9fcc53 --- /dev/null +++ b/common/opinion_modifiers/floddstatt.txt @@ -0,0 +1,18 @@ +opinion_modifiers = { + current_ruler_negative = { + value = -50 + days = 181 + } + long_ruler_negative = { + value = -100 + days = 181 + } + bid_for_change = { + value = 25 + days = 181 + } + moderate_campaign = { + value = 25 + days = 181 + } +} \ No newline at end of file diff --git a/common/scripted_effects/floddstatt.txt b/common/scripted_effects/floddstatt.txt new file mode 100644 index 0000000..9676aab --- /dev/null +++ b/common/scripted_effects/floddstatt.txt @@ -0,0 +1,80 @@ +flod_set_election_standard = { + set_country_flag = flod_elections_in_motion_flag + set_variable = { GRT_ele_support = 1 } + set_variable = { BRK_ele_support = 1 } + set_variable = { CUM_ele_support = 1 } + set_variable = { LAN_ele_support = 1 } + set_variable = { AVI_ele_support = 1 } +} + +### Add Support For Nation In Floddstatt + +# GRT + +flod_grt_support_grow_s = { + add_to_variable = { GRT_ele_support = 1} +} + +flod_grt_support_grow_m = { + add_to_variable = { GRT_ele_support = 3} +} + +flod_grt_support_grow_l = { + add_to_variable = { GRT_ele_support = 5} +} + +# BRK + +flod_brk_support_grow_s = { + add_to_variable = { BRK_ele_support = 1} +} + +flod_brk_support_grow_m = { + add_to_variable = { BRK_ele_support = 3} +} + +flod_brk_support_grow_l = { + add_to_variable = { BRK_ele_support = 5} +} + +# CUM ;3 + +flod_cum_support_grow_s = { + add_to_variable = { CUM_ele_support = 1} +} + +flod_cum_support_grow_m = { + add_to_variable = { CUM_ele_support = 3} +} + +flod_cum_support_grow_l = { + add_to_variable = { CUM_ele_support = 5} +} + +# LAN + +flod_lan_support_grow_s = { + add_to_variable = { LAN_ele_support = 1} +} + +flod_lan_support_grow_m = { + add_to_variable = { LAN_ele_support = 3} +} + +flod_lan_support_grow_l = { + add_to_variable = { LAN_ele_support = 5} +} + +# AVI + +flod_avi_support_grow_s = { + add_to_variable = { AVI_ele_support = 1} +} + +flod_avi_support_grow_m = { + add_to_variable = { AVI_ele_support = 3} +} + +flod_avi_support_grow_l = { + add_to_variable = { AVI_ele_support = 5} +} \ No newline at end of file diff --git a/events/floddstatt_common.txt b/events/floddstatt_common.txt new file mode 100644 index 0000000..3abaace --- /dev/null +++ b/events/floddstatt_common.txt @@ -0,0 +1,24 @@ +add_namespace = floddstatt + +country_event = { + id = floddstatt.1 + title = floddstatt.1.t + desc = floddstatt.1.desc + picture = GFX_report_event_generic_picture + + is_triggered_only = yes + + trigger = { + has_completed_mission = floddstatt_general_fg_vote + } + + immediate = { + # Add any immediate effects here + } + + option = { + name = floddstatt.1.a + flod_set_election_standard = yes + activate_mission = fg_election + } +} \ No newline at end of file diff --git a/localisation/english/decisions_l_english.yml b/localisation/english/decisions_l_english.yml index 75d408f..6f5c477 100644 --- a/localisation/english/decisions_l_english.yml +++ b/localisation/english/decisions_l_english.yml @@ -130,11 +130,6 @@ decision_cost_ie_500_MP_500_CP_25_blocked:0 "£infantry_equipment_text_icon §R500§! £manpower_texticon §R500§! £command_power §R25§!" decision_cost_ie_500_MP_500_CP_25_tooltip:1 "It costs £infantry_equipment_text_icon §Y500§! £manpower_texticon §Y500§! £command_power §Y25§! to take the decision" - RAJ_population_decisions:0 "Rural Industrialization" - RAJ_industrialize_state:0 "Industrialize [FROM.GetName]" - RAJ_industrialize_state_desc:0 "Our nation is once again on the rise. Although the task is great, bringing rural areas into the modern era is sure to pay dividends in the future." - RAJ_industrialized_this_state:0 "§HRural areas already industrialized§!" - RAJ_reduce_agrarian_society_value_tooltip:0 "\n§H$RAJ_agrarian_society$§!\nRecruitable Population Factor: [?RAJ_agrarian_society_increment|+=%]\n" war_propaganda_radio_industry:0 "Radio Propaganda" war_propaganda_radio_industry_desc:0 "Technology has developed to a point where a significant proportion of our population has access to a home radio. State sponsored media is the perfect tool for stoking the war effort in the hearts of our people." war_propaganda_film_industry:0 "[ROOT.GetImportOrDomesticFilmIndustry]" @@ -143,137 +138,8 @@ IMPORTED_FILM_INDUSTRY: "Import Propaganda Films" DOMESTIC_FILM_INDUSTRY_DESC:0 "The [ROOT.GetAdjective] film industry has developed significantly in the last decade. With a population starved for entertainment, we stand to benefit from a cinematic production designed to stir patriotic sentiment." IMPORTED_FILM_INDUSTRY_DESC:0 "Our benefactors and allies are making strategic use of propaganda films. With a little investment, we could screen these productions around our own country in order to stir the war effort amongst our people." - ##Eng films for above - the_lion_has_wings:0 "The Lion Has Wings" - the_battle_of_london:0 "The Battle of London" - queens_messengers:0 "Queen's Messengers" - in_which_we_serve:0 "In Which We Serve" - the_volunteer:0 "The Volunteer" - fires_were_started:0 "Fires Were Started" - ##Aus - men_of_timor:0 "Men of Timor" - soldiers_without_uniform:0 "Soldiers Without Uniform" - mid_east:0 "Mid East" - ##Can - atlantic_patrol:0 "Atlantic Patrol" - front_of_steel:0 "Front of Steel" - home_front:0 "Home Front" - wings_of_youth:0 "Wings of Youth" - all_out_for_war:0 "All Out for War" - banshees_over_canada:0 "Banshees Over Canada" - ##RAJ_agrarian_society$§ - the_planes_of_hindustan:0 "The Planes of Hindustan" - road_to_victory:0 "Road to Victory" - hes_in_the_navy:0 "He's in the Navy" - in_self_defence:0 "In Self Defence" - ##USA - women_in_defense:0 "Women in Defense" - winning_your_wings:0 "Winning Your Wings" - the_world_at_war:0 "The World at War" - mission_accomplished:0 "Mission Accomplished" - the_fleet_that_came_to_stay:0 "The Fleet That Came to Stay" - fury_in_the_pacific:0 "Fury in the Pacific" - its_your_war_too:0 "It's Your War Too" - ##Holland/Belgium - belguique_toujours:0 "Belgique Toujours" - high_stakes_in_the_east:0 "High Stakes in the East" - glorious_colours:0 "Glorious Colours" - litte_belgium:0 "Little Belgium" - ##Sov - for_the_front:0 "For the Front" - the_peoples_avengers:0 "The People's Avengers" - day_of_war:0 "Day of War" - film_motherland:0 "Motherland" - sons_of_the_motherland:0 "Sons of the Motherland" - moscow_strikes_back:0 "Moscow Strikes Back" - ##Ger - fluchtlinge:0 "Fluchtlinge" - film_bismarck:0 "Bismarck" - wunschkonzert:0 "Wunschkonzert" - anschlag_auf_baku:0 "Anschlag Auf Baku" - die_entlassung:0 "Die Entlassung" - besatzung_dora:0 "Besatzung Dora" - opfergang:0 "Opfergang" - panorama:0 "Panorama" - kolberg:0 "Kolberg" - ##Japan - monkey_king:0 "Monkey King" - genghis_khan:0 "Genghis Khan" - vow_in_the_desert:0 "Vow in the Desert" - song_of_the_white_orchid:0 "Song of the White Orchid" - five_scouts:0 "Five Scouts" - fire_on_that_flag:0 "Fire on That Flag!" - ##Ita (hard to find it seems) - condottieri:0 "Condottieri" - scipio_africano:0 "Scipio Africano" - the_man_with_the_cross:0 "The Man With the Cross" - ##Generic - our_war:0 "Our War" - the_war_for_our_existence:0 "The War for our Existence" - war_in_the_skies:0 "War in the Skies" - flags_raised:0 "Flags Raised" - the_day_of_sacrifice:0 "The Day of Sacrifice" - blood_and_toil:0 "Blood and Toil" + ### Floddstatt: - ############### Foreign MIOs ############### - available_mio_tt: "§GAvailable§! as §YMilitary Industrial Organization§!: " - foreign_mio_decisions_category: "Invite Foreign Industries" - invite_GER_henschel_organization: "Invite §Y$GER_henschel_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_SOV_okmo_organization: "Invite §Y$SOV_okmo_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_ENG_vickers_armstrong_eng_organization: "Invite §Y$ENG_vickers_armstrong_eng_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_ITA_fiat_organization: "Invite §Y$ITA_fiat_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_SOV_nevskoye_design_bureau_organization: "Invite §Y$SOV_nevskoye_design_bureau_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_ENG_yarrow_shipbuilders_organization: "Invite §Y$ENG_yarrow_shipbuilders_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_ITA_crda_organization: "Invite §Y$ITA_crda_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_GER_heinkel_organization: "Invite §Y$GER_heinkel_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_ENG_fairey_aviation_organization: "Invite §Y$ENG_fairey_aviation_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_SOV_ilyushin_design_bureau_organization: "Invite §Y$SOV_ilyushin_design_bureau_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_SOV_gaz_organization: "Invite §Y$SOV_gaz_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_GER_opel_organization: "Invite §Y$GER_opel_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_ENG_vauxhall_organization: "Invite §Y$ENG_vauxhall_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_ITA_lancia_organization: "Invite §Y$ITA_lancia_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_CZE_skoda_artillery_organization: "Invite §Y$CZE_skoda_artillery_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_FRA_mas_organization: "Invite §Y$FRA_mas_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_JAP_nissan_organization: "Invite §Y$JAP_nissan_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_CZE_ckd_organization: "Invite §Y$CZE_ckd_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_CZE_skoda_armor_organization: "Invite §Y$CZE_skoda_armor_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_CZE_avia_organization: "Invite §Y$CZE_avia_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_FRA_renault_organization: "Invite §Y$FRA_renault_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_JAP_maizuru_naval_arsenal_organization: "Invite §Y$JAP_maizuru_naval_arsenal_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_JAP_mitsubishi_organization: "Invite §Y$JAP_mitsubishi_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_FRA_bloch_organization: "Invite §Y$FRA_bloch_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_GER_junkers_organization: "Invite §Y$GER_junkers_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_GER_mauser_organization: "Invite §Y$GER_mauser_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_ENG_john_brown_organization: "Invite §Y$ENG_john_brown_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_SWE_landsverk_organization: "Invite §Y$SWE_landsverk_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_SWE_volvo_organization: "Invite §Y$SWE_volvo_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - invite_SWE_bofors_organization: "Invite §Y$SWE_bofors_organization$§! to §Y[ROOT.GetNameWithFlag]§!" - - invites_mio_tt: "\n§YInvites Foreign Military Industrial Organization§!:" - - - ############### Generic Purchase Ship ################ - - generic_purchase_old_ships_category:0 "Naval Procurement" - generic_purchase_old_ships_category_desc:0 "With the world becoming increasingly unstable, we need to expand our naval power projection capabilities. Luckily for us, some of the major navies may be willing to part with their older vessels." - purchase_ships_eng:0 "[ENG.GetFlag] Purchase old [ENG.GetAdjective] Destroyers" - purchase_ships_sov:0 "[SOV.GetFlag] Purchase old [SOV.GetAdjective] Battleships" - purchase_ships_ger:0 "[GER.GetFlag] Purchase old [GER.GetAdjective] U-Boats" - purchase_ships_usa:0 "[USA.GetFlag] Purchase old [USA.GetAdjective] Destroyers" - - #### Generic Refit Civilian Ships #### - generic_refit_civilian_ships_category: "Military Refit for Civilian Ships" - generic_refit_civilian_ships_category_desc: "Our fleet can not realistically hope to compete with the much larger naval forces that threaten us. We must hastily procure a bigger fleet by refitting civilian vessels for military purposes." - refit_to_destroyer: "Refit ships to Destroyers" - refit_to_cruiser: "Refit ships to Cruisers" - - #### Special Forces - diversify_special_forces: "Diversify Elite Forces" - diversify_special_forces_desc: "Our conventional forces simply aren't enough to combat the oncoming storm. We must innovate." - add_potential_special_forces_tree_tt: "Adds §H1§! free Special Forces §HBranch Specialism§!" - - #### Norway Refit Civilian Ships #### - refit_to_destroyer_nor: "Refit Convoys to Destroyers" - refit_to_destroyer_mass_nor: "Refit Convoys to Destroyers En-mass" - nor_building_ship: "Currently Converting Ships" + fg_election_desc:0 "The Floddstatt has long been known for it's decentralized and elective ruling system, whereby the many states are elected and take turns governing the foreign policy and the policies of the union's capital. The elections are held twice a year, and it's up to the individual nations to rally support behind their cause and win the votes of the people! Current support is:\n [GRT.GetName] ([?GRT_ele_support])\n [BRK.GetName] ([?BRK_ele_support])\n [CUM.GetName] ([?CUM_ele_support])\n [LAN.GetName] ([?LAN_ele_support])\n [AVI.GetName] ([?AVI_ele_support])\n" + flod_add_support_s:0 "Add §G1§! support for [ROOT.GetName]" \ No newline at end of file