Fork: Difference between revisions

From PZwiki
(New infobox + new layout)
(added model image + changed navbox + updated to build 41.53)
Line 1: Line 1:
{{languages|Fork}}
{{languages}}
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 40|incver=8}}{{Infobox weapon
{{header|Project Zomboid|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=53}}{{Infobox weapon
|display_name=Fork
|display_name=Fork
|name_colour=Weapon
|name_colour=Weapon
|name_text_colour=Weapon
|name_text_colour=Weapon
|image=Fork_120px.png
|image=Fork_Model.png
|image_width=150px
|alternate_image=Fork.png
|alternate_name=Fork
|alternate_link=
|category=Weapon
|category=Weapon
|weight=0.3
|weight=0.3
|equipped=One-handed
|equipped=One-handed
|type=Blade
|type=SmallBlade
|min_range=0.61
|min_range=0.2
|max_range=0.9
|max_range=0.8
|swing_time=2
|swing_time=2
|condition_max=3
|condition_max=3
Line 16: Line 20:
|max_damage=0.1
|max_damage=0.1
|push_back=0.3
|push_back=0.3
|knockdown=0
|class_name=Base.Fork
|class_name=Base.Fork
}}A '''fork''' is a blade melee [[weapon]].
}}A '''fork''' is a blade melee [[weapon]].
Line 33: Line 36:


==Condition==
==Condition==
The fork is a [[Skills#Blade|blade]] weapon, therefore being influenced by the blade skills: accuracy, guard and maintenance. It has a maximum condition of just 3 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: <code>1 in (1 + maintenance x 2)</code>
The condition of the fork is influenced by the [[Skills#Combat|maintenance skill]]. It has a maximum condition of just 3 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: <code>1 in (1 + maintenance x 2)</code>


===Repairing===
===Repairing===
Line 42: Line 45:


== Code ==
== Code ==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=40|incver=8}}
{{Retrieved|version=41|incver=53}}
<pre> item Fork
<pre> item Fork
MaxRange = 0.9,
{
WeaponSprite = Knife,
MaxRange = 0.8,
MinAngle = 0,
WeaponSprite = Fork,
Type = Weapon,
MinAngle = 0.65,
MinimumSwingTime = 2,
Type = Weapon,
SwingAmountBeforeImpact = 0.02,
MinimumSwingTime = 2,
Categories = Blade,
SwingAmountBeforeImpact = 0.02,
Weight = 0.3,
Categories = SmallBlade,
ConditionLowerChanceOneIn = 1,
Weight = 0.3,
PushBackMod = 0.3,
ConditionLowerChanceOneIn = 1,
MaxDamage = 0.1,
PushBackMod = 0.3,
SubCategory = Stab,
SubCategory = Stab,
AimingMod = 0.8,
AimingMod = 0.8,
ConditionMax = 3,
ConditionMax = 3,
MaxHitCount = 1,
MaxHitCount = 1,
IsAimedHandWeapon = TRUE,
IsAimedHandWeapon = TRUE,
DoorDamage = 1,
DoorDamage = 1,
SwingAnim = Stab,
SwingAnim = Stab,
CriticalChance = 5,
CriticalChance = 5,
WeaponWeight = 0.3,
DisplayName = Fork,
DisplayName = Fork,
MinRange = 0.2,
MinRange = 0.2,
SwingTime = 2,
SwingTime = 2,
KnockdownMod = 0,
MinDamage = 0.1,
Icon = Fork,
KnockdownMod = 0,
TreeDamage =   0,
Icon = Fork,
EnduranceMod = 0.5,
TreeDamage = 0,
MetalValue = 5,
EnduranceMod = 0.5,
        CritDmgMultiplier = 10,
MetalValue = 5,</pre>
        MinDamage = 0.1,
        MaxDamage = 0.1,
WeaponLength = 0.17,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound = BreakMetalItem,
        HitFloorSound = BladeHit,
        ImpactSound = BladeHit,
HitSound = BladeHit,
AttachmentType = Screwdriver,
  }</pre>


==See also==
==See also==
Line 79: Line 92:
*[[Spoon]]
*[[Spoon]]


{{Navbox/Weapons}}
{{Navbox_equipment}}{{Navbox_weapons}}

Revision as of 07:07, 31 July 2021

Fork
Fork
Fork
General
Category Weapon
Encumbrance
Heavy Load
0.3
Equipped One-handed
Condition max. 3
Skill Short Blade
Damage
Type SmallBlade
Attack speed 2
Range 0.2–0.8 tiles
Damage 0.1–0.1
Knockback 0.3
Technical details
Base ID Base.Fork

A fork is a blade melee weapon.

Usage

Weapon

The fork is an emergency weapon with extremely low damage and cannot perform the instant kill jaw stab, which most one-handed blade weapons can do. It is also highly ineffective in a defensive situation, as it will never knockdown an opponent and only knock them back a very short distance.

The fork has a very short range, making it very dangerous when fighting zombies, however it does have a quick attack. It is a single-attack weapon, hitting just 1 opponent with each swing. Forks are pretty much useless in combat and should only be equipped in an emergency, or if smashing a window.

Breaking doors

It is most ineffective at bashing down doors, dealing just 1 damage per hit. For comparison, an axe deals 35 damage.

Chopping trees

It cannot be used to chop trees, dealing 0 damage per hit. For comparison, an axe deals 35 damage.

Condition

The condition of the fork is influenced by the maintenance skill. It has a maximum condition of just 3 and will be damaged depending on the player's maintenance skill. The chance of losing durability is: 1 in (1 + maintenance x 2)

Repairing

A fork cannot be repaired.

Distribution

Forks are an incredibly common household item found in kitchen counters.

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.53

	item Fork
	{
	MaxRange	=	0.8,
	WeaponSprite	=	Fork,
	MinAngle	=	0.65,
	Type	=	Weapon,
	MinimumSwingTime	=	2,
	SwingAmountBeforeImpact	=	0.02,
	Categories	=	SmallBlade,
	Weight	=	0.3,
	ConditionLowerChanceOneIn	=	1,
	PushBackMod	=	0.3,
	SubCategory	=	Stab,
	AimingMod	=	0.8,
	ConditionMax	=	3,
	MaxHitCount	=	1,
	IsAimedHandWeapon	=	TRUE,
	DoorDamage	=	1,
	SwingAnim	=	Stab,
	CriticalChance	=	5,
	DisplayName	=	Fork,
	MinRange	=	0.2,
	SwingTime	=	2,
	KnockdownMod	=	0,
	Icon	=	Fork,
	TreeDamage  =   0,
	EnduranceMod = 0.5,
	MetalValue = 5,
        CritDmgMultiplier = 10,
        MinDamage	=	0.1,
        MaxDamage	=	0.1,
 	WeaponLength = 0.17,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        BreakSound	=	BreakMetalItem,
        HitFloorSound	=	BladeHit,
        ImpactSound	=	BladeHit,
	HitSound	=	BladeHit,
	AttachmentType = Screwdriver,
  	}

See also