Scalpel: Difference between revisions
VaileasysBot (talk | contribs) m (→top: New infobox upgrade - Short Blade) |
(→Code: CodeBox update) |
||
Line 33: | Line 33: | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = false | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 55 | |||
| code = | |||
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, | |||
} | |||
}} | |||
}} | |||
{{Navbox weapons}} | {{Navbox weapons}} |
Revision as of 10:48, 31 January 2024
This article may need more content.
Editors are encouraged to add new material to the page while expanding upon current topics.
Scalpel
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 snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}