Cage Trap: Difference between revisions
m (minor clean-up & formatting) |
m (remove use of {{T}}) |
||
Line 28: | Line 28: | ||
|item_id=Base.TrapCage | |item_id=Base.TrapCage | ||
|tile_id=constructedobjects_01_8 | |tile_id=constructedobjects_01_8 | ||
}}A '''cage trap''' is a medium sized trap used by journeyman trappers. | }}A '''cage trap''' is a medium-sized trap used by journeyman trappers. | ||
==Usage== | ==Usage== | ||
Line 35: | Line 35: | ||
===Trapping=== | ===Trapping=== | ||
{{Main|Trapping}} | {{Main|Trapping}} | ||
Cage traps can be used to catch | Cage traps can be used to catch [[rabbit]]s and [[squirrel]]s. | ||
{| width="100px" style="text-align:left;" | {| width="100px" style="text-align:left;" | ||
|+ '''''Catch chance:''''' | |+ '''''Catch chance:''''' | ||
Line 44: | Line 44: | ||
==Crafting== | ==Crafting== | ||
To craft a cage trap, the player must have picked either the {{T|Occupation#Park Ranger|"Park Ranger" occupation}} or | To craft a cage trap, the player must have picked either the {{T|Occupation#Park Ranger|"Park Ranger" occupation}} or [[Traits|"Hunter" trait]] during character creation. Otherwise, it will be learned after reading ''[[The Hunter Magazine|The Hunter Magazine Vol.3]]'' and craftable after reaching trapping level 3. | ||
===Trapping=== | ===Trapping=== |
Revision as of 12:43, 19 February 2024
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.
40% | |
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 | XP gained | Skill(s) | Recipe | Ingredient 1 |
---|---|---|---|---|
Cage Trap |
0 XP | Trapping 3 | Wire x5 (consumed) |
Code
Item
Source: ProjectZomboid\media\scripts\newitems.txt
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
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);