Stick Trap: Difference between revisions
m (Automated {{Languages}} removal.) |
m (Automated CodeBox update) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Header | {{Header|Project Zomboid|Items|Trapping}} | ||
{{Page version|41.78.16}} | {{Page version|41.78.16}} | ||
{{Infobox tile | {{Infobox tile | ||
Line 25: | Line 25: | ||
|item_id=Base.TrapStick | |item_id=Base.TrapStick | ||
|tile_id=constructedobjects_01_13 | |tile_id=constructedobjects_01_13 | ||
}}A '''stick trap''' is a small-sized trap used by beginner trappers. | }} | ||
A '''stick trap''' is a small-sized trap used by beginner trappers. | |||
==Usage== | ==Usage== | ||
Line 54: | Line 56: | ||
{{CodeSnip | {{CodeSnip | ||
| lang = java | | lang = java | ||
| line = | | line = true | ||
| start = 2343 | |||
| source = newitems.txt | | source = newitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item TrapStick | |||
{ | { | ||
DisplayCategory = Trapping, | DisplayCategory = Trapping, | ||
Line 67: | Line 70: | ||
Icon = TrapStick, | Icon = TrapStick, | ||
Trap = true, | Trap = true, | ||
} | } | ||
}} | |||
===Tile=== | ===Tile=== | ||
{{CodeSnip | {{CodeSnip | ||
Line 95: | Line 98: | ||
*[[Cage Trap]] | *[[Cage Trap]] | ||
{{Navbox equipment}} | {{Navbox equipment|survival}} |
Revision as of 13:44, 26 March 2024
A stick trap is a small-sized trap used by beginner trappers.
Usage
A stick trap is one of several traps used in trapping to catch a variety of wildlife.
To place the trap, unpack it to your main inventory, right-click on the ground, and click "Place trap > Stick trap"
Trapping
- Main article: Trapping
Stick traps can be used to catch small birds.
40% |
Crafting
To craft a stick trap, the player must have picked either the "Park Ranger" occupation or "Hunter" trait during character creation. Otherwise, it will be available after reading The Hunter Magazine Vol.2
Trapping
- Main article: Trapping
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Stick Trap |
0 XP | none | Sturdy Stick x4 (consumed) |
Twine (2 units) (consumed) |
Code
Item
Source: ProjectZomboid\media\scripts\newitems.txt
item TrapStick
{
DisplayCategory = Trapping,
Weight = 0.5,
Type = Normal,
DisplayName = Stick Trap,
Icon = TrapStick,
Trap = true,
}
Tile
Source: ProjectZomboid\media\lua\server\Traps\TrapDefinition.lua
local stickTrap = {};
stickTrap.type = "Base.TrapStick";
stickTrap.sprite = "constructedobjects_01_13";
stickTrap.closedSprite = "constructedobjects_01_12";
stickTrap.trapStrength = 15;
stickTrap.destroyItem = { "Base.UnusableWood", "Base.Twine" };
table.insert(Traps, stickTrap);