Nightstick: Difference between revisions
(→Code) |
(For real this time - script wasn't working :() |
||
Line 40: | Line 40: | ||
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)''''' | '''''From items_weapons.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version=41|incver=50}} | {{Retrieved|version=41|incver=50}} | ||
<pre> item | <pre> item Nightstick | ||
MaxRange = 1.2, | |||
WeaponSprite = Nightstick, | |||
MinAngle = 0.72, | |||
Type = Weapon, | Type = Weapon, | ||
MinimumSwingTime = 2, | |||
KnockBackOnNoDeath = FALSE, | |||
Weight = | SwingAmountBeforeImpact = 0.02, | ||
Categories = SmallBlunt, | |||
ConditionLowerChanceOneIn = 20, | |||
Weight = 1.5, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Swinging, | SubCategory = Swinging, | ||
ConditionMax = 15, | |||
MaxHitCount = 2, | |||
DoorDamage = 1, | |||
SwingAnim = Bat, | |||
DisplayName = Nightstick, | |||
MinRange = 0.61, | MinRange = 0.61, | ||
SwingTime = 2, | |||
KnockdownMod = 0, | |||
SplatBloodOnNoDeath = FALSE, | |||
Icon = NightStick, | |||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | IdleAnim = Idle_Weapon2, | ||
BreakSound = BreakMetalItem, | |||
TreeDamage = 0, | |||
CriticalChance = 25, | |||
BreakSound = | |||
TreeDamage = | |||
CriticalChance = | |||
CritDmgMultiplier = 2, | CritDmgMultiplier = 2, | ||
MinDamage = 0.6, | MinDamage = 0.6, | ||
MaxDamage = 1.1, | |||
BaseSpeed = 1, | |||
WeaponLength = 0.45, | |||
AttachmentType = Nightstick, | |||
AttachmentType = | |||
</pre> | </pre> | ||
Revision as of 02:48, 12 June 2021
Nightstick | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 1.5 | |
Equipped | One-handed | |
Condition max. | 15 | |
Skill | Long Blunt | |
Damage | ||
Type | Blunt | |
Attack speed | 2 | |
Range | 0.61–1.2 tiles | |
Damage | 0.6–1.1 | |
Knockback | 0.3 | |
Knockdown | 0 | |
Technical details | ||
Base ID | Base.Nightstick | |
A Nightstick is a blunt melee weapon.
Usage
Weapon
The frying pan has a short range and can only hit one opponent per swing, making it difficult to fight multiple zombies at once, especially since it has a long swing time.
Breaking doors
It is mostly ineffective at bashing down doors, dealing just 1 damage per hit. For comparison, an axe deals 35 damage.
Condition
The Nightstick is a blunt weapon, therefore being influenced by the blunt skills: accuracy, guard and maintenance. It has a maximum condition of 15 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: 1 in (20 + maintenance x 2)
Distribution
Nightsticks are often found on Police Officers and in Police Stations.
Code
From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item Nightstick MaxRange = 1.2, WeaponSprite = Nightstick, MinAngle = 0.72, Type = Weapon, MinimumSwingTime = 2, KnockBackOnNoDeath = FALSE, SwingAmountBeforeImpact = 0.02, Categories = SmallBlunt, ConditionLowerChanceOneIn = 20, Weight = 1.5, SplatNumber = 1, PushBackMod = 0.3, SubCategory = Swinging, ConditionMax = 15, MaxHitCount = 2, DoorDamage = 1, SwingAnim = Bat, DisplayName = Nightstick, MinRange = 0.61, SwingTime = 2, KnockdownMod = 0, SplatBloodOnNoDeath = FALSE, Icon = NightStick, RunAnim = Run_Weapon2, IdleAnim = Idle_Weapon2, BreakSound = BreakMetalItem, TreeDamage = 0, CriticalChance = 25, CritDmgMultiplier = 2, MinDamage = 0.6, MaxDamage = 1.1, BaseSpeed = 1, WeaponLength = 0.45, AttachmentType = Nightstick,