Spear with Hand Fork: Difference between revisions
m (Added Category:Tools) |
m (Fix typo, rm clear) |
||
Line 34: | Line 34: | ||
|} | |} | ||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox | ||
Line 43: | Line 42: | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41.78 | | version = 41.78.16 | ||
| code = | | code = | ||
item SpearHandFork | item SpearHandFork |
Revision as of 21:22, 2 March 2024
Spear with Hand Fork
Properties
Max condition
Default: 7
Crafted: See Spears
Crafted: See Spears
Performance
Damage
1.1–1.6
Range
0.98–1.45
Knockback
0.3
Knockdown
0
Technical
Item ID
Base.SpearHandFork
The spear with hand fork is a spear type weapon made from a crafted spear and a hand fork compared to other spear type weapons, the spear with letter opener is not very effective, but will serve in a pinch.
Crafting
Spears with hand fork are upgraded with crafted spear, hand fork and duct tape.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Spear with Hand Fork |
0 XP | none | Crafted Spear (consumed) |
Hand 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 SpearHandFork
{
DisplayCategory = WeaponCrafted,
MaxRange = 1.45,
WeaponSprite = SpearHandFork,
MinAngle = 0.8,
Type = Weapon,
MinimumSwingTime = 2,
KnockBackOnNoDeath = FALSE,
SwingAmountBeforeImpact = 0.02,
Categories = Improvised;Spear,
ConditionLowerChanceOneIn = 4,
Weight = 2.2,
SplatNumber = 1,
PushBackMod = 0.3,
SubCategory = Spear,
ConditionMax = 7,
MaxHitCount = 2,
DoorDamage = 6,
SwingAnim = Spear,
DisplayName = Spear With Hand Fork,
MinRange = 0.98,
SwingTime = 2,
KnockdownMod = 0,
SplatBloodOnNoDeath = FALSE,
Icon = SpearGardeningFork,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
TreeDamage = 0,
TwoHandWeapon = TRUE,
CriticalChance = 30,
CritDmgMultiplier = 10,
MinDamage = 1.1,
MaxDamage = 1.6,
BaseSpeed = 0.95,
DamageCategory = Slash,
DamageMakeHole = TRUE,
BreakSound = SpearHandForkBreak,
HitFloorSound = SpearHandForkHit,
ImpactSound = SpearHandForkHit,
DoorHitSound = SpearHandForkHit,
HitSound = SpearHandForkHit,
SwingSound = SpearHandForkSwing,
SoundMap = SpearStab SpearHandForkStab,
AttachmentType = Shovel,
Tags = FishingSpear,
}