Sledgehammer

From PZwiki
Jump to navigation Jump to search


WhiskeyHalf.png
This article/section 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.
PZwiki:Language policy Language: English • français • русский
Sledgehammer
Sledgehammer
Baseball Bat
General
Category Weapon
Weight
Heavy Load
6
Function Destroy walls
Equipped Two-handed
Condition max. 10
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
Wood Glue
Woodglue.png Potentially repairs: 55%
Chance of success: 100%
Needs:
Wood Glue (2 units)
Carpentry Level 2
Duct Tape
DuctTape.png Potentially repairs: 20%
Chance of success: 95%
Needs:
Duct Tape (2 units)
Glue
Glue.png Potentially repairs: 10%
Chance of success: 95%
Needs:
Glue (3 units)
Adhesive Tape
Scotchtape.png Potentially repairs: 10%
Chance of success: 95%
Needs:
Adhesive Tape (4 units)

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. Sledgehammers also have a rare chance of spawning in weapon containers within survivor houses.

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.


Equipment vde
Container BriefcaseBig Hiking BagBowling Ball BagCoolerDoctor BagDuffelbagFanny PackFlight CaseFirst Aid KitGarbage BagGuitar CaseGun Case (Small)Gun Case (Large)HandbagHiking BagKey RingLarge BackpackLunchboxMilitary BackpackPaper BagPlastic BagPurseSackSatchelSchool BagSeed BagSewing KitSuitcaseToolboxTote BagNormal Hiking BagRemoved!
Electrical Alarm ClockAluminumAmplifierAntique TelevisionBatteryCar BatteryValuTech PortaDiscCordless PhoneCrafted TimerCrafted TriggerDigital WatchEarbudsElectric WireElectronics ScrapGeneratorHeadphonesHome AlarmMakeshift Ham RadioLight BulbMakeshift RadioMakeshift Walkie TalkieMotion SensorPremium Tech. Walkie TalkiePremium Technologies Ham RadioPremium Technologies RadioPremium Technologies TelevisionRadio TransmitterRadio ReceiverScanner ModuleSpeakerTactical Walkie TalkieTimerToys-R-Mine Walkie TalkieTV RemoteUS ARMY COMM. Ham RadioUS Army Walkie TalkieV1 Remote ControllerV2 Remote ControllerV3 Remote ControllerValuTech RadioValuTech TelevisionValuTech Walkie TalkieVideo Game
Farming and Fishing Broccoli SeedsCabbage SeedsCarrot SeedsCompost BagFishing TackleGardening Spray CanHand ForkNPK FertilizerPotato SeedsRadish SeedsStrawberry SeedsTomato SeedsWatering Can
Fuel CharcoalGas CanLogPropane TankSturdy Stick
Health/Hygiene Bath TowelCleaning LiquidDish TowelExtinguisherMopSoapSuture NeedleSuture Needle HolderTissueTweezersUmbrellaRazor
Kitchen Utensil Baking PanBowlBox of JarsButter KnifeCan OpenerCooking PotEmpty Bottle (Beer)Empty Bottle (Bourbon)Empty Bottle (Mayonnaise)Empty Bottle (Red Wine)Empty Bottle (Remoulade)Empty Bottle (Water)Empty Bottle (White Wine)Empty JarEmpty MugEmpty Orange Soda BottleForkFrying PanHunting KnifeJar LidKettleKitchen KnifeMortar and PestlePlastic CupRoasting PanRolling PinSpoon
Light CandleFlashlightHand TorchLighterMatches
Lock/Key Car KeyCombination PadlockKey (Door)Key (Padlock)Padlock
Stationery Blue PenEraserNeedlePenPencilRed PenScissors
Survival Cage TrapCampfire MaterialsChipped StoneFishing Net TrapFishing RodFishing Rod (crafted)Mouse TrapNotched Wooden PlankStone AxeSnare TrapStick TrapStone HammerTent KitTrap BoxTrap CrateCrafted Spear
Tool AxeBall-peen HammerCar Battery ChargerChainsawClub HammerCrowbarGarden HoeHammerHand AxeJackLug WrenchPaint BrushPipe WrenchPropane TorchSawScrewdriverShovelSledgehammerSnow ShovelStone KnifeTire PumpTrowelWooden MalletWrench
Weapons vde
Axe Hand AxeStone AxeAxeWood AxePick Axe
Long Blunt Acoustic GuitarBadminton RacketBarbellBaseball BatBroomCanoe PaddleCanoe Paddle - Double-bladedChainsawCrowbarElectric BassElectric GuitarFishing RodFishing Rod (crafted)Fishing Rod without LineGarden HoeGolf ClubHockey StickIce Hockey StickKeytarLacrosse StickLeaf RakePlankPool CueRakeSaxophoneShovelSledgehammerSnow ShovelSpiked Baseball BatSpiked PlankTennis RacketTrumpet
Short Blunt Ball-peen HammerBanjoChair LegClub HammerDumbbellDrumstickFluteFrying PanGriddle PanHammerLead PipeMetal BarMetal PipeNightstickPlungerPipe WrenchPickaxe HandleRolling PinSaucepanSpiked Pickaxe HandleStone HammerTable LegViolinWooden MalletWrench
Long Blade MacheteKatana
Short Blade Butter KnifeBread KnifeForkHand ForkHand ScytheHunting KnifeIce PickLetter OpenerKitchen KnifeMeat CleaverScalpelScissorsScrewdriverSmashed BottleSpoonStakeStone Knife
Spear Closed UmbrellaCrafted SpearGarden ForkSpear with Bread KnifeSpear with Butter KnifeSpear with ForkSpear with Hand ForkSpear with Hunting KnifeSpear with Ice PickSpear with KnifeSpear with Letter OpenerSpear with MacheteSpear with ScalpelSpear with ScissorsSpear with ScrewdriverSpear with Spoon
Firearm D-E PistolDouble Barrel ShotgunJS-2000 ShotgunM14 RifleM16 Assault RifleM1911 PistolM36 RevolverM625 RevolverM9 PistolMagnumMSR700 RifleMSR788 RifleSawed-off Double Barrel ShotgunSawed-off JS-2000 Shotgun
Ammo .223 Round.308 Round.38 Special Round.44 Magnum Round.45 Auto Round5.56mm Round9mm RoundShotgun Shells
Weapon mods .223 Magazine.308 Magazine.44 Magazine.45 Auto Magazine5.56mm Magazine9mm MagazineAmmo StrapsChoke Tube ImprovedChoke Tube FullFiberglass StockIron SightLaserRecoil PadRed DotSlingx2 Scopex4 Scopex8 Scope
Throwable Aerosol BombAerosol Bomb with SensorAerosol Bomb with TimerFire BombFire Bomb with SensorFire Bomb with TimerMolotov CocktailNoise MakerNoise Maker with SensorNoise Maker with TimerPipe BombPipe Bomb with SensorPipe Bomb with TimerRemote Aerosol BombRemote Fire BombRemote Noise MakerRemote Pipe BombRemote Smoke BombSmoke BombSmoke Bomb with SensorSmoke Bomb with Timer
Other Bare HandsBlue PenPenPencilRed Pen