Sledgehammer: Difference between revisions

From PZwiki
(Extended distribution list and light copyediting)
m (Cleanup)
Line 1: Line 1:
{{languages|Sledgehammer}}
{{Improve}}{{Languages}}{{Header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=77}}{{Infobox weapon
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=77}}
{{Improve}}
{{Infobox weapon
|display_name=Sledgehammer
|display_name=Sledgehammer
|name_colour=Weapon
|name_colour=Weapon
Line 26: Line 23:
|class_name=Base.Sledgehammer
|class_name=Base.Sledgehammer
}}A '''sledgehammer''' is a [[Weapons#Heavy|heavy]], two-handed, blunt melee weapon.
}}A '''sledgehammer''' is a [[Weapons#Heavy|heavy]], two-handed, blunt melee weapon.
__TOC__


== Usage ==
==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|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 ===
===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|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===
The sledgehammer is very effective at breaking [[Door|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 than most melee weapons, dealing 10 damage, but still not as effective as the [[Axe]] which deals 35 damage.


=== Destruction of Blocks ===
===Destruction of tiles===
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 tiles, 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 high and it takes a long time to break. The sledgehammer has a 1 in 40 chance of losing durability 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
|item=Sledgehammer
|item=Sledgehammer
Line 64: Line 61:
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.
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 ==
==Distribution==
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.  
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==
Due to the item being a blunt weapon, it can be used to smash a watermelon.
Due to the item being a blunt weapon, it can be used to smash a watermelon.
{{Crafting header|ing=2}}<!-- Automatically generated by ReLookup. Subject RecipeLookup: 2015 -->
{{Crafting header|ing=2}}
{{Crafting/core|ing=2
{{Crafting cooking|402|ing=2}}
| product_image = [[File:Watermelon_Chunks.png|link=Watermelon Chunks|Watermelon Chunks]] | product_name = [[Watermelon Chunks]] | product_quantity = x5
| xp = <!-- Not present in the old template. Please fill in manually. -->
| sl = ''none''
| req =
| f1 = [[File:Watermelon.png|link=Watermelon|Watermelon]] | i1 = [[Watermelon]] | q1 = x1 | tag1 = (consumed)
| f2 = [[File:BaseballBat.png]] | i2 = [[Weapons#Blunt Weapon|Blunt Weapon]]<br>or<br>[[Log]] | q2 = x1
}}
|}
|}


== Code ==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
<nowiki>
<pre>
item Sledgehammer
item Sledgehammer
{
{
Line 180: Line 170:
         Tags = Sledgehammer,
         Tags = Sledgehammer,
     }
     }
</pre>


</nowiki>
==History==
== History ==
 
{| class="pztable" width="550" style="text-align:center;"
{| class="pztable" width="550" style="text-align:center;"
|-
|-
Line 195: Line 184:
|}
|}


== Gallery ==
==Gallery==
[[File:Sledgehammer-Article-Image1.png|center|(Left) Showing the Destroy function on the sledgehammer. (Right) Showing the destruction of a wall.]]
[[File:Sledgehammer-Article-Image1.png|center|(Left) Showing the Destroy function on the sledgehammer. (Right) Showing the destruction of a wall.]]


{{Navbox/Tools}}
{{Navbox weapons}}
{{Navbox/Weapons}}
{{Navbox_weapons}}
[[Category:Tools]]
[[Category:Tools]]
[[Category:Spiffo's Construction Crew (Project)]]
[[Category:Spiffo's Construction Crew (Project)]]

Revision as of 03:50, 5 March 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 than most melee weapons, dealing 10 damage, but still not as effective as the Axe which deals 35 damage.

Destruction of tiles

Destroying tiles, 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
WatermelonSmashed.png
Watermelon Chunks x5
0.75 Cooking none
(keep)
Watermelon.png
Watermelon
(consumed)

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.