Scalpel: Difference between revisions

From PZwiki
m (→‎top: New infobox upgrade - Short Blade)
(→‎Code: CodeBox update)
Line 33: Line 33:


==Code==
==Code==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox
{{Retrieved|version=41|incver=55}}
| {{CodeSnip
<pre>
  | lang = java
item Scalpel
  | line = false
MaxRange = 0.8,
  | source = items_weapons.txt
WeaponSprite = Scalpel,
  | retrieved = true
MinAngle = 0.65,
  | version = 41
Type = Weapon,
  | incver = 55
MinimumSwingTime = 2,
  | code =
KnockBackOnNoDeath = FALSE,
item Scalpel
SwingAmountBeforeImpact = 0.02,
{
Categories = SmallBlade,
  MaxRange                 = 0.8,
ConditionLowerChanceOneIn = 1,
  WeaponSprite             = Scalpel,
Weight = 0.3,
  MinAngle                 = 0.65,
SplatNumber = 2,
  Type                     = Weapon,
PushBackMod = 0.3,
  MinimumSwingTime         = 2,
SubCategory = Stab,
  KnockBackOnNoDeath       = FALSE,
AimingMod = 0.8,
  SwingAmountBeforeImpact   = 0.02,
CloseKillMove = Jaw_Stab,
  Categories               = SmallBlade,
ConditionMax = 5,
  ConditionLowerChanceOneIn = 1,
MaxHitCount = 1,
  Weight                   = 0.3,
IsAimedHandWeapon = TRUE,
  SplatNumber               = 2,
DoorDamage = 1,
  PushBackMod               = 0.3,
SwingAnim = Stab,
  SubCategory               = Stab,
DisplayName = Scalpel,
  AimingMod                 = 0.8,
MinRange = 0.61,
  CloseKillMove             = Jaw_Stab,
SwingTime = 2,
  ConditionMax             = 5,
KnockdownMod = 0,
  MaxHitCount               = 1,
SplatBloodOnNoDeath = FALSE,
  IsAimedHandWeapon         = TRUE,
Icon = Scalpel,
  DoorDamage               = 1,
RunAnim = Run_Weapon2,
  SwingAnim                 = Stab,
IdleAnim = Idle_Weapon2,
  DisplayName               = Scalpel,
BreakSound = ScalpelBreak,
  MinRange                 = 0.61,
TreeDamage = 0,
  SwingTime                 = 2,
EnduranceMod = 0.5,
  KnockdownMod             = 0,
MetalValue = 8,
  SplatBloodOnNoDeath       = FALSE,
CriticalChance = 10,
  Icon                     = Scalpel,
CritDmgMultiplier = 10,
  RunAnim                   = Run_Weapon2,
MinDamage = 0.1,
  IdleAnim                 = Idle_Weapon2,
MaxDamage = 0.4,
  BreakSound               = ScalpelBreak,
WeaponLength = 0.17,
  TreeDamage               = 0,
DamageCategory = Slash,
  EnduranceMod             = 0.5,
DamageMakeHole = TRUE,
  MetalValue               = 8,
HitFloorSound = ScalpelHit,
  CriticalChance           = 10,
ImpactSound = ScalpelHit,
  CritDmgMultiplier         = 10,
DoorHitSound = ScalpelHit,
  MinDamage                 = 0.1,
HitSound = ScalpelHit,
  MaxDamage                 = 0.4,
SwingSound = ScalpelSwing,
  WeaponLength             = 0.17,
AttachmentType = Screwdriver,
  DamageCategory           = Slash,
</pre>
  DamageMakeHole           = TRUE,
  HitFloorSound             = ScalpelHit,
  ImpactSound               = ScalpelHit,
  DoorHitSound             = ScalpelHit,
  HitSound                 = ScalpelHit,
  SwingSound               = ScalpelSwing,
  AttachmentType           = Screwdriver,
}
  }}
}}


{{Navbox weapons}}
{{Navbox weapons}}

Revision as of 10:48, 31 January 2024

Template:Header/sandbox2

Spiffo controlyourself.png
This page was last updated for an older version (41.55).
The current stable version is 41.78.16, released 2022-12-12, so information on this page may be inaccurate. Help get this page updated by adding any missing content. [edit]
Please update the version after updating the page.
Notebook.png
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
Scalpel
Scalpel Model.png
General
Category
Weapon
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Equipped
One-handed
Slot attached
Belt
Properties
Max condition
5
Performance
Damage
0.1–0.4
Range
0.61–0.8
Knockback
0.3
Knockdown
0
Special ability
Jaw Stab
Technical
Item ID
Scalpel

A scalpel is a short blade weapon.

Usage

A scalpel is a short blade weapon with low durability and damage. Like many short bladed weapons, it can perform the jaw stab attack which will instantly kill a zombie when attacking from close proximity.

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.55
item Scalpel
{
  MaxRange                  = 0.8,
  WeaponSprite              = Scalpel,
  MinAngle                  = 0.65,
  Type                      = Weapon,
  MinimumSwingTime          = 2,
  KnockBackOnNoDeath        = FALSE,
  SwingAmountBeforeImpact   = 0.02,
  Categories                = SmallBlade,
  ConditionLowerChanceOneIn = 1,
  Weight                    = 0.3,
  SplatNumber               = 2,
  PushBackMod               = 0.3,
  SubCategory               = Stab,
  AimingMod                 = 0.8,
  CloseKillMove             = Jaw_Stab,
  ConditionMax              = 5,
  MaxHitCount               = 1,
  IsAimedHandWeapon         = TRUE,
  DoorDamage                = 1,
  SwingAnim                 = Stab,
  DisplayName               = Scalpel,
  MinRange                  = 0.61,
  SwingTime                 = 2,
  KnockdownMod              = 0,
  SplatBloodOnNoDeath       = FALSE,
  Icon                      = Scalpel,
  RunAnim                   = Run_Weapon2,
  IdleAnim                  = Idle_Weapon2,
  BreakSound                = ScalpelBreak,
  TreeDamage                = 0,
  EnduranceMod              = 0.5,
  MetalValue                = 8,
  CriticalChance            = 10,
  CritDmgMultiplier         = 10,
  MinDamage                 = 0.1,
  MaxDamage                 = 0.4,
  WeaponLength              = 0.17,
  DamageCategory            = Slash,
  DamageMakeHole            = TRUE,
  HitFloorSound             = ScalpelHit,
  ImpactSound               = ScalpelHit,
  DoorHitSound              = ScalpelHit,
  HitSound                  = ScalpelHit,
  SwingSound                = ScalpelSwing,
  AttachmentType            = Screwdriver,
}