Hammer

From PZwiki
Jump to: navigation, search
Language policy Language: English • français • Deutsch • русский • 日本語 • polski • español
Hammer
Hammer
Hammer
General
Category Weapon
Weight
Heavy Load
1
Function Carpentry
Equipped One-handed
Condition max. 10
Damage
Type Small Blunt
Swing time 3
Range 0.61–1 tiles
Damage 0.5–1
Door damage 9
Knockback 0.5
Knockdown 0
Technical details
Base ID Base.Hammer

A hammer is a tool used in crafting furniture and structures from carpentry, as well as dismantling tiles.

Usage

Carpentry

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

Weapon

A hammer can be used as a melee weapon. It deals a decent amount of damage, but has a short range and little knockback. It is poor at damaging doors, dealing 9 damage per swing. It cannot be used to cut trees.

Both the baseball bat and plank can be improved by combining with them nails using a hammer, making them deal slightly more damage.

Crafting

A hammer can be used in the following recipes:

Items

Product XP Gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
Drawer.png
Drawer
0.25 CP none
(keep)
Plank.png
Plank
(consumed)
Doorknob.png
Doorknob
(consumed)
Nails.png
Nails
(consumed)


BaseballBatNails.png
Spiked Baseball Bat
0.25 CP none
(keep)
BaseballBat.png
Baseball Bat
(consumed)
Nails.png
Nails x5
(consumed)


PlankNail.png
Spiked Plank
0.25 CP none
(keep)
Plank.png
Plank
(consumed)
Nails.png
Nails x5
(consumed)


WatermelonSmashed.png
Watermelon Chunks x5
0.75 Cooking none
(keep)
Watermelon.png
Watermelon
(consumed)


Construction

Barriers

Product XP Gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
WoodenBarricade Carpentry.gif
Barricade
0.75 CP none
(keep)
One of:
WoodenDoor Carpentry.gif Door
Window Carpentry.gif Window
Plank.png
Plank x1
(consumed)
Nails.png
Nails x1
(consumed)


WoodenStake Carpentry.png
Wooden stake
1.25 CP CP = 5
(keep)
Plank.png
Plank x1
(consumed)
Nails.png
Nails x2
(consumed)


BarbedFence Carpentry.png
Barbed Fence
1.25 CP CP = 5
(keep)
BarbedWire.png
Barbed Wire x1
(consumed)



WoodenFence Carpentry.gif
Wooden fence
1.25 CP CP = 2
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x3
(consumed)


SandbagWall Carpentry.png
Sandbag Wall
1.25 CP none
(keep)
Sandbag.png
Sand Bag x3
(consumed)



SandbagWall Carpentry.png
Gravel Bag Wall
1.25 CP none
(keep)
Gravel Bag.png
Gravel Bag x3
(consumed)


Furniture

Product XP Gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4
WoodenCrate Carpentry.gif
Wooden Crate
0.75 CP CP = 3
(keep)
Plank.png
Plank x3
(consumed)
Nails.png
Nails x3
(consumed)


BarElement Carpentry.gif
Bar Element
0.75 CP CP = 7
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)


BarCorner Carpentry.gif
Bar Corner
1.25 CP CP = 7
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)


SmallTable Carpentry.gif
Small Table
0.75 CP CP = 3
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)


LargeTable Carpentry.gif
Large Table
1.25 CP CP = 4
(keep)
Plank.png
Plank x6
(consumed)
Nails.png
Nails x4
(consumed)


TablewithDrawer Carpentry.gif
Table with Drawer
1.25 CP CP = 5
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)
Drawer.png
Drawer x1
(consumed)


WoodenChair Carpentry.gif
Wooden Chair
0.75 CP CP = 2
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)


RainCollectorBarrel1 Carpentry.gif
Rain Collector Barrel
1.25 CP CP = 4
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)
Garbage Bag.png
Garbage Bag x4
(consumed)


RainCollectorBarrel2 Carpentry.gif
Rain Collector Barrel
1.25 CP CP = 7
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)
Garbage Bag.png
Garbage Bag x4
(consumed)


CompostBin.gif
Composter
1.25 CP CP = 2
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)


Bookcase Carpentry.gif
Bookcase
1.25 CP CP = 5
(keep)
Plank.png
Plank x5
(consumed)
Nails.png
Nails x4
(consumed)


