Plunger: Difference between revisions
VaileasysBot (talk | contribs) m (→top: New infobox upgrade - Short Blunt) |
m (Automated Formatting) |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | ||
{{Page version|41.78.16}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Plunger | |name=Plunger | ||
Line 36: | Line 35: | ||
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | ||
{{Durability weapon|2}} | {{Durability weapon|2}} | ||
==Distribution== | |||
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;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|rowspan="2"|bathroom | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|- | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|- | |||
|closet | |||
|[[crate]] | |||
|4 | |||
|1 | |||
|- | |||
|gasstorage | |||
|[[counter]] | |||
|4 | |||
|1 | |||
|} | |||
== Code == | == Code == | ||
Line 45: | Line 77: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item Plunger | |||
{ | { | ||
DisplayCategory = Household, | DisplayCategory = Household, | ||
Line 94: | Line 125: | ||
*[[Mop]] | *[[Mop]] | ||
{{ | {{Navbox items|blunt}} | ||
[[Category:Household]] |
Revision as of 11:07, 14 April 2024
A plunger is an improvised short blunt weapon.
Usage
A plunger is a short blunt weapon with a low durability and damage.
Condition
The plunger has a maximum condition of 3. Its rate of degradation is influenced by the short 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 short blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short 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.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
bathroom | counter | 4 | 1 |
counter | 4 | 1 | |
closet | crate | 4 | 1 |
gasstorage | counter | 4 | 1 |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Plunger
{
DisplayCategory = Household,
MaxRange = 1.1,
WeaponSprite = Plunger,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 4,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;SmallBlunt,
ConditionLowerChanceOneIn = 2,
Weight = 0.5,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Swinging,
ConditionMax = 3,
MaxHitCount = 2,
DoorDamage = 2,
SwingAnim = Bat,
DisplayName = Plunger,
MinRange = 0.61,
SwingTime = 4,
KnockdownMod = 2,
SplatBloodOnNoDeath = FALSE,
Icon = Plunger,
BreakSound = PlungerBreak,
DoorHitSound = PlungerHit,
HitSound = PlungerHit,
HitFloorSound = PlungerHit,
SwingSound = PlungerSwing,
TreeDamage = 0,
CriticalChance = 5,
CritDmgMultiplier = 2,
MinDamage = 0.3,
MaxDamage = 0.5,
BaseSpeed = 1.2,
AttachmentType = Knife,
}