Cage Trap: Difference between revisions
(It says 40% on the trapping page and it makes sense) |
m (Automated Formatting) |
||
(21 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Trapping}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox tile | ||
|name=Cage Trap | |||
|image=CageTrapAnim.gif | |||
| image = CageTrapAnim.gif | |icon=TrapCage.png | ||
| | |icon_name=Cage Trap | ||
<!--General--> | |||
| | |category=Trapping | ||
|weight=1.0 | |||
| category = | |size=1 | ||
| weight = 1.0 | |function=Catch [[animals]] | ||
| strength = 20 | <!--Properties--> | ||
| animals = [[File:Rabbit.png|link=Rabbit]] [[File:Squirrel.png|link=Squirrel]] | |health=50 | ||
| | |strength=20 | ||
| ingredients = 5 | |animals=[[File:Rabbit.png|link=Rabbit]] [[File:Squirrel.png|link=Squirrel]] | ||
| | <!--Build--> | ||
}}A '''cage trap''' is a medium sized trap used by journeyman trappers. | |crafting=true | ||
|build_skill=[[The Hunter Magazine|The Hunter Magazine Vol. 3]] | |||
|build_skill2=[[Trapping]] | |||
|build_level2=3 | |||
|ingredients=[[Wire]] (5 units) | |||
<!--Disassemble--> | |||
|destroy=true | |||
|products=[[Wire]] | |||
<!--Technical--> | |||
|item_id=Base.TrapCage | |||
|tile_id=constructedobjects_01_8 | |||
}} | |||
A '''cage trap''' is a medium-sized trap used by journeyman trappers. | |||
==Usage== | ==Usage== | ||
A cage trap is one of several traps used in | A cage trap is one of several traps used in [[trapping]] to catch a variety of [[animals|wildlife]]. | ||
===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 30: | Line 43: | ||
|} | |} | ||
== Crafting == | ==Crafting== | ||
To craft a cage trap, the player must have picked either the {{ | To craft a cage trap, the player must have picked either the {{ll|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=== | ||
{{Main|Trapping}} | {{Main|Trapping}} | ||
{{Crafting | {{Crafting/sandbox2 | ||
|cage_trap | |||
}} | |||
==Code== | ==Code== | ||
{{CodeBox| | |||
===Item=== | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 2301 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item TrapCage | |||
{ | |||
DisplayCategory = Trapping, | |||
Weight = 1, | |||
Type = Normal, | |||
DisplayName = Cage Trap, | |||
Icon = TrapCage, | |||
Trap = true, | |||
MetalValue = 10, | |||
} | |||
}} | |||
===Tile=== | |||
{{CodeSnip | |||
| lang = lua | |||
| line = false | |||
| path = ProjectZomboid\media\lua\server\Traps | |||
| source = TrapDefinition.lua | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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== | ==See also== | ||
* | *[[Trap Crate]] | ||
* | *[[Trap Box]] | ||
* | *[[Snare Trap]] | ||
* | *[[Stick Trap]] | ||
{{Navbox items|survival}} |
Revision as of 07:06, 14 April 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 | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Cage Trap |
Wire ×5 unit(s) | none | Trapping 3 (and) The Hunter Magazine Vol.3 |
none | none |
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);