SmallBookcase Carpentry.png
Small Bookcase
0.75 CP CP = 3
(keep)
Plank.png
Plank x3
(consumed)
Nails.png
Nails x3
(consumed)


Shelves Carpentry.png
Shelves
0.75 CP CP = 2
(keep)
Plank.png
Plank x1
(consumed)
Nails.png
Nails x2
(consumed)


DoubleShelves Carpentry.png
Double Shelves
1.25 CP CP = 2
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)


CraftedBed.png
Bed
1.25 CP CP = 4
(keep)
Plank.png
Plank x6
(consumed)
Nails.png
Nails x4
(consumed)
Mattress.png
Mattress x1
(consumed)

Miscellaneous

Product XP Gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5
Cairn Carpentry.png
Cairn
none
(keep)
Stone.png
Stone x6
(consumed)




LamponPillar Carpentry.png
Lamp on Pillar
1.25 CP CP = 4
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)
Rope.png
Rope x1
(consumed)
Flashlight.png
Flashlight x1
(consumed)


SheetRope Carpentry.png
Sheet Rope
none
(keep)
Sheet Rope.png
Sheet Rope x1
(per storey)

(consumed)
Nails.png
Nails x1



WoodenCross Carpentry.png
Wooden Cross
1.25 CP none
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x2



WoodenPicket Carpentry.png
Wooden Picket
1.25 CP none
(keep)
Plank.png
Plank x1
(consumed)
Sheet Rope.png
Sheet Rope x1



WoodenSign Carpentry.png
Wooden Sign
1.25 CP CP = 1
(keep)
Plank.png
Plank x3
(consumed)
Nails.png
Nails x3


Structure

Product XP Gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3 Ingredient 4 Ingredient 5
Wooden Wall Frame
Wooden Wall Frame
1.25 CP CP = 2
(keep)
Plank.png
Plank x1
(consumed)
Nails.png
Nails x1



Wooden Wall Lvl 1
Wooden Wall Lvl 1
2.5 CP CP = 2
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4


Wooden Wall Lvl 2
Wooden Wall Lvl 2
5 CP CP = 4
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)


Wooden Wall Lvl 3
Wooden Wall Lvl 3
7.5 CP CP = 7
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4
(consumed)


Wooden Wall Lvl 2
Upgrade Wooden Wall From Lvl 1 to Lvl 2
2.5 CP CP = 4
(keep)
Wooden Wall Lvl 1
Wooden Wall Lvl 1
Plank.png
Plank x1
(consumed)
Nails.png
Nails x4
(consumed)


Wooden Wall Lvl 3
Upgrade Wooden Wall From Lvl 1 to Lvl 3
5 CP CP = 7
(keep)
Wooden Wall Lvl 1
Wooden Wall Lvl 1
Plank.png
Plank x2
(consumed)
Nails.png
Nails x8
(consumed)


Wooden Wall Lvl 3
Upgrade Wooden Wall From Lvl 2 to Lvl 3
2.5 CP CP = 7
(keep)
Wooden Wall Lvl 2
Wooden Wall Lvl 2
Plank.png
Plank x1
(consumed)
Nails.png
Nails x4
(consumed)


Wooden Window Lvl 1
Wooden Window Lvl 1
2.5 CP CP = 2
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4


Wooden Window Lvl 2
Wooden Window Lvl 2
5 CP CP = 4
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4


Wooden Window Lvl 3
Wooden Window Lvl 3
7.5 CP CP 7
(keep)
Plank.png
Plank x2
(consumed)
Nails.png
Nails x4


Wooden Window Lvl 2
Upgrade Wooden Window From Lvl 1 to Lvl 2
2.5 CP CP = 4
(keep)
Wooden Window Lvl 1
Wooden Window Lvl 1
Plank.png
Plank x1
(consumed)
Nails.png
Nails x4
(consumed)


Wooden Window Lvl 3
Upgrade Wooden Window From Lvl 1 to Lvl 3
5 CP CP = 7
(keep)
Wooden Window Lvl 1
Wooden Window Lvl 1
Plank.png
Plank x2
(consumed)
Nails.png
Nails x8
(consumed)


