Spiked Plank: Difference between revisions

From PZwiki
mNo edit summary
(Now mostly Standard. Also updated to 41.50)
Line 1: Line 1:
__NOTOC__
{{notice|Standard}}
{{languages|Nailed plank}}
{{languages|Nailed plank}}
{{header|The Game World|Items|Weapons|Melee Weapons|version=Version 37|incver=8}}{{Weapons|image = Spiked_wood.png‎ |weapontype = Melee |ammo = None|hands = One handed|weight = 3.1|mindamage = 0.6|maxdamage = 0.8|condition = 10|degrade = 2|id = PlankNail}}The Nailed Plank is a player constructed weapon using a wooden plank (either acquired by sawing a log or removing a barricaded window plank) and hammering in 5 nails to increase its damage output.
{{header|The Game World|Items|Weapons|Melee Weapons|version=Version 41|incver=50}}
{{Infobox weapon
|display_name=Spiked Plank
|name_colour=Weapon
|name_text_colour=Weapon
|image=Spiked_wood.png
|image_width=120px
|category=Weapon
|weight=3.1
|equipped=Two-handed
|type=Blunt
|min_range=0.61
|max_range=1.32
|swing_time=4
|condition_max=10
|min_damage=0.5
|max_damage=0.8
|push_back=0.5
|knockdown=2
|class_name=Base.PlankNail
}}
The Nailed Plank is a player constructed weapon using a wooden [[plank]] and hammering in nails.


== Usage ==
=== Weapon ===
The Nailed Plank has a very slow swing rate but compensates with a longer range than many of the weapons, and is a weapon that can be made again when it breaks by finding another plank. The Nailed Plank is better than some weapon alternatives for damage output, but its durability is similar to the [[Kitchen Knife|kitchen knife]], and is quite fragile in comparison to more sturdily built weapons.


The Nailed Plank, despite its flaws, is a multi-attack weapon and can attack 2 zombies at once. It also has a good chance of knocking zombies down so they can be finished off.


The Nailed Plank has a very slow swing rate but compensates with a longer range than many of the weapons (0.5 longer than the Baseball Bat for example), and is a weapon that can be made again when it breaks by finding another plank. The Nailed Plank is better than some weapon alternatives for damage output, but its durability is similar to the [[Kitchen Knife|kitchen knife]], in which it only has about 20 'attacks' before it breaks, and is therefore quite fragile in comparison to more sturdy built weapons.
=== Breaking Doors ===
 
It also can cause 8 door damage per swing. For comparison, an [[Axe]] does 35 damage.
 
 
The Nailed Plank despite its flaws, is a multi-attack weapon, and can attack 2 zombies at once and has a good chance of knocking zombies to the floor where they can be finished off. It also can cause 5 door damage per swing, but no tree damage.


== Crafting ==
== Crafting ==
Line 20: Line 40:
{{RecipeLookup|3002}}
{{RecipeLookup|3002}}
|}
|}
== Trivia ==
* Strangely, the Spiked Plank has 0.02 increased range from a regular [[Plank]].


== Code ==
== Code ==
  <nowiki>
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
item PlankNail
{{Retrieved|version=41|incver=50}}
MaxRange = 2,
  <pre> item PlankNail
WeaponSprite = WoodPlank,
MaxRange = 1.32,
MinAngle = 0.2,
WeaponSprite = NailedPlank,
Type = Weapon,
MinAngle = 0.75,
MinimumSwingTime = 4,
Type = Weapon,
KnockBackOnNoDeath = FALSE,
MinimumSwingTime = 4,
SwingAmountBeforeImpact = 0.02,
KnockBackOnNoDeath = FALSE,
Categories = Improvised;Blunt,
SwingAmountBeforeImpact = 0.02,
Weight = 3.1,
Categories = Improvised;Blunt,
SplatN.umber = 0,
Weight = 3.1,
ConditionLowerChanceOneIn = 2,
SplatNumber = 2,
PushBackMod = 0.3,
ConditionLowerChanceOneIn = 2,
MaxDamage = 0.8,
PushBackMod = 0.3,
SubCategory = Swinging,
SubCategory = Swinging,
ConditionMax = 10,
ConditionMax = 10,
MaxHitCount = 2,
MaxHitCount = 2,
DoorDamage = 5,
DoorDamage = 8,
SwingAnim = Bat,
SwingAnim = Bat,
WeaponWeight = 3.1,
MinRange = 0.61,
MinRange = 0.61,
DisplayName = Spiked Plank,
        DisplayName = Spiked Plank,
