Spear with Fork: Difference between revisions
VaileasysBot (talk | contribs) m (→top: New infobox upgrade - Spears) |
m (Automated Formatting) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Spears}} | ||
{{Page version|41.78.16}} | |||
{{ | |||
{{Infobox item | {{Infobox item | ||
|name=Spear with Fork | |name=Spear with Fork | ||
Line 30: | Line 29: | ||
==Crafting== | ==Crafting== | ||
Spears with fork are upgraded with [[Crafted Spear|crafted spears]], [[fork]]s, and [[Duct Tape|duct tape]]. | Spears with fork are upgraded with [[Crafted Spear|crafted spears]], [[fork]]s, and [[Duct Tape|duct tape]]. | ||
{{Crafting | {{Crafting/sandbox2 | ||
|spear_with_fork | |||
}} | |||
==Code== | ==Code== | ||
Line 39: | Line 38: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4550 | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78.16 | ||
| code = | | code = | ||
item SpearFork | item SpearFork | ||
{ | { | ||
DisplayCategory = WeaponCrafted, | |||
MaxRange = 1.42, | |||
WeaponSprite = SpearFork, | |||
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 Fork, | |||
MinRange = 0.98, | |||
SwingTime = 2, | |||
KnockdownMod = 0, | |||
SplatBloodOnNoDeath = FALSE, | |||
Icon = SpearFork, | |||
RunAnim = Run_Weapon2, | |||
IdleAnim = Idle_Weapon2, | |||
TreeDamage = 0, | |||
TwoHandWeapon = TRUE, | |||
CriticalChance = 30, | |||
CritDmgMultiplier = 10, | |||
MinDamage = 1, | |||
MaxDamage = 1.6, | |||
BaseSpeed = 0.95, | |||
DamageCategory = Slash, | |||
DamageMakeHole = TRUE, | |||
BreakSound = SpearForkBreak, | |||
HitFloorSound = SpearForkHit, | |||
ImpactSound = SpearForkHit, | |||
DoorHitSound = SpearForkHit, | |||
HitSound = SpearForkHit, | |||
SwingSound = SpearForkSwing, | |||
SoundMap = SpearStab SpearForkStab, | |||
} | AttachmentType = Shovel, | ||
Tags = FishingSpear, | |||
} | |||
}} | |||
}} | }} | ||
Line 96: | Line 96: | ||
*[[Fishing]] | *[[Fishing]] | ||
*[[Crafted Spear]] | *[[Crafted Spear]] | ||
[[Category:Fishing Tools]] | {{Navbox items|spears}} | ||
[[Category:Fishing tools]] | |||
[[Category:Tools]] |
Revision as of 12:16, 14 April 2024
Spear with Fork
Properties
Max condition
Default: 6
Crafted: See Spears
Crafted: See Spears
Performance
Damage
1–1.6
Range
0.98–1.42
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.SpearFork
A spear with fork is one of the upgraded version of a crafted spear, being more powerful and durable.
Crafting
Spears with fork are upgraded with crafted spears, forks, and duct tape.
Product | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Spear with Fork |
Crafted Spear ×1 Fork ×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 SpearFork
{
DisplayCategory = WeaponCrafted,
MaxRange = 1.42,
WeaponSprite = SpearFork,
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 Fork,
MinRange = 0.98,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = SpearFork,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 30,
CritDmgMultiplier = 10,
MinDamage = 1,
MaxDamage = 1.6,
BaseSpeed = 0.95,
DamageCategory = Slash,
DamageMakeHole = TRUE,
BreakSound = SpearForkBreak,
HitFloorSound = SpearForkHit,
ImpactSound = SpearForkHit,
DoorHitSound = SpearForkHit,
HitSound = SpearForkHit,
SwingSound = SpearForkSwing,
SoundMap = SpearStab SpearForkStab,
AttachmentType = Shovel,
Tags = FishingSpear,
}