Letter Opener: Difference between revisions
(Addition of Letter Opener Weapon) |
m (Distribution table fix) |
||
(37 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blade weapons}} | |||
{{ | {{Page version|41.78.16}} | ||
{{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. | ||
< | |||
===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 [[Skills|short blade]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (1 + maintenanceMod × 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 == | ||
{{CodeBox| | |||
{{CodeSnip | |||
MaxRange | | lang = java | ||
WeaponSprite | | line = true | ||
MinAngle | | start = 3519 | ||
Type | | source = items_weapons.txt | ||
MinimumSwingTime | | retrieved = true | ||
KnockBackOnNoDeath | | version = 41.78.16 | ||
SwingAmountBeforeImpact | | code = | ||
Categories | item LetterOpener | ||
ConditionLowerChanceOneIn = 1, | { | ||
Weight | DisplayCategory = Household, | ||
MaxRange = 0.8, | |||
PushBackMod | WeaponSprite = LetterOpener, | ||
MinAngle = 0.65, | |||
SubCategory | Type = Weapon, | ||
AimingMod | MinimumSwingTime = 2, | ||
ConditionMax | KnockBackOnNoDeath = FALSE, | ||
MaxHitCount | SwingAmountBeforeImpact = 0.02, | ||
IsAimedHandWeapon | Categories = SmallBlade, | ||
DoorDamage | ConditionLowerChanceOneIn = 1, | ||
SwingAnim | Weight = 0.3, | ||
SplatNumber = 2, | |||
DisplayName | PushBackMod = 0.3, | ||
MinRange | SubCategory = Stab, | ||
CloseKillMove | AimingMod = 0.8, | ||
SwingTime | ConditionMax = 5, | ||
MaxHitCount = 1, | |||
KnockdownMod | IsAimedHandWeapon = TRUE, | ||
SplatBloodOnNoDeath | DoorDamage = 1, | ||
Icon | SwingAnim = Stab, | ||
RunAnim | 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== | |||
*[[Ice Pick]] | |||
*[[Scissors]] | |||
{{Navbox items|blade}} | |||
[[Category:Household]] |
Latest revision as of 19:23, 30 April 2024
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.
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 |
---|---|---|---|---|---|
Spear with Letter Opener |
Crafted Spear ×1 Letter Opener ×1 Duct Tape ×2 unit(s) |
none | none | none | none |
Letter Opener |
Spear with Letter Opener ×1 | none | none | none | none |
Distribution
The loot distributions can be found in the table(s) below.
Building/Room | Container | Effective chance |
---|---|---|
all | officedrawers | 3.98% |
office | desk | 3.98% |
Outfit | Days survived | Chance |
---|---|---|
All | 0 | 30 |
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
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,
}