Hammer

From PZwiki
Revision as of 10:49, 10 July 2021 by Faalagorn (talk | contribs) (Reworded the description to better fit the usage)


Hammer
Hammer
Hammer
General
Category Weapon
Encumbrance
Heavy Load
1
Function Carpentry
Equipped One-handed
Condition max. 10
Skill Long Blunt
Damage
Type Blunt
Attack speed 3
Range 0.61–1 tiles
Damage 0.5–1
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. A hammer deals 9 damage per swing to doors and 1 damage per swing to trees. When compared to the 35 damage given by an axe, hammers are not recommended to be used in this way.

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:

Construction

Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Furniture

Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Weapons

Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Other

Template:Crafting table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
|- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Code

Item

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.43

item Hammer
		MaxRange			= 1,
		WeaponSprite			= Hammer,
		MinAngle			= 0,
		Type				= Weapon,
		MinimumSwingTime		= 3,
		KnockBackOnNoDeath		= TRUE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= Blunt,
		ConditionLowerChanceOneIn	= 30,
		Weight				= 1,
		SplatNumber			= 0,
		PushBackMod			= 0.5,
		MaxDamage			= 1,
		SubCategory			= Swinging,
		ConditionMax			= 10,
		MaxHitCount			= 1,
		DoorDamage			= 9,
		CanBarricade			= TRUE,
		SwingAnim			= Bat,
		WeaponWeight			= 1,
		DisplayName			= Hammer,
		MinRange			= 0.61,
		SwingTime			= 3,
		MinDamage			= 0.5,
		KnockdownMod			= 0,
		SplatBloodOnNoDeath		= TRUE,
		Icon				= Hammer,
		RunAnim				= Run_Weapon2,
		IdleAnim			= Idle_Weapon2,
		BreakSound  			= BreakMetalItem,
		TreeDamage  			= 1,
		MetalValue  			= 25,

Repair

From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.43

    fixing Fix Hammer
    {
       Require : Hammer,
       Fixer : Woodglue; Woodwork=1,
       Fixer : DuctTape,
       Fixer : Glue=2,
       Fixer : Scotchtape=3,
    }

See also

Template:Navbox/ToolsTemplate:Navbox/Weapons