User:Calvy/sandbox2: Difference between revisions

From PZwiki
(Undo revision 319497 by CalvyBot (talk))
Tag: Undo
m (Update table)
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
🔵 = Not started (Waiting for B42 release) 🟢 = Started 🟠 = On hold 🔴 = Complete
{{Page version|41.78.16}}
{{Infobox item
|name=Shovel
|model=Shovel_Model.png
|icon=Shovel.png
|icon_name=Shovel
|model2=Shovel02_Model.png
|icon2=Shovel2.png
|icon_name2=Shovel
<!--General-->
|category=Gardening
|weight=2.0
|equipped=Two-handed
|attachment_type=Shovel
|function=[[Farming]]
|skill_type=Blunt
<!--Properties-->
|metal_value=70
|condition_max=10
|condition_lower_chance=10
<!--Damage-->
|damge_type=Slash
|min_damage=0.8
|max_damage=1.9
|door_damage=10
|tree_damage=1
|min_range=0.61
|max_range=1.6
|base_speed=0.8
|push_back=0.5
|knockdown=2
|crit_chance=40
<!--Technical-->
|tag=ClearAshes
|tag2=DigGrave
|tag3=DigPlow
|tag4=TakeDirt
|item_id=Base.Shovel
|item_id2=Base.Shovel2
}}
A '''shovel''' is a [[farming]] tool or [[Weapons#Long Blunt|long blunt weapon]] that can move dirt, sand, and gravel. It can also [[Farming|till soil]].


==Usage==
{| class="wikitable theme-red"
===General===
! colspan="4" | Subprojects
Shovels can be used to dig graves to permanently dispose of up to 5 corpses and all the items the corpses are wearing/carrying. It also fulfills the same functions as a [[trowel]] or [[Hand Fork|hand fork]], in that they can be used to [[Farming|till]] grass and dirt tiles and to find [[worm]]s.
 
===Moving tiles===
While the player has the shovel and an [[Sack|empty sack]] in their main inventory, a new contextual option will appear when ''right-clicking'' any one of these aforementioned tiles. This new option allows the player to move up to ''four'' tiles of dirt, sand, or gravel into a single sack, upon changing the sack to a [[Dirt Bag|dirt bag]], [[sandbag]] or [[Gravel Bag|gravel bag]], respectively. Each filled sack can then be "spilled" over any other pre-existing tile, changing it to the contents of the sack.
 
This option only works with the spade variant of the shovel, not the square head.
 
This mechanic is ideal when a specific location is desired for farming in which doesn't already contain dirt tiles. There generally isn't much use in spreading sand around, but areas that have been covered in gravel will not be overgrown by [[erosion]] and saplings cannot grow there, allowing for the creation of artificial driveways. Finally, bags full of sand or gravel can be used to set up [[Sandbag Wall|sandbag wall]]s and [[Gravel Bag Wall|gravel bag wall]]s, which offer some protection from [[Weapons#Firearms|gunfire]].
 
===Weapon===
The shovel may also be used as a blunt melee weapon with a fast attack speed and intermediate damage. However, it is fairly fragile and caps at around 20-50 [[zombie]] kills before breaking, depending on the players' maintenance and long blunt skills, respectively.
 
==Condition==
The 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 &times; 2)</code>. Where "maintenanceMod" is calculated using the long blunt and maintenance skills.
 
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.
 
{| 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
|-
|-
|bedroom
! Status
|[[crate]]
! Task
|1
! Description
|0.4
! Sub-project leader
|-
|-
|closet
| 🔵
|[[crate]]
| [[Animal]]s
|4
| Update existing, and create new articles relating to [[Animals]], hunting, fishing raising livestock, and processing their products.<br>Deploy new infobox and navbox for animals.
|4
| -
|-
|-
|drugshack
| 🔵
|[[counter]]
| [[:Category:Locations|Locations]]
|4
| Update existing and add new [[:Category:Locations|locations]].
|4
| [[PZwiki:Project Locations and Maps|Project Locations and Maps]]
|-
|-
|farmstorage
| 🔵
|[[crate]]
| [[Weapons]]
|4
| Update all existing and add new [[weapons]].
|4
| -
|-
|-
|firestorage
| 🔵
|[[metal_shelves]]
| [[Template:Recipe list|Recipes]]
|4
| Update all existing and add new [[Template:Recipe list|recipes]].
|4
| -
|-
|-
|garagestorage
| 🔵
|[[counter]]
| [[Clothing]]
|4
| Update all existing and add new [[clothing]].
|4
| -
|-
|-
|gardenstore
| 🔵
|[[metal_shelves]]
| [[Blacksmith]]ing
|4
| Create articles for the new [[blacksmith]] skill.
|4
| [[PZwiki:Project Spiffo's Construction Crew|Project Spiffo's Construction Crew]]
|-
|-
|generalstore
| 🔵
|[[metal_shelves]]
| [[PZwiki:Project Lore|Lore]]
|4
| Update and create articles with accurate lore information, including the addition of new lore media.
|4
| [[PZwiki:Project Lore|Project Lore]]
|-
|-
|pawnshop
| 🔵
|[[counter]]
| [[Clothing]]
|4
| Update all existing and add new [[:Category:Clothing|clothing]] items.
|4
| -
|}
|}


{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
{| class="wikitable theme-red"
! colspan="4" | Containers
! colspan="3" | Article maintenance
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|SafehouseLoot
|[[counter]]
|4
|6
|-
|all
|[[toolcabinet]]
|4
|4
|-
|bedroom
|[[crate]]
|1
|0.4
|-
|closet
|[[crate]]
|4
|4
|-
|-
|drugshack
! Status
|[[counter]]
! Task
|4
! Users
|4
|-
|-
|farmstorage
| 🔵
|[[crate]]
| Automatically update code boxes using a bot.
|4
| [[User:Calvy|Calvy]]<br>[[User:CalvyBot|CalvyBot]]
|4
|-
|-
|firestorage
| 🔵
|[[metal_shelves]]
| Automatically update distribution tables using a bot.
|4
| [[User:Calvy|Calvy]]<br>[[User:CalvyBot|CalvyBot]]
|4
|-
|-
|garagestorage
| 🔵
|[[counter]]
| Update all required templates not part of subprojects.
|4
| -
|4
|-
|gardenstore
|[[metal_shelves]]
|4
|4
|-
|generalstore
|[[metal_shelves]]
|4
|4
|-
|pawnshop
|[[counter]]
|4
|4
|}
|}
==Code==
{{CodeBox|[[File:Shovel.png]] {{ID|Base.Shovel}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1727
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Shovel
    {
        DisplayCategory = Gardening,
        Type = Weapon,
        DisplayName = Shovel,
        Icon = Shovel,
        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 = Shovel,
        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  =  ShovelBreak,
        DoorHitSound = ShovelHit,
HitSound = ShovelHit,
HitFloorSound = ShovelHit,
SwingSound = ShovelSwing,
        KnockdownMod = 2,
        KnockBackOnNoDeath = TRUE,
        MetalValue = 70,
        TreeDamage = 1,
        CriticalChance = 40,
        CritDmgMultiplier = 2,
        MaxDamage = 1.9,
        MinDamage = 0.8,
        BaseSpeed = 0.8,
      WeaponLength = 0.55,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        AttachmentType = Shovel,
        Tags = ClearAshes;DigGrave;DigPlow;TakeDirt,
    }
}}
[[File:Shovel2.png]] {{ID|Base.Shovel2}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1775
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Shovel2
    {
        DisplayCategory = Gardening,
        Type = Weapon,
        DisplayName = Shovel,
        Icon = Shovel2,
        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 = Shovel02,
        IdleAnim = Idle_Weapon2,
        RunAnim = Run_Weapon2,
        Weight = 1.5,
        DoorDamage = 5,
        MinimumSwingTime = 2.1,
        SwingTime = 2.1,
        SwingAmountBeforeImpact = 0.02,
        ConditionLowerChanceOneIn = 10,
        ConditionMax = 10,
        Categories = Blunt,
        TwoHandWeapon = TRUE,
        BreakSound  =  ShovelBreak,
        DoorHitSound = ShovelHit,
        HitSound = ShovelHit,
        HitFloorSound = ShovelHit,
        SwingSound = ShovelSwing,
        KnockdownMod = 2,
        KnockBackOnNoDeath = TRUE,
        MetalValue = 70,
        TreeDamage = 1,
        CriticalChance = 40,
        CritDmgMultiplier = 2,
        MinDamage = 0.8,
        MaxDamage = 1.9,
        BaseSpeed = 0.8,
      WeaponLength = 0.55,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        AttachmentType = Shovel,
        Tags = ClearAshes;DigGrave;DigPlow;TakeDirt,
    }
}}
}}
==See also==
*[[Trowel]]
*[[Hand Fork]]
*[[Farming]]
{{Navbox items|blunt}}
[[Category:Farming tools]]
[[Category:Tools]]

Latest revision as of 11:29, 2 May 2024

🔵 = Not started (Waiting for B42 release) 🟢 = Started 🟠 = On hold 🔴 = Complete

Subprojects
Status Task Description Sub-project leader
🔵 Animals Update existing, and create new articles relating to Animal, hunting, fishing raising livestock, and processing their products.
Deploy new infobox and navbox for animals.
-
🔵 Locations Update existing and add new locations. Project Locations and Maps
🔵 Weapons Update all existing and add new weapons. -
🔵 Recipes Update all existing and add new recipes. -
🔵 Clothing Update all existing and add new clothing. -
🔵 Blacksmithing Create articles for the new blacksmith skill. Project Spiffo's Construction Crew
🔵 Lore Update and create articles with accurate lore information, including the addition of new lore media. Project Lore
🔵 Clothing Update all existing and add new clothing items. -
Article maintenance
Status Task Users
🔵 Automatically update code boxes using a bot. Calvy
CalvyBot
🔵 Automatically update distribution tables using a bot. Calvy
CalvyBot
🔵 Update all required templates not part of subprojects. -