Broom: Difference between revisions
m (Updated distribution table) |
m (Insert empty line above each {{Navbox}}) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
|function=Cleaning | |function=Cleaning | ||
|skill_type=Blunt | |skill_type=Blunt | ||
<!--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 | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
|damage_type=Blunt | |damage_type=Blunt | ||
|min_damage=0.2 | |min_damage=0.2 | ||
|max_damage=0.5 | |max_damage=0.5 | ||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1.6 | |max_range=1.6 | ||
|base_speed=1.2 | |base_speed=1.2 | ||
|push_back=0.3 | |push_back=0.3 | ||
|knockdown=0 | |knockdown=0 | ||
<!-- TECHNICAL --> | <!-- TECHNICAL --> | ||
|item_id=Base.Broom | |item_id=Base.Broom | ||
}} | }} | ||
A '''broom''' is a cleaning tool and improvised blunt weapon. | A '''broom''' is a cleaning tool and improvised blunt weapon. | ||
Line 61: | Line 47: | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|Broom|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Broom distribution | |||
<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> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Broom"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
|- | {| class="wikitable theme-red" style="margin-right:15px; width:95%;" | ||
|gasstorage | |+ {{ll|Containers}} | ||
| | ! Building / Room | ||
|4 | ! Container | ||
| | ! Rolls | ||
|- | ! Chance | ||
|laundry | |- | ||
| | | gasstorage | ||
|4 | | {{ll|counter}} | ||
| | | 4 | ||
|- | | 10.0 | ||
|mechanic | |- | ||
| | | laundry | ||
|4 | | {{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 95: | Line 91: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item Broom | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 147: | Line 143: | ||
* [[Washing Machine]] | * [[Washing Machine]] | ||
{{Navbox | ==See also== | ||
{{Navbox items|blunt}} | |||
[[Category:Household]] | [[Category:Household]] |
Revision as of 14:40, 25 April 2024
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.
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.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
gasstorage | counter | 4 | 10.0 |
laundry | counter | 4 | 10.0 |
mechanic | wardrobe | 4 | 10.0 |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}