Trap Crate: Difference between revisions
No edit summary Tag: Reverted |
Tag: Undo |
||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Trapping}} | {{Header|Project Zomboid|Items|Trapping}} | ||
{{Page version|41.78.16}} | {{Page version|41.78.16}} | ||
{{Infobox tile | {{Infobox tile | ||
|name= | |name=Trap Crate | ||
|image=CrateTrapAnim.gif | |image=CrateTrapAnim.gif | ||
|icon=TrapCrate.png | |icon=TrapCrate.png | ||
|icon_name= | |icon_name=Crate Trap | ||
<!--General--> | <!--General--> | ||
|category=Trapping | |category=Trapping | ||
|weight=1.0 | |weight=1.0 | ||
|size=1 | |size=1 | ||
|function= | |function=Catch [[animals]] | ||
<!--Properties--> | <!--Properties--> | ||
|health=50 | |health=50 | ||
Line 18: | Line 17: | ||
<!--Build--> | <!--Build--> | ||
|crafting=true | |crafting=true | ||
|build_skill=[[The Hunter Magazine | |build_skill=[[The Hunter Magazine|The Hunter Magazine Vol. 2]] | ||
|build_tool_tag= | |build_tool_tag=Saw | ||
|ingredients=[[Plank | |ingredients=[[Plank]] × 3<br>[[Nails]] × 5 | ||
<!--Disassemble--> | <!--Disassemble--> | ||
|destroy=true | |destroy=true | ||
|products=[[Scrap Wood | |products=[[Scrap Wood]]<br>[[Nails]] | ||
<!--Technical--> | <!--Technical--> | ||
|item_id=Base.TrapCrate | |item_id=Base.TrapCrate | ||
|tile_id=constructedobjects_01_3 | |tile_id=constructedobjects_01_3 | ||
}} | }} | ||
A | A '''trap crate''' is a medium-sized trap used by beginner trappers. | ||
== | ==Usage== | ||
A trap crate is one of several traps used in [[trapping]] to catch a variety of [[animals|wildlife]]. | A trap crate is one of several traps used in [[trapping]] to catch a variety of [[animals|wildlife]]. | ||
Latest revision as of 06:50, 19 April 2024
A trap crate is a medium-sized trap used by beginner trappers.
Usage
A trap crate is one of several traps used in trapping to catch a variety of wildlife.
Trapping
- Main article: Trapping
Trap crates can be used to catch rabbits and squirrels.
30% | |
30% |
Crafting
To craft a trap crate, the player requires no skill but must read The Hunter Magazine Vol.2 or have picked the "Park Ranger" occupation or "Hunter" trait during character creation. After crafting it, you can right-click on ground and use Place Trap option to place it.
Trapping
- Main article: Trapping
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Trap Crate |
Plank ×3 Nails ×5 |
Saw (tag) |
none | none | 0.75 Carpentry |
Code
Item
Source: ProjectZomboid\media\scripts\newitems.txt
item TrapCrate
{
DisplayCategory = Trapping,
Weight = 1,
Type = Normal,
DisplayName = Trap Crate,
Icon = TrapCrate,
Trap = true,
}
Tile
Source: ProjectZomboid\media\lua\server\Traps\TrapDefinition.lua
local crateTrap = {};
crateTrap.type = "Base.TrapCrate";
crateTrap.sprite = "constructedobjects_01_3";
crateTrap.closedSprite = "constructedobjects_01_2";
crateTrap.trapStrength = 15;
crateTrap.destroyItem = { "Base.UnusableWood", "Base.Nails" };
table.insert(Traps, crateTrap);