Spear with Screwdriver: Difference between revisions

From PZwiki
(Added basic information and image)
m (Added Recipie)
Line 21: Line 21:
|min_range=0.98
|min_range=0.98
|max_range=1.45
|max_range=1.45
|min_damage=1
|min_damage=1.2
|max_damage=1.6
|max_damage=1.6
|push_back=0.3
|push_back=0.3
Line 30: Line 30:
}}
}}
The '''spear with screwdriver''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[Screwdriver|screwdriver]] compared to other spear type weapons, the spear with screwdriver is not very effective, but will serve in a pinch
The '''spear with screwdriver''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[Screwdriver|screwdriver]] compared to other spear type weapons, the spear with screwdriver is not very effective, but will serve in a pinch
==Recipe==
 
== Crafting ==
Spears with screwdriver are upgraded with [[Crafted Spear|crafted spears]], [[Screwdriver|screwdrivers]] and [[Duct Tape|duct tape]].
{{Crafting header|ing=3}}
{{Crafting header|ing=3}}
{{Crafting survivalist|110|ing=3}}
{{Crafting survivalist|110|ing=3}}
Line 36: Line 38:


==Code==
==Code==
'''''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}}

Revision as of 14:32, 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 Screwdriver
Spear with Screwdriver
Spear with Screwdriver
Spear with Screwdriver
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.45 tiles
Damage 1.2–1.6
Knockback 0.3
Knockdown 0
Technical details
Base ID Base.SpearScrewdriver

The spear with screwdriver is a spear type weapon made from a crafted spear and a screwdriver compared to other spear type weapons, the spear with screwdriver is not very effective, but will serve in a pinch

Crafting

Spears with screwdriver are upgraded with crafted spears, screwdrivers and duct tape.

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2 Ingredient 3
SpearScrewdriver.png
Spear with Screwdriver
0 XP none SpearStick.png
Crafted Spear
(consumed)
Screwdriver.png
Screwdriver
(consumed)
DuctTape.png
Duct Tape (2 units)
(consumed)

Code

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

    item SpearScrewdriver
    {
        MaxRange	=	1.45,
        WeaponSprite	=	SpearScrewdriver,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Spear,
        ConditionLowerChanceOneIn	=	4,
        Weight	=	1.5,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Spear,
        ConditionMax	=	7,
        MaxHitCount	=	2,
        DoorDamage	=	7,
        SwingAnim	=	Spear,
        DisplayName	=	Spear With Screwdriver,
        MinRange	=	0.98,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	SpearScrewdriver,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	1.2,
        MaxDamage	=	1.6,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound  =   SpearScrewdriverBreak,
        HitFloorSound	=	SpearScrewdriverHit,
        ImpactSound	=	SpearScrewdriverHit,
        DoorHitSound = SpearScrewdriverHit,
        HitSound	=	SpearScrewdriverHit,
        SwingSound	=	SpearScrewdriverSwing,
		AttachmentType = Shovel,
        Tags = FishingSpear,
         {

See also