Leaf Rake: Difference between revisions

From PZwiki
m (Add stub, add infobox, minor cleanup)
m (Distribution table update)
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Stub}}{{Languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Long blunt weapons}}
{{Page version|41.78.16}}
{{Infobox item
|name=Leaf Rake
|model=LeafRake_Model.png
|icon=LeafRake.png
|icon_name=Leaf Rake
<!--GENERAL-->
|category=Gardening
|weight=1.5
|equipped=Two-handed
|condition_max=4
|attachment_type=Shovel
<!--DAMAGE-->
|type=Blunt
|swing_time=2
|min_range=0.61
|max_range=1.6
|min_damage=0.2
|max_damage=0.4
|push_back=0.3
<!--TECHNICAL DETAILS-->
|item_id=LeafRake
}}
A '''leaf rake''' is an improvised long blunt [[Weapons|weapon]].


==Code==
==Usage==
{{pros-cons
<!-- #PROS# - below this line -->
|pros1 = Can hit up to 3 enemies with multi-hit enabled.
|pros2 = Long range
<!-- #CONS# - below this line -->
|cons1 = Low damage.
|cons2 = Cannot knock down enemies.
|cons3 = Weak durability.
}}
 
===Breaking Doors===
The leaf rake cannot be used to break doors as it deals 0 damage to them, resulting in only damaging the leaf rake's durability if attempted.
 
==Condition==
The leaf rake has a maximum condition of 4. 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 (3 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the long 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|3}}
 
==Distribution==
The loot distributions can be found in the table(s) below.


===Item===
<!--BOT FLAG|LeafRake|41.78.16-->
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{clear}}
{{Retrieved|version=41|incver=55}}
<div class="togglebox theme-red">
<pre>
    <div>LeafRake distribution
     item LeafRake
        <span class="mw-customtoggle-togglebox-LeafRake" 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-LeafRake">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | all
    | {{ll|Bag_ToolBag}}
    | 1
    | 10.0
    |-
    | all
    | {{ll|crate}}
    | 1
    | 1.0
    |-
    | all
    | {{ll|toolcabinet}}
    | 4
    | 10.0
    |-
    | bedroom
    | {{ll|crate}}
    | 1
    | 1.0
    |-
    | closet
    | {{ll|crate}}
    | 4
    | 10.0
    |-
    | garagestorage
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | gardenstore
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | generalstore
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |-
    | pawnshop
    | {{ll|counter}}
    | 4
    | 10.0
    |-
    | toolstorestorage
    | {{ll|metal_shelves}}
    | 4
    | 10.0
    |}
</div>
<div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Vehicles}}
    ! Vehicle Type/Location
    ! Rolls
    ! Chance
    |-
    | FarmerTruckBed
    | 4
    | 10
    |}
</div>
    </div><div style="clear:both;"></div>
     </div></div><div class="toggle large mw-customtoggle-togglebox-LeafRake" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|LeafRake|41.78.16-->
{{Stub}}


==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 2674
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item LeafRake
    {
        DisplayCategory = Gardening,
         MaxRange = 1.6,
         MaxRange = 1.6,
         WeaponSprite = LeafRake,
         WeaponSprite = LeafRake,
Line 50: Line 183:
         DamageMakeHole = TRUE,
         DamageMakeHole = TRUE,
         AttachmentType = Shovel,
         AttachmentType = Shovel,
        {
    }
</pre>
}}
}}
 
==See also==
*[[Pickaxe]]
*[[Shovel]]
*[[Snow Shovel]]
*[[Rake]]


{{Navbox weapons}}
{{Navbox items|blunt}}

Revision as of 15:53, 24 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Leaf Rake
LeafRake Model.png
General
Category
Gardening
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Equipped
Two-handed
Slot attached
Back
Properties
Max condition
4
Performance
Damage
0.2–0.4
Range
0.61–1.6
Knockback
0.3
Technical
Item ID
LeafRake

A leaf rake is an improvised long blunt weapon.

Usage

Pros Cons
  • Can hit up to 3 enemies with multi-hit enabled.
  • Long range
  • Low damage.
  • Cannot knock down enemies.
  • Weak durability.

Breaking Doors

The leaf rake cannot be used to break doors as it deals 0 damage to them, resulting in only damaging the leaf rake's durability if attempted.

Condition

The leaf rake has a maximum condition of 4. 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 (3 + maintenanceMod × 2). 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 maintenance and long blunt skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/3 (33%)
0 4 1/5 (20%)
0 8 1/7 (14%)
4 0 1/7 (14%)
8 0 1/11 (9%)
4 4 1/9 (11%)
4 8 1/11 (9%)
8 8 1/15 (7%)
10 10 1/17 (6%)

Distribution

The loot distributions can be found in the table(s) below.

LeafRake distribution Show / Hide
Containers
Building / Room Container Rolls Chance
all Bag_ToolBag 1 10.0
all crate 1 1.0
all toolcabinet 4 10.0
bedroom crate 1 1.0
closet crate 4 10.0
garagestorage counter 4 10.0
gardenstore metal_shelves 4 10.0
generalstore metal_shelves 4 10.0
pawnshop counter 4 10.0
toolstorestorage metal_shelves 4 10.0
Vehicles
Vehicle Type/Location Rolls Chance
FarmerTruckBed 4 10
Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item LeafRake
    {
        DisplayCategory = Gardening,
        MaxRange	=	1.6,
        WeaponSprite	=	LeafRake,
        MinAngle	=	0.85,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Blunt,
        ConditionLowerChanceOneIn	=	3,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	4,
        MaxHitCount	=	3,
        DoorDamage	=	1,
        SwingAnim	=	Bat,
        DisplayName	=	Leaf Rake,
        MinRange	=	0.61,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	LeafRake,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        BreakSound  =   LeafRakeBreak,
        DoorHitSound = LeafRakeHit,
		HitSound = LeafRakeHit,
		HitFloorSound = LeafRakeHit,
		SwingSound = LeafRakeSwing,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	5,
        CritDmgMultiplier = 1,
        MinDamage	=	0.2,
        MaxDamage	=	0.4,
        BaseSpeed = 1.2,
   		WeaponLength = 0.65,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        AttachmentType = Shovel,
     }

See also