Club Hammer: Difference between revisions

From PZwiki
m (Removing trailing whitespace(s))
m (Automated Formatting)
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}}
{{Header/sandbox2|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}}
{{Page version|41.78.16}}
{{Page version|41.78.16}}
{{Infobox item
{{Infobox item
Line 24: Line 23:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|item_id=Base.ClubHammer
|item_id=Base.ClubHammer
}}{{Quote|text=Too unwieldy to drive nails.|author=In-game tooltip}}
}}
{{Quote|text=Too unwieldy to drive nails.|author=In-game tooltip}}
A '''club hammer''' is a short blunt [[Weapons|weapon]].
A '''club hammer''' is a short blunt [[Weapons|weapon]].


==Usage==
==Usage==
The club hammer does not work in building or dismantling wooden objects unlike like the [[hammer]], [[Ball-peen Hammer|ball-peen hammer]], or [[Stone Hammer|stone hammer]] which all are able to build and dismantle objects. The club hammer can only be used as a weapon, although it is categorized as a tool/weapon in the game.
The club hammer does not work in building or dismantling wooden objects unlike like the [[hammer]], [[Ball-peen Hammer|ball-peen hammer]], or [[Stone Hammer|stone hammer]] which all are able to build and dismantle objects. The club hammer can only be used as a weapon, although it is categorized as a tool/weapon in the game.
===Weapon===
===Weapon===
The club hammer can hit up to 1 enemy at a time (even with multi-hit enabled), dealing a maximum of 1 damage to enemies (unless a critical hit) from up to 1 tiles away at an attack speed of 1.
The club hammer can hit up to 1 enemy at a time (even with multi-hit enabled), dealing a maximum of 1 damage to enemies (unless a critical hit) from up to 1 tiles away at an attack speed of 1.
Line 37: Line 38:
{{Durability weapon|25}}
{{Durability weapon|25}}


{{clear}}
==Distribution==
==Distribution==
The loot distributions can be found in the table(s) below.
The loot distributions can be found in the table(s) below.
Line 44: Line 44:
! colspan="4" | Containers
! colspan="4" | Containers
|-
|-
!Building/Room
! Building/Room
!Container
! Container
! style="width: 3.2em;" |Rolls
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" |Chance
! style="width: 3.2em;" | Chance
|-
|-
| SafehouseLoot
|SafehouseLoot
| [[counter]]
|[[counter]]
| 4
|4
| 6
|6
|-
|-
| all
|all
| [[toolcabinet]]
|[[toolcabinet]]
| 4
|4
| 4
|4
|-
|-
| armyhanger
|armyhanger
| [[counter]]
|[[counter]]
| 4
|4
| 4
|4
|-
|-
| bedroom
|bedroom
| [[crate]]
|[[crate]]
| 1
|1
| 0.4
|0.4
|-
|-
| cabinetfactory
|cabinetfactory
| [[crate]]
|[[crate]]
| 4
|4
| 8
|8
|-
|-
| carsupply
|carsupply
| [[counter]]
|[[counter]]
| 4
|4
| 4
|4
|-
|-
| rowspan="2"|closet
|rowspan="2"|closet
| [[crate]]
|[[crate]]
| 4
|4
| 8
|8
|-
|-
|[[crate]]
|[[crate]]
Line 88: Line 88:
|4
|4
|-
|-
| rowspan="2"|drugshack
|rowspan="2"|drugshack
| [[counter]]
|[[counter]]
| 4
|4
| 4
|4
|-
|-
|[[crate]]
|[[crate]]
Line 97: Line 97:
|4
|4
|-
|-
| rowspan="2"|garagestorage
|rowspan="2"|garagestorage
| [[counter]]
|[[counter]]
| 4
|4
| 4
|4
|-
|-
|[[counter]]
|[[counter]]
Line 106: Line 106:
|4
|4
|-
|-
| generalstore
|generalstore
| [[metal_shelves]]
|[[metal_shelves]]
| 4
|4
| 4
|4
|-
|-
| pawnshop
|pawnshop
| [[counter]]
|[[counter]]
| 4
|4
| 4
|4
|-
|-
| toolstorestorage
|toolstorestorage
| [[metal_shelves]]
|[[metal_shelves]]
| 4
|4
| 4
|4
|}
|}
Club hammers can be found in sheds, garages, warehouses, house closets, and tool shops.
Club hammers can be found in sheds, garages, warehouses, house closets, and tool shops.
Line 133: Line 133:
   | version = 41.78.16
   | version = 41.78.16
   | code =
   | code =
    item ClubHammer
