From 97a21eb593aa5d6288f4ee52c51ed11982c41141 Mon Sep 17 00:00:00 2001 From: GoTouchSomeGrass314 Date: Sat, 25 Apr 2026 19:01:13 +0200 Subject: [PATCH] Updated artifacts for 1.19, more artifacts and one decision Added the Crown of St. Stephen and Napoleons Crown of Charlemagne ; Also added the decision to reforge the Crown of St. Wenceslas --- .../visuals/NEOW_artifacts_visuals.txt | 10 +++ common/decisions/NEOW_artifact_decisions.txt | 76 +++++++++++++++++++ .../NEOW_historical_artifact_modifiers.txt | 28 ++++++- ...W_historical_artifacts_creation_effect.txt | 62 ++++++++++++++- .../NEOW_artifact_triggers.txt | 7 +- .../NEOW_historical_artifacts_events.txt | 12 +++ .../artifacts/NEOW_artifacts_l_english.yml | 9 ++- .../replace/zz_NEOW_decisions_l_english.yml | 6 ++ 8 files changed, 201 insertions(+), 9 deletions(-) create mode 100644 common/decisions/NEOW_artifact_decisions.txt diff --git a/common/artifacts/visuals/NEOW_artifacts_visuals.txt b/common/artifacts/visuals/NEOW_artifacts_visuals.txt index 5117b88d..f83c17b8 100644 --- a/common/artifacts/visuals/NEOW_artifacts_visuals.txt +++ b/common/artifacts/visuals/NEOW_artifacts_visuals.txt @@ -2,4 +2,14 @@ default_type = pedestal icon = { reference = artifact_sword_wenceslas.dds } asset = { reference = ep1_northern_sword_01_a_entity } +} + +crown_wenceslas_court = { + icon = "artifact_crown.dds" + default_type = pedestal + pedestal = "tall_pillow" + + asset = { + reference = male_headgear_secular_western_royalty_02_artifact_entity + } } \ No newline at end of file diff --git a/common/decisions/NEOW_artifact_decisions.txt b/common/decisions/NEOW_artifact_decisions.txt new file mode 100644 index 00000000..1f6c9c04 --- /dev/null +++ b/common/decisions/NEOW_artifact_decisions.txt @@ -0,0 +1,76 @@ +reforge_crown_wenceslas_decision = { + picture = { + reference = "gfx/interface/illustrations/decisions/decision_smith.dds" + } + + desc = reforge_crown_wenceslas_decision_desc + decision_group_type = realm + sort_order = 100 + selection_tooltip = reforge_crown_wenceslas_decision_tooltip + cooldown = { days = 1000 } + + is_shown = { + OR = { + any_character_artifact = { + has_variable = crown_wenceslas + } + has_title = title:k_bohemia + } + } + + is_valid = { + has_title = title:k_bohemia + prestige_level >= high_prestige_level + piety_level >= high_piety_level + custom_tooltip = { + text = must_have_crown_wenceslas + any_character_artifact = { + has_name = crown_wenceslas_name + } + } + } + + cost = { + gold = 750 + prestige = 500 + } + + effect = { + if = { + limit = { + has_name = crown_wenceslas_name + } + every_character_artifact = { + limit = { + has_name = crown_wenceslas_name + } + destroy_artifact = this + } + set_artifact_rarity_illustrious = yes + create_artifact = { + name = crown_wenceslas_name + description = crown_wenceslas_reforged_description + modifier = crown_wenceslas_reforged_modifier + template = generic_template + type = pedestal + visuals = crown_wenceslas_court + wealth = scope:wealth + quality = scope:quality + culture = root.culture + decaying = no + save_scope_as = newly_created_artifact + history = { + location = root.capital_province + actor = root + recipient = root + type = created_before_history + } + } + } + } + + ai_check_interval = { 500 } + ai_will_do = { + base = 15 + } +} \ No newline at end of file diff --git a/common/modifiers/NEOW_historical_artifact_modifiers.txt b/common/modifiers/NEOW_historical_artifact_modifiers.txt index 3db30fb9..9590e335 100644 --- a/common/modifiers/NEOW_historical_artifact_modifiers.txt +++ b/common/modifiers/NEOW_historical_artifact_modifiers.txt @@ -1,6 +1,6 @@ crown_wenceslas_modifier = { - court_grandeur_baseline_add = 5 - monthly_piety_gain_mult = 0.10 + court_grandeur_baseline_add = 3 + monthly_piety_gain_mult = 0.05 monthly_dynasty_prestige_mult = 0.02 monthly_prestige_gain_mult = 0.02 vassal_limit = 5 @@ -20,4 +20,28 @@ sword_wenceslas_modifier = { monthly_dynasty_prestige_mult = 0.05 courtier_and_guest_opinion = 5 legitimacy_gain_mult = 0.05 +} + +crown_wenceslas_reforged_modifier = { + vassal_tax_mult = 0.05 + court_grandeur_baseline_add = 5 + monthly_piety_gain_mult = 0.10 + monthly_piety = 0.10 + monthly_dynasty_prestige_mult = 0.05 + monthly_prestige_gain_mult = 0.05 + vassal_limit = 5 +} + +crown_stephen_modifier = { + vassal_limit = 5 + monthly_dynasty_prestige_mult = 0.05 + monthly_prestige_gain_mult = 0.05 + diplomacy_per_piety_level = 1 +} + +crown_charlemagne_modifier = { + vassal_limit = 10 + monthly_dynasty_prestige_mult = 0.03 + monthly_prestige = 0.15 + martial_per_prestige_level = 1 } \ No newline at end of file diff --git a/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt b/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt index 7369c908..afe6b90c 100644 --- a/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt +++ b/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt @@ -38,9 +38,9 @@ create_artifact_crown_wenceslas_effect = { # Crown of Saint Wenceslas name = crown_wenceslas_name description = crown_wenceslas_description modifier = crown_wenceslas_modifier - template = crown_iron_template + template = generic_template type = pedestal - visuals = crown_court + visuals = crown_wenceslas_court wealth = scope:wealth quality = scope:quality decaying = no @@ -140,4 +140,62 @@ create_artifact_codex_gigas_effect = { # Codex Gigas - largest medieval manuscri set_variable = codex_gigas save_scope_as = epic } +} + +create_artifact_crown_stephen_effect = { # Crown of St. Stephen + $OWNER$ = { save_scope_as = owner } + set_artifact_rarity_illustrious = yes + + create_artifact = { + name = crown_stephen_name + description = crown_stephen_description + modifier = crown_stephen_modifier + template = generic_template + type = helmet + visuals = pedestal_justinian + wealth = scope:wealth + quality = scope:quality + decaying = no + save_scope_as = newly_created_artifact + history = { + type = created_before_history + date = 1100.1.1 + location = province:3581 #Višegrad + } + } + + scope:newly_created_artifact = { + set_variable = { name = historical_unique_artifact value = yes } + set_variable = crown_stephen + save_scope_as = epic + } +} + +create_artifact_crown_charlemagne_effect = { # Crown of St. Stephen + $OWNER$ = { save_scope_as = owner } + set_artifact_rarity_illustrious = yes + + create_artifact = { + name = crown_charlemagne_name + description = crown_charlemagne_description + modifier = crown_charlemagne_modifier + template = generic_template + type = helmet + visuals = crown + wealth = scope:wealth + quality = scope:quality + decaying = no + save_scope_as = newly_created_artifact + history = { + type = created_before_history + date = 1804.1.1 + location = province:2333 #Paris + } + } + + scope:newly_created_artifact = { + set_variable = { name = historical_unique_artifact value = yes } + set_variable = crown_charlemagne + save_scope_as = epic + } } \ No newline at end of file diff --git a/common/scripted_triggers/NEOW_artifact_triggers.txt b/common/scripted_triggers/NEOW_artifact_triggers.txt index e8780330..f14ddffe 100644 --- a/common/scripted_triggers/NEOW_artifact_triggers.txt +++ b/common/scripted_triggers/NEOW_artifact_triggers.txt @@ -8,6 +8,7 @@ } } -NEOW_is_czech_king_trigger = { - scope:owner = { has_title = title:k_bohemia } -} \ No newline at end of file +# Doesent Work (for some reason i do not know) +#NEOW_is_czech_king_trigger = { +# scope:owner = { has_title = title:k_bohemia } +#} \ No newline at end of file diff --git a/events/artifacts/NEOW_historical_artifacts_events.txt b/events/artifacts/NEOW_historical_artifacts_events.txt index 8e6eae87..0e96c885 100644 --- a/events/artifacts/NEOW_historical_artifacts_events.txt +++ b/events/artifacts/NEOW_historical_artifacts_events.txt @@ -37,4 +37,16 @@ } } } + + immediate = { + title:d_bacs.holder = { + create_artifact_crown_stephen_effect = { OWNER = this } + } + } + + immediate = { + title:k_france.holder = { + create_artifact_crown_charlemagne_effect = { OWNER = this } + } + } } \ No newline at end of file diff --git a/localization/english/replace/artifacts/NEOW_artifacts_l_english.yml b/localization/english/replace/artifacts/NEOW_artifacts_l_english.yml index afd05f94..1c7a2f9b 100644 --- a/localization/english/replace/artifacts/NEOW_artifacts_l_english.yml +++ b/localization/english/replace/artifacts/NEOW_artifacts_l_english.yml @@ -1,7 +1,12 @@ l_english: crown_wenceslas_name:0 "Crown of St. Wenceslas" - crown_wenceslas_description:0 "Forged in 1346 in Czechia for Emperor Charles IV. After the Event, some of the crown parts went missing, but the crown is still under the protection of the Czech kings and St. Wenceslas himself. \n\nHowever, a legend says those who wear the crown without permission from the saint will die within a year." + crown_wenceslas_description:0 "Forged in 1346 in Czechia for Emperor Charles IV. After [Concept('neow_the_event','the Event')|E], some of the crown parts went missing, but the crown is still under the protection of the Czech kings and St. Wenceslas himself. \n\nHowever, a legend says those who wear the crown without permission from the saint will die within a year." + crown_wenceslas_reforged_description:0 "Forged in 1346 in Czechia for Emperor Charles IV. Now finally brought back to its former glory, after many pieces were replaced, the crown regained its image. Although it still remains under the protection of the Czech kings and St. Wenceslas himself. \n\nHowever, a legend says those who wear the crown without permission from the saint will die within a year." codex_gigas_name:0 "Codex Gigas" codex_gigas_description:0 "Codex Gigas, also known as the "Devil's Bible," is the largest known medieval manuscript. Inside, there is an illustration of the Devil, hence why so many people call it the "Devil's Bible." After the Event, the manuscript was moved from the National Library of Sweden to Stockholm Castle, where it sits to this day." sword_wenceslas_name:0 "Sword of St. Wenceslas" - sword_wenceslas_description:0 "The Sword of St. Wenceslas is a ceremonial sword used during the coronation of the Czech kings. After the Event, the sword was still used in ceremonies to fully legitimize a new Czech king and to secure him blessings from the saint that protects the land." \ No newline at end of file + sword_wenceslas_description:0 "The Sword of St. Wenceslas is a ceremonial sword used during the coronation of the Czech kings. After the Event, the sword was still used in ceremonies to fully legitimize a new Czech king and to secure him blessings from the saint that protects the land." + crown_stephen_name:0 "Crown of St. Stephen" + crown_stephen_description:0 "The Holy Crown of Hungary, also known as the Crown of Saint Stephen, named in honour of Saint Stephen I of Hungary, was the coronation crown used by the Kingdom of Hungary for most of its existence. After [Concept('neow_the_event','the Event')|E], this tradition returned. In order to become the true king of Hungary, one must be crowned with this crown." + crown_charlemagne_name:0 "Napoleon's Crown of Charlemagne" + crown_charlemagne_description:0 "Napoleon's "Crown of Charlemagne" was a 1804 recreation fabricated by goldsmith Martin-Guillaume Biennais for his coronation, designed to evoke the ancient, destroyed Carolingian crown and legitimize his rule. \n\nAfter [Concept('neow_the_event','the Event')|E] it was used by the Bonaparte dynasty to crown the kings and emperors of France." \ No newline at end of file diff --git a/localization/english/replace/zz_NEOW_decisions_l_english.yml b/localization/english/replace/zz_NEOW_decisions_l_english.yml index b7eb8446..c3c77b8a 100644 --- a/localization/english/replace/zz_NEOW_decisions_l_english.yml +++ b/localization/english/replace/zz_NEOW_decisions_l_english.yml @@ -1565,3 +1565,9 @@ set_de_jure_capital_hold_current_capital_tooltip: "Current [de_jure_capital|E] of [current_de_jure.GetName] #weak (#color_white [title_check.GetName]#!)#! is a part of the [realm|E]" set_de_jure_capital_effect_tooltip: "[current_capital_scope.GetName] will be the new [de_jure_capital|E] of [current_de_jure_scope.GetName]" set_de_jure_capital_warning: "$set_de_jure_capital_effect_tooltip$\n@warning_icon! #color_red Will destroy current [duchy_building|E]#!" + + reforge_crown_wenceslas_decision: "Reforge the Crown of St. Wenceslas" + reforge_crown_wenceslas_decision_desc: "Reforge the Crown of St. Wenceslas, which has been dismanteled and ashamed for far too long." + reforge_crown_wenceslas_decision_tooltip: "Reforge the Crown of St. Wenceslas" + reforge_crown_wenceslas_decision_confirm: "To the forge!" + must_have_crown_wenceslas:0 "You must possess the #color_white $crown_wenceslas_name$" \ No newline at end of file