Snare Trap

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Snare Trap
SnareTrapAnim.gif
[[File:{{{icon2}}}|Snare Trap|]]
[[File:{{{icon3}}}|Snare Trap|]]
[[File:{{{icon4}}}|Snare Trap|]]
[[File:{{{icon5}}}|Snare Trap|]]
General
Category
Trapping
EncumbranceMoodle Icon HeavyLoad.png
0.5
Size
1 tile
Function
Catch animals
Properties
Health
50
Strength
10
Animals
Rabbit.png Squirrel.png
Crafting
Tool(s)
Ingredients
Plank
Twine (2 units)
Destroy
Products
Scrap Wood
Twine (2 units)
Technical
Item ID(s)
Base.TrapSnare
Tile ID(s)
constructedobjects_01_16

A snare trap is a medium-sized trap used by novice trappers.

Usage

A snare trap is one of several traps used in trapping to catch a variety of wildlife.

Trapping

Main article: Trapping

Snare traps can be used to catch rabbits and squirrels.

Catch chance:
Rabbit 30%
Squirrel 30%

Crafting

To craft a snare trap, the player must have picked either the "Park Ranger" occupation or "Hunter" trait during character creation. Otherwise, it will be learned after reaching trapping level 1, or reading The Hunter Magazine Vol.1

Trapping

Main article: Trapping
Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
TrapSnare.png
Snare Trap
0.25 Carpentry Trapping 1 The Hunter Magazine Vol. 1
One of:
Hacksaw.png Saw
Handsaw.png Garden Saw

(keep)
Plank.png
Plank
(consumed)
Twine.png
Twine
(2 units)

(consumed)

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Item

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item TrapSnare
    {
        DisplayCategory = Trapping,
        Weight	=	0.5,
        Type	=	Normal,
        DisplayName	=	Snare Trap,
        Icon	=	TrapSnare,
        Trap    =   true,
    }

Tile

Source: ProjectZomboid\media\lua\server\Traps\TrapDefinition.lua

Retrieved: Build 41.78.16
local snareTrap = {};
snareTrap.type = "Base.TrapSnare";
snareTrap.sprite = "constructedobjects_01_16";
snareTrap.closedSprite = "constructedobjects_01_17";
snareTrap.trapStrength = 10;
snareTrap.destroyItem = { "Base.UnusableWood", "Base.Twine", "Base.Twine" };
table.insert(Traps, snareTrap);

See also