Wooden Window Lvl 3
Upgrade Wooden Window From Lvl 2 to Lvl 3
2.5 CP CP = 7
(keep)
Wooden Window Lvl 2
Wooden Window Lvl 2
Plank.png
Plank x1
(consumed)
Nails.png
Nails x4
(consumed)


Doorframe Carpentry.gif
Wooden Doorframe
1.25 CP CP = 2
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)



Wooden pillar.png
Wooden Pillar
0.75 CP CP = 2
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)



LogWall Carpentry.png
Log Wall
1.25 CP none
(keep)
Logs.png
Log x4
(consumed)
One of:
Ripped Sheets.png Ripped Sheets x4
Twine.png Twine x4
Rope.png Rope x2

(consumed)



WoodenDoor Carpentry.gif
Wooden Door
0.75 CP CP = 3
(keep)
Plank.png
Plank x4
(consumed)
Nails.png
Nails x4
(consumed)
Doorhinge.png
Door Hinge x2
(consumed)
Doorknob.png
Doorknob x1
(consumed)


DoubleWoodenDoor Carpentry.png
Double Wooden Door
6 CP CP = 6
(keep)
Plank.png
Plank x12
(consumed)
Nails.png
Nails x12
(consumed)
Doorhinge.png
Door Hinge x4
(consumed)
Doorknob.png
Doorknob x2
(consumed)


Stairs Carpentry.png
Stairs Piece
1.25 CP CP = 6
(keep)
Plank.png
Plank x15
(consumed)
Nails.png
Nails x15
(consumed)



WoodFloor Carpentry.gif
Wooden Floor
1.25 CP CP = 1
(keep)
Plank.png
Plank x1
(consumed)
Nails.png
Nails x1
(consumed)


Distribution

It can be found in crates and metal shelves, at tool stores and in the army base.

Code

Item

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

Retrieved
Version 41.53
	item Hammer
	{
		MaxRange	=	1.1,
		WeaponSprite	=	Hammer,
		MinAngle	=	0.67,
		Type	=	Weapon,
		MinimumSwingTime	=	3,
		KnockBackOnNoDeath	=	TRUE,
		SwingAmountBeforeImpact	=	0.02,
		Categories	=	SmallBlunt,
		ConditionLowerChanceOneIn	=	30,
		Weight	=	1,
		SplatNumber	=	1,
		PushBackMod	=	0.5,
		SubCategory	=	Swinging,
		ConditionMax	=	10,
		MaxHitCount	=	1,
		DoorDamage	=	9,
		CanBarricade	=	TRUE,
		SwingAnim	=	Bat,
		DisplayName	=	Hammer,
		MinRange	=	0.61,
		SwingTime	=	3,
		KnockdownMod	=	0,
		SplatBloodOnNoDeath	=	TRUE,
		Icon	=	Hammer,
		RunAnim	=	Run_Weapon2,
        	IdleAnim	=	Idle_Weapon2,
	        BreakSound  =   BreakMetalItem,
        	TreeDamage  =   0,
	        MetalValue = 25,
        	CriticalChance	=	20,
	        CritDmgMultiplier = 3,
        	MinDamage	=	0.5,
	        MaxDamage	=	1,
        	BaseSpeed = 1,
		WeaponLength = 0.23,
		AttachmentType = Hammer,
	        Tags = Hammer;RemoveBarricade,
      }

Repair

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

Retrieved
Version 41.53
    fixing Fix Hammer
    {
       Require : Hammer,

       Fixer : Woodglue; Woodwork=1,
       Fixer : DuctTape,
       Fixer : Glue=2,
       Fixer : Scotchtape=3,
    }

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 TackleCrafted 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 HammerCrafted Spear
Bladed Butter KnifeForkHunting KnifeIce PickKitchen KnifeLetter OpenerPenPencilScissorsScrewdriverSpoon
Axes AxeStone Axe
Firearms Hunting RiflePistol (disambiguation)Sawed-off JS-2000 ShotgunShotgun (disambiguation)Varmint Rifle
Throwables Aerosol BombAlarm ClockFire BombMolotov CocktailNoise MakerPipe BombSmoke Bomb
Ammo Shotgun Shells9mm Round.223 Round.308 Round
Weapon Parts Magazine (firearms)Ammo StrapsChoke Tube ImprovedChoke Tube FullFiberglass StockIron SightLaserRecoil PadRed DotSlingx2 Scopex4 Scopex8 Scope