You are viewing a potentially older version of this package. View all versions.
Hardwire99-DvergrCraftsmanship-0.1.0 icon

DvergrCraftsmanship

Building piece structural support loss scales with the placer's Crafting skill. Build stronger as you become a master craftsman.

Date uploaded a day ago
Version 0.1.0
Download link Hardwire99-DvergrCraftsmanship-0.1.0.zip
Downloads 40
Dependency string Hardwire99-DvergrCraftsmanship-0.1.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

Dvergr Craftsmanship

Build like a master craftsman. Dvergr Craftsmanship makes the structural support of pieces you place scale with your current Crafting skill.

The mod does not change how Crafting levels up. Valheim already grants Crafting skill from building and repairing; this mod only reads your current skill and uses it to improve the pieces you place.

What It Does

When you place a supported building piece, Dvergr Craftsmanship snapshots your current Crafting skill onto that piece. Higher-skill builders create pieces that lose less structural support as that support travels through connected pieces.

In practical terms:

  • A beginner's building pieces behave almost like vanilla pieces.
  • A more experienced craftsman gets better spans and more forgiving structural chains.
  • The bonus is stored on each piece when it is placed.
  • Existing pieces do not automatically improve just because your skill rises later.
  • Lower-skilled players can still repair higher-skilled pieces without damaging their bonus.

Current Release Scope

This release includes only the working structural-integrity system:

  • Crafting-skill-based support-loss reduction
  • Permanent per-piece skill snapshot
  • Hammer reinforcement for full-health pieces
  • Hammer-hover display showing the stored support-loss reduction
  • Crafting tier notifications

This release does not add new build pieces yet. Load-bearing walls, nail-gated variants, firebreak walls, headers, and similar future pieces are intentionally not included in this package.

How The Bonus Works

The configured bonus creates a multiplier from your Crafting skill:

multiplier = 1 + (CraftingSkill / 100) * (MaxIntegrityBonusPercent / 100)

Dvergr Craftsmanship then reduces structural support loss:

effectiveSupportLoss = vanillaSupportLoss / multiplier

With the default MaxIntegrityBonusPercent = 40:

  • Crafting 25 reduces support loss by about 9.1%
  • Crafting 50 reduces support loss by about 16.7%
  • Crafting 75 reduces support loss by about 23.1%
  • Crafting 100 reduces support loss by about 28.6%

The result is subtle at low skill and more noticeable as support travels through longer chains.

Reinforcing Existing Pieces

If EnableReinforce is enabled, you can improve an existing full-health piece with the hammer:

  1. Equip the hammer.
  2. Aim at a full-health building piece.
  3. Use repair.
  4. If your current Crafting skill is high enough above the piece's stored skill, the piece is reinforced.

Reinforcement never lowers a piece's stored bonus. A lower-skilled player can still perform ordinary repairs, but they cannot downgrade a master-built piece.

Hover Display

With the hammer equipped, hover a supported piece to see its stored bonus:

-16.7% support loss (Crafting 50)

Vanilla or unstamped pieces are not given noisy 0% text.

Config Options

The config file is generated at:

BepInEx/config/com.cdjensen.dvergrcraftsmanship.cfg
Setting Default Description
EnableMod true Enables or disables all Dvergr Craftsmanship mechanics.
MaxIntegrityBonusPercent 40 Main tuning knob. Allowed range is 20-60. At skill 100, this controls the multiplier used to reduce support loss.
EnableReinforce true Allows hammer repair on full-health pieces to improve their stored Crafting bonus.
MinimumReinforceSkillDelta 5 Required Crafting skill improvement before reinforcement can upgrade a piece.
EnableTierNotifications true Shows a short message when Crafting reaches 25, 50, 75, and 100.
ShowIntegrityHoverText true Shows support-loss reduction while hammer-hovering stamped pieces.
DebugLogging false Enables verbose diagnostic logging for placement, reinforcement, and support calculations.

Compatibility Notes

Dvergr Craftsmanship patches Valheim's WearNTear.GetMaterialProperties to reduce structural support loss. Other mods that change structural integrity may stack with or overwrite similar behavior.

If using Valheim Plus or another structural-integrity mod, check that only the behavior you want is enabled.

Installation

Install with a mod manager, or manually place DvergrCraftsmanship.dll into:

BepInEx/plugins/DvergrCraftsmanship/

Requires BepInExPack Valheim.

Support

Bug reports and feature requests:

GitHub - Dvergr Craftsmanship

CHANGELOG

Changelog

0.1.0

  • Initial release
  • Building pieces snapshot the placer's Crafting skill when placed
  • Crafting skill reduces structural support loss through connected pieces
  • Full-health hammer repair can reinforce older pieces without downgrading high-skill work
  • Hammer-hover display shows stored support-loss reduction and Crafting skill
  • Optional Crafting tier notifications at 25, 50, 75, and 100