Sledgehammer: Difference between revisions

From PZwiki
(Extended distribution list and light copyediting)
Line 25: Line 25:
|knockdown=3
|knockdown=3
|class_name=Base.Sledgehammer
|class_name=Base.Sledgehammer
}}A '''sledgehammer''' is a two-handed blunt melee weapon.
}}A '''sledgehammer''' is a [[Weapons#Heavy|heavy]], two-handed, blunt melee weapon.
__TOC__
__TOC__


== Usage ==
== Usage ==
=== Weapon ===
=== Weapon ===
The sledgehammer has one of the highest average and maximum damage of all weapons, the downside being the longest swing time among all melee weapons. The sledgehammer is one of the few weapons that can hit 3 zombies at once(for comparison, a [[Baseball Bat|baseball bat]] can only hit 2 zombies at once), but it must be used carefully due to the character unable to swing the sledgehammer when [[Moodles#Endurance|exhausted]].
The sledgehammer has one of the highest average and maximum damage of all weapons but has the longest swing time among all melee weapons. The sledgehammer is one of the few weapons that can hit 3 zombies at once (for comparison, a [[Baseball Bat|baseball bat]] can only hit 2 zombies at once), but it must be used carefully as it generates a lot of exhaustion. Notably, the character is unable to swing the sledgehammer when [[Moodles#Endurance|exhausted]].


=== Breaking Doors ===
=== Breaking Doors ===
The sledgehammer is very effective at breaking doors, dealing 40 damage to them, compared to an [[Axe|Axe]] dealing 35 damage.
The sledgehammer is very effective at breaking [[Door|doors]], dealing 40 damage to them, compared to an [[Axe|Axe]] dealing 35 damage.


=== Chopping Trees ===
=== Chopping Trees ===
The sledgehammer is better at chopping down trees that most melee weapons, dealing 10 damage, but still not as effective as the [[Axe]] which deals 35 damage.
The sledgehammer is better at chopping down trees that most melee weapons, dealing 10 damage, but still not as effective as the [[Axe]] which deals 35 damage.
=== Destruction of Blocks ===
=== Destruction of Blocks ===
Destroying blocks, such as walls, doors and other miscellaneous objects, is a function exclusive to the sledgehammer. To destroy blocks, click "Destroy" on the right-click menu while having the Sledgehammer equipped. A red box will appear, highlighting the block you are about to destroy.
Destroying blocks, such as walls, doors and other miscellaneous objects, is a function exclusive to the sledgehammer. To destroy blocks, click "Destroy" on the right-click menu while having the Sledgehammer equipped. A red box will appear, highlighting the block you are about to destroy.


== Condition ==
== Condition ==
The sledgehammer is a blunt weapon, therefore being influenced by the blunt skills: accuracy, guard and maintenance. The sledgehammer's durability is exceptionally good and it takes a long time to break a sledgehammer with the chance of losing durability being 1 in 40, or just 2.5% per hit.
The sledgehammer is a blunt weapon, therefore being influenced by the blunt skills: accuracy, guard and maintenance. The sledgehammer's durability is exceptionally high and it takes a long time to break. The sledgehammer has a 1 in 40 chance of losing durability per hit.
 
=== Repairing ===
=== Repairing ===
{{Fixing weapon
{{Fixing weapon
Line 63: Line 65:


== Distribution ==
== Distribution ==
Sledgehammers are usually found in [[Containers#Crates|crates]] and [[Containers#Metal_Shelves|metal shelves]]. This makes locations such as warehouses and hardware stores prime locations for finding a sledgehammer.
Sledgehammers are usually found in [[Containers#Crates|crates]] and [[Containers#Metal_Shelves|metal shelves]]. Locations such as warehouses, hardware stores, constrution sites, and industrial facilities are prime locations for finding a sledgehammer. Rarely, a sledgehammer can be found on the road near a pothole and traffic cones.  


== Crafting ==
== Crafting ==

Revision as of 22:03, 10 February 2023

WhiskeyHalf.png
This article may be in need of improvement.
Editors are encouraged to add any missing information to the article, while verifying that the article's current content is correct.
Sledgehammer
Sledgehammer
Baseball Bat
General
Category Weapon
Encumbrance
Heavy Load
6
Function Destroy walls
Equipped Two-handed
Condition max. 10
Skill Long Blunt
Damage
Type Blunt
Attack speed 4
Range 0.7–1.35 tiles
Damage 2–3
Knockback 1
Knockdown 3
Technical details
Base ID Base.Sledgehammer

A sledgehammer is a heavy, two-handed, blunt melee weapon.

Usage

Weapon

The sledgehammer has one of the highest average and maximum damage of all weapons but has the longest swing time among all melee weapons. The sledgehammer is one of the few weapons that can hit 3 zombies at once (for comparison, a baseball bat can only hit 2 zombies at once), but it must be used carefully as it generates a lot of exhaustion. Notably, the character is unable to swing the sledgehammer when exhausted.

Breaking Doors

The sledgehammer is very effective at breaking doors, dealing 40 damage to them, compared to an Axe dealing 35 damage.

Chopping Trees

The sledgehammer is better at chopping down trees that most melee weapons, dealing 10 damage, but still not as effective as the Axe which deals 35 damage.

Destruction of Blocks

Destroying blocks, such as walls, doors and other miscellaneous objects, is a function exclusive to the sledgehammer. To destroy blocks, click "Destroy" on the right-click menu while having the Sledgehammer equipped. A red box will appear, highlighting the block you are about to destroy.

Condition

The sledgehammer is a blunt weapon, therefore being influenced by the blunt skills: accuracy, guard and maintenance. The sledgehammer's durability is exceptionally high and it takes a long time to break. The sledgehammer has a 1 in 40 chance of losing durability per hit.

Repairing

Repair Sledgehammer
Woodglue.png
Potentially repairs: 55%
Chance of success: 100%
DuctTape.png
Potentially repairs: 20%
Chance of success: 95%
Glue.png
Potentially repairs: 10%
Chance of success: 95%
Scotchtape.png
Potentially repairs: 10%
Chance of success: 95%

It should be noted that repairing the sledgehammer makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.

Distribution

Sledgehammers are usually found in crates and metal shelves. Locations such as warehouses, hardware stores, constrution sites, and industrial facilities are prime locations for finding a sledgehammer. Rarely, a sledgehammer can be found on the road near a pothole and traffic cones.

Crafting

Due to the item being a blunt weapon, it can be used to smash a watermelon.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Watermelon Chunks
Watermelon Chunks x5
none Watermelon
Watermelon x1
(consumed)
BaseballBat.png
Blunt Weapon
or
Log x1

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/)

	
	item Sledgehammer
	{
	    DisplayCategory = ToolWeapon,
		MaxRange	=	1.35,
		WeaponSprite	=	SledgeHammer,
		MinAngle	=	0.8,
		Type	=	Weapon,
		MinimumSwingTime	=	4,
		EnduranceMod	=	4,
		KnockBackOnNoDeath	=	TRUE,
		SwingAmountBeforeImpact	=	0.04,
		Categories	=	Blunt,
		ConditionLowerChanceOneIn	=	40,
		Weight	=	6,
		SplatNumber	=	3,
		PushBackMod	=	1,
		SubCategory	=	Swinging,
		ConditionMax	=	10,
		MaxHitCount	=	3,
		DoorDamage	=	40,
		IdleAnim	=	Idle_Weapon2,
		CantAttackWithLowestEndurance	=	TRUE,
		SwingAnim	=	Heavy,
		DisplayName	=	Sledgehammer,
		MinRange	=	0.7,
		SwingTime	=	2,
		HitSound = SledgehammerHit,
		HitFloorSound = SledgehammerHit,
		SwingSound = SledgehammerSwing,
		DoorHitSound	=	SledgehammerHit,
		KnockdownMod	=	3,
		SplatBloodOnNoDeath	=	FALSE,
		Icon	=	Sledgehamer,
		RunAnim	=	Run_Weapon2,
		TwoHandWeapon = TRUE,
		BreakSound  =   SledgehammerBreak,
		TreeDamage  =   10,
		MinDamage	=	2,
		MaxDamage	=	3,
		MetalValue = 120,
		AlwaysKnockdown = TRUE,
		CritDmgMultiplier = 2
		BaseSpeed = 0.9,
		WeaponLength = 0.65,
		RequiresEquippedBothHands = TRUE,
		AttachmentType = BigBlade,
		Tags = Sledgehammer,
	}

item Sledgehammer2
    {
        DisplayCategory = ToolWeapon,
        MaxRange	=	1.35,
        WeaponSprite	=	SledgeHammer02,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	4,
        EnduranceMod	=	4,
        KnockBackOnNoDeath	=	TRUE,
        SwingAmountBeforeImpact	=	0.04,
        Categories	=	Blunt,
        ConditionLowerChanceOneIn	=	40,
        Weight	=	6,
        SplatNumber	=	3,
        PushBackMod	=	1,
        SubCategory	=	Swinging,
        ConditionMax	=	10,
        MaxHitCount	=	3,
        DoorDamage	=	40,
        IdleAnim	=	Idle_Weapon2,
        CantAttackWithLowestEndurance	=	TRUE,
        SwingAnim	=	Heavy,
        DisplayName	=	Sledgehammer,
        MinRange	=	0.7,
        SwingTime	=	2,
        HitSound = SledgehammerHit,
        HitFloorSound = SledgehammerHit,
        SwingSound = SledgehammerSwing,
        DoorHitSound = SledgehammerHit,
        KnockdownMod	=	3,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Sledgehammer2,
        RunAnim	=	Run_Weapon2,
        TwoHandWeapon = TRUE,
        BreakSound  =   SledgehammerBreak,
        TreeDamage  =   10,
        MetalValue = 120,
        MinDamage	=	2,
        MaxDamage	=	3,
        AlwaysKnockdown = TRUE,
        CritDmgMultiplier = 2,
        BaseSpeed = 0.9,
        WeaponLength = 0.65,
        RequiresEquippedBothHands = TRUE,
        AttachmentType = BigBlade,
        Tags = Sledgehammer,
    }


History

Alpha
Build 26 The sledgehammer will lose condition when used to destroy things.
RC 2.9.8a Melee weapons debuffed.
0.2.0a Sledgehammer added

Gallery

(Left) Showing the Destroy function on the sledgehammer. (Right) Showing the destruction of a wall.

Template:Navbox/Tools Template:Navbox/Weapons