Spear with Ice Pick: Difference between revisions

From PZwiki
m (space)
m (Automated Formatting)
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Spears}}
{{Header|The Game World|Items|Tools|version=Version 41|incver=52}}
{{Page version|41.78.16}}
{{Infobox weapon
{{Infobox item
|display_name=Spear with Ice Pick
|name=Spear with Ice Pick
|name_colour=Weapon
|model=SpearIcePick_Model.png
|name_text_colour=Weapon
|icon=SpearIcePick.png
|image=SpearIcePick_Model.png
|icon_name=Spear with Ice Pick
|image_width=200px
|alternate_image=SpearIcePick.png
|alternate_name=Spear with Ice Pick
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
Line 26: Line 23:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|ingredients=<!-- Omitted because there's many variations -->
|ingredients=<!-- Omitted because there's many variations -->
|class_name=Base.SpearIcePick
|item_id=Base.SpearIcePick
}}
}}
The '''spear with ice pick''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and an [[Ice Pick|ice pick]]. Compared to other spear type weapons, the spear with letter opener is not very effective, but will serve in a pinch.
The '''spear with ice pick''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and an [[Ice Pick|ice pick]]. Compared to other spear type weapons, the spear with letter opener is not very effective, but will serve in a pinch.
Line 32: Line 29:
==Crafting==
==Crafting==
Spears with ice pick are upgraded with [[Crafted Spear|crafted spear]], [[Ice Pick|ice pick]] and [[Duct Tape|duct tape]].
Spears with ice pick are upgraded with [[Crafted Spear|crafted spear]], [[Ice Pick|ice pick]] and [[Duct Tape|duct tape]].
{{Crafting header|ing=3}}
{{Crafting/sandbox2
{{Crafting survivalist|114|ing=3}}
|spear_with_ice_pick
|}
}}


==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=55}}
| {{CodeSnip
<pre>
  | lang = java
    item SpearIcePick
  | line = true
  | start = 4976
  | source = items_weapons.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item SpearIcePick
     {
     {
        DisplayCategory = WeaponCrafted,
         MaxRange = 1.42,
         MaxRange = 1.42,
         WeaponSprite = SpearIcePick,
         WeaponSprite = SpearIcePick,
Line 51: Line 55:
         Categories = Improvised;Spear,
         Categories = Improvised;Spear,
         ConditionLowerChanceOneIn = 3,
         ConditionLowerChanceOneIn = 3,
         Weight = 1.5,
         Weight = 2.0,
         SplatNumber = 1,
         SplatNumber = 1,
         PushBackMod = 0.3,
         PushBackMod = 0.3,
Line 81: Line 85:
         HitSound = SpearIcePickHit,
         HitSound = SpearIcePickHit,
         SwingSound = SpearIcePickSwing,
         SwingSound = SpearIcePickSwing,
AttachmentType = Shovel,
        SoundMap = SpearStab SpearIcePickStab,
AttachmentType = Shovel,
         Tags = FishingSpear,
         Tags = FishingSpear,
</pre>
    }
}}
}}


==See also==
==See also==
Line 89: Line 96:
*[[Crafted Spear]]
*[[Crafted Spear]]


{{Navbox weapons}}
{{Navbox items|spears}}
 


[[Category:Weapons]]
[[Category:Fishing tools]]
[[Category:Melee weapons]]
[[Category:Tools]]
[[Category:Fishing Tools]]

Revision as of 12:16, 14 April 2024

Project ZomboidItemsWeaponsMelee weaponsSpearsSpear with Ice Pick
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Spear with Ice Pick
SpearIcePick Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
1.5
Slot attached
Back
Properties
Max condition
Default: 6
Crafted: See Spears
Performance
Damage
1–1.6
Range
0.98–1.42
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.SpearIcePick

The spear with ice pick is a spear type weapon made from a crafted spear and an ice pick. Compared to other spear type weapons, the spear with letter opener is not very effective, but will serve in a pinch.

Crafting

Spears with ice pick are upgraded with crafted spear, ice pick and duct tape.

Product Ingredients Tools Requirements Workstation XP
SpearIcePick.png
Spear with Ice Pick
SpearStick.png Crafted Spear ×1
IcePick.png Ice Pick ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none

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 SpearIcePick
    {
        DisplayCategory = WeaponCrafted,
        MaxRange	=	1.42,
        WeaponSprite	=	SpearIcePick,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	2,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	Improvised;Spear,
        ConditionLowerChanceOneIn	=	3,
        Weight	=	2.0,
        SplatNumber	=	1,
        PushBackMod	=	0.3,
        SubCategory	=	Spear,
        ConditionMax	=	6,
        MaxHitCount	=	2,
        DoorDamage	=	5,
        SwingAnim	=	Spear,
        DisplayName	=	Spear With Ice Pick,
        MinRange	=	0.98,
        SwingTime	=	2,
        KnockdownMod	=	0,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	SpearIcePick,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   0,
        TwoHandWeapon = TRUE,
        CriticalChance	=	30,
        CritDmgMultiplier = 10,
        MinDamage	=	1,
        MaxDamage	=	1.6,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound  =   SpearIcePickBreak,
        HitFloorSound	=	SpearIcePickHit,
        ImpactSound	=	SpearIcePickHit,
        DoorHitSound = SpearIcePickHit,
        HitSound	=	SpearIcePickHit,
        SwingSound	=	SpearIcePickSwing,
        SoundMap = SpearStab SpearIcePickStab,
		AttachmentType = Shovel,
        Tags = FishingSpear,
    }

See also