Skip to content

Trap

The build cost, comfort value, and health for Trap in Valheim, plus its prefab ID for the spawn console command.

Overview

Trap icon

Trap is a misc building piece in Valheim, placed with the Hammer. It's built from Black metal, Bronze nails, and Mechanical Spring.

The Trap has 300 health.

Spawn one directly with the console command spawn piece_trap_troll once cheats are enabled via devcommands.

This trap will clamp down on whatever steps on it. Careful!

Piece IDpiece_trap_troll
CategoryMisc
Health300
Command reference
spawn

Spawn Command

Spawns Trap. Requires cheats enabled (devcommands).

Build Cost

More Misc

Building mechanics

Full reference
Structural support

Iron

  • 1500 maximum
  • 20 minimum support
  • Does not support other pieces
Weather & damage

No rain wear

  • pierce: Resistant
  • pickaxe: Resistant
  • fire: Resistant
  • frost: Resistant
  • lightning: Immune
  • poison: Immune
  • spirit: Immune
  • Needs protection from Ashlands ash
  • Heavy snow can damage weakly supported pieces

Support depends on contact geometry and the pieces underneath. Maximum support is not a safe height in meters. Damage multipliers are before other game effects.

Build materials

Required crafting station

Placement rules

Check these restrictions before choosing where to build.

Surface
Cannot be placed on a tilting surface
Inside dungeons
Allowed
Game data source

The full settings include internal fields and inactive defaults. The sections above explain the values relevant to gameplay.

Download full game settings (JSON)