feat: Shrink Hammer, and Alt + scroll to size pieces with both hammers

A player asked to build below vanilla size for small details. The new
Shrink Hammer, craftable by any race, builds from 0.25 to 1; Trol's Hammer
keeps 1 to 3. With either hammer, Alt + scroll in build mode changes the
size in steps of 0.05, an Alt: Size row joins the build hints, and the size
floats over the ghost when it is not the default. With the repair tool, the
aimed piece shows the size it was built at. Both hammers get icons of their
own.
This commit is contained in:
kanym 2026-10-30 22:49:27 +01:00
commit 0d1f655598
17 changed files with 414 additions and 14 deletions

View file

@ -47,6 +47,7 @@ namespace RacesOfValheim
// Not a race either: a tool any race can craft, so it sits beside the vulture rather
// than inside the alphabetical run above.
TrolsHammerConfig.Bind(Config);
ShrinkHammerConfig.Bind(Config);
// Not a race either: the two Bone Servants, shared by the Skeleton and Skadi, so they
// bind here rather than inside either race's run.
ButlerConfig.Bind(Config);
@ -306,6 +307,7 @@ namespace RacesOfValheim
AlfarRace.CreateModAssets();
WarVultureItem.Register();
TrolsHammerItem.Register();
ShrinkHammerItem.Register();
BoneServant.Register();
}
// --- RACE SELECTION UI ---