Trap Box: Difference between revisions
m (minor clean-up & formatting) |
m (remove use of {{T}}) |
||
Line 35: | Line 35: | ||
==Usage== | ==Usage== | ||
A trap box is one of several traps used in | A trap box is one of several traps used in [[trapping]] to catch a variety of [[animals|wildlife]]. | ||
===Trapping=== | ===Trapping=== | ||
{{Main|Trapping}} | {{Main|Trapping}} | ||
Trap boxes can be used to catch | Trap boxes 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 48: | Line 48: | ||
==Crafting== | ==Crafting== | ||
To craft a trap box, the player must have picked either the "[[Occupation|Park Ranger" occupation]] or | To craft a trap box, the player must have picked either the "[[Occupation|Park Ranger" occupation]] or [[Traits|"Hunter" trait]] during character creation. Otherwise it will be learnt after reaching trapping level 2 and [[carpentry]] level 1, or reading ''[[The Hunter Magazine|The Hunter Magazine Vol.3]]'' | ||
===Trapping=== | ===Trapping=== |
Revision as of 12:43, 19 February 2024
A trap box is a medium sized trap used by apprentice trappers.
Usage
A trap box is one of several traps used in trapping to catch a variety of wildlife.
Trapping
- Main article: Trapping
Trap boxes can be used to catch rabbits and squirrels.
30% | |
25% |
Crafting
To craft a trap box, the player must have picked either the "Park Ranger" occupation or "Hunter" trait during character creation. Otherwise it will be learnt after reaching trapping level 2 and carpentry level 1, or reading The Hunter Magazine Vol.3
Trapping
- Main article: Trapping
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Trap Box |
1 Carpentry | Carpentry 1 Trapping 2 |
(keep) |
Plank x4 (consumed) |
Nails x7 (consumed) |
Code
Item
Source: ProjectZomboid\media\scripts\newitems.txt
item TrapBox
{
DisplayCategory = Trapping,
Weight = 1,
Type = Normal,
DisplayName = Trap Box,
Icon = TrapBox,
Trap = true,
}
Tile
Source: ProjectZomboid\media\lua\server\Traps\TrapDefinition.lua
local trapBox = {};
trapBox.type = "Base.TrapBox";
trapBox.sprite = "constructedobjects_01_4";
trapBox.northSprite = "constructedobjects_01_7";
trapBox.closedSprite = "constructedobjects_01_5";
trapBox.northClosedSprite = "constructedobjects_01_6";
trapBox.trapStrength = 15;
trapBox.destroyItem = { "Base.UnusableWood", "Base.Nails", "Base.Nails" };
table.insert(Traps, trapBox);