Snow Shovel: Difference between revisions
m (Removed {{clear}} line above ==Distribution==) |
m (Automated Formatting) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{{Infobox item | {{Infobox item | ||
|name=Snow Shovel | |name=Snow Shovel | ||
|model= | |model=SnowShovel_Model.png | ||
|icon=SnowShovel.png | |icon=SnowShovel.png | ||
|icon_name=Snow Shovel | |icon_name=Snow Shovel | ||
Line 21: | Line 21: | ||
|knockdown=0 | |knockdown=0 | ||
|item_id=Base.SnowShovel | |item_id=Base.SnowShovel | ||
}}A '''snow shovel''' is a long blunt [[Weapons|weapon]]. | }} | ||
A '''snow shovel''' is a long blunt [[Weapons|weapon]]. | |||
==Usage== | ==Usage== | ||
Line 40: | Line 41: | ||
! 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 | ||
|- | |- | ||
| all | |all | ||
| [[toolcabinet]] | |[[toolcabinet]] | ||
| 4 | |4 | ||
| 2 | |2 | ||
|- | |- | ||
| bedroom | |bedroom | ||
| [[crate]] | |[[crate]] | ||
| 1 | |1 | ||
| 0.2 | |0.2 | ||
|- | |- | ||
| garagestorage | |garagestorage | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 2 | |2 | ||
|- | |- | ||
| generalstore | |generalstore | ||
| [[metal_shelves]] | |[[metal_shelves]] | ||
| 4 | |4 | ||
| 2 | |2 | ||
|- | |- | ||
| pawnshop | |pawnshop | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 2 | |2 | ||
|} | |} | ||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox | ||
Line 80: | Line 82: | ||
| version = 41.78.16 | | version = 41.78.16 | ||
| code = | | code = | ||
item SnowShovel | |||
{ | { | ||
DisplayCategory = ToolWeapon, | DisplayCategory = ToolWeapon, | ||
Line 133: | Line 135: | ||
*[[Trowel]] | *[[Trowel]] | ||
{{Navbox | {{Navbox items|blunt}} | ||
[[Category:Farming tools]] | [[Category:Farming tools]] | ||
[[Category:Tools]] | [[Category:Tools]] |
Revision as of 12:13, 14 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.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | toolcabinet | 4 | 2 |
bedroom | crate | 1 | 0.2 |
garagestorage | counter | 4 | 2 |
generalstore | metal_shelves | 4 | 2 |
pawnshop | counter | 4 | 2 |
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,
}