fix(events): correct scope, range, and logic warnings
- Changed mistborn_init.0001 from character_event to scope=none with every_living_character, matching vanilla on_game_start pattern - Replaced negative add_gold with remove_short_term_gold in hemalurgy bribe option - Removed single-item OR wrapper around any_parent Mistborn check in activate_allomancy_effect Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -17,10 +17,8 @@ activate_allomancy_effect = {
|
||||
10 = {
|
||||
# Mistborn - extremely rare, can burn all metals
|
||||
trigger = {
|
||||
OR = {
|
||||
any_parent = { has_trait = trait_mistborn }
|
||||
}
|
||||
}
|
||||
add_trait = trait_mistborn
|
||||
}
|
||||
20 = { add_trait = trait_misting_lurcher } # Iron
|
||||
|
||||
@@ -10,15 +10,16 @@ namespace = mistborn_init
|
||||
# Fired from on_game_start events list
|
||||
# ============================================================
|
||||
mistborn_init.0001 = {
|
||||
type = character_event
|
||||
scope = none
|
||||
hidden = yes
|
||||
|
||||
trigger = {
|
||||
immediate = {
|
||||
every_living_character = {
|
||||
limit = {
|
||||
is_ruler = yes
|
||||
highest_held_title_tier >= tier_county
|
||||
}
|
||||
|
||||
immediate = {
|
||||
set_variable = {
|
||||
name = lord_ruler_attention
|
||||
value = 0
|
||||
@@ -55,4 +56,5 @@ mistborn_init.0001 = {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -444,7 +444,7 @@ mistborn_hemalurgy.0030 = {
|
||||
# Option A: Bribe the Obligator to look away
|
||||
option = {
|
||||
name = mistborn_hemalurgy.0030.a
|
||||
add_gold = -100
|
||||
remove_short_term_gold = 100
|
||||
add_stress = 20
|
||||
ai_chance = {
|
||||
base = 40
|
||||
|
||||
Reference in New Issue
Block a user