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

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 ID | piece_trap_troll |
| Category | Misc |
| Health | 300 |
- Command reference
- spawn
Spawn Command
Spawns Trap. Requires cheats enabled (devcommands).
Build Cost
More Misc
Archery Target
Ashwood Stack
Ashwood Stakewall
Ballista
Barley
Black Marble Pile
Black Metal Stack
Bloodgold Stack
Bone Stack
Bonfire
Bronze Stack
Campfire
Carrot
Cartography Table
Coal Pile
Coin Pile
Coin Stack
Copper Stack
Corewood Stack
Cultivate
Cultivate
Cultivate
Decorative Boulder
Dvergr Sharp Stakes
Dvergr Stakewall
Finewood Stack
Flametal Stack
Flax
Flint Pile
Grass
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)