Sledgehammer: Difference between revisions
m (Remove '.' from end of gallery captions) |
m (Distribution table update) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
|item_id=Base.Sledgehammer<br>Base.Sledgehammer2 | |item_id=Base.Sledgehammer<br>Base.Sledgehammer2 | ||
}} | }} | ||
A '''sledgehammer''' is a [[Weapons#Heavy|heavy]], two-handed, blunt melee weapon. | A '''sledgehammer''' is a [[Weapons#Heavy|heavy]], two-handed, blunt melee weapon. | ||
==Usage== | ==Usage== | ||
===Weapon=== | ===Weapon=== | ||
The sledgehammer has one of the highest average and maximum damage of all weapons, but has a very slow attack speed. The sledgehammer is one of the few weapons that can hit 3 [[zombie]]s at once (with multi-hit enabled), for comparison, a [[Baseball Bat|baseball bat]] can only hit 2 zombies at once. It is heavy, must be equipped in two hands, and will quickly [[ | The sledgehammer has one of the highest average and maximum damage of all weapons, but has a very slow attack speed. The sledgehammer is one of the few weapons that can hit 3 [[zombie]]s at once (with multi-hit enabled), for comparison, a [[Baseball Bat|baseball bat]] can only hit 2 zombies at once. It is heavy, must be equipped in two hands, and will quickly [[Endurance|exhaust]] the user, and cannot be used once the character is exhausted. | ||
===Breaking doors=== | ===Breaking doors=== | ||
Line 79: | Line 78: | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
{ | <!--BOT FLAG|Sledgehammer|41.78.16--> | ||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Sledgehammer distribution | |||
<span class="mw-customtoggle-togglebox-Sledgehammer" 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-Sledgehammer"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
|- | {| class="wikitable theme-red" style="margin-right:15px; width:95%;" | ||
|SafehouseLoot | |+ {{ll|Containers}} | ||
| | ! Building / Room | ||
|4 | ! Container | ||
|0.5 | ! Rolls | ||
|- | ! Chance | ||
|all | |- | ||
| | | Not referenced | ||
|4 | | {{ll|LoggingFactoryTools}} | ||
|0.01 | | 4 | ||
|- | | 0.05 | ||
|armyhanger | |- | ||
| | | SafehouseLoot | ||
|4 | | {{ll|counter}} | ||
|0.01 | | 4 | ||
|- | | 0.5 | ||
|drugshack | |- | ||
| | | all | ||
|4 | | {{ll|Bag_ToolBag}} | ||
|0.01 | | 1 | ||
|- | | 0.01 | ||
|firestorage | |- | ||
| | | all | ||
|4 | | {{ll|ToolsBox}} | ||
|0.01 | | 4 | ||
|- | | 0.01 | ||
|garagestorage | |- | ||
| | | all | ||
|4 | | {{ll|crate}} | ||
|0.01 | | 1 | ||
|- | | 0.001 | ||
|generalstore | |- | ||
| | | all | ||
|4 | | {{ll|toolcabinet}} | ||
|0.01 | | 4 | ||
|- | | 0.01 | ||
|pawnshop | |- | ||
| | | armyhanger | ||
|4 | | {{ll|counter}} | ||
|0.01 | | 4 | ||
|} | | 0.01 | ||
|- | |||
| drugshack | |||
| {{ll|counter}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| firestorage | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| garagestorage | |||
| {{ll|counter}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| generalstore | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 0.01 | |||
|- | |||
| pawnshop | |||
| {{ll|counter}} | |||
| 4 | |||
| 0.01 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Sledgehammer" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Sledgehammer|41.78.16--> | |||
Sledgehammers can also be found at randomly spawning manhole and roadwork events, both on the ground and in the trunk of the vehicle. | Sledgehammers can also be found at randomly spawning manhole and roadwork events, both on the ground and in the trunk of the vehicle. | ||
Line 132: | Line 161: | ||
==Code== | ==Code== | ||
{{CodeBox| | {{CodeBox| | ||
===Item=== | ===Item=== | ||
[[File:Sledgehammer.png]] {{ID|Base.Sledgehammer}}<br> | [[File:Sledgehammer.png]] {{ID|Base.Sledgehammer}}<br> | ||
Line 189: | Line 219: | ||
AttachmentType = BigBlade, | AttachmentType = BigBlade, | ||
Tags = Sledgehammer, | Tags = Sledgehammer, | ||
} | } | ||
}} | }} | ||
Line 248: | Line 278: | ||
AttachmentType = BigBlade, | AttachmentType = BigBlade, | ||
Tags = Sledgehammer, | Tags = Sledgehammer, | ||
} | } | ||
}} | }} | ||
Line 310: | Line 340: | ||
</gallery> | </gallery> | ||
==See also== | |||
{{Navbox items|blunt}} | {{Navbox items|blunt}} | ||
Revision as of 16:37, 24 April 2024
Base.Sledgehammer2
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 a very slow attack speed. The sledgehammer is one of the few weapons that can hit 3 zombies at once (with multi-hit enabled), for comparison, a baseball bat can only hit 2 zombies at once. It is heavy, must be equipped in two hands, and will quickly exhaust the user, and cannot be used once the character is exhausted.
Breaking doors
The sledgehammer is very effective at breaking doors, dealing 40 damage to them, compared to an axe dealing 35 damage. Alternatively, the destroy function can be used to destroy doors instantly.
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 tiles, click "Destroy" on the RMB contextual menu while having the sledgehammer equipped. A red box will appear, highlighting the tile to destroy.
Condition
The sledgehammer has a maximum condition of 10. 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 (40 + 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/40 (3%) |
0 | 4 | 1/42 (2%) |
0 | 8 | 1/44 (2%) |
4 | 0 | 1/44 (2%) |
8 | 0 | 1/48 (2%) |
4 | 4 | 1/46 (2%) |
4 | 8 | 1/48 (2%) |
8 | 8 | 1/52 (2%) |
10 | 10 | 1/54 (2%) |
Repairing
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.
Repair Sledgehammer |
---|
Potentially repairs: 55%
Chance of success: 100% |
Potentially repairs: 20%
Chance of success: 95% Needs:
Duct Tape (2 units) |
Potentially repairs: 10%
Chance of success: 95% Needs:
Glue (3 units) |
Potentially repairs: 10%
Chance of success: 95% Needs:
Adhesive Tape (4 units) |
Crafting
The sledgehammer can be used to smash a watermelon into chunks.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Watermelon Chunks ×5 |
One of: Baseball Bat ×1 Hammer ×1 Log ×1 Plank ×1 Sledgehammer ×1 Spiked Baseball Bat ×1 Stone Hammer ×1 Each of: Watermelon ×1 |
none | none | none | 0.75 Cooking |
Distribution
The loot distributions can be found in the table(s) below.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
Not referenced | LoggingFactoryTools | 4 | 0.05 |
SafehouseLoot | counter | 4 | 0.5 |
all | Bag_ToolBag | 1 | 0.01 |
all | ToolsBox | 4 | 0.01 |
all | crate | 1 | 0.001 |
all | toolcabinet | 4 | 0.01 |
armyhanger | counter | 4 | 0.01 |
drugshack | counter | 4 | 0.01 |
firestorage | metal_shelves | 4 | 0.01 |
garagestorage | counter | 4 | 0.01 |
generalstore | metal_shelves | 4 | 0.01 |
pawnshop | counter | 4 | 0.01 |
Sledgehammers can also be found at randomly spawning manhole and roadwork events, both on the ground and in the trunk of the vehicle.
Code
Item
Base.Sledgehammer
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}
Base.Sledgehammer2
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}
Repair
Base.Sledgehammer
Source: ProjectZomboid\media\scripts\fixing.txt
fixing Fix Sledgehammer
{
Require : Sledgehammer,
Fixer : Woodglue=2; Woodwork=2,
Fixer : DuctTape=2,
Fixer : Glue=3,
Fixer : Scotchtape=4,
}
Base.Sledgehammer2
Source: ProjectZomboid\media\scripts\fixing.txt
fixing Fix Sledgehammer2
{
Require : Sledgehammer2,
Fixer : Woodglue=2; Woodwork=2,
Fixer : DuctTape=2,
Fixer : Glue=3,
Fixer : Scotchtape=4,
}
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 |