Club Hammer: Difference between revisions
VaileasysBot (talk | contribs) m (→top: Category update: "Melee weapons") |
m (Automated Formatting) |
||
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | |||
{{Infobox | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Club Hammer | ||
|model=ClubHammer_Model.png | |||
|icon=ClubHammer.png | |||
| | |icon_name=Club Hammer | ||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Weapon | |category=Tool/Weapon | ||
|weight=1 | |weight=1 | ||
|equipped=One-handed | |equipped=One-handed | ||
Line 15: | Line 14: | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
|type=SmallBlunt | |type=SmallBlunt | ||
| | |base_speed=1 | ||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1 | |max_range=1 | ||
Line 23: | Line 22: | ||
|knockdown=0 | |knockdown=0 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.ClubHammer | ||
}}''' | }} | ||
{{Quote|text=Too unwieldy to drive nails.|author=In-game tooltip}} | |||
A '''club hammer''' is a short blunt [[Weapons|weapon]]. | |||
==Usage== | ==Usage== | ||
The | 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. | ||
==Distribution== | ===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 [[Skills|short blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (25 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.<br> | |||
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | |||
{{Durability weapon|25}} | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | 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 | |||
|- | |||
|rowspan="2"|closet | |||
|[[crate]] | |||
|4 | |||
|8 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|4 | |||
|- | |||
|rowspan="2"|drugshack | |||
|[[counter]] | |||
|4 | |||
|4 | |||
|- | |||
|[[crate]] | |||
|4 | |||
|4 | |||
|- | |||
|rowspan="2"|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. | Club hammers can be found in sheds, garages, warehouses, house closets, and tool shops. | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
MaxRange | | start = 922 | ||
WeaponSprite | | source = items_weapons.txt | ||
MinAngle | | retrieved = true | ||
Type | | version = 41.78.16 | ||
MinimumSwingTime | | code = | ||
KnockBackOnNoDeath | item ClubHammer | ||
SwingAmountBeforeImpact | { | ||
Categories | DisplayCategory = ToolWeapon, | ||
ConditionLowerChanceOneIn = 25, | MaxRange = 1, | ||
Weight | WeaponSprite = ClubHammer, | ||
SplatNumber | MinAngle = 0.65, | ||
PushBackMod | Type = Weapon, | ||
SubCategory | MinimumSwingTime = 3, | ||
ConditionMax | KnockBackOnNoDeath = TRUE, | ||
MaxHitCount | SwingAmountBeforeImpact = 0.02, | ||
DoorDamage | Categories = SmallBlunt, | ||
CanBarricade | ConditionLowerChanceOneIn = 25, | ||
SwingAnim | Weight = 1, | ||
DisplayName | SplatNumber = 1, | ||
MinRange | PushBackMod = 0.5, | ||
SwingTime | SubCategory = Swinging, | ||
KnockdownMod | ConditionMax = 10, | ||
SplatBloodOnNoDeath | MaxHitCount = 1, | ||
Icon | DoorDamage = 9, | ||
RunAnim | CanBarricade = TRUE, | ||
SwingAnim = Bat, | |||
DisplayName = Club Hammer, | |||
MinRange = 0.61, | |||
HitSound | SwingTime = 3, | ||
HitFloorSound | KnockdownMod = 0, | ||
SwingSound | 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=== | |||
{{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, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Axe]] | |||
*[[Hammer]] | |||
{{Navbox items|blunt}} | |||
[[Category: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,
}