Broom

From PZwiki
Revision as of 06:11, 25 January 2024 by VaileasysBot (talk | contribs) (→‎top: category & header updates)

Template:Header/sandbox2

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Broom
Broom
Pushbroom.png
General
Category Household
Encumbrance
Heavy Load
1
Function Cleaning
Equipped Two-handed
Condition max. 15
Skill Long Blunt
Attachment Back
Damage
Type Blunt
Attack speed 1.2
Range 0.61–1.6 tiles
Damage 0.2–0.5
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.Broom

A broom is a cleaning tool and improvised blunt weapon.

Usage

Cleaning

If the player is carrying both a bottle of bleach and a broom, when right-clicking a blood splatter, the option "Clean Blood" will appear. Cleaning bloodstains is currently cosmetic and will not affect the player's health. Both the bath towel and dish towel also have the same function, however they also have additional uses and will usually be preferred over the broom.

A mop serves the same purpose.

Weapon

A broom can be used as an improvised weapon. It has particularly low durability and damage, but can hit two zombies simultaneously and has longer than average maximum range.

Condition

The broom has a maximum condition of 3. Its rate of degradation is influenced by the long blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (2 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the long blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and long blunt skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/2 (50%)
0 4 1/4 (25%)
0 8 1/6 (17%)
4 0 1/6 (17%)
8 0 1/10 (10%)
4 4 1/8 (13%)
4 8 1/10 (10%)
8 8 1/14 (7%)
10 10 1/16 (6%)

Distribution

Brooms can be found in general stores, kitchens, and Gigamarts.

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 Broom
    {
        DisplayCategory = Household,
        MaxRange	=	1.6,
        WeaponSprite	=	Broom,
        MinAngle	=	0.85,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Blunt,
        ConditionLowerChanceOneIn	=	2,
        Weight	=	1,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	3,
        MaxHitCount	=	3,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	Broom,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Pushbroom,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   BroomBreak,
        DoorHitSound = BroomHit,
		HitSound = BroomHit,
		HitFloorSound = BroomHit,
		SwingSound = BroomSwing,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	5,
        CritDmgMultiplier = 1,
        MinDamage	=	0.2,
        MaxDamage	=	0.5,
        BaseSpeed = 1.2,
        AttachmentType = Shovel,
        Tags = ClearAshes,
    }

See also