Plunger: Difference between revisions

From PZwiki
(Added basic weapon information and weapon code information from item_weapons.txt)
 
(Added infobox, navbox)
Line 1: Line 1:
===Weapon===
{{languages|{{PAGENAME}}}}
Considering it's low weight, even though the Plunger does not deal a high amount of damage, it actually deals a completely decent amount in relation to the endurance it costs to swing it. Of course the damage per second potential of this weapon is very limited and with a 5% crit chance, critting is very unlikeable with the plunger.
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=55}}
The main thing holding the plunger back though is it's very low durability.
{{Infobox weapon
|display_name=Plunger
|name_colour=Weapon
|name_text_colour=Weapon
|image=Image.png
|image_width=120px
|alternate_image=Plunger.png
<!--GENERAL-->
|category=Weapon
|weight=0.5
|equipped=One-handed
|condition_max=3
|attachment_type=Knife
<!--CHARACTERISTICS-->
<!--DAMAGE-->
|type=SmallBlunt
|swing_time=4
|min_range=0.61
|max_range=1.1
|min_damage=0.3
|max_damage=0.5
|door_damage=2
|push_back=0.3
|knockdown=2
<!--TECHNICAL DETAILS-->
|class_name=Plunger
}}
A '''plunger''' is an improvised short blunt weapon.


===Item===
== Usage ==
A plunger is a short blunt weapon with a low durability and damage.
 
== Code ==
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=55}}
{{Retrieved|version=41|incver=55}}
<nowiki>
<pre> item Plunger
    item Plunger
MaxRange = 1.1,
MaxRange = 1.1,
WeaponSprite = Plunger,
WeaponSprite = Plunger,
MinAngle = 0.65,
MinAngle = 0.65,
Type = Weapon,
Type = Weapon,
MinimumSwingTime = 4,
MinimumSwingTime = 4,
KnockBackOnNoDeath = FALSE,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;SmallBlunt,
Categories = Improvised;SmallBlunt,
ConditionLowerChanceOneIn = 2,
ConditionLowerChanceOneIn = 2,
Weight = 0.5,
Weight = 0.5,
SplatNumber = 1,
SplatNumber = 1,
PushBackMod = 0.3,
PushBackMod = 0.3,
SubCategory = Swinging,
SubCategory = Swinging,
ConditionMax = 3,
ConditionMax = 3,
MaxHitCount = 2,
MaxHitCount = 2,
DoorDamage = 2,
DoorDamage = 2,
SwingAnim = Bat,
SwingAnim = Bat,
DisplayName = Plunger,
DisplayName = Plunger,
MinRange = 0.61,
MinRange = 0.61,
SwingTime = 4,
SwingTime = 4,
KnockdownMod = 2,
KnockdownMod = 2,
SplatBloodOnNoDeath = FALSE,
SplatBloodOnNoDeath = FALSE,
Icon = Plunger,
Icon = Plunger,
BreakSound = PlungerBreak,
        BreakSound =   PlungerBreak,
DoorHitSound = PlungerHit,
        DoorHitSound = PlungerHit,
HitSound = PlungerHit,
HitSound = PlungerHit,
HitFloorSound = PlungerHit,
HitFloorSound = PlungerHit,
SwingSound = PlungerSwing,
SwingSound = PlungerSwing,
TreeDamage = 0,
        TreeDamage =   0,
CriticalChance = 5,
        CriticalChance = 5,
CritDmgMultiplier = 2,
        CritDmgMultiplier = 2,
MinDamage = 0.3,
        MinDamage = 0.3,
MaxDamage = 0.5,
        MaxDamage = 0.5,
BaseSpeed = 1.2,
        BaseSpeed = 1.2,
AttachmentType = Knife,
        AttachmentType = Knife,
</pre>
        {</nowiki>
 
 
{{Navbox_weapons}}

Revision as of 23:49, 19 November 2021

Plunger
Plunger
Plunger.png
General
Category Weapon
Encumbrance
Heavy Load
0.5
Equipped One-handed
Condition max. 3
Skill Short Blunt
Attachment Belt
Damage
Type SmallBlunt
Attack speed 4
Range 0.61–1.1 tiles
Damage 0.3–0.5
Door damage 2
Knockback 0.3
Knockdown 2
Technical details
Base ID Plunger

A plunger is an improvised short blunt weapon.

Usage

A plunger is a short blunt weapon with a low durability and damage.

Code

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.55

	item Plunger
		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,