- 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>
61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
############################################
|
|
# Mistborn Mod - Game Start Initialization
|
|
# Namespace: mistborn_init
|
|
############################################
|
|
|
|
namespace = mistborn_init
|
|
|
|
# ============================================================
|
|
# 0001 - Initialize starting rulers
|
|
# Fired from on_game_start events list
|
|
# ============================================================
|
|
mistborn_init.0001 = {
|
|
scope = none
|
|
hidden = yes
|
|
|
|
immediate = {
|
|
every_living_character = {
|
|
limit = {
|
|
is_ruler = yes
|
|
highest_held_title_tier >= tier_county
|
|
}
|
|
|
|
set_variable = {
|
|
name = lord_ruler_attention
|
|
value = 0
|
|
}
|
|
|
|
# Grant starting metal supplies to Allomancers
|
|
if = {
|
|
limit = {
|
|
is_allomancer_trigger = yes
|
|
is_noble_scadrian_trigger = yes
|
|
}
|
|
add_character_modifier = {
|
|
modifier = metal_reserves_abundant
|
|
years = 2
|
|
}
|
|
}
|
|
else_if = {
|
|
limit = {
|
|
is_allomancer_trigger = yes
|
|
is_skaa_trigger = yes
|
|
}
|
|
add_character_modifier = {
|
|
modifier = metal_reserves_low
|
|
years = 1
|
|
}
|
|
}
|
|
else_if = {
|
|
limit = {
|
|
is_allomancer_trigger = yes
|
|
}
|
|
add_character_modifier = {
|
|
modifier = metal_reserves_abundant
|
|
years = 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|