Katana

From PZwiki
Revision as of 18:26, 4 November 2021 by Keragom (talk | contribs) (→‎Code: updated katana code)
Profession engineer.png
This is a testing feature.
This article is about an item or mechanic that is currently in testing and not part of the stable version of the game.
Katana
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
Tree damage 1
Door damage 8
Knockback 0.5
Technical details
Base ID Base.Katana

A katana is a two-handed long blade weapon. The katana can alternatively be used as a one-handed weapon at the cost of reduced impact. The weapon can be attached to the character's back for quick access and weight reduction.

Usage

Pros Cons
  • Highest damage of any weapon in the game.
  • Good durability.
  • Hard to level up long blade skill due to the katana and Machete being the only long blade weapons.
  • Cannot be repaired, ideal to make it last longer by levelling up your maintenance skill before using it.
  • Very difficult to find.

Multi-hit

In modes with multi-hit enabled, a katana can hit a maximum of three targets in one swing.

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

Buildings

The katana can be found in residential buildings in furniture such as wardrobes and drawers. Another possible place are gun shops such as the one located in West Point.

Zombies

After 60 days have passed, The katana can very rarely be found impaled in the stomach of a zombie.

Gallery

Code

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

Retrieved: Build 41.56

     item Katana
    {
        MaxRange	=	1.4,
        WeaponSprite	=	Katana,
        MinAngle	=	0.8,
        Type	=	Weapon,
        MinimumSwingTime	=	3,
        HitFloorSound	=	KatanaHit,
		ImpactSound	=	KatanaHit,
        DoorHitSound = KatanaHit,
		HitSound	=	KatanaHit,
		SwingSound = KatanaSwing,
        KnockBackOnNoDeath = TRUE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	LongBlade,
        Weight	=	2,
        ConditionLowerChanceOneIn	=	15,
        PushBackMod	=	0.5,
        SubCategory	=	Swinging,
        ConditionMax	=	10,
        MaxHitCount	=	3,
        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  =   KatanaBreak,
        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,
    }

See also