Scalpel: Difference between revisions

From PZwiki
(Added the weapon code information from the project zomboid "items_weapons.txt")
 
(Added infobox, navbox)
Line 1: Line 1:
{{languages|{{PAGENAME}}}}
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=55}}
{{Infobox weapon
|display_name=Scalpel
|name_colour=Weapon
|name_text_colour=Weapon
|image=Image.png
|image_width=120px
|alternate_image=Scalpel.png
<!--GENERAL-->
|category=Weapon
|weight=0.3
|equipped=One-handed
|condition_max=5
|attachment_type=Screwdriver
<!--CHARACTERISTICS-->
<!--DAMAGE-->
|type=SmallBlade
|swing_time=2
|min_range=0.61
|max_range=0.8
|min_damage=0.1
|max_damage=0.4
|push_back=0.3
|knockdown=0
|kill_move=Jaw Stab
<!--TECHNICAL DETAILS-->
|class_name=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 ==
===Item===
'''''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}}
<nowiki>
<pre> item Scalpel
    item Scalpel
MaxRange = 0.8,
{
WeaponSprite = Scalpel,
MaxRange = 0.8,
MinAngle = 0.65,
WeaponSprite = Scalpel,
Type = Weapon,
MinAngle = 0.65,
MinimumSwingTime = 2,
Type = Weapon,
KnockBackOnNoDeath = FALSE,
MinimumSwingTime = 2,
SwingAmountBeforeImpact = 0.02,
KnockBackOnNoDeath = FALSE,
Categories = SmallBlade,
SwingAmountBeforeImpact = 0.02,
ConditionLowerChanceOneIn = 1,
Categories = SmallBlade,
Weight = 0.3,
ConditionLowerChanceOneIn = 1,
SplatNumber = 2,
Weight = 0.3,
PushBackMod = 0.3,
SplatNumber = 2,
SubCategory = Stab,
PushBackMod = 0.3,
AimingMod = 0.8,
SubCategory = Stab,
CloseKillMove = Jaw_Stab,
AimingMod = 0.8,
ConditionMax = 5,
CloseKillMove = Jaw_Stab,
MaxHitCount = 1,
ConditionMax = 5,
IsAimedHandWeapon = TRUE,
MaxHitCount = 1,
DoorDamage = 1,
IsAimedHandWeapon = TRUE,
SwingAnim = Stab,
DoorDamage = 1,
DisplayName = Scalpel,
SwingAnim = Stab,
MinRange = 0.61,
DisplayName = Scalpel,
SwingTime = 2,
MinRange = 0.61,
KnockdownMod = 0,
SwingTime = 2,
SplatBloodOnNoDeath = FALSE,
KnockdownMod = 0,
Icon = Scalpel,
SplatBloodOnNoDeath = FALSE,
RunAnim = Run_Weapon2,
Icon = Scalpel,
IdleAnim = Idle_Weapon2,
RunAnim = Run_Weapon2,
BreakSound = ScalpelBreak,
        IdleAnim = Idle_Weapon2,
TreeDamage = 0,
        BreakSound =   ScalpelBreak,
EnduranceMod = 0.5,
        TreeDamage =   0,
MetalValue = 8,
        EnduranceMod = 0.5,
CriticalChance = 10,
        MetalValue = 8,
CritDmgMultiplier = 10,
        CriticalChance = 10,
MinDamage = 0.1,
        CritDmgMultiplier = 10,
MaxDamage = 0.4,
        MinDamage = 0.1,
WeaponLength = 0.17,
        MaxDamage = 0.4,
DamageCategory = Slash,
WeaponLength = 0.17,
DamageMakeHole = TRUE,
        DamageCategory = Slash,
HitFloorSound = ScalpelHit,
        DamageMakeHole = TRUE,
ImpactSound = ScalpelHit,
        HitFloorSound = ScalpelHit,
DoorHitSound = ScalpelHit,
        ImpactSound = ScalpelHit,
HitSound = ScalpelHit,
        DoorHitSound = ScalpelHit,
SwingSound = ScalpelSwing,
HitSound = ScalpelHit,
AttachmentType = Screwdriver,
SwingSound = ScalpelSwing,
</pre>
AttachmentType = Screwdriver,
 
        {</nowiki>
{{Navbox_weapons}}

Revision as of 02:02, 20 November 2021

Scalpel
Scalpel
Scalpel.png
General
Category Weapon
Encumbrance
Heavy Load
0.3
Equipped One-handed
Condition max. 5
Skill Short Blade
Attachment Belt
Damage
Type SmallBlade
Attack speed 2
Range 0.61–0.8 tiles
Damage 0.1–0.4
Knockback 0.3
Knockdown 0
Execution Jaw Stab
Technical details
Base 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

From items_weapons.txt (Project Zomboid directory/media/scripts/) 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,