item ClubHammer
{
{
    DisplayCategory = ToolWeapon,
    DisplayCategory = ToolWeapon,
Line 177: Line 177:
    AttachmentType = Hammer,
    AttachmentType = Hammer,
Tooltip = Tooltip_no_nails,
Tooltip = Tooltip_no_nails,
    }
}}
===Repair===
{{CodeSnip
  | lang = java
  | line = true
  | start = 459
  | source = fixing.txt
  | retrieved = true
  | version = 41.78.16
  | code =
    fixing Fix Club Hammer
    {
      Require : ClubHammer,
      Fixer : Woodglue; Woodwork=1,
      Fixer : DuctTape,
      Fixer : Glue=2,
      Fixer : Scotchtape=3,
     }
     }
}}
}}
Line 185: Line 206:
*[[Hammer]]
*[[Hammer]]


{{Navbox equipment}}
{{Navbox items|blunt}}
{{Navbox weapons}}
 
 
 
[[Category:Tools]]
[[Category:Tools]]
[[Category:Carpentry tools]]
[[Category:Carpentry tools]]

Revision as of 07:38, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Club Hammer
ClubHammer Model.png
General
Category
Tool/Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1
Equipped
One-handed
Properties
Max condition
10
Performance
Damage
0.5–1
Range
0.61–1
Attack speed
1
Knockback
0.5
Knockdown
0
Technical
Item ID
Base.ClubHammer
Too unwieldy to drive nails.
— In-game tooltip

A club hammer is a short blunt weapon.

Usage

The club hammer does not work in building or dismantling wooden objects unlike like the hammer, ball-peen hammer, or stone hammer which all are able to build and dismantle objects. The club hammer can only be used as a weapon, although it is categorized as a tool/weapon in the game.

Weapon

The club hammer can hit up to 1 enemy at a time (even with multi-hit enabled), dealing a maximum of 1 damage to enemies (unless a critical hit) from up to 1 tiles away at an attack speed of 1.

Condition

The club hammer has a maximum condition of 10. Its rate of degradation is influenced by the short blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (25 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the short blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blunt skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/25 (4%)
0 4 1/27 (4%)
0 8 1/29 (3%)
4 0 1/29 (3%)
8 0 1/33 (3%)
4 4 1/31 (3%)
4 8 1/33 (3%)
8 8 1/37 (3%)
10 10 1/39 (3%)

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
SafehouseLoot counter 4 6
all toolcabinet 4 4
armyhanger counter 4 4
bedroom crate 1 0.4
cabinetfactory crate 4 8
carsupply counter 4 4
closet crate 4 8
crate 4 4
drugshack counter 4 4
crate 4 4
garagestorage counter 4 4
counter 4 4
generalstore metal_shelves 4 4
pawnshop counter 4 4
toolstorestorage metal_shelves 4 4

Club hammers can be found in sheds, garages, warehouses, house closets, and tool shops.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item ClubHammer
	{
	    DisplayCategory = ToolWeapon,
		MaxRange	=	1,
		WeaponSprite	=	ClubHammer,
		MinAngle	=	0.65,
		Type	=	Weapon,
		MinimumSwingTime	=	3,
		KnockBackOnNoDeath	=	TRUE,
		SwingAmountBeforeImpact	=	0.02,
		Categories	=	SmallBlunt,
		ConditionLowerChanceOneIn	=	25,
		Weight	=	1,
		SplatNumber	=	1,
		PushBackMod	=	0.5,
		SubCategory	=	Swinging,
		ConditionMax	=	10,
		MaxHitCount	=	1,
		DoorDamage	=	9,
		CanBarricade	=	TRUE,
		SwingAnim	=	Bat,
		DisplayName	=	Club Hammer,
		MinRange	=	0.61,
		SwingTime	=	3,
		KnockdownMod	=	0,
		SplatBloodOnNoDeath	=	TRUE,
		Icon	=	ClubHammer,
		RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   ClubHammerBreak,
        DoorHitSound = ClubHammerHit,
		HitSound = ClubHammerHit,
		HitFloorSound = ClubHammerHit,
		SwingSound = ClubHammerSwing,
        TreeDamage  =   0,
        MetalValue = 25,
        CriticalChance	=	20,
        CritDmgMultiplier = 2,
        MinDamage	=	0.5,
        MaxDamage	=	1,
        BaseSpeed = 1,
	    WeaponLength = 0.23,
	    AttachmentType = Hammer,
		Tooltip = Tooltip_no_nails,
    }

Repair

Source: ProjectZomboid\media\scripts\fixing.txt

Retrieved: Build 41.78.16
fixing Fix Club Hammer
    {
       Require : ClubHammer,

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

See also