Wooden Mallet: Difference between revisions
(Under construction) |
m (Distribution table fix) |
||
(28 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | ||
{{Page version|41.78.16}} | |||
{{ | {{Infobox item | ||
{{Infobox | |name=Wooden Mallet | ||
| | |model=WoodMallet_Model.png | ||
| | |icon=WoodMallet.png | ||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Weapon | |category=Weapon | ||
Line 18: | Line 14: | ||
<!--DAMAGE--> | <!--DAMAGE--> | ||
|type=SmallBlunt | |type=SmallBlunt | ||
|swing_time= | |swing_time=1.1 | ||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1 | |max_range=1 | ||
Line 26: | Line 22: | ||
|knockdown=0 | |knockdown=0 | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
| | |item_id=Base.WoodenMallet | ||
}} | }} | ||
''' | {{Quote|text=Too unwieldy to drive nails.|author=In-game tooltip}} | ||
A '''wooden mallet''' is a short blunt melee [[Weapons|weapon]]. | |||
== Usage == | ==Usage== | ||
' | It currently can't be used as a crafting tool, such as [[Hammer]], [[Stone Hammer]] or [[Ball-peen Hammer]], and is only used as a weapon. | ||
== | ===Weapon=== | ||
< | A wooden mallet is a short blunt weapon with high durability and moderate damage. Compared to many short blunt alternatives, a wooden mallet is considered a good secondary weapon. | ||
MaxRange | |||
WeaponSprite | ==Condition== | ||
MinAngle | The wooden mallet has a maximum condition of 8. 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 (20 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.<br> | ||
Type | Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | ||
MinimumSwingTime | {{Durability weapon|20}} | ||
KnockBackOnNoDeath | |||
SwingAmountBeforeImpact | ==Distribution== | ||
Categories | The loot distributions can be found in the table(s) below. | ||
ConditionLowerChanceOneIn = 20, | |||
Weight | <!--BOT FLAG|WoodenMallet|41.78.16--> | ||
SplatNumber | {{Clear}} | ||
PushBackMod | <div class="togglebox theme-red"> | ||
SubCategory | <div>WoodenMallet distribution | ||
ConditionMax | <span class="mw-customtoggle-togglebox-WoodenMallet" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div> | ||
MaxHitCount | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-WoodenMallet"> | ||
DoorDamage | Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | ||
CanBarricade | <div class="pz-container"> | ||
SwingAnim | <div id="containers" style="flex-basis:30%"> | ||
DisplayName | {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | ||
MinRange | |+ {{ll|Containers}} | ||
SwingTime | ! Building/Room | ||
KnockdownMod | ! Container | ||
SplatBloodOnNoDeath | ! Effective chance | ||
Icon | |- | ||
RunAnim | | Bag_ToolBag | ||
| {{ll|Bag_ToolBag}} | |||
| 2.81% | |||
TreeDamage | |- | ||
| Carpenter | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| Carpenter | |||
| {{ll|metal_shelves}} | |||
WeaponLength | | 10.78% | ||
AttachmentType = Hammer | |- | ||
| SafehouseLoot | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|crate}} | |||
| 15.1% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|metal_shelves}} | |||
| 15.1% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|wardrobe}} | |||
| 15.1% | |||
|- | |||
| SurvivorCache1 | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| SurvivorCache2 | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| Toolbox | |||
| {{ll|Toolbox}} | |||
| 2.81% | |||
|- | |||
| ToolsCache1 | |||
| {{ll|Bag_DuffelBagTINT}} | |||
| 10.78% | |||
|- | |||
| ToolsCache1 | |||
| {{ll|ToolsBox}} | |||
| 10.78% | |||
|- | |||
| ToolsCache1 | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| all | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| all | |||
| {{ll|metal_shelves}} | |||
| 2.57% | |||
|- | |||
| all | |||
| {{ll|toolcabinet}} | |||
| 10.78% | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| butcher | |||
| {{ll|counter}} | |||
| 19.27% | |||
|- | |||
| butcher | |||
| {{ll|metal_shelves}} | |||
| 19.27% | |||
|- | |||
| cabinetfactory | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| cabinetfactory | |||
| {{ll|metal_shelves}} | |||
| 19.27% | |||
|- | |||
| cabinetshipping | |||
| {{ll|metal_shelves}} | |||
| 19.27% | |||
|- | |||
| cafeteriakitchen | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| construction | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| deepfry_kitchen | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| dinerkitchen | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| drugshack | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| drugshack | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| factory | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| factory | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| farmstorage | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| farmstorage | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| garagestorage | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| garagestorage | |||
| {{ll|locker}} | |||
| 10.78% | |||
|- | |||
| garagestorage | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| generalstore | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|- | |||
| generalstorestorage | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|- | |||
| gigamart | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|- | |||
| gigamartkitchen | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| italiankitchen | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| jayschicken_kitchen | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| kitchen | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| loggingfactory | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| loggingfactory | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| pawnshop | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| pawnshop | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| pawnshop | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| pawnshop | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|- | |||
| pawnshopstorage | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| pawnshopstorage | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| restaurantkitchen | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| shed | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| shed | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| shed | |||
| {{ll|locker}} | |||
| 10.78% | |||
|- | |||
| shed | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 0.65% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 19.27% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 0.65% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| toolstore | |||
| {{ll|counter}} | |||
| 10.78% | |||
|- | |||
| toolstore | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| toolstore | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| toolstore | |||
| {{ll|shelves}} | |||
| 10.78% | |||
|- | |||
| toolstorestorage | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| toolstorestorage | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| warehouse | |||
| {{ll|crate}} | |||
| 10.78% | |||
|- | |||
| warehouse | |||
| {{ll|metal_shelves}} | |||
| 10.78% | |||
|- | |||
| westernkitchen | |||
| {{ll|counter}} | |||
| 10.78% | |||
|} | |||
</div> | |||
<div id="vehicles" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Vehicles}} | |||
! Type | |||
! Container | |||
! Effective chance | |||
|- | |||
| Carpenter | |||
| {{ll|Truck Bed}} | |||
| 10.78% | |||
|} | |||
</div> | |||
<div id="zombies" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Zombies}} | |||
! Outfit | |||
! Days survived | |||
! Chance | |||
|- | |||
| ConstructionWorker<br>Foreman | |||
| 0 | |||
| 80 | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-WoodenMallet" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|WoodenMallet|41.78.16--> | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1014 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item WoodenMallet | |||
{ | |||
DisplayCategory = ToolWeapon, | |||
MaxRange = 1, | |||
WeaponSprite = WoodenMallet, | |||
MinAngle = 0.65, | |||
Type = Weapon, | |||
MinimumSwingTime = 3, | |||
KnockBackOnNoDeath = TRUE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = SmallBlunt, | |||
ConditionLowerChanceOneIn = 20, | |||
Weight = 1, | |||
SplatNumber = 1, | |||
PushBackMod = 0.5, | |||
SubCategory = Swinging, | |||
ConditionMax = 8, | |||
MaxHitCount = 1, | |||
DoorDamage = 9, | |||
CanBarricade = TRUE, | |||
SwingAnim = Bat, | |||
DisplayName = Wooden Mallet, | |||
MinRange = 0.61, | |||
SwingTime = 3, | |||
KnockdownMod = 0, | |||
SplatBloodOnNoDeath = TRUE, | |||
Icon = WoodMallet, | |||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | |||
BreakSound = WoodenMalletBreak, | |||
DoorHitSound = WoodenMalletHit, | |||
HitSound = WoodenMalletHit, | |||
HitFloorSound = WoodenMalletHit, | |||
SwingSound = WoodenMalletSwing, | |||
TreeDamage = 0, | |||
MetalValue = 25, | |||
CriticalChance = 17, | |||
CritDmgMultiplier = 3, | |||
MinDamage = 0.4, | |||
MaxDamage = 0.9, | |||
BaseSpeed = 1.1, | |||
WeaponLength = 0.23, | |||
AttachmentType = Hammer, | |||
Tooltip = Tooltip_no_nails, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Club Hammer]] | |||
{{Navbox items|blunt}} |
Latest revision as of 19:53, 30 April 2024
A wooden mallet is a short blunt melee weapon.
Usage
It currently can't be used as a crafting tool, such as Hammer, Stone Hammer or Ball-peen Hammer, and is only used as a weapon.
Weapon
A wooden mallet is a short blunt weapon with high durability and moderate damage. Compared to many short blunt alternatives, a wooden mallet is considered a good secondary weapon.
Condition
The wooden mallet has a maximum condition of 8. 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 (20 + 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/20 (5%) |
0 | 4 | 1/22 (5%) |
0 | 8 | 1/24 (4%) |
4 | 0 | 1/24 (4%) |
8 | 0 | 1/28 (4%) |
4 | 4 | 1/26 (4%) |
4 | 8 | 1/28 (4%) |
8 | 8 | 1/32 (3%) |
10 | 10 | 1/34 (3%) |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
Bag_ToolBag | Bag_ToolBag | 2.81% |
Carpenter | crate | 10.78% |
Carpenter | metal_shelves | 10.78% |
SafehouseLoot | counter | 15.1% |
SafehouseLoot | crate | 10.78% |
SafehouseLoot | crate | 15.1% |
SafehouseLoot | metal_shelves | 10.78% |
SafehouseLoot | metal_shelves | 15.1% |
SafehouseLoot | wardrobe | 15.1% |
SurvivorCache1 | counter | 15.1% |
SurvivorCache2 | counter | 15.1% |
Toolbox | Toolbox | 2.81% |
ToolsCache1 | Bag_DuffelBagTINT | 10.78% |
ToolsCache1 | ToolsBox | 10.78% |
ToolsCache1 | counter | 10.78% |
all | crate | 0.65% |
all | metal_shelves | 2.57% |
all | toolcabinet | 10.78% |
bedroom | crate | 0.65% |
butcher | counter | 19.27% |
butcher | metal_shelves | 19.27% |
cabinetfactory | crate | 19.27% |
cabinetfactory | metal_shelves | 19.27% |
cabinetshipping | metal_shelves | 19.27% |
cafeteriakitchen | counter | 10.78% |
closet | crate | 0.65% |
closet | crate | 10.78% |
closet | crate | 19.27% |
construction | crate | 10.78% |
deepfry_kitchen | counter | 10.78% |
dinerkitchen | counter | 10.78% |
drugshack | counter | 10.78% |
drugshack | crate | 10.78% |
factory | crate | 10.78% |
factory | metal_shelves | 10.78% |
farmstorage | crate | 10.78% |
farmstorage | metal_shelves | 10.78% |
garagestorage | counter | 10.78% |
garagestorage | crate | 0.65% |
garagestorage | crate | 10.78% |
garagestorage | crate | 19.27% |
garagestorage | locker | 10.78% |
garagestorage | metal_shelves | 10.78% |
generalstore | metal_shelves | 10.78% |
generalstore | shelves | 10.78% |
generalstorestorage | metal_shelves | 10.78% |
generalstorestorage | shelves | 10.78% |
gigamart | shelves | 10.78% |
gigamartkitchen | counter | 10.78% |
italiankitchen | counter | 10.78% |
jayschicken_kitchen | counter | 10.78% |
kitchen | crate | 10.78% |
loggingfactory | crate | 10.78% |
loggingfactory | metal_shelves | 10.78% |
pawnshop | counter | 10.78% |
pawnshop | crate | 10.78% |
pawnshop | metal_shelves | 10.78% |
pawnshop | shelves | 10.78% |
pawnshopstorage | crate | 10.78% |
pawnshopstorage | metal_shelves | 10.78% |
restaurantkitchen | counter | 10.78% |
shed | counter | 10.78% |
shed | crate | 10.78% |
shed | locker | 10.78% |
shed | metal_shelves | 10.78% |
storageunit | crate | 0.65% |
storageunit | crate | 10.78% |
storageunit | crate | 19.27% |
storageunit | metal_shelves | 0.65% |
storageunit | metal_shelves | 10.78% |
toolstore | counter | 10.78% |
toolstore | crate | 10.78% |
toolstore | metal_shelves | 10.78% |
toolstore | shelves | 10.78% |
toolstorestorage | crate | 10.78% |
toolstorestorage | metal_shelves | 10.78% |
warehouse | crate | 10.78% |
warehouse | metal_shelves | 10.78% |
westernkitchen | counter | 10.78% |
Outfit | Days survived | Chance |
---|---|---|
ConstructionWorker Foreman |
0 | 80 |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item WoodenMallet
{
DisplayCategory = ToolWeapon,
MaxRange = 1,
WeaponSprite = WoodenMallet,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 3,
KnockBackOnNoDeath = TRUE,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlunt,
ConditionLowerChanceOneIn = 20,
Weight = 1,
SplatNumber = 1,
PushBackMod = 0.5,
SubCategory = Swinging,
ConditionMax = 8,
MaxHitCount = 1,
DoorDamage = 9,
CanBarricade = TRUE,
SwingAnim = Bat,
DisplayName = Wooden Mallet,
MinRange = 0.61,
SwingTime = 3,
KnockdownMod = 0,
SplatBloodOnNoDeath = TRUE,
Icon = WoodMallet,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound = WoodenMalletBreak,
DoorHitSound = WoodenMalletHit,
HitSound = WoodenMalletHit,
HitFloorSound = WoodenMalletHit,
SwingSound = WoodenMalletSwing,
TreeDamage = 0,
MetalValue = 25,
CriticalChance = 17,
CritDmgMultiplier = 3,
MinDamage = 0.4,
MaxDamage = 0.9,
BaseSpeed = 1.1,
WeaponLength = 0.23,
AttachmentType = Hammer,
Tooltip = Tooltip_no_nails,
}