Stake: Difference between revisions

From PZwiki
(Undoing my revision. Different spear, it's a weapon coming in build 41.)
Tag: Undo
(added model image + crafting table + added pros-cons template + updated to build 41.53 + other fixes)
Line 1: Line 1:
<!--Comment: This section is for the language and the format of the page. The languages section is used for linking pages. So a example might be {{languages|Nails}} in which every page is connected with a /## on the end will link to that specific page. Eg: Nails/es Nails/fr even if there contain redirects. The header format can be seen in the header template with working explanation. The header connects categories and Version no. PLEASE ENTER THE VERSION AND INCREMENT No. WHEN YOU MAKE A PAGE. It helps everyone else know how old the page is versionwise -->
{{languages}}
{{languages}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=50}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=53}}
 
<!--
Comment: This section is for the infobox which will be positioned on the right of the page. The information can be pulled from the items/newitems.txt file in [Zomboid Folder\media\scripts]. For more info on how to use the infobox, see: https://pzwiki.net/wiki/Template:Infobox_weapon.
-->
 
{{Notice|Underconstruction}}
{{Infobox weapon
{{Infobox weapon
|display_name=Stake
|display_name=Stake
|name_colour=Weapon
|name_colour=Weapon
|name_text_colour=Weapon
|name_text_colour=Weapon
|image=Stake_model.png
|image=Stake_Model.png
|image_width=200px
|image_width=200px
|alternate_image=Stake.png
|alternate_image=Stake.png
|alternate_name=Stake
|alternate_name=Stake
|alternate_link=
|alternate_link=
|alternate_image2=spear_stone_knife.png
|alternate_name2=Spear Stoneknife
|alternate_link2=
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
Line 26: Line 15:
|function=[[Weapon|Weapon]]
|function=[[Weapon|Weapon]]
|equipped=One-handed
|equipped=One-handed
|secondary_item=
|condition_max=5
|condition_max=5
<!-- |attachment_type= -->
|attachment_type=Screwdriver
<!--CHARACTERISTICS-->
|ammo_type=
|clip_size=
|sound_radius=
|recoil_delay=
|reload_time=
|aiming_time=
<!--DAMAGE-->
<!--DAMAGE-->
|type=[[Weapons#Short_Blade|Short Blade]]
|type=SmallBlade
|swing_time=2
|swing_time=2
|min_range=0.61
|min_range=0.61
|max_range=0.85
|max_range=0.85
|hit_chance=
|min_damage=0.25
|min_damage=0.25
|max_damage=0.53
|max_damage=0.53
|push_back=0.3
|push_back=0.3
|knockdown=0
|kill_move=Jaw Stab
|kill_move=Jaw_Stab
|effect_power=
|effect_range=
|effect_timer=
|effect_type=
|sensor_range=
 
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|ingredients=
|ingredients=1 × [[Tree Branch]]<br>1 × [[Knife (disambiguation)|Knife]]
|class_name=Base.Stake
|class_name=Base.Stake
}}
}}A '''stake''' is a [[Crafting|craftable]] [[Weapons#Melee_weapons|melee weapon]] categorized as a [[Weapons#Short_Blade|short blade]]
 
<!--Comment: General introductory for the item-->
<b>WARNING: This article is under construction and may not be accurate or even contain errors!</b>
 
The stake is a craftable [[Weapons#Melee_weapons|melee weapon]] categorized as a [[Weapons#Short_Blade|short blade]] which can be attached to a spear [? link to spear].<br>
It can also be used to craft a [[Tent Kit|tent kit]].
 


__TOC__
__TOC__
<!--Comment: This is where the 'Table Of Contents' will go if it is needed-->


==Usage==
==Usage==
<!--Comment: This section contains how the item can be used, weather it be as a weapon, tool or in recipes. -->
===Tent===
The stake can be used to make a [[Tent Kit|tent kit]].
===Weapon===
===Weapon===
 
{{pros-cons
<b><u>Pros:</u></b><br>
<!-- #PROS# - below this line -->
The stake is a one handed blade weapon which is capable of dealing a one shot kill on zombies when the player performs a jaw stab animation.
|pros1 = The stake is a one handed blade weapon which is capable of dealing a one shot kill on zombies when the player performs a jaw stab animation.
Since it's a one handed weapon the player can carry a bag in the other hand but it is advised to have enough strength to do so.
|pros2 = The stake is a one handed blade weapon which is capable of dealing a one shot kill on zombies when the player performs a jaw stab animation.
 
<!-- #CONS# - below this line -->
<b><u>Cons:</u></b><br>
|cons1 = Despite its fast attack rate, it has a short attack range and it inflicts low damage to the zombies if the player can't jaw stab the target, making it a weapon hard to master.
Despite its fast attack rate, it has a short attack range and it inflicts low damage to the zombies if the player can't jaw stab the target, making it a weapon hard to master.
|cons2 = This weapon can only hit 1 target at a time.
This weapon can only hit 1 target at a time.
|cons3 = The player should make sure other zombies are far enough in order to engage the closest one in case of a jaw stab with the weapon or else by the time this kind of attack is finished the player can't move making him and easy prey for the close zombies.
The player should make sure other zombies are far enough in order to engage the closest one in case of a jaw stab with the weapon or else by the time this kind of attack is finished the player can't move making him and easy prey for the close zombies.
}}


===Breaking doors===
===Breaking doors===
It is very ineffective at bashing down [[door]]s, dealing only 1 damage per hit. For comparison, an [[axe]] deals 35 damage to that structure type.
It is very ineffective at bashing down [[door]]s, dealing only 1 damage per hit. For comparison, an [[axe]] deals 35 damage to that structure type.
===Tree chopping===
[To be filled]
<!-- Can the item be used to chop down trees? If so, how much damage does it do? -->
<!-- Recipes section not needed: Can't be crafted in build 41.50 -->


==Condition==
==Condition==
<!--Comment: This section contains all the info about the condition of the weapon. -->
The condition of the fork is influenced by the [[Skills#Combat|maintenance skill]]. It has a maximum condition of 5 and will be damaged depending on the player's maintenance skill. <br>The chance of losing durability is: <code>1 in (1 + maintenance x 2)</code>
The stake is a [[Skills#Blade|blade]] weapon, therefore being influenced by the blade skills: accuracy, guard and maintenance.
It only has a maximum condition of 5 and will be damaged depending on the player's maintenance skill.<br>
The chance of losing durability is: [? Add equation here]


===Repairing===
===Repairing===
<!--Comment: This uses the code found in the repair file [Zomboid Folder\media\scripts\fixing.txt] which defines what it costs to repair the weapon. The table below is a graphical representation of what is required to repair. -->
A stake cannot be repaired.


<!-- NOTE FROM A WIKI EDITOR: Please provide the chances and repair values below! -->
==Crafting==
This item can't be repaired.
The stake is a craftable weapon that can be used as an alternative to tent pegs to make a [[Tent Kit|tent kit]].  
{{Crafting header|ing=3}}
{{Crafting survivalist|005|ing=3}}|-
{{Crafting survivalist|004|ing=3}}|-
|}


==Distribution==
==Distribution==
 
Stakes cannot be found in [[Knox Country]] and only [[#Crafting|crafted]].  
<!--Comment: The locations this item can be found should be placed here. Spawn locations can be found in the distribution.lua and vehicledistribution.lua files. -->
[! To be filled or removed]
 
==Crafting==
 
===Itself===
{{Crafting table header}}
{{RecipeLookup|4043}}
{{Crafting table footer}}
 
===Survival===
{{Crafting table header}}
{{RecipeLookup|4011}}
{{Crafting table footer}}
 
===Buildings===
<!-- NOTE FROM A WIKI EDITOR: Please add more places!-->
[! To be filled or removed]
 
===Vehicles===
<!-- Include here all the vehicle types/areas the weapon can be found. -->
[! To be filled or removed]
 
==NPCs==
<!-- NPCs Update this section when survivors NPCs will be added into the game -->
===Zombies===
[! To be filled or removed]
<!-- TO VERIFY: There is a chance zombies have a stake stuck into their body. -->
<!-- Include here if the weapon can be found on zombies, and where. I.e. Many weapons can be found on zombies in specific areas. E.g. Police baton found on police zombies are found near police stations/roadblocks.
Once survivor NPCs are added, they will also be added into this section. -->


==Trivia==
==Trivia==
*The stake was added to the game in build 41 IWMBUS. (also known as animation build)
*The stake was added to the game in [[build 41]] (also known as animation build).


==Gallery==
==Gallery==
Line 149: Line 75:


==Code==
==Code==
<!--Comment: all the code related to the item found in txt files should be placed here-->
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
===Item===
{{Retrieved|version=41|incver=53}}
<!--Comment: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
<pre>   item Stake
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
<!--Comment: Add the retrieved template so both visitors and editors can tell how old the code is and whether or not it may need to be updated.-->
{{Retrieved|version=41|incver=50}}
<!--Comment: Example code taken from file. items.txt and newitems.txt are usually the source of the information at this time for basic items. Nowiki is used to display the text only, example used is BaseballBat.-->
<pre>
item Stake
{
{
MaxRange = 0.85,
MaxRange = 0.85,
WeaponSprite = Stake,
WeaponSprite = Stake,
MinAngle = 0.65,
MinAngle = 0.65,
Type = Weapon,
Type = Weapon,
MinimumSwingTime = 2,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlade,
Categories = SmallBlade,
ConditionLowerChanceOneIn = 1,
ConditionLowerChanceOneIn = 1,
Weight = 0.3,
Weight = 0.3,
SplatNumber = 2,
SplatNumber = 2,
PushBackMod = 0.3,
PushBackMod = 0.3,
SubCategory = Stab,
SubCategory = Stab,
AimingMod = 0.8,
AimingMod = 0.8,
CloseKillMove = Jaw_Stab,
CloseKillMove = Jaw_Stab,
ConditionMax = 5,
ConditionMax = 5,
MaxHitCount = 1,
MaxHitCount = 1,
IsAimedHandWeapon = TRUE,
IsAimedHandWeapon = TRUE,
DoorDamage = 1,
DoorDamage = 1,
SwingAnim = Stab,
SwingAnim = Stab,
DisplayName = Stake,
DisplayName = Stake,
MinRange = 0.61,
MinRange = 0.61,
SwingTime = 2,
SwingTime = 2,
KnockdownMod = 0,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
SplatBloodOnNoDeath = FALSE,
Icon = Stake,
Icon = Stake,
RunAnim = Run_Weapon2,
RunAnim = Run_Weapon2,
         IdleAnim = Idle_Weapon2,
         IdleAnim = Idle_Weapon2,
         BreakSound  =  BreakMetalItem,
         BreakSound  =  BreakMetalItem,
Line 194: Line 114:
         MinDamage = 0.25,
         MinDamage = 0.25,
         MaxDamage = 0.53,
         MaxDamage = 0.53,
WeaponLength = 0.18,
WeaponLength = 0.18,
HitFloorSound = BladeHit,
HitFloorSound = BladeHit,
         ImpactSound = BladeHit,
         ImpactSound = BladeHit,
HitSound = BladeHit,
HitSound = BladeHit,
AttachmentType = Screwdriver,
AttachmentType = Screwdriver,
  }
  }</pre>
</pre>


==See also==
*[[Crafted Spear]]
*[[Smashed Bottle]]
*[[Stone Knife]]


<!-- NOTE FROM EDITOR: Repair section deleted since the item can't be repaired in version 41.50 IWMBUS -->
<!--Comment: Current location of Code in directory for updating purposes. Example below shows how to lay it out. ''''' is for bold italic.-->
<!--'''''From fixing.txt (Project Zomboid directory/media/scripts/)'''''-->
<!--Comment: Add the retrieved template so both visitors and editors can tell how old the code is and whether or not it may need to be updated.-->
{{Retrieved|version=41|incver=50}}
<!--Comment: This is the code found in the repair file [Zomboid Folder\media\scripts\fixing.txt] which defines what it costs to repair the weapon.  -->
<!-- This item can't be repaired. -->
==See also==
<!--Comment: Location of links to relevant guides or other pages that may not have been mentioned on this page but still relate to the item in some way. -->
* [[Weapons#Short_Blade|Short Blade Weapons]]
<!--Comment: Navbox placement goes here. Code example = {{Navbox_weapons}}, (see all current navboxs via the template section)-->
{{Navbox_weapons}}
{{Navbox_weapons}}

Revision as of 08:11, 31 July 2021

Stake
Stake
Stake
General
Category Weapon
Encumbrance
Heavy Load
0.3
Function Weapons
Equipped One-handed
Condition max. 5
Skill Short Blade
Attachment Belt
Damage
Type SmallBlade
Attack speed 2
Range 0.61–0.85 tiles
Damage 0.25–0.53
Knockback 0.3
Execution Jaw Stab
Technical details
Ingredients 1 × Tree Branch
1 × Knife
Base ID Base.Stake

A stake is a craftable melee weapon categorized as a short blade

Usage

Weapon

Pros Cons
  • The stake is a one handed blade weapon which is capable of dealing a one shot kill on zombies when the player performs a jaw stab animation.
  • The stake is a one handed blade weapon which is capable of dealing a one shot kill on zombies when the player performs a jaw stab animation.
  • Despite its fast attack rate, it has a short attack range and it inflicts low damage to the zombies if the player can't jaw stab the target, making it a weapon hard to master.
  • This weapon can only hit 1 target at a time.
  • The player should make sure other zombies are far enough in order to engage the closest one in case of a jaw stab with the weapon or else by the time this kind of attack is finished the player can't move making him and easy prey for the close zombies.

Breaking doors

It is very ineffective at bashing down doors, dealing only 1 damage per hit. For comparison, an axe deals 35 damage to that structure type.

Condition

The condition of the fork is influenced by the maintenance skill. It has a maximum condition of 5 and will be damaged depending on the player's maintenance skill.
The chance of losing durability is: 1 in (1 + maintenance x 2)

Repairing

A stake cannot be repaired.

Crafting

The stake is a craftable weapon that can be used as an alternative to tent pegs to make a tent kit.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
Stake.png
Stake
1.25 Carpentry none Branch.png
Tree Branch

(keep)
-
TZ TentKit.png
Tent Kit
0 XP none TentMaterial.png
Tarp
(consumed)
Stake.png
Stake x4
(consumed)
TZ WoodenStick.png
Sturdy Stick x2
(consumed)
|-

Distribution

Stakes cannot be found in Knox Country and only crafted.

Trivia

  • The stake was added to the game in build 41 (also known as animation build).

Gallery

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.53

    item Stake
	{
	MaxRange	=	0.85,
	WeaponSprite	=	Stake,
	MinAngle	=	0.65,
	Type	=	Weapon,
	MinimumSwingTime	=	2,
	KnockBackOnNoDeath	=	FALSE,
	SwingAmountBeforeImpact	=	0.02,
	Categories	=	SmallBlade,
	ConditionLowerChanceOneIn	=	1,
	Weight	=	0.3,
	SplatNumber	=	2,
	PushBackMod	=	0.3,
	SubCategory	=	Stab,
	AimingMod	=	0.8,
	CloseKillMove = Jaw_Stab,
	ConditionMax	=	5,
	MaxHitCount	=	1,
	IsAimedHandWeapon	=	TRUE,
	DoorDamage	=	1,
	SwingAnim	=	Stab,
	DisplayName	=	Stake,
	MinRange	=	0.61,
	SwingTime	=	2,
	KnockdownMod	=	0,
	SplatBloodOnNoDeath	=	FALSE,
	Icon	=	Stake,
	RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   BreakMetalItem,
        TreeDamage  =   0,
        EnduranceMod = 0.5,
        CriticalChance	=	10,
        CritDmgMultiplier = 10,
        MinDamage	=	0.25,
        MaxDamage	=	0.53,
	WeaponLength = 0.18,
	HitFloorSound	=	BladeHit,
        ImpactSound	=	BladeHit,
	HitSound	=	BladeHit,
	AttachmentType = Screwdriver,
 	}

See also