Wrench

From PZwiki
Revision as of 16:30, 30 July 2021 by Vaileasys (talk | contribs) (added model image + changed navbox)

Template:Infobox weaponA 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