Club Hammer: Difference between revisions
m (Automated header update.) |
m (Automated Formatting) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 23: | 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 36: | Line 38: | ||
{{Durability weapon|25}} | {{Durability weapon|25}} | ||
==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 43: | 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 87: | Line 88: | ||
|4 | |4 | ||
|- | |- | ||
| rowspan="2"|drugshack | |rowspan="2"|drugshack | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 4 | |4 | ||
|- | |- | ||
|[[crate]] | |[[crate]] | ||
Line 96: | Line 97: | ||
|4 | |4 | ||
|- | |- | ||
| rowspan="2"|garagestorage | |rowspan="2"|garagestorage | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 4 | |4 | ||
|- | |- | ||
|[[counter]] | |[[counter]] | ||
Line 105: | 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 132: | Line 133: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item ClubHammer | |||
{ | { | ||
DisplayCategory = ToolWeapon, | DisplayCategory = ToolWeapon, | ||
Line 176: | 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 184: | Line 206: | ||
*[[Hammer]] | *[[Hammer]] | ||
{{Navbox | {{Navbox items|blunt}} | ||
[[Category:Tools]] | [[Category:Tools]] | ||
[[Category:Carpentry tools]] | [[Category:Carpentry tools]] |
Revision as of 07:38, 14 April 2024
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.
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
Source: ProjectZomboid\media\scripts\items_weapons.txt
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
fixing Fix Club Hammer
{
Require : ClubHammer,
Fixer : Woodglue; Woodwork=1,
Fixer : DuctTape,
Fixer : Glue=2,
Fixer : Scotchtape=3,
}