Nightstick: Difference between revisions

From PZwiki
m (Fixing "long blunt" to "small blunt" as the weapon goes on a belt and is not a long blunt weapon.)
m (Automated CodeBox update)
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{languages|Nightstick}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}}
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=50}}{{Infobox weapon
{{Page version|41.78.16}}
|display_name=Nightstick
{{Infobox item
|name_colour=Weapon
|name=Nightstick
|name_text_colour=Weapon
|model=NightStick_Model.png
|image=NightStick_Model.png
|icon=NightStick.png
|image_width=200px
|alternate_image=NightStick.png
|alternate_name=
|alternate_link=
|category=Weapon
|category=Weapon
|weight=1.5
|weight=1.5
|equipped=One-handed
|equipped=One-handed
|type=Blunt
|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
|class_name=Base.Nightstick
|item_id=Base.Nightstick
}}A '''Nightstick''' is a blunt melee [[weapon]].
}}
 
A '''nightstick''' is a blunt melee [[Weapons|weapon]].


==Usage==
==Usage==
===Weapon===
===Weapon===
The nightstick has a short range and can only hit one enemy per swing, meaning it is difficult to fight multiple zombies at once with it.
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===
Line 32: Line 30:


==Condition==
==Condition==
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>
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 Police Officers and in Police Stations.
The loot distributions can be found in the table(s) below.


== Code ==
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
! colspan="4" | Containers
{{Retrieved|version=41|incver=50}}
|-
<pre> item Nightstick
! Building/Room
MaxRange = 1.2,
! Container
WeaponSprite = Nightstick,
! style="width: 3.2em;" | Rolls
MinAngle = 0.72,
! style="width: 3.2em;" | Chance
Type = Weapon,
|-
MinimumSwingTime = 2,
|SafehouseLoot
KnockBackOnNoDeath = FALSE,
|[[counter]]
SwingAmountBeforeImpact = 0.02,
|4
Categories = SmallBlunt,
|6
ConditionLowerChanceOneIn = 20,
|-
Weight = 1.5,
|rowspan="2"|bathroom
SplatNumber = 1,
|[[locker]]
PushBackMod = 0.3,
|4
SubCategory = Swinging,
|2
ConditionMax = 15,
|-
MaxHitCount = 2,
|[[locker]]
DoorDamage = 1,
|4
SwingAnim = Bat,
|2
DisplayName = Nightstick,
|-
MinRange = 0.61,
|office
SwingTime = 2,
|[[desk]]
KnockdownMod = 0,
|4
SplatBloodOnNoDeath = FALSE,
|2
Icon = NightStick,
|-
RunAnim = Run_Weapon2,
|security
IdleAnim = Idle_Weapon2,
|[[locker]]
BreakSound = BreakMetalItem,
|4
TreeDamage = 0,
|2
CriticalChance = 25,
|}
CritDmgMultiplier = 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]].
MinDamage = 0.6,
MaxDamage = 1.1,
BaseSpeed = 1,
WeaponLength = 0.45,
AttachmentType = Nightstick,
</pre>


==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,
        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,
    }
}}
}}


==See also==
*[[Pool Cue]]
*[[Golf Club]]


{{Navbox/Weapons}}{{Navbox_weapons}}
{{Navbox weapons|blunt}}

Revision as of 11:09, 26 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Nightstick
NightStick Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Equipped
One-handed
Properties
Max condition
15
Performance
Damage
0.6–1.1
Range
0.61–1.2
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.Nightstick

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

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
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,
    }

See also