Ice Pick: Difference between revisions

From PZwiki
m (→‎top: Category update: "Melee weapons")
(added CodeBox, Condition and other fixes/updates/adjustments)
Line 1: Line 1:
{{Languages}}{{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver=53}}
{{Languages}}{{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver=78.16}}
{{Infobox weapon
{{Infobox weapon
|display_name=Ice Pick
|display_name=Ice Pick
Line 10: Line 10:
|alternate_link=
|alternate_link=
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Cooking
|weight=0.3
|weight=0.3
|equipped=One-handed
|equipped=One-handed
|condition_max=10
|condition_max=10
|attachment_type=Screwdriver
|attachment_type=Screwdriver
<!--CHARACTERISTICS-->
|skill_type=SmallBlade
<!--DAMAGE-->
<!--DAMAGE-->
|type=SmallBlade
|type=Slash
|swing_time=2
|swing_time=2
|min_range=0.61
|min_range=0.61
Line 26: Line 26:
|kill_move=Jaw Stab
|kill_move=Jaw Stab
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=IcePick
|class_name=Base.IcePick
}}A '''ice pick''' is a short blade melee [[weapon|weapon]].  
}}An '''ice pick''' is a short blade melee [[weapon|weapon]].  


==Usage==
==Usage==
It is light, and in terms of durability, is better than the [[Kitchen Knife|kitchen knife]] but worse than the [[Hunting Knife|hunting knife]]. As the Ice Pick is one of the weapons with the 'Jaw Stab' attack, it can kill a zombie instantly if close enough and timed correctly.  
The ice pick is light, and in terms of durability, is better than the [[Kitchen Knife|kitchen knife]] but worse than the [[Hunting Knife|hunting knife]]. As the Ice Pick is one of the weapons with the 'Jaw Stab' attack, it can kill a zombie instantly if close enough and timed correctly.  


The Ice Pick is a single attack weapon, so it is best if used in single combat or if zombies are relatively spread out when attacking.
It is a single attack weapon, so it is best if used in single combat or if zombies are relatively spread out when attacking.


Its tree/door damage is negligible. (2 tree, 1 door per attack).
Its tree/door damage is negligible (2 tree, 1 door per attack).
 
==Condition==
The ice pick has a maximum condition of 10. Its rate of degradation is influenced by the [[Skills|short blade]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (7 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the short blade and maintenance skills.<br>
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blade]] skills.
{{Durability weapon|7}}


==Crafting==
==Crafting==
Line 44: Line 49:
==Gallery==
==Gallery==
<gallery style="image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;image-rendering:pixelated;image-rendering:crisp-edges;-ms-interpolation-mode:nearest-neighbor">
<gallery style="image-rendering:optimizeSpeed;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;image-rendering:pixelated;image-rendering:crisp-edges;-ms-interpolation-mode:nearest-neighbor">
IcePick-old.png|Old icon.
IcePick-old.png|Icon prior to [[build 41]].
</gallery>
</gallery>


==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=53}}
| {{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 3470
  | source = items_weapons.txt
  | retrieved = true
  | version = 41
  | incver = 78.16
  | code =
     item IcePick
     item IcePick
{
{
MaxRange = 0.8,
    DisplayCategory = Cooking,
WeaponSprite = IcePick,
MaxRange = 0.8,
MinAngle = 0.65,
WeaponSprite = IcePick,
Type = Weapon,
MinAngle = 0.65,
MinimumSwingTime = 2,
Type = Weapon,
KnockBackOnNoDeath = FALSE,
MinimumSwingTime = 2,
SwingAmountBeforeImpact = 0.02,
KnockBackOnNoDeath = FALSE,
Categories = SmallBlade,
SwingAmountBeforeImpact = 0.02,
ConditionLowerChanceOneIn = 7,
Categories = SmallBlade,
Weight = 0.3,
ConditionLowerChanceOneIn = 7,
SplatNumber = 4,
Weight = 0.3,
PushBackMod = 0.3,
SplatNumber = 4,
SubCategory = Stab,
PushBackMod = 0.3,
AimingMod = 0.8,
SubCategory = Stab,
ConditionMax = 10,
AimingMod = 0.8,
MaxHitCount = 1,
ConditionMax = 10,
IsAimedHandWeapon = TRUE,
MaxHitCount = 1,
DoorDamage = 1,
IsAimedHandWeapon = TRUE,
SwingAnim = Stab,
DoorDamage = 1,
DisplayName = Ice Pick,
SwingAnim = Stab,
MinRange = 0.61,
DisplayName = Ice Pick,
CloseKillMove = Jaw_Stab,
MinRange = 0.61,
SwingTime = 2,
CloseKillMove = Jaw_Stab,
KnockdownMod = 0,
SwingTime = 2,
SplatBloodOnNoDeath = TRUE,
KnockdownMod = 0,
Icon = IcePick,
SplatBloodOnNoDeath = TRUE,
RunAnim = Run_Weapon2,
Icon = IcePick,
RunAnim = Run_Weapon2,
         IdleAnim = Idle_Weapon2,
         IdleAnim = Idle_Weapon2,
         TreeDamage  =  2,
         TreeDamage  =  2,
         BreakSound  =  BreakMetalItem,
         BreakSound  =  IcePickBreak,
         EnduranceMod = 0.5,
         EnduranceMod = 0.5,
         CriticalChance = 10,
         CriticalChance = 10,
Line 88: Line 101:
         MinDamage = 0.6,
         MinDamage = 0.6,
         MaxDamage = 0.9,
         MaxDamage = 0.9,
WeaponLength = 0.25,
WeaponLength = 0.25,
         DamageCategory = Slash,
         DamageCategory = Slash,
         DamageMakeHole = TRUE,
         DamageMakeHole = TRUE,
         HitFloorSound = BladeHit,
         HitFloorSound = IcePickHit,
         ImpactSound = BladeHit,
         ImpactSound = IcePickHit,
HitSound = BladeHit,
        DoorHitSound = IcePickHit,
AttachmentType = Screwdriver,
HitSound = IcePickHit,
SwingSound = IcePickSwing,
AttachmentType = Screwdriver,
     }
     }
</pre>
}}
}}


