feat(fenrir): make ability numbers and keybinds BepInEx-configurable
Adds FenrirConfig.cs, following the established per-race pattern: one Configuration Manager section per topic (Keybinds, Passive Combat, Form Buffs, and one per transformation form - Fenring, Cultist, Wolf, Ulv), covering every attack's damage/radius/push-force number across all four independent form behaviors, plus the four transform/howl keybinds. Defaults match the previous hardcoded constants exactly. Only the four transform/howl keys are rebindable - unlike Skadi's dragon forms, which share one unified attack-button scheme, each of Fenrir's four forms is an independent MonoBehaviour with its own hardcoded mouse reads, so making all eleven attack buttons rebindable was left out as a much larger, separately-scoped change. The Form Buffs section opens with a non-editable note (the CustomDrawer trick from ConfigurationManagerAttributes) explaining that those specific values are baked into status effects once at mod startup and need a relog to pick up a change - everything else reads live. Config sections stay bound alphabetically by race (Aswid, Draugh, Dvergar, Fenrir, Skadi) in RacesOfValheim.Awake().
This commit is contained in:
parent
3607d7323d
commit
6755c263f3
5 changed files with 265 additions and 54 deletions
|
|
@ -30,6 +30,7 @@ namespace RacesOfValheim
|
|||
AswidConfig.Bind(Config);
|
||||
DraughConfig.Bind(Config);
|
||||
DvergarConfigManagement.Bind(Config);
|
||||
FenrirConfig.Bind(Config);
|
||||
SkadiConfig.Bind(Config);
|
||||
harmony.PatchAll();
|
||||
gameObject.AddComponent<FenrirRace>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue