Spoon: Difference between revisions
VaileasysBot (talk | contribs) m (→top: category project: "The Game World") |
(→Code: Codebox Update) |
||
Line 56: | Line 56: | ||
== Code == | == Code == | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 0 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41 | |||
| incver = 53 | |||
| code = | |||
item Spoon | |||
{ | |||
MaxRange = 0.8, | |||
WeaponSprite = Spoon, | |||
MinAngle = 0.65, | |||
Type = Weapon, | |||
MinimumSwingTime = 2, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = SmallBlade, | |||
Weight = 0.3, | |||
ConditionLowerChanceOneIn = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Stab, | |||
AimingMod = 0.8, | |||
ConditionMax = 3, | |||
MaxHitCount = 1, | |||
IsAimedHandWeapon = TRUE, | |||
DoorDamage = 1, | |||
SwingAnim = Stab, | |||
DisplayName = Spoon, | |||
MinRange = 0.2, | |||
SwingTime = 2, | |||
KnockdownMod = 0, | |||
Icon = Spoon, | |||
TreeDamage = 0, | |||
EnduranceMod = 0.5, | |||
MetalValue = 5, | |||
CriticalChance = 0, | |||
MinDamage = 0.1, | |||
MaxDamage = 0.1, | |||
WeaponLength = 0.17, | |||
AttachmentType = Screwdriver, | |||
BreakSound = BreakMetalItem, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== |
Revision as of 04:44, 13 January 2024
Spoon | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 0.3 | |
Equipped | One-handed | |
Condition max. | 3 | |
Skill | Short Blade | |
Damage | ||
Type | SmallBlade | |
Attack speed | 2 | |
Range | 0.2–0.8 tiles | |
Damage | 0.1–0.1 | |
Knockback | 0.3 | |
Technical details | ||
Base ID | Base.Spoon | |
A spoon is a blade melee weapon.
Usage
The spoon can used to mix pancakes. If a spoon is in the player's inventory while eating certain foods, the spoon will be used to eat. There is currently no benefit to eating with a spoon.
Weapon
The spoon is an emergency weapon with extremely low damage and cannot perform the instant kill jaw stab, unlike most one-handed blade weapons. It is also highly ineffective in a defensive situation, as it will never knockdown an opponent and has very low knockback.
The spoon has a very short range, making it difficult to use when fighting zombies, however it does have a quick attack. It is a single-attack weapon, hitting just 1 opponent with each swing. Spoons are pretty much useless in combat and should not be equipped in an emergency, unless smashing a window.
Breaking doors
It is ineffective at bashing down doors, dealing just 1 damage per hit. For comparison, an axe deals 35 damage.
Chopping trees
It cannot be used to chop trees, dealing 0 damage per hit. For comparison, an axe deals 35 damage.
Condition
The condition of the spoon is influenced by the maintenance skill. It has a maximum condition of just 3 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: 1 in (1 + maintenance x 2)
.
Repairing
A spoon cannot be repaired.
Crafting
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Spear with Spoon |
0 XP | none | Crafted Spear (consumed) |
Spoon (consumed) |
Duct Tape (2 units) (consumed)|- | |
Spoon |
0 XP | none | Spear with Spoon (consumed) |
Distribution
Spoons are an incredibly common household item found in kitchen counters.
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Spoon
{
MaxRange = 0.8,
WeaponSprite = Spoon,
MinAngle = 0.65,
Type = Weapon,
MinimumSwingTime = 2,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlade,
Weight = 0.3,
ConditionLowerChanceOneIn = 1,
PushBackMod = 0.3,
SubCategory = Stab,
AimingMod = 0.8,
ConditionMax = 3,
MaxHitCount = 1,
IsAimedHandWeapon = TRUE,
DoorDamage = 1,
SwingAnim = Stab,
DisplayName = Spoon,
MinRange = 0.2,
SwingTime = 2,
KnockdownMod = 0,
Icon = Spoon,
TreeDamage = 0,
EnduranceMod = 0.5,
MetalValue = 5,
CriticalChance = 0,
MinDamage = 0.1,
MaxDamage = 0.1,
WeaponLength = 0.17,
AttachmentType = Screwdriver,
BreakSound = BreakMetalItem,
}