==See also==
==See also==

Revision as of 14:20, 29 December 2023

Ice Pick
Ice Pick
Ice Pick
General
Category Cooking
Encumbrance
Heavy Load
0.3
Equipped One-handed
Condition max. 10
Skill Short Blade
Attachment Belt
Damage
Type Slash
Attack speed 2
Range 0.61–0.8 tiles
Damage 0.6–0.9
Knockback 0.3
Execution Jaw Stab
Technical details
Base ID Base.IcePick

An ice pick is a short blade melee weapon.

Usage

The ice pick is light, and in terms of durability, is better than the kitchen knife but worse than the hunting knife. As the Ice Pick is one of the weapons with the 'Jaw Stab' attack, it can kill a zombie instantly if close enough and timed correctly.

It is a single attack weapon, so it is best if used in single combat or if zombies are relatively spread out when attacking.

Its tree/door damage is negligible (2 tree, 1 door per attack).

Condition

The ice pick has a maximum condition of 10. Its rate of degradation is influenced by the short blade and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (7 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the short blade and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blade skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/7 (14%)
0 4 1/9 (11%)
0 8 1/11 (9%)
4 0 1/11 (9%)
8 0 1/15 (7%)
4 4 1/13 (8%)
4 8 1/15 (7%)
8 8 1/19 (5%)
10 10 1/21 (5%)

Crafting

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


Gallery

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 IcePick
	{
	    DisplayCategory = Cooking,
		MaxRange	=	0.8,
		WeaponSprite	=	IcePick,
		MinAngle	=	0.65,
		Type	=	Weapon,
		MinimumSwingTime	=	2,
		KnockBackOnNoDeath	=	FALSE,
		SwingAmountBeforeImpact	=	0.02,
		Categories	=	SmallBlade,
		ConditionLowerChanceOneIn	=	7,
		Weight	=	0.3,
		SplatNumber	=	4,
		PushBackMod	=	0.3,
		SubCategory	=	Stab,
		AimingMod	=	0.8,
		ConditionMax	=	10,
		MaxHitCount	=	1,
		IsAimedHandWeapon	=	TRUE,
		DoorDamage	=	1,
		SwingAnim	=	Stab,
		DisplayName	=	Ice Pick,
		MinRange	=	0.61,
		CloseKillMove = Jaw_Stab,
		SwingTime	=	2,
		KnockdownMod	=	0,
		SplatBloodOnNoDeath	=	TRUE,
		Icon	=	IcePick,
		RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        TreeDamage  =   2,
        BreakSound  =   IcePickBreak,
        EnduranceMod = 0.5,
        CriticalChance	=	10,
        CritDmgMultiplier = 5,
        MinDamage	=	0.6,
        MaxDamage	=	0.9,
	 	WeaponLength = 0.25,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        HitFloorSound	=	IcePickHit,
        ImpactSound	=	IcePickHit,
        DoorHitSound = IcePickHit,
		HitSound	=	IcePickHit,
		SwingSound = IcePickSwing,
		AttachmentType = Screwdriver,
    }

See also