Letter Opener: Difference between revisions
VaileasysBot (talk | contribs) m (→top: Category update: "Melee weapons") |
(added CodeBox, infobox params, Condition) |
||
Line 1: | Line 1: | ||
{{languages}} | {{languages}} | ||
{{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver= | {{Header|The Game World|Items|Weapons|Melee weapons|version=Version 41|incver=78.16}} | ||
{{Infobox weapon | {{Infobox weapon | ||
|display_name=Letter Opener | |display_name=Letter Opener | ||
Line 8: | Line 8: | ||
|image_width=150px | |image_width=150px | ||
|alternate_image=LetterOpener.png | |alternate_image=LetterOpener.png | ||
|alternate_name= | |alternate_name=Letter Opener | ||
<!--GENERAL--> | |||
|category= | |category=Household | ||
|weight=0.3 | |weight=0.3 | ||
|equipped=One-handed | |equipped=One-handed | ||
|type= | |condition_max=5 | ||
|attachment_type=Screwdriver | |||
|skill_type=SmallBlade | |||
<!--DAMAGE--> | |||
|type=Slash | |||
|damage_make_hole=true | |||
|base_speed=N/A | |||
|min_range=0.61 | |min_range=0.61 | ||
|max_range=0.8 | |max_range=0.8 | ||
|min_damage=0.1 | |min_damage=0.1 | ||
|max_damage=0.1 | |max_damage=0.1 | ||
|push_back=0.3 | |push_back=0.3 | ||
|kill_move=Jaw stab | |kill_move=Jaw stab | ||
<!--TECHNICAL--> | |||
|class_name=Base.LetterOpener | |class_name=Base.LetterOpener | ||
}} | }} | ||
Line 28: | Line 33: | ||
==Usage== | ==Usage== | ||
===Weapon=== | ===Weapon=== | ||
The letter opener is light, and in terms of durability, is worse | 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=== | ===Breaking doors=== | ||
Line 40: | Line 42: | ||
===Chopping trees=== | ===Chopping trees=== | ||
The letter opener is a weapon that deals minimal damage (1) to trees. For comparison, an [[axe]] deals 35 damage. | 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== | ==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 header|ing=3}} | {{Crafting header|ing=3}} | ||
{{Crafting survivalist|105|ing=3}} | {{Crafting survivalist|105|ing=3}} | ||
{{Crafting survivalist|118|ing=3}} | {{Crafting survivalist|118|ing=3}} | ||
|} | |} | ||
===Distribution=== | |||
Can be found impaled on zombies from the early days of the game. | |||
== Code == | == Code == | ||
{{CodeBox| | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3519 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 78.16 | |||
| code = | |||
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, | IdleAnim = Idle_Weapon2, | ||
TreeDamage = 2, | TreeDamage = 2, | ||
EnduranceMod = 0.5, | EnduranceMod = 0.5, | ||
BreakSound = | BreakSound = LetterOpenerBreak, | ||
MetalValue = 15, | MetalValue = 15, | ||
CriticalChance = 5, | CriticalChance = 5, | ||
Line 88: | Line 111: | ||
MinDamage = 0.1, | MinDamage = 0.1, | ||
MaxDamage = 0.1, | MaxDamage = 0.1, | ||
WeaponLength = 0.25, | |||
DamageCategory = Slash, | DamageCategory = Slash, | ||
DamageMakeHole = TRUE, | DamageMakeHole = TRUE, | ||
HitFloorSound = | HitFloorSound = LetterOpenerHit, | ||
ImpactSound = | ImpactSound = LetterOpenerHit, | ||
DoorHitSound = LetterOpenerHit, | |||
HitSound = LetterOpenerHit, | |||
} | SwingSound = LetterOpenerSwing, | ||
AttachmentType = Screwdriver, | |||
} | |||
}} | |||
}} | |||
== See Also == | == See Also == |
Revision as of 13:38, 2 January 2024
Letter Opener | ||
---|---|---|
| ||
General | ||
Category | Household | |
Encumbrance | 0.3 | |
Equipped | One-handed | |
Condition max. | 5 | |
Skill | Short Blade | |
Attachment | Belt | |
Damage | ||
Type | Slash | |
Attack speed | N/A | |
Range | 0.61–0.8 tiles | |
Damage | 0.1–0.1 | |
Knockback | 0.3 | |
Execution | Jaw stab | |
Technical details | ||
Base 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.
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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Spear with Letter Opener |
0 XP | none | Crafted Spear (consumed) |
Letter Opener (consumed) |
Duct Tape (2 units) (consumed) | |
Letter Opener |
0 XP | none | Spear with Letter Opener (consumed) |
Distribution
Can be found impaled on zombies from the early days of the game.
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,
}