Letter Opener: Difference between revisions

From PZwiki
(Updated to 41.50 (it was unversioned and /probably/ incorrect for 40.43))
(Corrected incorrect code (oops), and somewhat standardized the page.)
Line 1: Line 1:
__NOTOC__
{{notice|Standard}}
{{languages|Letter opener}}
{{languages|Letter opener}}
{{header|The Game World|Items|Weapons|Melee Weapons|version=Version 37|incver=8}}{{Weapons|image = LetterOpener.png |weapontype = Melee |ammo = None|hands = One Handed|weight = 0.3|mindamage = 0.2|maxdamage = 0.4|condition = 5|degrade = 1|id = 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.  
{{header|The Game World|Items|Weapons|Melee Weapons|version=Version 41|incver=50}}
<br><br>
{{Infobox weapon
|display_name=Letter Opener
|name_colour=Weapon
|name_text_colour=Weapon
|image=LetterOpener.png
|image_width=120px
|category=Weapon
|weight=0.3
|equipped=One-handed
|type=Blade
|min_range=0.61
|max_range=0.8
|swing_time=2
|condition_max=5
|min_damage=0.1
|max_damage=0.1
|push_back=0.3
|knockdown=0
|kill_move=Jaw stab
|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.  
 
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.
<br><br>
 
Its tree/door damage is negligible. (2 tree, 1 door per attack). It can be scrapped for 15 metal units.
Its tree/door damage is negligible. (2 tree, 1 door per attack). It can be scrapped for 15 metal units.
<br><br><br><br><br><br><br><br><br><br><br><br>
== Code ==
== Code ==
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=50}}
{{Retrieved|version=41|incver=50}}
<pre> item IcePick
<pre> item LetterOpener
MaxRange = 0.8,
MaxRange = 0.8,
WeaponSprite = IcePick,
WeaponSprite = LetterOpener,
MinAngle = 0.65,
MinAngle = 0.65,
Type = Weapon,
Type = Weapon,
Line 20: Line 39:
SwingAmountBeforeImpact = 0.02,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlade,
Categories = SmallBlade,
ConditionLowerChanceOneIn = 7,
ConditionLowerChanceOneIn = 1,
Weight = 0.3,
Weight = 0.3,
SplatNumber = 4,
SplatNumber = 2,
PushBackMod = 0.3,
PushBackMod = 0.3,
SubCategory = Stab,
SubCategory = Stab,
AimingMod = 0.8,
AimingMod = 0.8,
ConditionMax = 10,
ConditionMax = 5,
MaxHitCount = 1,
MaxHitCount = 1,
IsAimedHandWeapon = TRUE,
IsAimedHandWeapon = TRUE,
DoorDamage = 1,
DoorDamage = 1,
SwingAnim = Stab,
SwingAnim = Stab,
DisplayName = Ice Pick,
DisplayName = Letter Opener,
MinRange = 0.61,
MinRange = 0.61,
CloseKillMove = Jaw_Stab,
CloseKillMove = Jaw_Stab,
Line 37: Line 56:
KnockdownMod = 0,
KnockdownMod = 0,
SplatBloodOnNoDeath = TRUE,
SplatBloodOnNoDeath = TRUE,
Icon = IcePick,
Icon = LetterOpener,
RunAnim = Run_Weapon2,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 2,
TreeDamage = 2,
EnduranceMod = 0.5,
BreakSound = BreakMetalItem,
BreakSound = BreakMetalItem,
EnduranceMod = 0.5,
MetalValue = 15,
CriticalChance = 10,
CriticalChance = 5,
CritDmgMultiplier = 5,
CritDmgMultiplier = 10,
MinDamage = 0.6,
MinDamage = 0.1,
MaxDamage = 0.9,
MaxDamage = 0.1,
WeaponLength = 0.25,
WeaponLength = 0.25,
DamageCategory = Slash,
DamageCategory = Slash,
DamageMakeHole = TRUE,
DamageMakeHole = TRUE,

Revision as of 02:46, 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 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, 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, however a full condition letter opener only has 5 attack attempts 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.

Its tree/door damage is negligible. (2 tree, 1 door per attack). It can be scrapped for 15 metal units.

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,

Template:Navbox/Weapons