Wrench

From PZwiki
Revision as of 05:02, 6 August 2021 by Thing II (talk | contribs) (Cleaned up code section)
Wrench
Wrench
Wrench
General
Category Weapon
Encumbrance
Heavy Load
1
Function Mechanics
Equipped One-Handed
Condition max. 9
Skill Small Blunt
Damage
Type Small Blunt
Attack speed 4
Range 0.61–1.1 tiles
Damage 0.5–1
Door damage 10
Knockback 0.3
Knockdown 2
Technical details
Base ID Base.Wrench

A wrench is a tool used in vehicle mechanics.

Usage

A wrench is one of the most important tools when working on vehicles. It is required to install/uninstall the gas tank, muffler, brakes, suspension, trunk lid, hood and repair/dismantle the engine.

The player will not be able to use the wrench on a vehicle if they have not read the appropriate recipe magazine corresponding to the vehicle type.

Weapon

As of build 41 the wrench can be used as a short blunt weapon.


Distribution

Buildings

Wrenches can be found in gas stations, sheds, garages, mechanic, storage units and crates,

Vehicles

Can be found in the trunk of vehicles.

Code

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

	item Wrench
		MaxRange			= 1.1,
		WeaponSprite			= Wrench,
		MinAngle			= 0.67,
		Type				= Weapon,
		MinimumSwingTime		= 4,
		KnockBackOnNoDeath		= FALSE,
		SwingAmountBeforeImpact		= 0.02,
		Categories			= SmallBlunt,
		ConditionLowerChanceOneIn	= 15,
		Weight				= 1,
		SplatNumber			= 1,
		PushBackMod			= 0.3,
		SubCategory			= Swinging,
		ConditionMax			= 9,
		MaxHitCount			= 2,
		DoorDamage			= 10,
		SwingAnim			= Bat,
		DisplayName			= Wrench,
		MinRange			= 0.61,
		SwingTime			= 4,
		KnockdownMod			= 2,
		SplatBloodOnNoDeath		= FALSE,
		Icon				= Wrench,
		BreakSound			= BreakMetalItem,
		TreeDamage			= 0,
		CriticalChance			= 20,
		CritDmgMultiplier		= 2,
		MinDamage			= 0.5,
		MaxDamage			= 1,
		BaseSpeed			= 1,
		WeaponLength			= 0.23,
		AttachmentType			= Wrench,

See also