Nightstick: Difference between revisions
m (minor fixes) |
m (Automated CodeBox update) |
||
(30 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Nightstick | ||
|model=NightStick_Model.png | |||
| | |icon=NightStick.png | ||
|category=Weapon | |category=Weapon | ||
|weight=1.5 | |weight=1.5 | ||
|equipped=One-handed | |equipped=One-handed | ||
|type= | |type=SmallBlunt | ||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1.2 | |max_range=1.2 | ||
Line 21: | Line 17: | ||
|push_back=0.3 | |push_back=0.3 | ||
|knockdown=0 | |knockdown=0 | ||
| | |item_id=Base.Nightstick | ||
}}A ''' | }} | ||
A '''nightstick''' is a blunt melee [[Weapons|weapon]]. | |||
==Usage== | ==Usage== | ||
===Weapon=== | ===Weapon=== | ||
The | The nightstick has a short range and can hit up to two enemies per swing, making it a useful weapon for controlling small groups of zombies. It also seems to be very good for knocking down zombies, further adding to its usefulness. | ||
===Breaking doors=== | ===Breaking doors=== | ||
It is mostly ineffective at bashing down [[door]]s, dealing just 1 damage per hit. For comparison, an [[axe]] deals 35 damage. | It is mostly ineffective at bashing down [[door]]s, dealing just 1 damage per hit. For comparison, an [[axe]] deals 35 damage. | ||
==Condition== | ==Condition== | ||
The | The nightstick is a [[Skills#Combat|small 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: <code>1 in (20 + maintenance x 2)</code> | ||
==Distribution== | ==Distribution== | ||
Nightsticks are often found on | The loot distributions can be found in the table(s) below. | ||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|SafehouseLoot | |||
|[[counter]] | |||
|4 | |||
|6 | |||
|- | |||
|rowspan="2"|bathroom | |||
|[[locker]] | |||
|4 | |||
|2 | |||
|- | |||
|[[locker]] | |||
|4 | |||
|2 | |||
|- | |||
|office | |||
|[[desk]] | |||
|4 | |||
|2 | |||
|- | |||
|security | |||
|[[locker]] | |||
|4 | |||
|2 | |||
|} | |||
Nightsticks are often found on police officers and in [[police station]]s and found impaled in the stomach of zombies about 15 or 18 days after the [[Knox Event]]. | |||
== Code == | ==Code== | ||
=== | {{CodeBox | ||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 95 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item Nightstick | |||
{ | |||
DisplayCategory = Weapon, | |||
MaxRange = 1.2, | MaxRange = 1.2, | ||
WeaponSprite = Nightstick, | WeaponSprite = Nightstick, | ||
Line 70: | Line 107: | ||
RunAnim = Run_Weapon2, | RunAnim = Run_Weapon2, | ||
IdleAnim = Idle_Weapon2, | IdleAnim = Idle_Weapon2, | ||
BreakSound = | BreakSound = NightstickBreak, | ||
DoorHitSound = NightstickHit, | |||
HitSound = NightstickHit, | |||
HitFloorSound = NightstickHit, | |||
SwingSound = NightstickSwing, | |||
TreeDamage = 0, | TreeDamage = 0, | ||
CriticalChance = 25, | CriticalChance = 25, | ||
Line 78: | Line 119: | ||
BaseSpeed = 1, | BaseSpeed = 1, | ||
WeaponLength = 0.45, | WeaponLength = 0.45, | ||
AttachmentType = Nightstick, | AttachmentType = Nightstick, | ||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Pool Cue]] | |||
*[[Golf Club]] | |||
{{Navbox | {{Navbox weapons|blunt}} |
Revision as of 11:09, 26 March 2024
A nightstick is a blunt melee weapon.
Usage
Weapon
The nightstick has a short range and can hit up to two enemies per swing, making it a useful weapon for controlling small groups of zombies. It also seems to be very good for knocking down zombies, further adding to its usefulness.
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 small 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
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
SafehouseLoot | counter | 4 | 6 |
bathroom | locker | 4 | 2 |
locker | 4 | 2 | |
office | desk | 4 | 2 |
security | locker | 4 | 2 |
Nightsticks are often found on police officers and in police stations and found impaled in the stomach of zombies about 15 or 18 days after the Knox Event.
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Nightstick
{
DisplayCategory = Weapon,
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 = NightstickBreak,
DoorHitSound = NightstickHit,
HitSound = NightstickHit,
HitFloorSound = NightstickHit,
SwingSound = NightstickSwing,
TreeDamage = 0,
CriticalChance = 25,
CritDmgMultiplier = 2,
MinDamage = 0.6,
MaxDamage = 1.1,
BaseSpeed = 1,
WeaponLength = 0.45,
AttachmentType = Nightstick,
}