Stick Trap: Difference between revisions

From PZwiki
(duplicate article. Stick Trap contents merged)
m (Automated Formatting)
 
(26 intermediate revisions by 11 users not shown)
Line 1: Line 1:
(v32.30)
{{Header|Project Zomboid|Items|Trapping}}
{{Page version|41.78.16}}
{{Infobox tile
|name=Stick Trap
|image=StickTrapAnim.gif
|icon=TrapStick.png
|icon_name=Stick Trap
<!--General-->
|category=Trapping
|weight=0.5
|size=1
|function=Catch [[animals]]
<!--Properties-->
|health=50
|strength=15
|animals=[[File:Bird.png|link=Small Bird]]
<!--Build-->
|crafting=true
|build_skill=[[The Hunter Magazine|The Hunter Magazine Vol. 2]]
|ingredients=[[Sturdy Stick]] × 4<br>[[Twine]] (1 unit)
<!--Disassemble-->
|destroy=true
|products=[[Scrap Wood]]<br>[[Twine]] (1 unit)
<!--Technical-->
|item_id=Base.TrapStick
|tile_id=constructedobjects_01_13
}}
A '''stick trap''' is a small-sized trap used by beginner trappers.


A small trap used by beginner trappers, used to catch [[Dead Bird|small birds]]
==Usage==
A stick trap is one of several traps used in [[trapping]] to catch a variety of [[animals|wildlife]].


{| class="wikitable sortable" style="text-align:center;"
To place the trap, unpack it to your main inventory, right-click on the ground, and click "Place trap > Stick trap"
|-
! class="unsortable" | Type
! class="unsortable" | Strength
! class="unsortable" | Weight
! class="unsortable" | Chance - %
! class="unsortable" | Classname
|-


| [[File:TRAPStick.png|32px|link=Trap Stick|Trap Stick]] <br> [[Trap Stick]]
===Trapping===
| 15
{{Main|Trapping}}
| 0.5
Stick traps can be used to catch [[Small Bird|small bird]]s.
| [[File:ANIMALBird.png|32px|link=Dead Bird|Small Bird]] - 15%
{| width="100px" style="text-align:left;"
| Base.TrapStick
|+ '''''Catch chance:'''''
|-
| [[File:Bird.png|32px|link=Small Bird|Small Bird]] || 40%
|}
|}


== Crafting ==
==Crafting==
To craft a stick trap, the player must have picked either the [[Occupation#Park Ranger|"Park Ranger" occupation]] or [[Traits|"Hunter" trait]] during character creation. Otherwise, it will be available after reading ''[[The Hunter Magazine|The Hunter Magazine Vol.2]]''


'''As of Build 32 crafting traps requires the player to either pick "Park Ranger" profession, a "Hunter" trait on character creation or read one of the [[Recipe Magazines]] that can be found in the world.'''
===Trapping===
{{Main|Trapping}}
{{Crafting/sandbox2
|stick_trap
}}


{| class="wikitable sortable" style="text-align:center;"
==Code==
|-
{{CodeBox|
! class="unsortable" | Item
 
! class="unsortable" | Ingredients
===Item===
! class="unsortable" | Description
{{CodeSnip
! class="unsortable" | Skill Level
  | lang = java
{{RecipeLookup|6001}}
  | line = true
|-
  | start = 2343
|}
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item TrapStick
    {
        DisplayCategory = Trapping,
        Weight = 0.5,
        Type = Normal,
        DisplayName = Stick Trap,
        Icon = TrapStick,
        Trap    =  true,
    }
}}
 
===Tile===
{{CodeSnip
  | lang = lua
  | line = false
  | path = ProjectZomboid\media\lua\server\Traps
  | source = TrapDefinition.lua
  | retrieved = true
  | version = 41.78.16
  | code =
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);
  }}
}}
 
==See also==
*[[Mouse Trap]]
*[[Snare Trap]]
*[[Trap Crate]]
*[[Trap Box]]
*[[Cage Trap]]
 
{{Navbox items|survival}}

Latest revision as of 12:25, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Stick Trap
StickTrapAnim.gif
[[File:{{{icon2}}}|Stick Trap|]]
[[File:{{{icon3}}}|Stick Trap|]]
[[File:{{{icon4}}}|Stick Trap|]]
[[File:{{{icon5}}}|Stick Trap|]]
General
Category
Trapping
EncumbranceMoodle Icon HeavyLoad.png
0.5
Size
1 tile
Function
Catch animals
Properties
Health
50
Strength
15
Animals
Bird.png
Crafting
Ingredients
Sturdy Stick × 4
Twine (1 unit)
Destroy
Products
Technical
Item ID(s)
Base.TrapStick
Tile ID(s)
constructedobjects_01_13

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.

Catch chance:
Small Bird 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 Ingredients Tools Requirements Workstation XP
TrapStick.png
Stick Trap
TZ WoodenStick.png Sturdy Stick ×4
Twine.png Twine ×2 unit(s)
none
MagazineHunting2.png
The Hunter Magazine Vol.2
none none

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Item

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
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

Retrieved: Build 41.78.16
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);

See also