Spear with Hand Fork: Difference between revisions
(Added the weapon code information from the project zomboid "items_weapons.txt") |
m (Remove old property) |
||
(24 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
== | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Spears}} | ||
=== | {{Page version|41.78.16}} | ||
''''' | {{Infobox item | ||
{{ | |name=Spear with Hand Fork | ||
|model=SpearHandFork_Model.png | |||
|icon=SpearGardeningFork.png | |||
|icon_name=Spear with Hand Fork | |||
<!--GENERAL--> | |||
|category=Weapon | |||
|weight=1.5 | |||
|condition_max=Default: 7 <br>Crafted: <small>''See [[Crafted Spear|Spears]]''</small> | |||
|attachment_type=Shovel | |||
<!--CHARACTERISTICS--> | |||
<!--DAMAGE--> | |||
|type=Spear | |||
|swing_time=2 | |||
|min_range=0.98 | |||
|max_range=1.45 | |||
|min_damage=1.1 | |||
|max_damage=1.6 | |||
|push_back=0.3 | |||
|knockdown=0 | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Base.SpearHandFork | |||
}} | |||
The '''spear with hand fork''' is a spear type weapon made from a [[Crafted Spear|crafted spear]] and a [[Hand Fork|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|crafted spear]], [[Hand Fork|hand fork]] and [[Duct Tape|duct tape]]. | |||
{{Crafting/sandbox2 | |||
|spear_with_hand_fork | |||
}} | |||
==Code== | |||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 4786 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SpearHandFork | |||
{ | { | ||
DisplayCategory = WeaponCrafted, | |||
MaxRange = 1.45, | MaxRange = 1.45, | ||
WeaponSprite = SpearHandFork, | WeaponSprite = SpearHandFork, | ||
Line 15: | Line 54: | ||
Categories = Improvised;Spear, | Categories = Improvised;Spear, | ||
ConditionLowerChanceOneIn = 4, | ConditionLowerChanceOneIn = 4, | ||
Weight = | Weight = 2.2, | ||
SplatNumber = 1, | SplatNumber = 1, | ||
PushBackMod = 0.3, | PushBackMod = 0.3, | ||
Line 46: | Line 85: | ||
HitSound = SpearHandForkHit, | HitSound = SpearHandForkHit, | ||
SwingSound = SpearHandForkSwing, | SwingSound = SpearHandForkSwing, | ||
SoundMap = SpearStab SpearHandForkStab, | |||
AttachmentType = Shovel, | AttachmentType = Shovel, | ||
Tags = FishingSpear, | Tags = FishingSpear, | ||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Fishing]] | |||
*[[Crafted Spear]] | |||
{{Navbox items|spears}} | |||
[[Category:Fishing tools]] | |||
[[Category:Tools]] |
Latest revision as of 13:00, 28 April 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 | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Spear with Hand Fork |
Crafted Spear ×1 Hand 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 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,
}