Wrench: Difference between revisions

From PZwiki
No edit summary
(added model image + changed navbox)
Line 1: Line 1:
{{languages|Wrench}}
{{languages}}
{{header|The Game World|Items|Tools|type=Tool|version=Version 39|incver=67.5}}{{Infobox normal
{{header|The Game World|Items|Tools|type=Tool|version=Version 41|incver=53}}{{Infobox weapon
|display_name=Wrench
|display_name=Wrench
|name_colour=Tool
|name_colour=
|name_text_colour=Tool
|name_text_colour=
|image=Wrench_120px.png
|image=Wrench_Model.png
|weight=0.5
|image_width=200px
|primary_use=Install/Uninstall [[vehicles|vehicle]] parts
|alternate_image=Wrench.png
|class_name=Base.Spanner}}A '''wrench''' is a tool used in [[vehicles|vehicle]] [[mechanics]].
|alternate_name=Wrench
|alternate_link=
<!--GENERAL-->
|category=Weapon
|weight=1
|function=[[Mechanics]]
|equipped=One-Handed
|condition_max=9
<!--DAMAGE-->
|type=Small Blunt
|swing_time=4
|min_range=0.61
|max_range=1.1
|min_damage=0.5
|max_damage=1
|tree_damage=
|door_damage=10
|push_back=0.3
|knockdown=2
<!--TECHNICAL DETAILS-->
|class_name=Base.Wrench
}}A '''wrench''' is a tool used in [[vehicles|vehicle]] [[mechanics]].


==Usage==
==Usage==
Line 27: Line 48:


==Code==
==Code==
'''''From vehicleitems.txt (Project Zomboid directory/media/scripts/vehicles/)'''''
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/vehicles/)'''''
{{Retrieved|version=39|incver=67.5}}
{{Retrieved|version=41|incver=53}}
  <pre> item Spanner
  <pre>   item Wrench
Weight = 0.5,
    {
Type = Normal,
        MaxRange = 1.1,
DisplayName = Wrench,
        WeaponSprite = Wrench,
Icon = Wrench,</pre>
        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,
    }</pre>


==See also==
==See also==
*[[Lug Wrench]]
*[[Lug Wrench]]
*[[Jack]]
*[[Jack]]
*[[Pipe Wrench]]


{{Navbox/Tools}}
{{Navbox_equipment}}{{Navbox_weapons}}


[[Category:Vehicles and Mechanics (Project)]]
[[Category:Vehicles and Mechanics (Project)]]

Revision as of 16:30, 30 July 2021

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