Scalpel

From PZwiki
Revision as of 04:42, 21 October 2021 by Keragom (talk | contribs) (Added the weapon code information from the project zomboid "items_weapons.txt")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Code

Item

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,
         {