diff --git a/lords_of_ash/common/scripted_effects/mistborn_effects.txt b/lords_of_ash/common/scripted_effects/mistborn_effects.txt index b88383c..b9101ee 100644 --- a/lords_of_ash/common/scripted_effects/mistborn_effects.txt +++ b/lords_of_ash/common/scripted_effects/mistborn_effects.txt @@ -138,6 +138,17 @@ create_steel_inquisitor_effect = { add_trait = disfigured # Spikes through the eyes } +# ===== KANDRA CONTRACT EFFECTS ===== + +assign_kandra_contract_effect = { + # Assigns a kandra to serve this character + # The kandra becomes a courtier and gains a flag for the contract + scope:kandra_target = { + set_relation_guardian = root # Represents the Contract bond + add_character_flag = kandra_contract_active + } +} + # ===== HOUSE AND DYNASTY EFFECTS ===== establish_great_house_effect = { diff --git a/lords_of_ash/common/scripted_triggers/mistborn_triggers.txt b/lords_of_ash/common/scripted_triggers/mistborn_triggers.txt index 6529476..05a56cd 100644 --- a/lords_of_ash/common/scripted_triggers/mistborn_triggers.txt +++ b/lords_of_ash/common/scripted_triggers/mistborn_triggers.txt @@ -104,9 +104,14 @@ has_hemalurgic_spike_trigger = { has_trait = trait_hemalurgic_pewter has_trait = trait_hemalurgic_bronze has_trait = trait_hemalurgic_atium + has_trait = trait_kandra } } +is_kandra_trigger = { + has_trait = trait_kandra +} + has_multiple_spikes_trigger = { # Character has 3+ hemalurgic spike traits — eligible for Inquisitor transformation calc_true_if = { @@ -160,6 +165,16 @@ can_snap_trigger = { age >= 10 # Must be old enough } +# ===== LORD RULER TRIGGERS ===== + +is_lord_ruler_trigger = { + this = character:900100 +} + +is_playable_scadrian_trigger = { + NOT = { is_lord_ruler_trigger = yes } +} + # ===== GAME MODE TRIGGERS ===== is_narrative_mode_trigger = { diff --git a/lords_of_ash/common/traits/05_hemalurgy_traits.txt b/lords_of_ash/common/traits/05_hemalurgy_traits.txt index 516d1bf..72c0550 100644 --- a/lords_of_ash/common/traits/05_hemalurgy_traits.txt +++ b/lords_of_ash/common/traits/05_hemalurgy_traits.txt @@ -100,3 +100,22 @@ trait_knows_hemalurgy = { icon = trait_knows_hemalurgy.dds } + +# Kandra - shapeshifting Hemalurgic creature bound by Contracts +trait_kandra = { + index = 266 + + category = fame + + genetic = no + + intrigue = 8 + diplomacy = 2 + health = 2 + attraction_opinion = -10 + + ruler_designer_cost = 0 + shown_in_ruler_designer = no + + icon = trait_kandra.dds +} diff --git a/lords_of_ash/localization/english/mistborn_traits_l_english.yml b/lords_of_ash/localization/english/mistborn_traits_l_english.yml index c00654f..18aa8e1 100644 --- a/lords_of_ash/localization/english/mistborn_traits_l_english.yml +++ b/lords_of_ash/localization/english/mistborn_traits_l_english.yml @@ -94,6 +94,9 @@ trait_knows_hemalurgy:0 "Knows Hemalurgy" trait_knows_hemalurgy_desc:0 "This individual possesses forbidden knowledge of Hemalurgy — the dark metallic art that steals power through murder. Such knowledge is closely guarded by the Steel Inquisitors and a handful of desperate scholars. To know Hemalurgy is to know how to kill with purpose." + trait_kandra:0 "Kandra" + trait_kandra_desc:0 "A shapeshifting creature created through Hemalurgy. Kandra can absorb a person's bones to perfectly mimic their appearance. They are bound by strict Contracts to serve their masters." + # ========== TRAIT GROUP NAMES ========== trait_allomancy_group:0 "Allomancy" @@ -168,3 +171,5 @@ trait_trait_hemalurgic_atium_desc:0 "An atium spike — rarest and most terrible of Hemalurgic instruments." trait_trait_knows_hemalurgy:0 "Knows Hemalurgy" trait_trait_knows_hemalurgy_desc:0 "This individual possesses forbidden knowledge of Hemalurgy — the dark metallic art that steals power through murder." + trait_trait_kandra:0 "Kandra" + trait_trait_kandra_desc:0 "A shapeshifting creature created through Hemalurgy, bound by strict Contracts."