Katana

From PZwiki
Revision as of 12:38, 7 July 2021 by NoLoGGic (talk | contribs) (added small info and some distribution info)
Katana
Katana
General
Category Weapon
Encumbrance
Heavy Load
2
Function Weapon
Equipped Two-handed
Condition max. 10
Skill Long Blunt
Damage
Type Blunt
Attack speed 3
Range 0.61–1.4 tiles
Damage 8–8
Knockback 0.5
Knockdown 2
Technical details
Base ID Base.Katana

The Katana is a two-handed blade melee weapon

Distribution

The katana can be found in residential buildings in furniture such as wardrobes and drawers. Another possible place is the gun shop in West Point. As with other weapons it is also possible to find the katana stabbed through a spawned zombie. The katana has one of the lowest spawn rates due to its high damage.

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/)

Retrieved: Build 41.50

	item Katana
		MaxRange			= 1.4,
		WeaponSprite			= Katana,
		MinAngle			= 0.8,
		Type				= Weapon,
		MinimumSwingTime		= 3,
		HitFloorSound			= BladeHit,
		ImpactSound			= BladeHit,
		HitSound			= BladeHit,
		KnockBackOnNoDeath		= TRUE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= LongBlade,
		Weight				= 2,
		ConditionLowerChanceOneIn	= 25,
		PushBackMod			= 0.5,
		SubCategory			= Swinging,
		ConditionMax			= 10,
		MaxHitCount			= 1,
		DoorDamage			= 8,
		SwingAnim			= Bat,
		CriticalChance			= 35,
		CritDmgMultiplier		= 6,
		DisplayName			= Katana,
		MinRange			= 0.61,
		SwingTime			= 3,
		HitAngleMod			= -30,
		KnockdownMod			= 0,
		Icon				= Katana,
		RunAnim				= Run_Weapon2,
		BreakSound			= BreakMetalItem,
		TreeDamage			= 1,
		CriticalChance			= 30,
		CritDmgMultiplier		= 10,
		MinDamage			= 8,
		MaxDamage			= 8,
		BaseSpeed			= 1,
		WeaponLength			= 0.3,
		DamageCategory			= Slash,
		DamageMakeHole			= TRUE,
		TwoHandWeapon			= TRUE,
		WeaponLength			= 0.4,
		AttachmentType			= BigBlade,