fix(decisions): fix CK3 1.18 syntax errors in decisions
- Convert picture fields from string to block format - Use vanilla trait names (ambitious, sadistic, greedy, callous, compassionate) instead of trait_ prefixed versions - Move stress from cost block to add_stress in effect block - Fix add_opinion: add required target field, remove redundant opinion value Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -54,7 +54,7 @@ host_a_ball_decision = {
|
||||
|
||||
# Subject Heir to Snapping - force a traumatic event to awaken Allomantic potential
|
||||
subject_heir_to_snapping_decision = {
|
||||
picture = "gfx/interface/illustrations/decisions/decision_personal_religious.dds"
|
||||
picture = { reference = "gfx/interface/illustrations/decisions/decision_personal_religious.dds" }
|
||||
|
||||
desc = subject_heir_to_snapping_decision_desc
|
||||
selection_tooltip = subject_heir_to_snapping_decision_tooltip
|
||||
@@ -91,12 +91,12 @@ subject_heir_to_snapping_decision = {
|
||||
|
||||
cost = {
|
||||
gold = 50
|
||||
stress = 100
|
||||
}
|
||||
|
||||
cooldown = { years = 1 }
|
||||
|
||||
effect = {
|
||||
add_stress = 100
|
||||
add_character_flag = {
|
||||
flag = recently_attempted_snapping
|
||||
years = 1
|
||||
@@ -131,7 +131,7 @@ subject_heir_to_snapping_decision = {
|
||||
|
||||
# Breed for Allomancy - focus bloodline efforts on strengthening Allomantic traits
|
||||
breed_for_allomancy_decision = {
|
||||
picture = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds"
|
||||
picture = { reference = "gfx/interface/illustrations/decisions/decision_dynasty_house.dds" }
|
||||
|
||||
desc = breed_for_allomancy_decision_desc
|
||||
selection_tooltip = breed_for_allomancy_decision_tooltip
|
||||
@@ -199,7 +199,7 @@ breed_for_allomancy_decision = {
|
||||
|
||||
# Hire a Kandra - engage one of the shapeshifting immortals for espionage
|
||||
hire_kandra_decision = {
|
||||
picture = "gfx/interface/illustrations/decisions/decision_skulduggery.dds"
|
||||
picture = { reference = "gfx/interface/illustrations/decisions/decision_skulduggery.dds" }
|
||||
|
||||
desc = hire_kandra_decision_desc
|
||||
selection_tooltip = hire_kandra_decision_tooltip
|
||||
@@ -254,7 +254,7 @@ hire_kandra_decision = {
|
||||
|
||||
# Commission a Hemalurgic Spike - the dark art of stealing Allomantic power
|
||||
commission_hemalurgic_spike_decision = {
|
||||
picture = "gfx/interface/illustrations/decisions/decision_execution.dds"
|
||||
picture = { reference = "gfx/interface/illustrations/decisions/decision_execution.dds" }
|
||||
|
||||
desc = commission_hemalurgic_spike_decision_desc
|
||||
selection_tooltip = commission_hemalurgic_spike_decision_tooltip
|
||||
@@ -319,18 +319,18 @@ commission_hemalurgic_spike_decision = {
|
||||
base = 5
|
||||
modifier = {
|
||||
factor = 3
|
||||
has_trait = trait_ambitious
|
||||
has_trait = ambitious
|
||||
}
|
||||
modifier = {
|
||||
factor = 2
|
||||
has_trait = trait_sadistic
|
||||
has_trait = sadistic
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Smuggle Atium - acquire the most precious metal in the Final Empire
|
||||
smuggle_atium_decision = {
|
||||
picture = "gfx/interface/illustrations/decisions/decision_skulduggery.dds"
|
||||
picture = { reference = "gfx/interface/illustrations/decisions/decision_skulduggery.dds" }
|
||||
|
||||
desc = smuggle_atium_decision_desc
|
||||
selection_tooltip = smuggle_atium_decision_tooltip
|
||||
@@ -399,7 +399,7 @@ smuggle_atium_decision = {
|
||||
base = 20
|
||||
modifier = {
|
||||
factor = 2
|
||||
has_trait = trait_greedy
|
||||
has_trait = greedy
|
||||
}
|
||||
modifier = {
|
||||
factor = 0
|
||||
@@ -410,7 +410,7 @@ smuggle_atium_decision = {
|
||||
|
||||
# Crack Down on Skaa - suppress the skaa population through force
|
||||
crack_down_on_skaa_decision = {
|
||||
picture = "gfx/interface/illustrations/decisions/decision_realm.dds"
|
||||
picture = { reference = "gfx/interface/illustrations/decisions/decision_realm.dds" }
|
||||
|
||||
desc = crack_down_on_skaa_decision_desc
|
||||
selection_tooltip = crack_down_on_skaa_decision_tooltip
|
||||
@@ -466,18 +466,18 @@ crack_down_on_skaa_decision = {
|
||||
base = 30
|
||||
modifier = {
|
||||
factor = 2
|
||||
has_trait = trait_cruel
|
||||
has_trait = callous
|
||||
}
|
||||
modifier = {
|
||||
factor = 0.5
|
||||
has_trait = trait_compassionate
|
||||
has_trait = compassionate
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Improve Skaa Conditions - a risky act of compassion
|
||||
improve_skaa_conditions_decision = {
|
||||
picture = "gfx/interface/illustrations/decisions/decision_misc.dds"
|
||||
picture = { reference = "gfx/interface/illustrations/decisions/decision_misc.dds" }
|
||||
|
||||
desc = improve_skaa_conditions_decision_desc
|
||||
selection_tooltip = improve_skaa_conditions_decision_tooltip
|
||||
@@ -528,33 +528,33 @@ improve_skaa_conditions_decision = {
|
||||
# Other nobles disapprove
|
||||
every_vassal = {
|
||||
add_opinion = {
|
||||
target = root
|
||||
modifier = disapproves_skaa_mercy
|
||||
opinion = -15
|
||||
}
|
||||
}
|
||||
trigger_event = mistborn_skaa.0010
|
||||
}
|
||||
|
||||
ai_potential = {
|
||||
has_trait = trait_compassionate
|
||||
has_trait = compassionate
|
||||
}
|
||||
|
||||
ai_will_do = {
|
||||
base = 10
|
||||
modifier = {
|
||||
factor = 3
|
||||
has_trait = trait_compassionate
|
||||
has_trait = compassionate
|
||||
}
|
||||
modifier = {
|
||||
factor = 0
|
||||
has_trait = trait_cruel
|
||||
has_trait = callous
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Recruit a Skaa Allomancer - secretly bring a skaa with powers into your service
|
||||
recruit_skaa_allomancer_decision = {
|
||||
picture = "gfx/interface/illustrations/decisions/decision_skulduggery.dds"
|
||||
picture = { reference = "gfx/interface/illustrations/decisions/decision_skulduggery.dds" }
|
||||
|
||||
desc = recruit_skaa_allomancer_decision_desc
|
||||
selection_tooltip = recruit_skaa_allomancer_decision_tooltip
|
||||
|
||||
Reference in New Issue
Block a user