Spear with Hand Fork: Difference between revisions
VaileasysBot (talk | contribs) m (→top: New infobox upgrade - Spears) |
(Bump version, update codebox) |
||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
{{header/sandbox2|Project Zomboid|Items|Weapons|Melee weapons|Spears}} | {{header/sandbox2|Project Zomboid|Items|Weapons|Melee weapons|Spears}} | ||
{{page version|41. | {{page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name=Spear with Hand Fork | |name=Spear with Hand Fork | ||
Line 34: | Line 34: | ||
|} | |} | ||
{{Clear}}<!--Remove when page gets longer--> | |||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox | ||
Line 39: | Line 40: | ||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 4786 | ||
| source = items_weapons.txt | | source = items_weapons.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41 | | version = 41.78,16 | ||
| code = | | code = | ||
item SpearHandFork | 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, | |||
} | |||
}} | }} | ||
}} | }} | ||
Line 96: | Line 98: | ||
*[[Fishing]] | *[[Fishing]] | ||
*[[Crafted Spear]] | *[[Crafted Spear]] | ||
{{Navbox weapons}} | {{Navbox weapons}} | ||
[[Category:Fishing Tools]] | [[Category:Fishing Tools]] |
Revision as of 05:35, 15 February 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,
}