Letter Opener: Difference between revisions

From PZwiki
(Corrected incorrect code (oops), and somewhat standardized the page.)
(Standardized it a bit more)
Line 22: Line 22:
|class_name=Base.LetterOpener
|class_name=Base.LetterOpener
}}
}}
The '''letter opener''' is a poor secondary backup weapon (or even primary if you prefer stab-type knive weaponary). It is light, and in terms of durability, is worse than than the [[Kitchen Knife|kitchen knife]], the [[Ice pick|ice pick]] and the [[Hunting Knife|hunting knife]]. As the letter opener is one of the weapons with the 'Jaw Stab' attack, it can kill a zombie instantly if close enough and timed correctly, however a full condition letter opener only has 5 attack attempts before breaking.  
The '''Letter Opener''' is a common early game melee weapon.
 
==Usage==
===Weapon===
The Letter Opener is light, and in terms of durability, is worse than than the [[Kitchen Knife]], the [[Ice Pick]] and the [[Hunting Knife]]. As the Letter Opener is one of the weapons with the 'Jaw Stab' attack, it can kill a zombie instantly if close enough and timed correctly. It does, however, have a low maximum durability, allowing for few attacks before breaking.  


It is a single attack weapon, so it is best if used in single combat or if zombies are relatively spread out when attacking.
It is a single attack weapon, so it is best if used in single combat or if zombies are relatively spread out when attacking.


Its tree/door damage is negligible. (2 tree, 1 door per attack). It can be scrapped for 15 metal units.
===Breaking doors===
The Letter Opener is a weapon that deals minimal damage (2) to doors. For comparison, an [[axe]] deals 35 damage.
 
===Chopping trees===
The Letter Opener is a weapon that deals minimal damage (1) to trees. For comparison, an [[axe]] deals 35 damage.
 
== Code ==
== Code ==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
Line 75: Line 84:
AttachmentType = Screwdriver,
AttachmentType = Screwdriver,
</pre>
</pre>
== See Also ==
*[[Hunting Knife]]


{{Navbox/Weapons}}
{{Navbox/Weapons}}

Revision as of 03:05, 26 May 2021

Letter Opener
Letter Opener
General
Category Weapon
Encumbrance
Heavy Load
0.3
Equipped One-handed
Condition max. 5
Skill Blade
Damage
Type Blade
Attack speed 2
Range 0.61–0.8 tiles
Damage 0.1–0.1
Knockback 0.3
Knockdown 0
Execution Jaw stab
Technical details
Base ID Base.LetterOpener

The Letter Opener is a common early game melee weapon.

Usage

Weapon

The Letter Opener is light, and in terms of durability, is worse than than the Kitchen Knife, the Ice Pick and the Hunting Knife. As the Letter Opener is one of the weapons with the 'Jaw Stab' attack, it can kill a zombie instantly if close enough and timed correctly. It does, however, have a low maximum durability, allowing for few attacks before breaking.

It is a single attack weapon, so it is best if used in single combat or if zombies are relatively spread out when attacking.

Breaking doors

The Letter Opener is a weapon that deals minimal damage (2) to doors. For comparison, an axe deals 35 damage.

Chopping trees

The Letter Opener is a weapon that deals minimal damage (1) to trees. For comparison, an axe deals 35 damage.

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50

	item LetterOpener
		MaxRange		= 0.8,
		WeaponSprite		= LetterOpener,
		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,
		ConditionMax		= 5,
		MaxHitCount		= 1,
		IsAimedHandWeapon	= TRUE,
		DoorDamage		= 1,
		SwingAnim		= Stab,
		DisplayName		= Letter Opener,
		MinRange		= 0.61,
		CloseKillMove		= Jaw_Stab,
		SwingTime		= 2,
		KnockdownMod		= 0,
		SplatBloodOnNoDeath	= TRUE,
		Icon			= LetterOpener,
		RunAnim			= Run_Weapon2,
		IdleAnim		= Idle_Weapon2,
		TreeDamage		= 2,
		EnduranceMod		= 0.5,
		BreakSound		= BreakMetalItem,
		MetalValue		= 15,
		CriticalChance		= 5,
		CritDmgMultiplier	= 10,
		MinDamage		= 0.1,
		MaxDamage		= 0.1,
 		WeaponLength		= 0.25,
		DamageCategory		= Slash,
		DamageMakeHole		= TRUE,
		HitFloorSound		= BladeHit,
		ImpactSound		= BladeHit,
		HitSound		= BladeHit,
		AttachmentType		= Screwdriver,

See Also

Template:Navbox/Weapons