Spiked Plank: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
m (Automated Formatting) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}} | |||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|version | {{Page version|41.78.16}} | ||
{{Infobox | {{Infobox item | ||
| | |name=Spiked Plank | ||
| | |model=NailedPlank_Model.png | ||
|icon=PlankNail.png | |||
|icon_name=Spiked Plank | |||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Weapon - Crafted | |category=Weapon - Crafted | ||
Line 27: | Line 23: | ||
|knockdown=2 | |knockdown=2 | ||
<!--TECHNICAL--> | <!--TECHNICAL--> | ||
| | |item_id=Base.PlankNail | ||
}} | }} | ||
A '''spiked plank''' is a crafted [[Weapons|weapon]]. It's just a [[plank]] with [[nail]]s [[hammer]]ed into it. | A '''spiked plank''' is a crafted [[Weapons|weapon]]. It's just a [[plank]] with [[nail]]s [[hammer]]ed into it. | ||
==Usage== | ==Usage== | ||
Line 35: | Line 31: | ||
The spiked plank has a very slow attack speed, but compensates with a longer range and damage than many other [[weapons]]. Its durability is similar to the [[Kitchen Knife|kitchen knife]], and is quite fragile in comparison to more sturdily built weapons. | The spiked plank has a very slow attack speed, but compensates with a longer range and damage than many other [[weapons]]. Its durability is similar to the [[Kitchen Knife|kitchen knife]], and is quite fragile in comparison to more sturdily built weapons. | ||
The spiked plank, despite its flaws, is a multi-hit weapon, hitting 2 zombies at once (if multi-hit is enabled). It also has a good chance of knocking zombies down so they can be finished off. | The spiked plank, despite its flaws, is a multi-hit weapon, hitting 2 zombies at once (if multi-hit is enabled). It also has a good chance of knocking zombies down so they can be finished off. | ||
===Breaking doors=== | ===Breaking doors=== | ||
Line 49: | Line 45: | ||
==Crafting== | ==Crafting== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|spiked_plank | |||
}} | |||
==Trivia== | ==Trivia== | ||
Line 57: | Line 53: | ||
==Code== | ==Code== | ||
{{CodeBox| | {{CodeBox| | ||
{{CodeSnip | {{CodeSnip | ||
| lang = java | | lang = java | ||
Line 64: | Line 60: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item PlankNail | |||
{ | { | ||
DisplayCategory = WeaponCrafted, | DisplayCategory = WeaponCrafted, | ||
Line 119: | Line 114: | ||
*[[Spiked Pickaxe Handle]] | *[[Spiked Pickaxe Handle]] | ||
{{Navbox | {{Navbox items|blunt}} |
Latest revision as of 12:20, 14 April 2024
A spiked plank is a crafted weapon. It's just a plank with nails hammered into it.
Usage
Weapon
The spiked plank has a very slow attack speed, but compensates with a longer range and damage than many other weapons. Its durability is similar to the kitchen knife, and is quite fragile in comparison to more sturdily built weapons.
The spiked plank, despite its flaws, is a multi-hit weapon, hitting 2 zombies at once (if multi-hit is enabled). It also has a good chance of knocking zombies down so they can be finished off.
Breaking doors
It can cause 8 door damage per swing. For comparison, an axe does 35 damage.
Condition
The spiked plank has a maximum condition of 10. Its rate of degradation is influenced by the long blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (2 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the long blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and long blunt skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/2 (50%) |
0 | 4 | 1/4 (25%) |
0 | 8 | 1/6 (17%) |
4 | 0 | 1/6 (17%) |
8 | 0 | 1/10 (10%) |
4 | 4 | 1/8 (13%) |
4 | 8 | 1/10 (10%) |
8 | 8 | 1/14 (7%) |
10 | 10 | 1/16 (6%) |
Repairing
A spiked plank cannot be repaired.
Crafting
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Spiked Plank |
Plank ×1 Nails ×5 |
Hammer (tag) |
none | none | 0.25 Carpentry |
Trivia
- Strangely, the spiked plank has 0.02 increased range from a regular Plank. This may be due to the nails at the end adding a little bit more reach.
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item PlankNail
{
DisplayCategory = WeaponCrafted,
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 = SpikedPlankBreak,
DoorHitSound = SpikedPlankHit,
HitSound = SpikedPlankHit,
HitFloorSound = SpikedPlankHit,
SwingSound = SpikedPlankSwing,
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,
}