You are viewing a potentially older version of this package. View all versions.
sighsorry-TouchGrass-1.0.0 icon

TouchGrass

In-game training meter for practical damage and XP testing(DPS).Configurable training dummy damage. Dummy crowding limits. Discourages unattended macro skill farming with smart stationary fatigue and per-skill gain/loss tuning.

Date uploaded a week ago
Version 1.0.0
Download link sighsorry-TouchGrass-1.0.0.zip
Downloads 69
Dependency string sighsorry-TouchGrass-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

TouchGrass

In-game training meter for practical damage and XP testing(DPS).Configurable training dummy damage. Dummy crowding limits. Discourages unattended macro skill farming with smart stationary fatigue and per-skill gain/loss tuning.
You can check dps, dph and damage taken through training dummy hud.


Training dummy's damage number and type and its health are configurable.
So you can test different damage types and resistances.
Check out this mod to make resistance additive. https://thunderstore.io/c/valheim/p/sighsorry/AdditiveDamageModifier/

Limit number of dummies that can be built within configured area.

Maco skill farming is discouraged with smart stationary fatigue.

Training Meter HUD

The local training meter is a client-side HUD for dummy sessions:

  • Training Meter Display: Off hides the HUD, Detailed shows the full HUD.
  • Training Meter Window Seconds: rolling time window used by the training HUD.

The HUD uses a fixed 420 base width, 1.6 scale, and 15 second default rolling window. Drag the HUD box with the left mouse button to move it during play.

ToDummy values are local outgoing hit damage against training dummies. They are useful for comparing attacks and damage types, but they are not a server-authoritative combat log and are not guaranteed to equal confirmed dummy HP loss on the attacking client in multiplayer.

Training Dummy

The training dummy section includes server-synced placement/health config and local client-side damage test config:

  • Training Dummy Health: server-synced max health applied to piece_TrainingDummy. Default: 2500.
  • Training Dummy Crowding Radius: server-synced X/Z radius used to detect crowded dummy placement.
  • Training Dummy Crowding Max Count: server-synced maximum existing dummies allowed in that radius. The default 4 means the 5th placement is blocked with Too crowded Bro!.
  • Training Dummy Damage Type: client-side damage type used by newly placed or unstamped training dummies.
  • Training Dummy Damage: client-side damage amount used by newly placed or unstamped training dummies.

Local training dummy damage testing is always enabled. Newly placed training dummies stamp the placing client's configured damage type and amount into their ZDO, and unstamped dummies use the local client's configured damage profile as a fallback.

Skill Fatigue

Default behavior:

  • Full efficiency for 120 seconds of chained farmable skill gains inside the stationary radius.
  • Fade to a 10% minimum multiplier over the next 180 seconds.
  • Waiting inside the same radius does not recover the fatigue.
  • Reset when the player earns a supported skill XP tick outside the stationary X/Z radius.

The fatigue is global:

  • One stationary fatigue multiplier tracks all supported farmable skill gains together.
  • Rotating between weapon classes, jumping, sneaking, swimming, running, dodging, or similar farmable actions in one place still pushes the same multiplier down.
  • Individual skills do not keep separate fatigue timers.

Status Effect Display

When fatigue is actually reducing skill gain, TouchGrass can show a local status effect in the player's active effects list.

Fatigue Status Effect Display controls this:

  • Off: no status effect display.
  • Detailed: shows the status effect icon with the current efficiency percentage and the one-line compendium text Touch the grass Bro!.

The affected skill list is included in the Fatigue Stationary Skill Gains config description.

The status effect is only a display layer. Skill gain reduction is still calculated in the skill gain patch so direct skill gain paths are covered consistently.

Archery Target

Archery Target Skill Multiplier is a server-synced general config entry that controls skill experience awarded by piece_ArcheryTarget.

Per-Skill Modifiers

TouchGrass also adds server-synced per-skill config entries for:

  • Skill Gain Rate
  • Skill Reduction Rate

These are multiplicative per-skill modifiers. They do not replace Valheim's vanilla modifiers or other already-applied multipliers.

For example, if vanilla skill gain is 1.5x, TouchGrass Skill Gain Rate for Swords is 0.8x, and stationary fatigue is 0.5x, the final gain multiplier for Swords is:

1.5 * 0.8 * 0.5 = 0.6x

Skill Reduction Rate works the same way for death skill loss. A value of 0 disables that skill's death loss through TouchGrass, 1 keeps vanilla behavior, and 2 doubles that skill's death loss after vanilla scaling.

CHANGELOG

Version Update Notes
1.0.0 - Initial Release