Nightstick: Difference between revisions
(If it cannot be used to chop trees, probably doesn't need to be in usage section I think.) |
(→Code) |
||
Line 38: | Line 38: | ||
== Code == | == Code == | ||
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)''''' | |||
'''''From | |||
{{Retrieved|version=41|incver=50}} | {{Retrieved|version=41|incver=50}} | ||
<pre> item | <pre> item GardenHoe | ||
Type = Weapon, | |||
DisplayName = Garden Hoe, | |||
Icon = Hoe, | |||
Weight = 2.0, | |||
SubCategory = Swinging, | |||
MinAngle = 0.85, | |||
MaxRange = 1.6, | |||
MinRange = 0.61, | |||
PushBackMod = 0.5, | |||
HitAngleMod = -30.0, | |||
SwingAnim = Bat, | |||
MaxHitCount = 1, | |||
WeaponSprite = GardenHoe, | |||
IdleAnim = Idle_Weapon2, | |||
RunAnim = Run_Weapon2, | |||
Weight = 1.5, | |||
DoorDamage = 10, | |||
MinimumSwingTime = 2.1, | |||
SwingTime = 2.1, | |||
SwingAmountBeforeImpact = 0.02, | |||
ConditionLowerChanceOneIn = 10, | |||
ConditionMax = 10, | |||
Categories = Blunt, | |||
TwoHandWeapon = TRUE, | |||
BreakSound = BreakWoodItem, | |||
KnockdownMod = 2, | |||
KnockBackOnNoDeath = TRUE, | |||
MetalValue = 70, | |||
TreeDamage = 1, | |||
CriticalChance = 35, | |||
CritDmgMultiplier = 2, | |||
MaxDamage = 1.7, | |||
MinDamage = 0.6, | |||
BaseSpeed = 0.85, | |||
WeaponLength = 0.65, | |||
DamageCategory = Slash, | |||
DamageMakeHole = TRUE, | |||
AttachmentType = BigBlade, | |||
Tags = DigPlow, | |||
</pre> | |||
{{Navbox/Weapons}}{{Navbox_weapons}} | {{Navbox/Weapons}}{{Navbox_weapons}} |
Revision as of 02:45, 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 GardenHoe Type = Weapon, DisplayName = Garden Hoe, Icon = Hoe, Weight = 2.0, SubCategory = Swinging, MinAngle = 0.85, MaxRange = 1.6, MinRange = 0.61, PushBackMod = 0.5, HitAngleMod = -30.0, SwingAnim = Bat, MaxHitCount = 1, WeaponSprite = GardenHoe, IdleAnim = Idle_Weapon2, RunAnim = Run_Weapon2, Weight = 1.5, DoorDamage = 10, MinimumSwingTime = 2.1, SwingTime = 2.1, SwingAmountBeforeImpact = 0.02, ConditionLowerChanceOneIn = 10, ConditionMax = 10, Categories = Blunt, TwoHandWeapon = TRUE, BreakSound = BreakWoodItem, KnockdownMod = 2, KnockBackOnNoDeath = TRUE, MetalValue = 70, TreeDamage = 1, CriticalChance = 35, CritDmgMultiplier = 2, MaxDamage = 1.7, MinDamage = 0.6, BaseSpeed = 0.85, WeaponLength = 0.65, DamageCategory = Slash, DamageMakeHole = TRUE, AttachmentType = BigBlade, Tags = DigPlow,