Ball-peen Hammer: Difference between revisions
m (Automated navbox deployment) |
m (Automated Formatting) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 27: | Line 27: | ||
|item_id=Base.BallPeenHammer | |item_id=Base.BallPeenHammer | ||
}} | }} | ||
A '''ball-peen hammer''' is a tool used to [[crafting|craft]] furniture and dismantle [[tiles]]. | A '''ball-peen hammer''' is a tool used to [[crafting|craft]] furniture and dismantle [[tiles]]. | ||
Line 48: | Line 47: | ||
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | ||
{{Durability weapon|30}} | {{Durability weapon|30}} | ||
===Repairing=== | ===Repairing=== | ||
A ball-peen hammer can be repaired with the following: | A ball-peen hammer can be repaired with the following: | ||
Line 57: | Line 57: | ||
===Items=== | ===Items=== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|drawer | |||
|spiked_baseball_bat | |||
|spiked_plank | |||
|watermelon_chunks | |||
}} | |||
===Construction=== | ===Construction=== | ||
====Barriers==== | ====Barriers==== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|barricade | |||
|wooden_stake | |||
|barbed_fence | |||
|wooden_fence | |||
|sandbag_wall | |||
|gravel_bag_wall | |||
}} | |||
====Furniture==== | ====Furniture==== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|wooden_crate | |||
|bar_element | |||
|bar_corner | |||
|small_table | |||
|large_table | |||
|table_with_drawer | |||
|wooden_chair | |||
|rain_collector_barrel_small | |||
|rain_collector_barrel_large | |||
|composter | |||
|bookcase | |||
|small_bookcase | |||
|shelves | |||
|double_shelves | |||
|bed | |||
}} | |||
====Miscellaneous==== | ====Miscellaneous==== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|cairn | |||
|lamp_on_pillar | |||
|sheet_rope_nailed | |||
|wooden_cross | |||
|wooden_picket | |||
|wooden_sign | |||
}} | |||
====Structure==== | ====Structure==== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|wooden_wall_frame | |||
|wooden_wall_1 | |||
|wooden_wall_2 | |||
|wooden_wall_3 | |||
|wooden_wall_1_to_2 | |||
|wooden_wall_1_to_3 | |||
|wooden_wall_2_to_3 | |||
|wooden_window_1 | |||
|wooden_window_2 | |||
|wooden_window_3 | |||
|wooden_window_1_to_2 | |||
|wooden_window_1_to_3 | |||
|wooden_window_2_to_3 | |||
|wooden_doorframe | |||
|wooden_pillar | |||
|log_wall | |||
|wooden_door | |||
|double_wooden_door | |||
|stairs_piece | |||
|wooden_floor | |||
}} | |||
==Distribution== | ==Distribution== | ||
Line 135: | Line 135: | ||
! 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 | ||
| [[ | |[[counter]] | ||
| 4 | |4 | ||
| 6 | |6 | ||
|- | |- | ||
| | |all | ||
| [[ | |[[toolcabinet]] | ||
| 4 | |4 | ||
| 6 | |6 | ||
|- | |- | ||
| | |armyhanger | ||
| [[ | |[[counter]] | ||
| | |4 | ||
| | |6 | ||
|- | |- | ||
| rowspan="2"|drugshack | |bedroom | ||
| [[counter]] | |[[crate]] | ||
| 4 | |1 | ||
| 6 | |0.6 | ||
|- | |||
|rowspan="2"|drugshack | |||
|[[counter]] | |||
|4 | |||
|6 | |||
|- | |- | ||
|[[crate]] | |[[crate]] | ||
Line 164: | Line 169: | ||
|6 | |6 | ||
|- | |- | ||
|factory | |||
| [[crate]] | |[[crate]] | ||
| 4 | |4 | ||
| 6 | |6 | ||
|- | |- | ||
| rowspan="2"|garagestorage | |rowspan="2"|garagestorage | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 6 | |6 | ||
|- | |- | ||
|[[counter]] | |[[counter]] | ||
Line 178: | Line 183: | ||
|4 | |4 | ||
|- | |- | ||
|generalstore | |||
| [[metal_shelves]] | |[[metal_shelves]] | ||
| 4 | |4 | ||
| 6 | |6 | ||
|- | |- | ||
|metalshipping | |||
| [[metal_shelves]] | |[[metal_shelves]] | ||
| 4 | |4 | ||
| 6 | |6 | ||
|- | |- | ||
|pawnshop | |||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 6 | |6 | ||
|- | |- | ||
|toolstorestorage | |||
| [[metal_shelves]] | |[[metal_shelves]] | ||
| 4 | |4 | ||
| 6 | |6 | ||
|} | |} | ||
Line 204: | Line 209: | ||
== Code == | == Code == | ||
{{CodeBox| | {{CodeBox| | ||
===Item=== | ===Item=== | ||
{{CodeSnip | {{CodeSnip | ||
Line 213: | Line 219: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item BallPeenHammer | |||
{ | { | ||
DisplayCategory = ToolWeapon, | DisplayCategory = ToolWeapon, | ||
Line 285: | Line 291: | ||
*[[Hammer]] | *[[Hammer]] | ||
{{Navbox | {{Navbox items|blunt}} | ||
[[Category:Tools]] | [[Category:Tools]] | ||
[[Category:Carpentry tools]] | [[Category:Carpentry tools]] | ||
[[Category:Spiffo's Construction Crew (Project)]] | [[Category:Spiffo's Construction Crew (Project)]] |
Revision as of 06:20, 14 April 2024
A ball-peen hammer is a tool used to craft furniture and dismantle tiles.
Usage
Carpentry
Similar to the hammer, the ball-peen hammer is required for most carpentry recipes. It can also be used for barricading doors and windows, however, it is important to note that while it can place barricades, it cannot remove them.
Weapon
The ball-peen hammer can be used as a melee weapon. It deals a moderate amount of damage but has a short range and low knockback. It is almost identical to the normal hammer, apart from having a 7° wider radius of attack.
Destroying doors
The ball-peen hammer can be used to destroy doors, but it only deals 9 damage per swing. For comparison, an axe deals 35 damage.
Chopping trees
The ball-peen hammer cannot be used to chop trees as it deals 0 damage per swing. For comparison, an axe deals 35 damage.
Condition
The ball-peen 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 (30 + 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/30 (3%) |
0 | 4 | 1/32 (3%) |
0 | 8 | 1/34 (3%) |
4 | 0 | 1/34 (3%) |
8 | 0 | 1/38 (3%) |
4 | 4 | 1/36 (3%) |
4 | 8 | 1/38 (3%) |
8 | 8 | 1/42 (2%) |
10 | 10 | 1/44 (2%) |
Repairing
A ball-peen hammer can be repaired with the following:
- 2 × Duct Tape
- 3 × Adhesive Tape
Crafting
It can be used in the following recipes:
Items
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Drawer |
Plank ×1 Doorknob ×1 Nails ×1 |
Hammer (tag) |
none | none | 0.25 Carpentry |
Spiked Baseball Bat |
Baseball Bat ×1 Nails ×5 |
Hammer (tag) |
none | none | none |
Spiked Plank |
Plank ×1 Nails ×5 |
Hammer (tag) |
none | none | 0.25 Carpentry |
Watermelon Chunks ×5 |
One of: Baseball Bat ×1 Hammer ×1 Log ×1 Plank ×1 Sledgehammer ×1 Spiked Baseball Bat ×1 Stone Hammer ×1 Each of: Watermelon ×1 |
none | none | none | 0.75 Cooking |
Construction
Barriers
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Barricade |
One of: Door ×1 Window ×1 Each of: Plank ×1 Nails ×2 |
Hammer (tag) |
none | none | 0.75 Carpentry |
Wooden Stake |
Plank ×1 Nails ×2 |
Hammer (tag) |
Carpentry 5 | none | 1.25 Carpentry |
Barbed Fence |
Barbed Wire ×1 | Hammer (tag) |
Carpentry 5 | none | 1.25 Carpentry |
Wooden Fence |
Plank ×2 Nails ×3 |
Hammer (tag) |
Carpentry 2 | none | 1.25 Carpentry |
Sandbag Wall |
Sand Bag ×3 | Hammer (tag) |
none | none | 1.25 Carpentry |
Gravel Bag Wall |
Gravel Bag ×3 | Hammer (tag) |
none | none | 1.25 Carpentry |
Furniture
Miscellaneous
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Cairn |
Stone ×6 | Hammer (tag) |
none | none | none |
Lamp on Pillar |
Plank ×2 Nails ×4 Rope ×1 Flashlight ×1 |
Hammer (tag) |
Carpentry 4 | none | 1.25 Carpentry |
Sheet Rope |
One of: Sheet Rope ×1 Rope ×1 Nails ×1 |
Hammer (tag) |
none | none | none |
Wooden Cross |
Plank ×2 Nails ×2 |
Hammer (tag) |
none | none | 1.25 Carpentry |
Wooden Picket |
Plank ×1 Sheet Rope ×1 |
Hammer (tag) |
none | none | 1.25 Carpentry |
Wooden Sign |
Plank ×3 Nails ×3 |
Hammer (tag) |
Carpentry 1 | none | 0.75 Carpentry |
Structure
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 | 6 |
armyhanger | counter | 4 | 6 |
bedroom | crate | 1 | 0.6 |
drugshack | counter | 4 | 6 |
crate | 4 | 6 | |
factory | crate | 4 | 6 |
garagestorage | counter | 4 | 6 |
counter | 4 | 4 | |
generalstore | metal_shelves | 4 | 6 |
metalshipping | metal_shelves | 4 | 6 |
pawnshop | counter | 4 | 6 |
toolstorestorage | metal_shelves | 4 | 6 |
Trivia
It's used in a lot of recipes of the planned blacksmithing skill.
Code
Item
Source: ProjectZomboid\media\scripts\items_weapons.txt
item BallPeenHammer
{
DisplayCategory = ToolWeapon,
MaxRange = 1,
WeaponSprite = BallPeenHammer,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 3,
KnockBackOnNoDeath = TRUE,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlunt,
ConditionLowerChanceOneIn = 30,
Weight = 1,
SplatNumber = 1,
PushBackMod = 0.5,
SubCategory = Swinging,
ConditionMax = 10,
MaxHitCount = 1,
DoorDamage = 9,
CanBarricade = TRUE,
SwingAnim = Bat,
DisplayName = Ball Peen Hammer,
MinRange = 0.61,
SwingTime = 3,
KnockdownMod = 0,
SplatBloodOnNoDeath = TRUE,
Icon = BallPeenHammer,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound = BallPeenHammerBreak,
DoorHitSound = BallPeenHammerHit,
HitSound = BallPeenHammerHit,
HitFloorSound = BallPeenHammerHit,
SwingSound = BallPeenHammerSwing,
TreeDamage = 0,
MetalValue = 25,
CriticalChance = 20,
CritDmgMultiplier = 3,
MinDamage = 0.5,
MaxDamage = 1,
BaseSpeed = 1,
WeaponLength = 0.23,
AttachmentType = Hammer,
Tags = Hammer,
}
Repair
Source: ProjectZomboid\media\scripts\fixing.txt
fixing Fix Ball Peen Hammer
{
Require : BallPeenHammer,
Fixer : DuctTape=2,
Fixer : Scotchtape=3,
}