Letter Opener: Difference between revisions

From PZwiki
(Addition of Letter Opener Weapon)
 
m (Distribution table fix)
 
(37 intermediate revisions by 7 users not shown)
Line 1: Line 1:
__NOTOC__{{languages|Letter opener}}
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blade weapons}}
{{header|The Game World|Items|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.  
{{Page version|41.78.16}}
<br><br>
{{Infobox item
|name=Letter Opener
|model=LetterOpener_Model.png
|icon=LetterOpener.png
|icon_name=Letter Opener
<!--GENERAL-->
|category=Household
|weight=0.3
|equipped=One-handed
|condition_max=5
|attachment_type=Screwdriver
|skill_type=SmallBlade
<!--DAMAGE-->
|type=Slash
|damage_make_hole=true
|base_speed=N/A
|min_range=0.61
|max_range=0.8
|min_damage=0.1
|max_damage=0.1
|push_back=0.3
|kill_move=Jaw stab
<!--TECHNICAL-->
|item_id=Base.LetterOpener
}}
A '''letter opener''' is a common early game melee weapon.
 
==Usage==
===Weapon===
The letter opener is light, and in terms of durability, is worse than the [[Kitchen Knife|kitchen knife]], [[Ice Pick|ice pick]] and [[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. 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.
<br><br>
 
Its tree/door damage is negligible. (2 tree, 1 door per attack). It can be scrapped for 15 metal units.
===Breaking doors===
<br><br><br><br><br><br><br><br><br><br><br><br>
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.
 
==Condition==
The letter opener has a maximum condition of 5. Its rate of degradation is influenced by the [[Skills|short blade]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (1 + maintenanceMod &times; 2)</code>. Where "maintenanceMod" is calculated using the short blade and maintenance skills.<br>
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blade]] skills.
{{Durability weapon|1}}
 
===Repairing===
The letter opener cannot be repaired.
 
==Crafting==
The letter opener can be attached to the end of a [[Crafted Spear|spear]]. The condition of the letter opener will be carried over to the spear.
{{Crafting/sandbox2
|spear_with_letter_opener
|letter_opener
}}
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
<!--BOT FLAG|LetterOpener|41.78.16-->
{{Clear}}
<div class="togglebox theme-red">
    <div>LetterOpener distribution
        <span class="mw-customtoggle-togglebox-LetterOpener" title="{{int:show}} / {{int:hide}}" style="float: right; padding-right: 30px; padding-top: 4px; font-size: 0.7em; font-weight: normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-LetterOpener">
    Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits.    <div class="toggle-content">
<div class="pz-container">
<div id="containers" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Containers}}
    ! Building/Room
    ! Container
    ! Effective chance
    |-
    | all
    | {{ll|officedrawers}}
    | 3.98%
    |-
    | office
    | {{ll|desk}}
    | 3.98%
    |}
</div>
<div id="zombies" style="flex-basis:30%">
    {| class="wikitable theme-red" style="margin-right: 15px; width: 95%;"
    |+ {{ll|Zombies}}
    ! Outfit
    ! Days survived
    ! Chance
    |-
    | All
    | 0
    | 30
    |}
</div>
    </div><div style="clear: both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-LetterOpener" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|LetterOpener|41.78.16-->
 
