Broom: Difference between revisions

From PZwiki
m (Automated capitalisation)
m (Insert empty line above each {{Navbox}})
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{Header/sandbox2|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
Line 13: Line 12:
|function=Cleaning
|function=Cleaning
|skill_type=Blunt
|skill_type=Blunt
|ammo_type=
|clip_size=
<!--PROPERTIES-->
<!--PROPERTIES-->
|material= <!-- E.g. Metal -->
|material=<!-- E.g. Metal -->
|material_value= <!-- E.g. MetalValue attribute -->
|material_value=<!-- E.g. MetalValue attribute -->
|condition_max=15
|condition_max=15
|condition_lower_chance=
<!--DAMAGE-->
<!--DAMAGE-->
|damage_type=Blunt
|damage_type=Blunt
|min_damage=0.2
|min_damage=0.2
|max_damage=0.5
|max_damage=0.5
|door_damage=
|tree_damage=
|min_range=0.61
|min_range=0.61
|max_range=1.6
|max_range=1.6
|hit_chance=
|recoil_delay=
|sound_radius=
|base_speed=1.2
|base_speed=1.2
|push_back=0.3
|push_back=0.3
|knockdown=0
|knockdown=0
|aiming_time=
|reload_time=
|crit_chance=
|crit_multiplier=
|kill_move=
<!-- TECHNICAL -->
<!-- TECHNICAL -->
|item_id=Base.Broom
|item_id=Base.Broom
Line 48: Line 34:
If the player is carrying both a [[Bleach|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.
If the player is carrying both a [[Bleach|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.  
A mop serves the same purpose.


=== Weapon ===
=== Weapon ===
Line 58: Line 44:
{{Durability weapon|2}}
{{Durability weapon|2}}


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
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;"
<!--BOT FLAG|Broom|41.78.16-->
! colspan="4" | Containers
{{clear}}
|-
<div class="togglebox theme-red">
!Building/Room
    <div>Broom distribution
!Container
        <span class="mw-customtoggle-togglebox-Broom" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
! style="width: 3.2em;" |Rolls
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Broom">
! style="width: 3.2em;" |Chance
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
|-
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
| rowspan="1"|laundry  
    |+ {{ll|Containers}}
| [[counter]]
    ! Building / Room
| 4  
    ! Container
| 1
    ! Rolls
|-
    ! Chance
| rowspan="1"|mechanic  
    |-
| [[wardrobe]]
    | gasstorage
| 4  
    | {{ll|counter}}
| 1
    | 4
|}
    | 10.0
    |-
    | laundry
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | mechanic
    | {{ll|wardrobe}}
    | 4
    | 10.0
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-Broom" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|Broom|41.78.16-->


==Code==
==Code==
Line 91: Line 91:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item Broom
item Broom
     {
     {
         DisplayCategory = Household,
         DisplayCategory = Household,
Line 143: Line 143:
* [[Washing Machine]]
* [[Washing Machine]]


{{Navbox_weapons}}
==See also==
[[Category:Household items]]
 
{{Navbox items|blunt}}
 
 
[[Category:Household]]

Revision as of 14:40, 25 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Broom
Pushbroom Model.png
General
Category
Household
Encumbrance
Moodle Icon HeavyLoad.png
1
Equipped
Two-handed
Slot attached
Back
Function
Cleaning
Skill
Properties
Max condition
15
Performance
Damage type
Blunt
Damage
0.2–0.5
Range
0.61–1.6
Attack speed
1.2
Knockback
0.3
Knockdown
0
Technical
Item 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

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

Broom distribution Show / Hide
Containers
Building / Room Container Rolls Chance
gasstorage counter 4 10.0
laundry counter 4 10.0
mechanic wardrobe 4 10.0

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

See also