Fork: Difference between revisions

From PZwiki
(added model image + changed navbox + updated to build 41.53)
m (Reformat code)
Line 48: Line 48:
{{Retrieved|version=41|incver=53}}
{{Retrieved|version=41|incver=53}}
<pre> item Fork
<pre> item Fork
{
MaxRange = 0.8,
MaxRange = 0.8,
WeaponSprite = Fork,
WeaponSprite = Fork,
MinAngle = 0.65,
MinAngle = 0.65,
Type = Weapon,
Type = Weapon,
MinimumSwingTime = 2,
MinimumSwingTime = 2,
SwingAmountBeforeImpact = 0.02,
SwingAmountBeforeImpact = 0.02,
Categories = SmallBlade,
Categories = SmallBlade,
Weight = 0.3,
Weight = 0.3,
ConditionLowerChanceOneIn = 1,
ConditionLowerChanceOneIn = 1,
PushBackMod = 0.3,
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,
DisplayName = Fork,
DisplayName = Fork,
MinRange = 0.2,
MinRange = 0.2,
SwingTime = 2,
SwingTime = 2,
KnockdownMod = 0,
KnockdownMod = 0,
Icon = Fork,
Icon = Fork,
TreeDamage = 0,
TreeDamage =   0,
EnduranceMod = 0.5,
EnduranceMod = 0.5,
MetalValue = 5,
MetalValue = 5,
CritDmgMultiplier = 10,
        CritDmgMultiplier = 10,
MinDamage = 0.1,
        MinDamage = 0.1,
MaxDamage = 0.1,
        MaxDamage = 0.1,
WeaponLength = 0.17,
WeaponLength = 0.17,
DamageCategory = Slash,
        DamageCategory = Slash,
DamageMakeHole = TRUE,
        DamageMakeHole = TRUE,
BreakSound = BreakMetalItem,
        BreakSound = BreakMetalItem,
HitFloorSound = BladeHit,
        HitFloorSound = BladeHit,
ImpactSound = BladeHit,
        ImpactSound = BladeHit,
HitSound = BladeHit,
HitSound = BladeHit,
AttachmentType = Screwdriver,
AttachmentType = Screwdriver,
</pre>
  }</pre>


==See also==
==See also==

Revision as of 00:29, 3 August 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