SwingTime = 4,
SwingTime = 4,
KnockdownMod = 2,
MinDamage = 0.6,
SplatBloodOnNoDeath = TRUE,
KnockdownMod = 2,
Icon = PlankNail,
SplatBloodOnNoDeath = TRUE,
RunAnim = Run_Weapon2,
Icon = PlankNail,
IdleAnim = Idle_Weapon2,
RunAnim = Run_Weapon2,
BreakSound = BreakWoodItem,
        IdleAnim = Idle_Weapon2,
TreeDamage = 0,
        BreakSound = PZ_WoodSnap,
MetalValue = 5,
        TreeDamage = 0,
TwoHandWeapon = TRUE,
        MetalValue = 5,
CriticalChance = 25,
</nowiki>
CritDmgMultiplier = 5,
MinDamage = 0.5,
MaxDamage = 0.8,
BaseSpeed = 0.85,
DamageCategory = Slash,
DamageMakeHole = TRUE,
AttachmentType = Shovel,
</pre>


{{Navbox/Weapons}}
{{Navbox/Weapons}}

Revision as of 00:48, 25 May 2021

Spiked Plank
Spiked Plank
General
Category Weapon
Encumbrance
Heavy Load
3.1
Equipped Two-handed
Condition max. 10
Skill Long Blunt
Damage
Type Blunt
Attack speed 4
Range 0.61–1.32 tiles
Damage 0.5–0.8
Knockback 0.5
Knockdown 2
Technical details
Base ID Base.PlankNail

The Nailed Plank is a player constructed weapon using a wooden plank and hammering in nails.

Usage

Weapon

The Nailed Plank has a very slow swing rate but compensates with a longer range than many of the weapons, and is a weapon that can be made again when it breaks by finding another plank. The Nailed Plank is better than some weapon alternatives for damage output, but its durability is similar to the kitchen knife, and is quite fragile in comparison to more sturdily built weapons.

The Nailed Plank, despite its flaws, is a multi-attack weapon and can attack 2 zombies at once. It also has a good chance of knocking zombies down so they can be finished off.

Breaking Doors

It also can cause 8 door damage per swing. For comparison, an Axe does 35 damage.

Crafting

Name Recipe Description












Trivia

  • Strangely, the Spiked Plank has 0.02 increased range from a regular Plank.

Code

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

	item PlankNail
		MaxRange		= 1.32,
		WeaponSprite		= NailedPlank,
		MinAngle		= 0.75,
		Type			= Weapon,
		MinimumSwingTime	= 4,
		KnockBackOnNoDeath	= FALSE,
		SwingAmountBeforeImpact = 0.02,
		Categories		= Improvised;Blunt,
		Weight			= 3.1,
		SplatNumber		= 2,
		ConditionLowerChanceOneIn = 2,
		PushBackMod		= 0.3,
		SubCategory		= Swinging,
		ConditionMax		= 10,
		MaxHitCount		= 2,
		DoorDamage		= 8,
		SwingAnim		= Bat,
		MinRange		= 0.61,
		DisplayName		= Spiked Plank,
		SwingTime		= 4,
		KnockdownMod		= 2,
		SplatBloodOnNoDeath	= TRUE,
		Icon			= PlankNail,
		RunAnim			= Run_Weapon2,
		IdleAnim		= Idle_Weapon2,
		BreakSound		= BreakWoodItem,
		TreeDamage		= 0,
		MetalValue		= 5,
		TwoHandWeapon		= TRUE,
		CriticalChance		= 25,
		CritDmgMultiplier	= 5,
		MinDamage		= 0.5,
		MaxDamage		= 0.8,
		BaseSpeed		= 0.85,
		DamageCategory		= Slash,
		DamageMakeHole		= TRUE,
		AttachmentType		= Shovel,

Template:Navbox/Weapons