Spear with Fork: Difference between revisions

From PZwiki
m (Minor cleanup)
(Added basic information and image)
Line 1: Line 1:
{{Stub}}{{Languages}}
{{Stub}}
{{languages}}
{{header|The Game World|Items|Tools|version=Version 41|incver=52}}
{{Infobox weapon
|display_name=Spear with Fork
|name_colour=Weapon
|name_text_colour=Weapon
|image=SpearFork Model.png
|image_width=200px
|alternate_image=SpearFork.png
|alternate_name=Spear with Fork
<!--GENERAL-->
|category=Weapon
|weight=1.5
|condition_max=Default: 6 <br>Crafted: <small>''See [[Crafted  Spear|Spears]]''</small>
|attachment_type=Shovel
<!--CHARACTERISTICS-->
<!--DAMAGE-->
|type=Spear
|swing_time=2
|min_range=0.98
|max_range=1.42
|min_damage=1
|max_damage=1.6
|push_back=0.3
|knockdown=0
<!--TECHNICAL DETAILS-->
|ingredients=<!-- Omitted because there's many variations -->
|class_name=Base.SpearFork
}}
A '''Spear with Fork''' is one of the upgraded version of a [[Crafted  Spear]]. It is slightly more powerful and durable than a [[Crafted Spear|crafted spear]].


==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}}
Line 54: Line 82:
</pre>
</pre>


{{Navbox weapons}}
==See also==
*[[Fishing]]
*[[Crafted Spear]]
 
[[Category:Weapons]]
[[Category:Melee weapons]]
[[Category:Fishing Tools]]

Revision as of 13:49, 6 January 2024

Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
The Game WorldItemsToolsSpear with Fork
Spear with Fork
Spear with Fork
Spear with Fork
General
Category Weapon
Encumbrance
Heavy Load
1.5
Condition max. Default: 6
Crafted: See Spears
Skill Spear
Attachment Back
Damage
Type Spear
Attack speed 2
Range 0.98–1.42 tiles
Damage 1–1.6
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.SpearFork

A Spear with Fork is one of the upgraded version of a Crafted Spear. It is slightly more powerful and durable than a crafted spear.

Code

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

    item SpearFork
    {
        MaxRange	=	1.42,
        WeaponSprite	=	SpearFork,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Spear,
        ConditionLowerChanceOneIn	=	3,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Spear,
        ConditionMax	=	6,
        MaxHitCount	=	2,
        DoorDamage	=	5,
        SwingAnim	=	Spear,
        DisplayName	=	Spear With Fork,
        MinRange	=	0.98,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	SpearFork,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	1,
        MaxDamage	=	1.6,
        BaseSpeed = 0.95,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound  =   SpearForkBreak,
        HitFloorSound	=	SpearForkHit,
        ImpactSound	=	SpearForkHit,
        DoorHitSound = SpearForkHit,
        HitSound	=	SpearForkHit,
        SwingSound	=	SpearForkSwing,
		AttachmentType = Shovel,
        Tags = FishingSpear,
         {

See also