RacesOfValheim/JotunnModStub/Trenta
kanym 14648aaf62 feat(trenta): make ability numbers and keybinds BepInEx-configurable
Adds TrentaConfigManagement.cs rather than reusing the TrentaConfig name,
same reasoning as DvergarConfigManagement: that existing class holds
identity constants that must never change (RaceId, status effect and
prefab names), hand-tuned cosmetic placement numbers (skin colour, crown
position), and design-time tables (HealthBonusByState, the per-biome
AwakenedSeedFoods list) left alone under the same boundary drawn for
every other race's progression table.

Only the genuine ability knobs move: Photosynthesis, Purple Rain, Last
Stand/Thorns, Homecoming Portal, Hornet's Nest, Muspell, and the vegan
food duration bonus each get a Configuration Manager section, plus the
three transform/ability keybinds (Purple Rain, Portal, Muspell).
TrentaConfig's fields for those now forward to TrentaConfigManagement
(same const-to-property trick used for Skadi and Dvergar), so every
existing call site kept working unchanged except the three keybind
consumers in TrentaAbilities, which now read the live configured key.

Fixes a BepInEx startup crash caught while testing: the Hornet's Nest
section name used a straight ASCII apostrophe, which
ConfigDefinition.CheckInvalidConfigChars rejects outright (section/key
names may not contain = \n \t \ " ' [ ]). Switched to the typographic
apostrophe (U+2019), which reads the same and isn't on the forbidden list.

Config sections stay bound alphabetically by race (Aswid, Draugh,
Dvergar, Fenrir, Furling, Skadi, Skeleton, Trenta) in
RacesOfValheim.Awake().
2026-08-06 15:20:10 +02:00
..
TrentaAbilities.cs feat(trenta): make ability numbers and keybinds BepInEx-configurable 2026-08-06 15:20:10 +02:00
TrentaConfig.cs feat(trenta): make ability numbers and keybinds BepInEx-configurable 2026-08-06 15:20:10 +02:00
TrentaConfigManagement.cs feat(trenta): make ability numbers and keybinds BepInEx-configurable 2026-08-06 15:20:10 +02:00
TrentaFoodPatches.cs feat(trenta): add the Trenta race 2026-08-04 20:58:01 +02:00
TrentaHornetsNest.cs feat(trenta): add the Trenta race 2026-08-04 20:58:01 +02:00
TrentaMuspell.cs feat(trenta): add the Trenta race 2026-08-04 20:58:01 +02:00
TrentaPatches.cs feat(trenta): grow a crown of branches, and fix(draugh): let everyone see the rot 2026-08-05 13:40:09 +02:00
TrentaPortal.cs feat(trenta): add the Trenta race 2026-08-04 20:58:01 +02:00
TrentaProgression.cs feat(trenta): add the Trenta race 2026-08-04 20:58:01 +02:00
TrentaRace.cs feat(trenta): add the Trenta race 2026-08-04 20:58:01 +02:00
TrentaStatusEffects.cs feat(trenta): add the Trenta race 2026-08-04 20:58:01 +02:00
TrentaVisuals.cs feat(trenta): grow a crown of branches, and fix(draugh): let everyone see the rot 2026-08-05 13:40:09 +02:00