RacesOfValheim/JotunnModStub/Dvergar
kanym 9204dc96a2 feat(dvergar): build black marble and Yggdrasil pieces with stone and fine wood
Wargles' suggestion. A Dvergar pays 3 stone per black marble and 2 fine
wood per Yggdrasil wood on structural hammer pieces; stations,
furniture, containers and fires keep their cost. The swap is made on
the piece prefabs of the Dvergar's own client, so the menu, the known
piece check and the cost paid all follow it, and the pieces show once
stone or fine wood is known.

Vanilla refunds whatever m_resources says on the machine that destroys
a piece, so a cheap piece is tagged on its ZDO with the ratios paid,
and DropResources gets the matching cost on every client: a cheap wall
never refunds black marble, and a vanilla wall still does.

Swapped pieces carry the Dvergar race icon on their button in the 1.0
build menu (BuildUiPieceButton). The startup log lists every swapped
piece with its station and both costs.

Config: "Dvergar - Cheap Building" (Enabled, Stone per Black Marble,
Fine Wood per Yggdrasil Wood).
2026-11-05 10:34:04 +01:00
..
DvergarAbilities.cs feat(text): on-screen messages come from translation files 2026-09-26 20:30:03 +02:00
DvergarBanco.cs feat: marble Bone Servant tables, bigger centred props, fix table hover name 2026-10-28 13:22:56 +01:00
DvergarBancoBehaviour.cs fix(texts): four messages showed as [msg_...] 2026-10-17 15:51:53 +02:00
DvergarBancoStore.cs feat(text): merchants, troops and the hive's shelf come from translation files 2026-09-28 18:50:54 +02:00
DvergarBotte.cs fix(pieces): placement ghost vanished off terrain for most stations 2026-10-17 15:59:08 +02:00
DvergarBotteBehaviour.cs feat(text): hover texts come from translation files 2026-09-28 13:55:14 +02:00
DvergarCheapBuilding.cs feat(dvergar): build black marble and Yggdrasil pieces with stone and fine wood 2026-11-05 10:34:04 +01:00
DvergarConfig.cs fix(eyes): lower female eyes further, push Alfar/Dvergar out, enlarge Aswid points 2026-10-27 15:15:10 +01:00
DvergarConfigManagement.cs feat(dvergar): build black marble and Yggdrasil pieces with stone and fine wood 2026-11-05 10:34:04 +01:00
DvergarPatches.cs fix(dvergar): build pieces accept the smithing discount 2026-10-19 14:20:28 +02:00
DvergarProgression.cs feat(dvergar): make ability numbers and keybinds BepInEx-configurable 2026-08-06 13:56:00 +02:00
DvergarRace.cs feat(races): Skadi hollow chain, plus the pending Dvergar and Fenrir ones 2026-08-08 14:58:43 +02:00
DvergarStatusEffects.cs feat(text): status effect names and tooltips come from translation files 2026-09-26 19:51:10 +02:00
DvergarVisuals.cs refactor(eyes): bake the tuned eye corrections in, drop the sliders 2026-10-27 17:46:36 +01:00