== Code ==
== Code ==
<nowiki>
{{CodeBox|
    item LetterOpener
{{CodeSnip
MaxRange = 0.9,
  | lang = java
WeaponSprite = Knife,
  | line = true
MinAngle = 0,
  | start = 3519
Type = Weapon,
  | source = items_weapons.txt
MinimumSwingTime = 2,
  | retrieved = true
KnockBackOnNoDeath = FALSE,
  | version = 41.78.16
SwingAmountBeforeImpact = 0.02,
  | code =
Categories = Blade,
item LetterOpener
ConditionLowerChanceOneIn = 1,
{
Weight = 0.3,
    DisplayCategory = Household,
SplatN.umber = 0,
MaxRange = 0.8,
PushBackMod = 0.3,
WeaponSprite = LetterOpener,
MaxDamage = 0.4,
MinAngle = 0.65,
SubCategory = Stab,
Type = Weapon,
AimingMod = 0.8,
MinimumSwingTime = 2,
ConditionMax = 5,
KnockBackOnNoDeath = FALSE,
MaxHitCount = 1,
SwingAmountBeforeImpact = 0.02,
IsAimedHandWeapon = TRUE,
Categories = SmallBlade,
DoorDamage = 1,
ConditionLowerChanceOneIn = 1,
SwingAnim = Stab,
Weight = 0.3,
WeaponWeight = 1.7,
SplatNumber = 2,
DisplayName = Letter Opener,
PushBackMod = 0.3,
MinRange = 0.61,
SubCategory = Stab,
CloseKillMove = Jaw_Stab,
AimingMod = 0.8,
SwingTime = 2,
ConditionMax = 5,
MinDamage = 0.2,
MaxHitCount = 1,
KnockdownMod = 0,
IsAimedHandWeapon = TRUE,
SplatBloodOnNoDeath = TRUE,
DoorDamage = 1,
Icon = LetterOpener,
SwingAnim = Stab,
RunAnim = Run_Weapon2,
DisplayName = Letter Opener,
        IdleAnim = Idle_Weapon2,
MinRange = 0.61,
        TreeDamage = 2,
CloseKillMove = Jaw_Stab,
        EnduranceMod = 0.5,
SwingTime = 2,
        BreakSound = PZ_MetalSnap,
KnockdownMod = 0,
        MetalValue = 15,
SplatBloodOnNoDeath = TRUE,
</nowiki>
Icon = LetterOpener,
RunAnim = Run_Weapon2,
        IdleAnim = Idle_Weapon2,
        TreeDamage =   2,
        EnduranceMod = 0.5,
        BreakSound =   LetterOpenerBreak,
        MetalValue = 15,
        CriticalChance = 5,
        CritDmgMultiplier = 10,
        MinDamage = 0.1,
        MaxDamage = 0.1,
WeaponLength = 0.25,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        HitFloorSound = LetterOpenerHit,
        ImpactSound = LetterOpenerHit,
        DoorHitSound = LetterOpenerHit,
HitSound = LetterOpenerHit,
SwingSound = LetterOpenerSwing,
AttachmentType = Screwdriver,
  }
}}
}}
 
==See also==
*[[Ice Pick]]
*[[Scissors]]
 
{{Navbox items|blade}}
 


{{Navbox/Weapons}}
[[Category:Household]]

Latest revision as of 19:23, 30 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Letter Opener
LetterOpener Model.png
General
Category
Household
Encumbrance
Moodle Icon HeavyLoad.png
0.3
Equipped
One-handed
Slot attached
Belt
Skill
Properties
Max condition
5
Performance
Damage
0.1–0.1
Range
0.61–0.8
Attack speed
N/A
Knockback
0.3
Special ability
Jaw stab
Technical
Item ID
Base.LetterOpener

A letter opener is a common early game melee weapon.

Usage

Weapon

The letter opener is light, and in terms of durability, is worse than the kitchen knife, ice pick and 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.

Condition

The letter opener has a maximum condition of 5. Its rate of degradation is influenced by the short blade and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (1 + maintenanceMod × 2). Where "maintenanceMod" is calculated using the short blade and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blade skills.

For how this is calculated, see: Condition
Maintenance skill Weapon skill Condition lower chance
0 0 1/1 (100%)
0 4 1/3 (33%)
0 8 1/5 (20%)
4 0 1/5 (20%)
8 0 1/9 (11%)
4 4 1/7 (14%)
4 8 1/9 (11%)
8 8 1/13 (8%)
10 10 1/15 (7%)

Repairing

The letter opener cannot be repaired.

Crafting

The letter opener can be attached to the end of a spear. The condition of the letter opener will be carried over to the spear.

Product Ingredients Tools Requirements Workstation XP
SpearKnife.png
Spear with Letter Opener
SpearStick.png Crafted Spear ×1
LetterOpener.png Letter Opener ×1
DuctTape.png Duct Tape ×2 unit(s)
none none none none
LetterOpener.png
Letter Opener
SpearKnife.png Spear with Letter Opener ×1 none none none none

Distribution

The loot distributions can be found in the table(s) below.

LetterOpener distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
all officedrawers 3.98%
office desk 3.98%
Zombie
Outfit Days survived Chance
All 0 30

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.78.16
item LetterOpener
	{
	    DisplayCategory = Household,
		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  =   LetterOpenerBreak,
        MetalValue = 15,
        CriticalChance	=	5,
        CritDmgMultiplier = 10,
        MinDamage	=	0.1,
        MaxDamage	=	0.1,
 		WeaponLength = 0.25,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        HitFloorSound	=	LetterOpenerHit,
        ImpactSound	=	LetterOpenerHit,
        DoorHitSound = LetterOpenerHit,
		HitSound	=	LetterOpenerHit,
		SwingSound = LetterOpenerSwing,
		AttachmentType = Screwdriver,
  	}

See also