Stone Hammer

From PZwiki
Jump to: navigation, search
Language policy Language: English • русский
Stone Hammer
Stone Hammer
General
Category Tool
Weight
Heavy Load
1.2
Function Carpentry
Equipped One-handed
Condition max. 5
Attachment Hammer
Damage
Type Small Blunt
Swing time 3
Range 0.61–1.05 tiles
Damage 0.3–0.7
Knockback 0.5
Knockdown 0
Technical details
Ingredients 1 × Stone
1 × Tree Branch
1 × Ripped Sheets or Twine
Base ID HammerStone

A stone hammer construction tool and weapon that can be made through foraging. It is strictly worse than a hammer as both a weapon and construction tool.

Usage

Construction

For main article see Carpentry.

A hammer or stone hammer, in combination with wooden planks and nails, is required for most carpentry recipes. It is also necessary for barricading doors and windows.

A stone hammer will lose durability during construction, whereas a regular hammer will not.

Weapon

A stone hammer can be used as a low tier weapon. Compared to a regular hammer, it is heavier, less damaging, has slightly shorter range, and has a much lower durability.

Breaking doors

The crowbar is capable of breaking down doors dealing 2 damage per swing. For comparison, an axe deals 35 damage.

Crafting

Stone Hammers are made up of items which are scavenged via Foraging.Tree branches, stones and ripped sheets (or twine) are required.

Name Recipe Description Crafting Level
HammerStone.png
Stone Hammer x1
Rock.png + Branch.png + Rag.png
Stone x1 Tree Branch x1 Ripped Sheets
or
Twine x1
(consumed) (consumed) (consumed)
Can be used like a Hammer, but with much less durability. Level 0


Code

Item

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

Retrieved
Version 41.50
	item HammerStone
		MaxRange			= 1.05,
		WeaponSprite			= StoneHammer,
		MinAngle			= 0.65,
		Type				= Weapon,
		MinimumSwingTime		= 3,
		KnockBackOnNoDeath		= TRUE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= SmallBlunt,
		ConditionLowerChanceOneIn	= 5,
		Weight				= 1.2,
		SplatNumber			= 1,
		PushBackMod			= 0.5,
		SubCategory			= Swinging,
		ConditionMax			= 5,
		MaxHitCount			= 1,
		DoorDamage			= 2,
		CanBarricade			= TRUE,
		SwingAnim			= Bat,
		DisplayName			= Stone Hammer,
		MinRange			= 0.61,
		SwingTime			= 3,
		KnockdownMod			= 0,
		SplatBloodOnNoDeath		= TRUE,
		Icon				= HammerStone,
		RunAnim				= Run_Weapon2,
		IdleAnim			= Idle_Weapon2,
		BreakSound			= BreakMetalItem,
		TreeDamage			= 0,
		CriticalChance			= 15,
		CritDmgMultiplier		= 3,
		MinDamage			= 0.3,
		MaxDamage			= 0.7,
		BaseSpeed			= 1,
		WeaponLength			= 0.23,
		AttachmentType			= Hammer,
		Tags				= Hammer;RemoveBarricade,

Building

From perform() in ISBuildAction.lua (Project Zomboid directory/media/lua/client/BuildingObjects/TimedActions/)

Retrieved
Version 41.50
    -- reduce the condition of the hammer if it's a stone hammer
    local hammer = self.character:getPrimaryHandItem()
    if hammer and hammer:getType() == "HammerStone" and ZombRand(hammer:getConditionLowerChance()) == 0 then
        hammer:setCondition(hammer:getCondition() - 1)
        ISWorldObjectContextMenu.checkWeapon(self.character);
    end


See also


Tools vde
Camping Campfire MaterialsChipped StoneNotched Wooden PlankSturdy StickTent Kit
Construction AxeBucketCrowbarHammerNeedlePaint BrushPropane TankPropane TorchStone AxeSawScrewdriverSledgehammerStone HammerWelder Mask
Cooking Baking PanBowlButter KnifeCan OpenerCooking PotEmpty Bottle (Alcohol)Empty Bottle (Mayonnaise)Empty Bottle (Remoulade)Empty Bottle (Water)Empty JarEmpty MugEmpty Pop BottleFrying PanHunting KnifeKettleKitchen KnifeRolling PinRoasting PanSaucepan
Farming Gardening Spray CanNPK FertilizerSackShovelTrowelWatering Can
Fishing Fishing Net TrapFishing RodFishing Rod (crafted)Fishing TackleWooden Spear
Illumination CandleFlashlightLighterMatches
Keys Car KeyCombination PadlockKey RingKey (Door)Key (Padlock)Padlock
Mechanics Gas CanJackLug WrenchTire PumpWrench
Miscellaneous Bath TowelDish TowelExtinguisherMopMortar and PestleUmbrella
Stationery Empty NotebookEraserJournalPenPencilSheet of Paper
Trapping Cage TrapMouse TrapSnare TrapStick TrapTrap BoxTrap Crate
Weapons vde
Blunt Bare HandsBaseball BatCrowbarFishing RodFishing Rod Without LineFishing Rod (crafted)Frying PanGolf ClubHammerHockey StickPlankPool CueRolling PinSledgehammerShovelSpiked Baseball BatSpiked PlankStone HammerWooden Spear
Bladed Butter KnifeForkHunting KnifeIce PickKitchen KnifeLetter OpenerPenPencilScissorsScrewdriverSpoon
Axes AxeStone Axe
Firearms Hunting RiflePistolSawn Off ShotgunJS-2000 ShotgunVarmint Rifle
Throwables Aerosol BombAlarm ClockFire BombMolotov CocktailNoise MakerPipe BombSmoke Bomb
Ammo Shotgun Shells9mm Rounds.223 Ammo.308 Ammo
Weapon Parts 9mm MagazineAmmo StrapsChoke Tube ImprovedChoke Tube FullFiberglass StockIron SightLaserRecoil PadRed DotSlingx2 Scopex4 Scopex8 Scope