Spear with Spoon: Difference between revisions
(→Code: Codebox Update) |
m (Automated Formatting) |
||
(15 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Items|Weapons|Melee weapons|Spears}} | |||
{{Header|Project Zomboid|Items| | {{Page version|41.78.16}} | ||
{{Infobox | {{Infobox item | ||
| | |name=Spear with Spoon | ||
| | |model=SpearSpoon_Model.png | ||
|icon=SpearSpoon.png | |||
|icon_name=Spear with Spoon | |||
| | |||
| | |||
<!--GENERAL--> | <!--GENERAL--> | ||
|category=Weapon | |category=Weapon | ||
Line 26: | Line 23: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|ingredients=<!-- Omitted because there's many variations --> | |ingredients=<!-- Omitted because there's many variations --> | ||
| | |item_id=Base.SpearSpoon | ||
}} | }} | ||
The '''spear with spoon''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[spoon]] compared to other spear type weapons, the spear with spoon is not very effective, but will serve in a pinch. | The '''spear with spoon''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[spoon]] compared to other spear type weapons, the spear with spoon is not very effective, but will serve in a pinch. | ||
Line 32: | Line 29: | ||
==Crafting== | ==Crafting== | ||
Spears with spoon are upgraded with [[Crafted Spear|crafted spear]], [[spoon]], and [[Duct Tape|duct tape]]. | Spears with spoon are upgraded with [[Crafted Spear|crafted spear]], [[spoon]], and [[Duct Tape|duct tape]]. | ||
{{Crafting | {{Crafting/sandbox2 | ||
|spear_with_spoon | |||
}} | |||
==Code== | ==Code== | ||
Line 41: | Line 38: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4692 | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item SpearSpoon | item SpearSpoon | ||
{ | { | ||
DisplayCategory = WeaponCrafted, | |||
MaxRange = 1.4, | |||
WeaponSprite = SpearSpoon, | |||
MinAngle = 0.8, | |||
Type = Weapon, | |||
MinimumSwingTime = 2, | |||
KnockBackOnNoDeath = FALSE, | |||
SwingAmountBeforeImpact = 0.02, | |||
Categories = Improvised;Spear, | |||
ConditionLowerChanceOneIn = 3, | |||
Weight = 2.0, | |||
SplatNumber = 1, | |||
PushBackMod = 0.3, | |||
SubCategory = Spear, | |||
ConditionMax = 6, | |||
MaxHitCount = 2, | |||
DoorDamage = 5, | |||
SwingAnim = Spear, | |||
DisplayName = Spear With Spoon, | |||
MinRange = 0.98, | |||
SwingTime = 2, | |||
KnockdownMod = 0, | |||
SplatBloodOnNoDeath = FALSE, | |||
Icon = SpearSpoon, | |||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | |||
TreeDamage = 0, | |||
TwoHandWeapon = TRUE, | |||
CriticalChance = 30, | |||
CritDmgMultiplier = 10, | |||
MinDamage = 1, | |||
MaxDamage = 1.6, | |||
DamageCategory = Slash, | |||
DamageMakeHole = TRUE, | |||
AttachmentType = Shovel, | |||
BreakSound = SpearSpoonBreak, | |||
HitFloorSound = SpearSpoonHit, | |||
ImpactSound = SpearSpoonHit, | |||
DoorHitSound = SpearSpoonHit, | |||
HitSound = SpearSpoonHit, | |||
SwingSound = SpearSpoonSwing, | |||
} | SoundMap = SpearStab SpearSpoonStab, | ||
Tags = FishingSpear, | |||
} | |||
}} | |||
}} | }} | ||
Line 98: | Line 96: | ||
*[[Crafted Spear]] | *[[Crafted Spear]] | ||
{{Navbox | {{Navbox items|spears}} | ||
[[Category: | [[Category:Fishing tools]] | ||
[[Category: | [[Category:Tools]] | ||
Revision as of 12:17, 14 April 2024
Spear with Spoon
Properties
Max condition
Default: 6
Crafted: See Spears
Crafted: See Spears
Performance
Damage
1–1.6
Range
0.98–1.4
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.SpearSpoon
The spear with spoon is a spear type weapon made from a crafted spear and a spoon compared to other spear type weapons, the spear with spoon is not very effective, but will serve in a pinch.
Crafting
Spears with spoon are upgraded with crafted spear, spoon, and duct tape.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Spear with Spoon |
Crafted Spear ×1 Spoon ×1 Duct Tape ×2 unit(s) |
none | none | none | none |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_weapons.txt
item SpearSpoon
{
DisplayCategory = WeaponCrafted,
MaxRange = 1.4,
WeaponSprite = SpearSpoon,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Spear,
ConditionLowerChanceOneIn = 3,
Weight = 2.0,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Spear,
ConditionMax = 6,
MaxHitCount = 2,
DoorDamage = 5,
SwingAnim = Spear,
DisplayName = Spear With Spoon,
MinRange = 0.98,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = SpearSpoon,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 30,
CritDmgMultiplier = 10,
MinDamage = 1,
MaxDamage = 1.6,
DamageCategory = Slash,
DamageMakeHole = TRUE,
AttachmentType = Shovel,
BreakSound = SpearSpoonBreak,
HitFloorSound = SpearSpoonHit,
ImpactSound = SpearSpoonHit,
DoorHitSound = SpearSpoonHit,
HitSound = SpearSpoonHit,
SwingSound = SpearSpoonSwing,
SoundMap = SpearStab SpearSpoonStab,
Tags = FishingSpear,
}