Broom: Difference between revisions

From PZwiki
mNo edit summary
(Added various information)
Line 1: Line 1:
{{languages|Broom}}
{{languages|Broom}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=39}}{{Infobox weapon
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=39}}
{{Infobox weapon
|display_name=Broom
|display_name=Broom
|name_colour=Weapon
|name_colour=Weapon
Line 21: Line 22:
|class_name=Base.Broom
|class_name=Base.Broom
}}
}}
A '''broom''' is a cleaning tool and improvised blunt weapon.
== Usage ==
=== Cleaning ===
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.
=== 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.
== Distribution ==
Brooms can be found in general stores, kitchens, and Gigamarts.
==Code==
==Code==
{{Retrieved|version=41|incver=39}}
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
<pre>
{{Retrieved|version=41|incver=50}}
    item Broom
<pre> item Broom
    {
MaxRange = 1.6,
        MaxRange = 1.6,
WeaponSprite = Broom,
        WeaponSprite = Broom,
MinAngle = 0.85,
        MinAngle = 0.85,
Type = Weapon,
        Type = Weapon,
MinimumSwingTime = 2,
        MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
        KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
        SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Blunt,
        Categories = Improvised;Blunt,
ConditionLowerChanceOneIn = 2,
        ConditionLowerChanceOneIn = 2,
Weight = 1,
        Weight = 1,
SplatNumber = 1,
        SplatNumber = 1,
PushBackMod = 0.3,
        PushBackMod = 0.3,
SubCategory = Swinging,
        SubCategory = Swinging,
ConditionMax = 3,
        ConditionMax = 3,
MaxHitCount = 2,
        MaxHitCount = 2,
DoorDamage = 1,
        DoorDamage = 1,
SwingAnim = Bat,
        SwingAnim = Bat,
DisplayName = Broom,
        DisplayName = Broom,
MinRange = 0.61,
        MinRange = 0.61,
SwingTime = 2,
        SwingTime = 2,
KnockdownMod = 0,
        KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
        SplatBloodOnNoDeath = FALSE,
Icon = Pushbroom,
        Icon = Pushbroom,
RunAnim = Run_Weapon2,
        RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
        IdleAnim = Idle_Weapon2,
BreakSound = BreakWoodItem,
        BreakSound =   BreakWoodItem,
TreeDamage = 0,
        TreeDamage =   0,
TwoHandWeapon = TRUE,
        TwoHandWeapon = TRUE,
CriticalChance = 5,
        CriticalChance = 5,
CritDmgMultiplier = 1,
        CritDmgMultiplier = 1,
MinDamage = 0.2,
        MinDamage = 0.2,
MaxDamage = 0.5,
        MaxDamage = 0.5,
BaseSpeed = 1.2,
        BaseSpeed = 1.2,
AttachmentType = Shovel,
        AttachmentType = Shovel,
Tags = ClearAshes,
    }
</pre>
</pre>
== See Also ==
* [[Mop]]
* [[Bleach]]

Revision as of 00:33, 1 June 2021

Broom
Broom
General
Category Weapon
Encumbrance
Heavy Load
1
Function Weapon
Equipped Two-handed
Condition max. 15
Skill Long Blunt
Damage
Type Blunt
Attack speed 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.

Distribution

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

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

	item Broom
		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			= 2,
		DoorDamage			= 1,
		SwingAnim			= Bat,
		DisplayName			= Broom,
		MinRange			= 0.61,
		SwingTime			= 2,
		KnockdownMod			= 0,
		SplatBloodOnNoDeath		= FALSE,
		Icon				= Pushbroom,
		RunAnim				= Run_Weapon2,
		IdleAnim			= Idle_Weapon2,
		BreakSound			= BreakWoodItem,
		TreeDamage			= 0,
		TwoHandWeapon			= TRUE,
		CriticalChance			= 5,
		CritDmgMultiplier		= 1,
		MinDamage			= 0.2,
		MaxDamage			= 0.5,
		BaseSpeed			= 1.2,
		AttachmentType			= Shovel,
		Tags				= ClearAshes,

See Also