Bayonet

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
PictureKate.png
This is a future feature.
This article is about an item or mechanic that is currently unimplemented and planned for a future version.
It has either been previewed or found in the game files and does not exist yet.
Bayonet
Bayonet
General
Category
Weapon Part
Encumbrance
Moodle Icon HeavyLoad.png
0.2
Used in
LeverActionRifle.png RifleHunting.png
Part type
Canon
Performance
Aiming time
5
Encumbrance mod.
0.2
Technical
Item ID
Base.Bayonnet

A bayonet is an upcoming weapon part.

Usage

Having the bayonet attached to a weapon currently has no function.

Attach

The bayonet can be attached to the MSR700 rifle and MSR788 rifle like any other weapon mod. A screwdriver, either one of the rifles and the weapon mod must be in a nearby inventory, then press RMB on the rifle and select "Upgrade" > "Bayonet".

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
garagestorage locker 4 4
gunstore counter 4 4

The bayonet can only be obtained in debug mode.

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Bayonnet
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = Bayonnet,
        Icon = HuntingKnife,
        Weight = 0.2,
        WeightModifier = 0.2,
        AimingTimeModifier = 5,
        MountOn = VarmintRifle; HuntingRifle,
        PartType = Canon,
        StaticModel = Bayonnet,
        MetalValue = 15,
        WorldStaticModel = Rifle_Bayonet_Ground,
    }

See also