Cage 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]
Cage Trap
CageTrapAnim.gif
[[File:{{{icon2}}}|Cage Trap|]]
[[File:{{{icon3}}}|Cage Trap|]]
[[File:{{{icon4}}}|Cage Trap|]]
[[File:{{{icon5}}}|Cage Trap|]]
[[File:{{{icon6}}}|Cage Trap|]]
[[File:{{{icon7}}}|Cage Trap|]]
[[File:{{{icon8}}}|Cage Trap|]]
[[File:{{{icon9}}}|Cage Trap|]]
General
Category
Trapping
EncumbranceMoodle Icon HeavyLoad.png
1.0
Size
1 tile
Function
Catch animals
Properties
Health
50
Strength
20
Animals
Rabbit.png Squirrel.png
Crafting
Ingredients
Wire (5 units)
Destroy
Products
Technical
Item ID(s)
Base.TrapCage
Tile ID(s)
constructedobjects_01_8

A cage trap is a medium-sized trap used by journeyman trappers.

Usage

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

Trapping

Main article: Trapping

Cage traps can be used to catch rabbits and squirrels.

Catch chance:
Rabbit 40%
Squirrel 40%

Crafting

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

Trapping

Main article: Trapping
Product Ingredients Tools Requirements Workstation XP
TrapCage.png
Cage Trap
Wire.png Wire ×5 unit(s) none Trapping 3
(and)
MagazineHunting3.png
The Hunter Magazine Vol. 3
none none

Location

The loot distributions can be found in the table(s) below.

TrapCage distributionShow / Hide

Effective chance calculations are based off of default loot settings and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.

Containers
Building/Room Container Effective chance
closet crate 23.28%
garagestorage crate 23.28%
storageunit crate 23.28%
Vehicles
Type Container Effective chance
Hunter Trunk 10.78%
Ranger Trunk 10.78%
Foraging
Amount Skill Level Biomes Weather modifiers Month modifiers
Snow Rain Day Night Months available Bonus months Malus months
-- - DeepForest 1 - - - - - - -

History

Base.TrapCage

Version Description
38.30 Released on or before this version.

Help PZwiki by adding to this history.

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 TrapCage
    {
        DisplayCategory = Trapping,
        Weight	=	1,
        Type	=	Normal,
        DisplayName	=	Cage Trap,
        Icon	=	TrapCage,
        Trap    =   true,
        MetalValue = 10,
    }

Tile

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

Retrieved: Build 41.78.16
local cageTrap = {};
cageTrap.type = "Base.TrapCage";
cageTrap.sprite = "constructedobjects_01_8";
cageTrap.northSprite = "constructedobjects_01_11";
cageTrap.closedSprite = "constructedobjects_01_9";
cageTrap.northClosedSprite = "constructedobjects_01_10";
cageTrap.trapStrength = 20;
cageTrap.destroyItem = "Base.Wire";
table.insert(Traps, cageTrap);

See also