Spear with Fork: Difference between revisions
(→Code: Codebox Update) |
m (add clear) |
||
Line 98: | Line 98: | ||
*[[Fishing]] | *[[Fishing]] | ||
*[[Crafted Spear]] | *[[Crafted Spear]] | ||
{{Clear}}<!--Remove when page gets longer--> | |||
{{Navbox weapons}} | {{Navbox weapons}} | ||
Revision as of 21:35, 14 January 2024
Spear with Fork | ||
---|---|---|
| ||
General | ||
Category | Weapon | |
Encumbrance | 1.5 | |
Condition max. |
Default: 6 Crafted: See Spears | |
Skill | Spear | |
Attachment | Back | |
Damage | ||
Type | Spear | |
Attack speed | 2 | |
Range | 0.98–1.42 tiles | |
Damage | 1–1.6 | |
Knockback | 0.3 | |
Knockdown | 0 | |
Technical details | ||
Base 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 | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Spear with Fork |
0 XP | none | Crafted Spear (consumed) |
Fork (consumed) |
Duct Tape (2 units) (consumed) |
Code
Code snippet! This section contains source code from Project ZomboidShow / Hide
Source: ProjectZomboid\media\scripts\items_weapons.txt
item SpearFork
{
MaxRange = 1.42,
WeaponSprite = SpearFork,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Spear,
ConditionLowerChanceOneIn = 3,
Weight = 1.5,
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,
AttachmentType = Shovel,
Tags = FishingSpear,
}