From 9d053135e82377e61a8e92f077fc9b692cb909d6 Mon Sep 17 00:00:00 2001 From: LinkLuver Date: Fri, 14 Feb 2025 22:39:28 -0600 Subject: [PATCH] some suff --- .../01_invictus_gw_effects.txt | 52 ++++++++++++++++ common/missions/02_parthia_missions.txt | 62 +++++++++++++++++-- events/mission_events/me_parthia.txt | 19 ++++++ .../english/great_works_inv_1_0_l_english.yml | 4 ++ setup/main/00_great_works.txt | 39 +++++++++++- 5 files changed, 169 insertions(+), 7 deletions(-) diff --git a/common/great_work_effects/01_invictus_gw_effects.txt b/common/great_work_effects/01_invictus_gw_effects.txt index 3d1524e03..fa3f55c99 100644 --- a/common/great_work_effects/01_invictus_gw_effects.txt +++ b/common/great_work_effects/01_invictus_gw_effects.txt @@ -267,6 +267,58 @@ gw_effect_apadana_susa = { } } +# Noushijan Fire Temple - Hagmatana +gw_effect_fire_temple = { + icon = "gw_effect_omen_doctrine" + + allow = { + always = no + } + + great_work_tier_effect_modifiers = { + gw_effect_fire_temple_tier_1 = { + great_work_effect_tier = gw_effect_tier_1 + country_modifier = { + happiness_for_wrong_religion_modifier = 0.01 + } + state_modifier = { + religious_tech_investment = 0.01 + local_population_capacity_modifier = 0.025 + } + } + gw_effect_fire_temple_tier_2 = { + great_work_effect_tier = gw_effect_tier_2 + country_modifier = { + happiness_for_wrong_religion_modifier = 0.02 + } + state_modifier = { + religious_tech_investment = 0.02 + local_population_capacity_modifier = 0.02 + } + } + gw_effect_fire_temple_tier_3 = { + great_work_effect_tier = gw_effect_tier_3 + country_modifier = { + happiness_for_wrong_religion_modifier = 0.05 + } + state_modifier = { + religious_tech_investment = 0.05 + local_population_capacity_modifier = 0.03 + } + } + gw_effect_fire_temple_tier_4 = { + great_work_effect_tier = gw_effect_tier_4 + country_modifier = { + happiness_for_wrong_religion_modifier = 0.1 + } + state_modifier = { + religious_tech_investment = 0.1 + local_population_capacity_modifier = 0.1 + } + } + } +} + # Colchis Mission "Legacy of the Sorcer King" - The Palace of Aeetes gw_effect_aeetes_palace = { icon = "gw_effect_noble_pop_doctrine" diff --git a/common/missions/02_parthia_missions.txt b/common/missions/02_parthia_missions.txt index dcd5dd68f..40833e2cb 100644 --- a/common/missions/02_parthia_missions.txt +++ b/common/missions/02_parthia_missions.txt @@ -1386,7 +1386,7 @@ } ## Religious Section 1 ## - parthia_missions_80 = { + parthia_missions_80 = { icon = "task_political" requires = { parthia_missions_8 } highlight = { @@ -1432,6 +1432,11 @@ parthia_missions_81 = { icon = "task_political" requires = { parthia_missions_80 } + highlight = { + scope:province = { + dominant_province_culture = median + } + } allow = { custom_tooltip = { any_integrated_culture = { @@ -1440,19 +1445,51 @@ text = "has_median_integrated_tt" } } - on_start = { - } on_completion = { + trigger_event = me_parthia.81 + } } parthia_missions_82 = { icon = "task_political" requires = { parthia_missions_81 } - on_start = { + highlight = { + scope:province = { + OR = { + is_in_area = persepolis_area + is_in_area = utia_area + is_in_area = veshapur_area + is_in_area = pars_area + } + } + } + allow = { + trigger_if = { + limit = { + any_subject = { + overlord = ROOT + primary_culture = pasargadi + } + } + any_subject = { + overlord = ROOT + primary_culture = pasargadi + tag = PXX #todo , change tag to whatever the persian satrap tag is + opinion = { + target = ROOT + value >= 120 + } + } + } + trigger_else = { + p:4799 = { state_loyalty >= 100 } + p:3400 = { state_loyalty >= 100 } + p:4785 = { state_loyalty >= 100 } + p:4794 = { state_loyalty >= 100 } + } } - on_completion = { } } @@ -1490,6 +1527,21 @@ parthia_missions_86 = { icon = "task_political" requires = { parthia_missions_81 } + highlight = { + scope:province = { + dominant_province_culture = median + dominant_province_religion = mithra_religion + } + } + allow = { + custom_tooltip = { + any_integrated_culture = { + is_culture = median + has_country_culture_modifier = patronizing_literature + } + text = "is_patronizing_culture_median_tt" + } + } on_start = { } diff --git a/events/mission_events/me_parthia.txt b/events/mission_events/me_parthia.txt index 145ffd29b..0a408e2b7 100644 --- a/events/mission_events/me_parthia.txt +++ b/events/mission_events/me_parthia.txt @@ -1670,6 +1670,25 @@ me_parthia.18 = { #lapse of SEL authority; spawn CHA } } +me_parthia.81 = { + type = country_event + + title = me_pentapotamia_6_title + desc = me_pentapotamia_6_desc + picture = greek_philosophers + + option = { + name = "me_pentapotamia_6.a" + custom_tooltip = me_pentapotamia_6_tooltip + random_country_culture = { + limit = { + is_culture = median + } + set_country_culture_right = citizen + } + } +} + me_parthia.1801 = { #lapse of SEL authority; throw out Arethousa type = country_event diff --git a/localization/english/great_works_inv_1_0_l_english.yml b/localization/english/great_works_inv_1_0_l_english.yml index 886f644ee..73b805c5c 100644 --- a/localization/english/great_works_inv_1_0_l_english.yml +++ b/localization/english/great_works_inv_1_0_l_english.yml @@ -67,6 +67,10 @@ wonder_apadana_susa:0 "Apadana of Susa" wonder_apadana_susa_desc:0 "Constructed by Darius I in the Achaemenid Empire’s ceremonial capital, the Apadana of Susa was a grand audience hall epitomizing Persian authority and architectural brilliance." + wonder_media_temple:0 "Great Fire Temple" + wonder_media_temple_desc:0 "The Great Fire Temple of Hagmatana underwent three floors of growth. The first floor under Median rule, the second under the Persians, and third under the Parthians. Sitting in the great city of Medians, it represented the blossoming power of the Iranian people who would forever alter the trajectory of the fertile crescent and her rich history." + gw_effect_fire_temple:0 "Great Fire Temple" + ### Punic ### wonder_cothon:0 "Carthage Great Cothon" diff --git a/setup/main/00_great_works.txt b/setup/main/00_great_works.txt index 4cc438f6d..9664ee7a0 100755 --- a/setup/main/00_great_works.txt +++ b/setup/main/00_great_works.txt @@ -39,10 +39,13 @@ provinces = { } 946={ # Apadana of Susa great_work=25 - } + } 1471 = { # Mliet/Malta - Punic Tomb great_work = 32 } + 1595 = { # Great Fire Temple in Hagmatana + great_work = + } 1981={ great_work=13 } @@ -416,7 +419,39 @@ great_work_manager={ great_work_effect_tier = "gw_effect_tier_4" } } - } + } + + 26 = { + ancient_wonder = yes + key="apadana_susa" + great_work_state=great_work_state_completed + finished_date=450.10.1 + great_work_category="building" + + great_work_name={ + name="wonder_media_temple" + } + great_work_components={ + { + great_work_module = "gw_building_14_base_JULIANOS" + great_work_material = "clay" + } + { + great_work_module = "gw_building_14_pillar_JULIANOS" + great_work_material = "gold" + } + { + great_work_module = "gw_building_11_roof_JULIANOS" + great_work_material = "clay" + } + } + great_work_effect_selections={ + { + great_work_effect="gw_effect_fire_temple" + great_work_effect_tier = "gw_effect_tier_4" + } + } + } 30 = { ancient_wonder = yes