Rake: Difference between revisions

From PZwiki
(Added the weapon code information from the project zomboid "items_weapons.txt")
 
(Add infobox, navbox, trivia)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=55}}
{{Infobox weapon
|display_name=Rake
|name_colour=Weapon
|name_text_colour=Weapon
|image=Image.png
|image_width=120px
|alternate_image=Rake.png
<!--GENERAL-->
|category=Weapon
|weight=1.5
|equipped=Two-handed
|condition_max=4
|attachment_type=Shovel
<!--CHARACTERISTICS-->
<!--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
|knockdown=0
<!--TECHNICAL DETAILS-->
|class_name=Rake
}}
A '''rake''' is an improvised long blunt weapon.
== Usage ==
A rake is a long blunt weapon with low durability and damage.
== Trivia ==
Despite the existence of an animation named "rake", the rake does not use any custom animations. This animation is instead used for cleaning blood or ash with a [[mop]] or [[broom]] and [[bleach]].
== Code ==
== Code ==
===Item===
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=55}}
{{Retrieved|version=41|incver=55}}
<nowiki>
<pre> item Rake
    item Rake
MaxRange = 1.6,
WeaponSprite = Rake,
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 = Rake,
MinRange = 0.61,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = Rake,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
BreakSound = RakeBreak,
DoorHitSound = RakeHit,
HitSound = RakeHit,
HitFloorSound = RakeHit,
SwingSound = RakeSwing,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 5,
CritDmgMultiplier = 1,
MinDamage = 0.2,
MaxDamage = 0.4,
BaseSpeed = 1.2,
WeaponLength = 0.68,
DamageCategory = Slash,
DamageMakeHole = TRUE,
AttachmentType = Shovel,
</pre>


        MaxRange = 1.6,
{{Navbox_weapons}}
        WeaponSprite = Rake,
        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 = Rake,
        MinRange = 0.61,
        SwingTime = 2,
        KnockdownMod = 0,
        SplatBloodOnNoDeath = FALSE,
        Icon = Rake,
        RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
        BreakSound  =  RakeBreak,
        DoorHitSound = RakeHit,
HitSound = RakeHit,
HitFloorSound = RakeHit,
SwingSound = RakeSwing,
        TreeDamage  =  0,
        TwoHandWeapon = TRUE,
        CriticalChance = 5,
        CritDmgMultiplier = 1,
        MinDamage = 0.2,
        MaxDamage = 0.4,
        BaseSpeed = 1.2,
    WeaponLength = 0.68,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        AttachmentType = Shovel,
        {</nowiki>

Revision as of 01:46, 20 November 2021

Rake
Rake
Rake.png
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
Knockdown 0
Technical details
Base ID Rake

A rake is an improvised long blunt weapon.

Usage

A rake is a long blunt weapon with low durability and damage.

Trivia

Despite the existence of an animation named "rake", the rake does not use any custom animations. This animation is instead used for cleaning blood or ash with a mop or broom and bleach.

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.55

	item Rake
		MaxRange			= 1.6,
		WeaponSprite			= Rake,
		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			= Rake,
		MinRange			= 0.61,
		SwingTime			= 2,
		KnockdownMod			= 0,
		SplatBloodOnNoDeath		= FALSE,
		Icon				= Rake,
		RunAnim				= Run_Weapon2,
		IdleAnim			= Idle_Weapon2,
		BreakSound			= RakeBreak,
		DoorHitSound			= RakeHit,
		HitSound			= RakeHit,
		HitFloorSound			= RakeHit,
		SwingSound			= RakeSwing,
		TreeDamage			= 0,
		TwoHandWeapon			= TRUE,
		CriticalChance			= 5,
		CritDmgMultiplier		= 1,
		MinDamage			= 0.2,
		MaxDamage			= 0.4,
		BaseSpeed			= 1.2,
		WeaponLength			= 0.68,
		DamageCategory			= Slash,
		DamageMakeHole			= TRUE,
		AttachmentType			= Shovel,