Leaf Rake: Difference between revisions

From PZwiki
m (Add stub, add infobox, minor cleanup)
(Fleshed out page to include more details about the weapon, rather than only being code)
Line 1: Line 1:
{{Stub}}{{Languages}}
{{Languages}}
{{header|The Game World|Items|Weapons|Melee Weapons|version=Version 41|incver=78.16}}
{{Infobox weapon
|display_name=Leaf Rake
|name_colour=Weapon
|name_text_colour=Weapon
|image=LeafRake_Model.png
|image_width=200px
|alternate_image=LeafRake.png
|alternate_name=Leaf Rake
<!--GENERAL-->
|category=Weapon
|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-->
|class_name=LeafRake
}}
 
 
==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 is a [[Skills#Combat|long blunt]] weapon, therefore being influenced by the blunt skills: accuracy, guard, and maintenance. It has a maximum condition of 4 and will be damaged depending on the [[Player|player's]] maintenance skill. The chance of losing durability is: <code>1 in (3 + maintenance x 2)</code>
 
==Distribution==
TODO


==Code==
==Code==
 
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
===Item===
{{Retrieved|version=41|incver=78.16}}
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=55}}
<pre>
<pre>
    item LeafRake
item LeafRake
 
DisplayCategory = Gardening,
        MaxRange = 1.6,
MaxRange = 1.6,
        WeaponSprite = LeafRake,
WeaponSprite = LeafRake,
        MinAngle = 0.85,
MinAngle = 0.85,
        Type = Weapon,
Type = Weapon,
        MinimumSwingTime = 2,
MinimumSwingTime = 2,
        KnockBackOnNoDeath = FALSE,
KnockBackOnNoDeath = FALSE,
        SwingAmountBeforeImpact = 0.02,
SwingAmountBeforeImpact = 0.02,
        Categories = Improvised;Blunt,
Categories = Improvised;Blunt,
        ConditionLowerChanceOneIn = 3,
ConditionLowerChanceOneIn = 3,
        Weight = 1.5,
Weight = 1.5,
        SplatNumber = 1,
SplatNumber = 1,
        PushBackMod = 0.3,
PushBackMod = 0.3,
        SubCategory = Swinging,
SubCategory = Swinging,
        ConditionMax = 4,
ConditionMax = 4,
        MaxHitCount = 3,
MaxHitCount = 3,
        DoorDamage = 1,
DoorDamage = 1,
        SwingAnim = Bat,
SwingAnim = Bat,
        DisplayName = Leaf Rake,
DisplayName = Leaf Rake,
        MinRange = 0.61,
MinRange = 0.61,
        SwingTime = 2,
SwingTime = 2,
        KnockdownMod = 0,
KnockdownMod = 0,
        SplatBloodOnNoDeath = FALSE,
SplatBloodOnNoDeath = FALSE,
        Icon = LeafRake,
Icon = LeafRake,
        RunAnim = Run_Weapon2,
RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
IdleAnim = Idle_Weapon2,
        BreakSound =   LeafRakeBreak,
BreakSound = LeafRakeBreak,
        DoorHitSound = LeafRakeHit,
DoorHitSound = LeafRakeHit,
HitSound = LeafRakeHit,
HitSound = LeafRakeHit,
HitFloorSound = LeafRakeHit,
HitFloorSound = LeafRakeHit,
SwingSound = LeafRakeSwing,
SwingSound = LeafRakeSwing,
        TreeDamage =   0,
TreeDamage = 0,
        TwoHandWeapon = TRUE,
TwoHandWeapon = TRUE,
        CriticalChance = 5,
CriticalChance = 5,
        CritDmgMultiplier = 1,
CritDmgMultiplier = 1,
        MinDamage = 0.2,
MinDamage = 0.2,
        MaxDamage = 0.4,
MaxDamage = 0.4,
        BaseSpeed = 1.2,
BaseSpeed = 1.2,
  WeaponLength = 0.65,
WeaponLength = 0.65,
        DamageCategory = Slash,
DamageCategory = Slash,
        DamageMakeHole = TRUE,
DamageMakeHole = TRUE,
        AttachmentType = Shovel,
AttachmentType = Shovel,
        {
</pre>
</pre>


{{Navbox weapons}}
{{Navbox weapons}}

Revision as of 18:52, 14 May 2023

Leaf Rake
Leaf Rake
Leaf Rake
General
Category Weapon
Encumbrance
Heavy Load
1.5
Equipped Two-handed
Condition max. 4
Skill Long Blunt
Attachment Back
Damage
Type Blunt
Attack speed 2
Range 0.61–1.6 tiles
Damage 0.2–0.4
Knockback 0.3
Technical details
Base ID LeafRake


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 is a long blunt weapon, therefore being influenced by the blunt skills: accuracy, guard, and maintenance. It has a maximum condition of 4 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: 1 in (3 + maintenance x 2)

Distribution

TODO

Code

From items.txt (Project Zomboid directory/media/scripts/) 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,