Katana: Difference between revisions

From PZwiki
m (fixed that its a blade weapon)
(added more minor info and the heading tabs for doors and trees)
Line 1: Line 1:
{{languages|Katana}}
{{languages|Katana}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=39}}{{Infobox weapon
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=50}}{{Infobox weapon
|display_name=Katana
|display_name=Katana
|name_colour=Weapon
|name_colour=Weapon
Line 22: Line 22:
}}
}}
The '''Katana''' is a two-handed blade melee [[Weapons|weapon]]
The '''Katana''' is a two-handed blade melee [[Weapons|weapon]]
==Usage==
===Weapon===
The katana is the highest damage weapon in the game, as displayed by its full damage bar in the UI.
===Breaking Doors===
The katana is quite ineffective at breaking down [[Wooden Door|doors]], dealing only 8 damage. For comparison, an [[Axe#Breaking Doors|axe]] deals 35.
===Chopping Trees===
The katana is very ineffective at chopping down trees, dealing 1 damage. For comparison, an [[Axe#Chopping Trees]] deals 35.


==Distribution==
==Distribution==
The katana can be found in residential buildings in furniture such as [[Containers#Bedrooom Storage|wardrobes and drawers]]. Another possible place is the gun shop in [[West Point, KY]]. As with other weapons it is also possible to find the katana stabbed through a spawned [[Zombie|zombie]]. The katana has one of the lowest spawn rates due to its high damage.
The katana can be found in residential buildings in furniture such as [[Containers#Bedrooom Storage|wardrobes and drawers]]. Another possible place is the gun shop in [[West Point, KY]]. As with other weapons it is also possible to find the katana stabbed through a spawned [[Zombie|zombie]]. The katana has one of the lowest spawn rates due to its high damage.
==Repairing==
Unfortunately the katana can not be repaired as of yet. This makes using it for chopping down trees or breaking through doors an especially counter-intuitive idea as it is much  more effective at killing [[Zombie|zombies]].


==Code==
==Code==

Revision as of 17:28, 7 July 2021

Katana
Katana
General
Category Weapon
Encumbrance
Heavy Load
2
Function Weapon
Equipped Two-handed
Condition max. 10
Skill Blade
Damage
Type Blade
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

Usage

Weapon

The katana is the highest damage weapon in the game, as displayed by its full damage bar in the UI.

Breaking Doors

The katana is quite ineffective at breaking down doors, dealing only 8 damage. For comparison, an axe deals 35.

Chopping Trees

The katana is very ineffective at chopping down trees, dealing 1 damage. For comparison, an Axe deals 35.

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.

Repairing

Unfortunately the katana can not be repaired as of yet. This makes using it for chopping down trees or breaking through doors an especially counter-intuitive idea as it is much more effective at killing zombies.

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,