Hammer

From PZwiki
Revision as of 22:10, 20 October 2018 by Simian (talk | contribs) (I'm not really sure if this should be considered a tool or a weapon. Also, the repair section isn't done yet)


Hammer
Hammer
General
Category Item
Encumbrance
Heavy Load
1
Function Construction
Weapon
Technical details
Base ID Base.Hammer

A hammer is a tool used in crafting furniture and structures.

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

Require

    fixing Fix Hammer
    {
       Require : Hammer,

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

Code

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  			= PZ_MetalSnap,
		TreeDamage  			= 1,

See also

Template:Navbox/ToolsTemplate:Navbox/Weapons