diff --git a/lords_of_ash/common/decisions/00_mistborn_decisions.txt b/lords_of_ash/common/decisions/00_mistborn_decisions.txt index 39e5667..0c1ec4a 100644 --- a/lords_of_ash/common/decisions/00_mistborn_decisions.txt +++ b/lords_of_ash/common/decisions/00_mistborn_decisions.txt @@ -696,6 +696,67 @@ recruit_skaa_allomancer_decision = { } } +# Practice Feruchemy in Secret - Terris characters preserve their faith hidden from the Steel Ministry +practice_feruchemy_in_secret_decision = { + picture = { reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds" } + + desc = practice_feruchemy_in_secret_decision_desc + selection_tooltip = practice_feruchemy_in_secret_decision_tooltip + + ai_check_interval = 120 + + is_shown = { + is_terris_trigger = yes + faith = faith:terris_worldbringers + } + + is_valid = { + NOT = { has_character_flag = practicing_in_secret } + } + + is_valid_showing_failures_only = { + is_available_adult = yes + } + + cost = { + piety = 50 + } + + effect = { + add_character_flag = { + flag = practicing_in_secret + } + add_character_modifier = { + modifier = practicing_feruchemy_in_secret + } + # Yearly risk of discovery by the Steel Ministry + trigger_event = { + id = mistborn_keeper.0060 + days = { 180 365 } + } + } + + ai_potential = { + is_terris_trigger = yes + } + + ai_will_do = { + base = 50 + modifier = { + factor = 2 + has_trait = zealous + } + modifier = { + factor = 0.5 + has_character_modifier = lord_ruler_attention_1 + } + modifier = { + factor = 0 + has_character_modifier = lord_ruler_attention_2 + } + } +} + # Acquire Metal Supply - purchase metals for Allomantic use acquire_metal_supply_decision = { picture = { reference = "gfx/interface/illustrations/decisions/decision_misc.dds" } @@ -882,3 +943,145 @@ discover_metallic_arts_decision = { trigger_event = mistborn_sandbox.0001 } } + +############################################ +# Artifact Crafting Decisions +############################################ + +# Commission a Mistcloak - a rite of passage for Allomancers +craft_mistcloak_decision = { + picture = { reference = "gfx/interface/illustrations/decisions/decision_misc.dds" } + + desc = craft_mistcloak_decision_desc + selection_tooltip = craft_mistcloak_decision_tooltip + + ai_check_interval = 180 + + is_shown = { + is_allomancer_trigger = yes + } + + is_valid = { + is_allomancer_trigger = yes + gold >= 100 + NOT = { + any_equipped_character_artifact = { + artifact_type = mistcloak + } + } + NOT = { has_character_flag = recently_crafted_mistcloak } + } + + is_valid_showing_failures_only = { + is_available_adult = yes + } + + cost = { + gold = 100 + } + + cooldown = { years = 5 } + + effect = { + add_character_flag = { + flag = recently_crafted_mistcloak + years = 5 + } + create_artifact = { + name = craft_mistcloak_decision_artifact_name + description = craft_mistcloak_decision_artifact_desc + type = mistcloak + template = standard_mistcloak + visuals = mistcloak + quality = 3 + modifier = { + prowess = 2 + intrigue = 2 + dread_baseline_add = 5 + } + } + custom_tooltip = craft_mistcloak_decision_effect_tt + } + + ai_potential = { + is_allomancer_trigger = yes + gold >= 200 + } + + ai_will_do = { + base = 30 + modifier = { + factor = 2 + has_trait = trait_mistborn + } + } +} + +# Forge Glass Weapons - commission weapons invisible to Allomantic senses +forge_glass_weapons_decision = { + picture = { reference = "gfx/interface/illustrations/decisions/decision_misc.dds" } + + desc = forge_glass_weapons_decision_desc + selection_tooltip = forge_glass_weapons_decision_tooltip + + ai_check_interval = 180 + + is_shown = { + is_ruler = yes + } + + is_valid = { + is_ruler = yes + gold >= 50 + NOT = { + any_equipped_character_artifact = { + artifact_type = glass_daggers + } + } + NOT = { has_character_flag = recently_forged_glass_weapons } + } + + is_valid_showing_failures_only = { + is_available_adult = yes + } + + cost = { + gold = 50 + } + + cooldown = { years = 5 } + + effect = { + add_character_flag = { + flag = recently_forged_glass_weapons + years = 5 + } + create_artifact = { + name = forge_glass_weapons_decision_artifact_name + description = forge_glass_weapons_decision_artifact_desc + type = glass_daggers + template = glass_daggers_template + visuals = glass_daggers + quality = 3 + modifier = { + prowess = 3 + } + } + custom_tooltip = forge_glass_weapons_decision_effect_tt + } + + ai_potential = { + is_ruler = yes + gold >= 150 + } + + ai_will_do = { + base = 15 + modifier = { + factor = 3 + any_neighboring_top_liege_realm_owner = { + is_allomancer_trigger = yes + } + } + } +} diff --git a/lords_of_ash/common/modifiers/00_mistborn_modifiers.txt b/lords_of_ash/common/modifiers/00_mistborn_modifiers.txt index 8d00a6b..bc05f8c 100644 --- a/lords_of_ash/common/modifiers/00_mistborn_modifiers.txt +++ b/lords_of_ash/common/modifiers/00_mistborn_modifiers.txt @@ -449,3 +449,10 @@ modifier_artifact_corruption = { health = -0.3 stress_gain_mult = 0.1 } + +# Practicing Feruchemy in secret — Keeper preserving knowledge while avoiding Ministry detection +practicing_feruchemy_in_secret = { + icon = modifier_keeper_advisor + learning = 2 + intrigue = 1 +} diff --git a/lords_of_ash/localization/english/mistborn_decisions_l_english.yml b/lords_of_ash/localization/english/mistborn_decisions_l_english.yml index 5764be5..537f776 100644 --- a/lords_of_ash/localization/english/mistborn_decisions_l_english.yml +++ b/lords_of_ash/localization/english/mistborn_decisions_l_english.yml @@ -70,6 +70,13 @@ recruit_skaa_allomancer_decision_tooltip:0 "Secretly recruit a skaa Allomancer into your service. Powerful but risks Steel Ministry discovery." recruit_skaa_allomancer_decision_confirm:0 "Bring them in. Quietly, through the servants' entrance." + # ========== PRACTICE FERUCHEMY IN SECRET ========== + + practice_feruchemy_in_secret_decision:0 "Practice Feruchemy in Secret" + practice_feruchemy_in_secret_decision_desc:0 "The Steel Ministry has long sought to control and suppress the Terris people's ancient gift. Feruchemy — the art of storing attributes in metal — is viewed as a threat to the Lord Ruler's monopoly on the metallic arts. But the Keepers have preserved this knowledge for a thousand years, passing it in whispers from elder to apprentice. You can continue this tradition, practicing your art in hidden places, storing memories and knowledge in your copperminds while the obligators look the other way. The risk of discovery is real. The punishment would be severe. But if the knowledge is lost, it is lost forever." + practice_feruchemy_in_secret_decision_tooltip:0 "Begin secretly practicing Feruchemy. Grants learning and intrigue bonuses, but risks discovery by the Steel Ministry each year." + practice_feruchemy_in_secret_decision_confirm:0 "The knowledge must be preserved. We practice in silence." + # ========== ACQUIRE METAL SUPPLY ========== acquire_metal_supply_decision:0 "Acquire Metal Supply"