fix(traits): remove invalid index fields and fix opposite keyword

CK3 1.18 does not use explicit trait index assignments — they are
auto-assigned by load order. Also fixed `opposite` → `opposites`
(correct CK3 keyword) on allomantic strength traits.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 17:41:37 +01:00
co-authored by Claude Opus 4.6
parent 6075c8eb73
commit 6abe8a8496
6 changed files with 4 additions and 31 deletions
@@ -8,9 +8,7 @@
# Steel Misting - Pushes on nearby metals
trait_misting_coinshot = {
index = 200
category = fame
category = fame
genetic = yes
group = "allomancy_group"
@@ -29,7 +27,6 @@ trait_misting_coinshot = {
# Iron Misting - Pulls on nearby metals
trait_misting_lurcher = {
index = 201
category = fame
@@ -50,7 +47,6 @@ trait_misting_lurcher = {
# Pewter Misting - Enhanced physical abilities
trait_misting_thug = {
index = 202
category = fame
@@ -72,7 +68,6 @@ trait_misting_thug = {
# Tin Misting - Enhanced senses
trait_misting_tineye = {
index = 203
category = fame
@@ -95,7 +90,6 @@ trait_misting_tineye = {
# Brass Misting - Dampens emotions
trait_misting_soother = {
index = 204
category = fame
@@ -116,7 +110,6 @@ trait_misting_soother = {
# Zinc Misting - Inflames emotions
trait_misting_rioter = {
index = 205
category = fame
@@ -138,7 +131,6 @@ trait_misting_rioter = {
# Copper Misting - Hides Allomancy from detection
trait_misting_smoker = {
index = 206
category = fame
@@ -159,7 +151,6 @@ trait_misting_smoker = {
# Bronze Misting - Detects Allomantic pulses
trait_misting_seeker = {
index = 207
category = fame
@@ -182,7 +173,6 @@ trait_misting_seeker = {
# Gold Misting - Sees alternate past self
trait_misting_augur = {
index = 208
category = fame
@@ -202,7 +192,6 @@ trait_misting_augur = {
# Atium Misting - Sees the future in combat
trait_misting_oracle = {
index = 209
category = fame
@@ -223,7 +212,6 @@ trait_misting_oracle = {
# Duralumin Misting - Enhances current Allomantic burn
trait_misting_duralumin = {
index = 210
category = fame
@@ -243,7 +231,6 @@ trait_misting_duralumin = {
# Nicrosil Misting - Enhances another's Allomancy
trait_misting_nicroburst = {
index = 211
category = fame
@@ -4,7 +4,6 @@
############################################
trait_mistborn = {
index = 220
category = fame
@@ -6,7 +6,6 @@
# Weak Allomantic ability - burns metals inefficiently
trait_allomantic_weak = {
index = 230
category = fame
@@ -19,7 +18,7 @@ trait_allomantic_weak = {
diplomacy = -1
prowess = -2
opposite = {
opposites = {
trait_allomantic_strong
trait_allomantic_savant
}
@@ -32,7 +31,6 @@ trait_allomantic_weak = {
# Naturally strong Allomantic ability
trait_allomantic_strong = {
index = 231
category = fame
@@ -46,7 +44,7 @@ trait_allomantic_strong = {
prowess = 2
martial = 1
opposite = {
opposites = {
trait_allomantic_weak
trait_allomantic_savant
}
@@ -60,7 +58,6 @@ trait_allomantic_strong = {
# Allomantic Savant - dangerously powerful through overuse
# Acquired trait, not genetic - comes from burning metals constantly
trait_allomantic_savant = {
index = 232
category = fame
@@ -73,7 +70,7 @@ trait_allomantic_savant = {
health = -1
stress_gain_mult = 0.3
opposite = {
opposites = {
trait_allomantic_weak
trait_allomantic_strong
}
@@ -6,7 +6,6 @@
# Generic Allomantic Potential - will become a random Misting on Snapping
trait_allomantic_potential = {
index = 240
category = health
@@ -26,7 +25,6 @@ trait_allomantic_potential = {
# Mistborn Potential - will become a full Mistborn on Snapping
trait_mistborn_potential = {
index = 241
category = health
@@ -6,7 +6,6 @@
# Full Feruchemist - can store and tap all Feruchemical metals
trait_feruchemist = {
index = 250
category = fame
@@ -30,7 +29,6 @@ trait_feruchemist = {
# Feruchemical Potential - dormant, activated through events
trait_feruchemy_potential = {
index = 251
category = health
@@ -6,7 +6,6 @@
# Known Hemalurgist - practices the dark art openly or has been discovered
trait_hemalurgist = {
index = 260
category = fame
@@ -25,7 +24,6 @@ trait_hemalurgist = {
# Stolen Coinshot power via steel spike
trait_hemalurgic_steel = {
index = 261
category = fame
@@ -42,7 +40,6 @@ trait_hemalurgic_steel = {
# Stolen Thug power via pewter spike
trait_hemalurgic_pewter = {
index = 262
category = fame
@@ -59,7 +56,6 @@ trait_hemalurgic_pewter = {
# Stolen Seeker power via bronze spike
trait_hemalurgic_bronze = {
index = 263
category = fame
@@ -76,7 +72,6 @@ trait_hemalurgic_bronze = {
# Stolen Oracle power via atium spike - extremely rare
trait_hemalurgic_atium = {
index = 264
category = fame
@@ -93,7 +88,6 @@ trait_hemalurgic_atium = {
# Secret knowledge of Hemalurgy - hidden prerequisite for Hemalurgy decisions
trait_knows_hemalurgy = {
index = 265
category = health