Snow Shovel: Difference between revisions
m (→Code) |
(Update distribution file) |
||
(32 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}} | ||
{{Page version|41.78.16}} | |||
| | {{Infobox item | ||
| | |name=Snow Shovel | ||
| | |model=SnowShovel_Model.png | ||
| | |icon=SnowShovel.png | ||
|category=Weapon | |icon_name=Snow Shovel | ||
|weight= | |category=Tool/Weapon | ||
|weight=1.5 | |||
|weapon_type=Blunt | |weapon_type=Blunt | ||
| | |function=Weapon | ||
|equipped=Two-handed | |equipped=Two-handed | ||
|condition_max=10 | |condition_max=10 | ||
|type=Blunt | |type=Blunt | ||
| | |base_speed=0.8 | ||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=1.6 | |max_range=1.6 | ||
Line 19: | Line 20: | ||
|push_back=0.5 | |push_back=0.5 | ||
|knockdown=0 | |knockdown=0 | ||
| | |item_id=Base.SnowShovel | ||
}} | }} | ||
A '''snow shovel''' is a long blunt [[Weapons|weapon]]. | |||
==Usage== | |||
Other than being used as a [[#weapon|weapon]], the snow shovel can be used to clear [[ash]]es, dig [[grave]]s, [[Plowed Land|plow dirt]] and collect [[dirt]] with a [[sack]]. | |||
===Weapon=== | |||
The snow shovel's stats are similar to the [[shovel]] but cannot damage clothing. It can hit up to 3 enemies at a time (with multi-hit enabled), dealing a maximum of 1.9 damage to enemies (unless a critical hit) from up to 1.6 tiles away at an attack speed of 0.8. | |||
==Condition== | |||
The snow shovel has a maximum condition of 10. Its rate of degradation is influenced by the [[Skills|long blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (10 + 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|long blunt]] skills. | |||
{{Durability weapon|10}} | |||
==Distribution== | |||
The loot distributions can be found in the table(s) below. | |||
<!--BOT FLAG|SnowShovel|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>SnowShovel distribution | |||
<span class="mw-customtoggle-togglebox-SnowShovel" 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> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-SnowShovel"> | |||
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"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| Bag_ToolBag | |||
| {{ll|Bag_ToolBag}} | |||
| 1.61% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| SafehouseLoot | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| all | |||
| {{ll|toolcabinet}} | |||
| 6.29% | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 0.53% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 0.53% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| construction | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| factory | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| factory | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| farmstorage | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| farmstorage | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| garagestorage | |||
| {{ll|counter}} | |||
| 6.29% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 0.53% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| garagestorage | |||
| {{ll|locker}} | |||
| 6.29% | |||
|- | |||
| garagestorage | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| generalstore | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| generalstore | |||
| {{ll|shelves}} | |||
| 6.29% | |||
|- | |||
| generalstorestorage | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| generalstorestorage | |||
| {{ll|shelves}} | |||
| 6.29% | |||
|- | |||
| gigamart | |||
| {{ll|shelves}} | |||
| 6.29% | |||
|- | |||
| kitchen | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| loggingfactory | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| loggingfactory | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| pawnshop | |||
| {{ll|counter}} | |||
| 6.29% | |||
|- | |||
| pawnshop | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| pawnshop | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| pawnshop | |||
| {{ll|shelves}} | |||
| 6.29% | |||
|- | |||
| pawnshopstorage | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| pawnshopstorage | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| shed | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| shed | |||
| {{ll|locker}} | |||
| 6.29% | |||
|- | |||
| shed | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 0.53% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 0.53% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| toolstore | |||
| {{ll|counter}} | |||
| 6.29% | |||
|- | |||
| toolstore | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| toolstore | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| toolstore | |||
| {{ll|shelves}} | |||
| 6.29% | |||
|- | |||
| toolstorestorage | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| toolstorestorage | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|- | |||
| warehouse | |||
| {{ll|crate}} | |||
| 6.29% | |||
|- | |||
| warehouse | |||
| {{ll|metal_shelves}} | |||
| 6.29% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-SnowShovel" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|SnowShovel|41.78.16--> | |||
==Code== | ==Code== | ||
{{ | {{CodeBox | ||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1681 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SnowShovel | item SnowShovel | ||
{ | |||
DisplayCategory = ToolWeapon, | |||
Type = Weapon, | |||
DisplayName = Snow Shovel, | |||
Icon = SnowShovel, | |||
Weight = 2.0, | |||
SubCategory = Swinging, | |||
MinAngle = 0.85, | |||
MaxRange = 1.6, | |||
MinRange = 0.61, | |||
PushBackMod = 0.5, | |||
HitAngleMod = -30.0, | |||
SwingAnim = Bat, | |||
MaxHitCount = 3, | |||
WeaponSprite = SnowShovel, | |||
IdleAnim = Idle_Weapon2, | |||
RunAnim = Run_Weapon2, | |||
Weight = 1.5, | |||
DoorDamage = 10, | |||
MinimumSwingTime = 2.1, | |||
SwingTime = 2.1, | |||
SwingAmountBeforeImpact = 0.02, | |||
ConditionLowerChanceOneIn = 10, | |||
ConditionMax = 10, | |||
Categories = Blunt, | |||
TwoHandWeapon = TRUE, | |||
BreakSound = SnowShovelBreak, | |||
DoorHitSound = SnowShovelHit, | |||
HitSound = SnowShovelHit, | |||
HitFloorSound = SnowShovelHit, | |||
SwingSound = SnowShovelSwing, | |||
KnockdownMod = 2, | |||
KnockBackOnNoDeath = TRUE, | |||
MetalValue = 70, | |||
TreeDamage = 1, | |||
CriticalChance = 40, | |||
CritDmgMultiplier = 2, | |||
MaxDamage = 1.9, | |||
MinDamage = 0.8, | |||
BaseSpeed = 0.8, | |||
WeaponLength = 0.7, | |||
AttachmentType = Shovel, | |||
Tags = ClearAshes;DigGrave;DigPlow;TakeDirt, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Axe]] | |||
*[[Shovel]] | |||
*[[Trowel]] | |||
{{Navbox items|blunt}} | |||
[[Category:Farming tools]] | |||
[[Category:Tools]] |
Latest revision as of 13:55, 30 April 2024
A snow shovel is a long blunt weapon.
Usage
Other than being used as a weapon, the snow shovel can be used to clear ashes, dig graves, plow dirt and collect dirt with a sack.
Weapon
The snow shovel's stats are similar to the shovel but cannot damage clothing. It can hit up to 3 enemies at a time (with multi-hit enabled), dealing a maximum of 1.9 damage to enemies (unless a critical hit) from up to 1.6 tiles away at an attack speed of 0.8.
Condition
The snow shovel has a maximum condition of 10. Its rate of degradation is influenced by the long blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (10 + 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 long blunt skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/10 (10%) |
0 | 4 | 1/12 (8%) |
0 | 8 | 1/14 (7%) |
4 | 0 | 1/14 (7%) |
8 | 0 | 1/18 (6%) |
4 | 4 | 1/16 (6%) |
4 | 8 | 1/18 (6%) |
8 | 8 | 1/22 (5%) |
10 | 10 | 1/24 (4%) |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
Bag_ToolBag | Bag_ToolBag | 1.61% |
SafehouseLoot | crate | 6.29% |
SafehouseLoot | metal_shelves | 6.29% |
all | toolcabinet | 6.29% |
bedroom | crate | 0.53% |
closet | crate | 0.53% |
closet | crate | 6.29% |
construction | crate | 6.29% |
factory | crate | 6.29% |
factory | metal_shelves | 6.29% |
farmstorage | crate | 6.29% |
farmstorage | metal_shelves | 6.29% |
garagestorage | counter | 6.29% |
garagestorage | crate | 0.53% |
garagestorage | crate | 6.29% |
garagestorage | locker | 6.29% |
garagestorage | metal_shelves | 6.29% |
generalstore | metal_shelves | 6.29% |
generalstore | shelves | 6.29% |
generalstorestorage | metal_shelves | 6.29% |
generalstorestorage | shelves | 6.29% |
gigamart | shelves | 6.29% |
kitchen | crate | 6.29% |
loggingfactory | crate | 6.29% |
loggingfactory | metal_shelves | 6.29% |
pawnshop | counter | 6.29% |
pawnshop | crate | 6.29% |
pawnshop | metal_shelves | 6.29% |
pawnshop | shelves | 6.29% |
pawnshopstorage | crate | 6.29% |
pawnshopstorage | metal_shelves | 6.29% |
shed | crate | 6.29% |
shed | locker | 6.29% |
shed | metal_shelves | 6.29% |
storageunit | crate | 0.53% |
storageunit | crate | 6.29% |
storageunit | metal_shelves | 0.53% |
storageunit | metal_shelves | 6.29% |
toolstore | counter | 6.29% |
toolstore | crate | 6.29% |
toolstore | metal_shelves | 6.29% |
toolstore | shelves | 6.29% |
toolstorestorage | crate | 6.29% |
toolstorestorage | metal_shelves | 6.29% |
warehouse | crate | 6.29% |
warehouse | metal_shelves | 6.29% |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item SnowShovel
{
DisplayCategory = ToolWeapon,
Type = Weapon,
DisplayName = Snow Shovel,
Icon = SnowShovel,
Weight = 2.0,
SubCategory = Swinging,
MinAngle = 0.85,
MaxRange = 1.6,
MinRange = 0.61,
PushBackMod = 0.5,
HitAngleMod = -30.0,
SwingAnim = Bat,
MaxHitCount = 3,
WeaponSprite = SnowShovel,
IdleAnim = Idle_Weapon2,
RunAnim = Run_Weapon2,
Weight = 1.5,
DoorDamage = 10,
MinimumSwingTime = 2.1,
SwingTime = 2.1,
SwingAmountBeforeImpact = 0.02,
ConditionLowerChanceOneIn = 10,
ConditionMax = 10,
Categories = Blunt,
TwoHandWeapon = TRUE,
BreakSound = SnowShovelBreak,
DoorHitSound = SnowShovelHit,
HitSound = SnowShovelHit,
HitFloorSound = SnowShovelHit,
SwingSound = SnowShovelSwing,
KnockdownMod = 2,
KnockBackOnNoDeath = TRUE,
MetalValue = 70,
TreeDamage = 1,
CriticalChance = 40,
CritDmgMultiplier = 2,
MaxDamage = 1.9,
MinDamage = 0.8,
BaseSpeed = 0.8,
WeaponLength = 0.7,
AttachmentType = Shovel,
Tags = ClearAshes;DigGrave;DigPlow;TakeDirt,
}