Wrench: Difference between revisions
m (fix) |
m (minor) |
||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
{{Header/sandbox2|Project Zomboid|Items|Tools|Mechanic Tools}} | {{Header/sandbox2|Project Zomboid|Items|Tools|Mechanic Tools}} | ||
{{ | {{Page version|41.78.16}} | ||
{{Infobox item | {{Infobox item | ||
|name=Wrench | |name=Wrench | ||
Line 28: | Line 28: | ||
<!--TECHNICAL DETAILS--> | <!--TECHNICAL DETAILS--> | ||
|item_id=Base.Wrench | |item_id=Base.Wrench | ||
}}A '''wrench''' is a tool used in [[ | }} | ||
A '''wrench''' is a tool used in [[Vehicles|vehicle]] [[mechanics]]. | |||
==Usage== | ==Usage== | ||
===Mechanics=== | ===Mechanics=== | ||
{{Main|Mechanics}} | {{Main|Mechanics}} | ||
A wrench is one of the most important tools when working on vehicles. It is required to install/uninstall the [[Gas Tank|gas tank]], [[muffler]], [[brake]]s, [[suspension]], [[Trunk Lid|trunk lid]], [[hood]] and repair/dismantle the engine. | A wrench is one of the most important tools when working on vehicles. It is required to install/uninstall the [[Gas Tank|gas tank]], [[muffler]], [[brake]]s, [[suspension]], [[Trunk Lid|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 [[Laines Auto Manual|recipe magazine]] corresponding to the [[Vehicles#Types|vehicle type]]. | The player will not be able to use the wrench on a vehicle if they have not read the appropriate [[Laines Auto Manual|recipe magazine]] corresponding to the [[Vehicles#Types|vehicle type]]. | ||
Line 45: | Line 46: | ||
{{Durability weapon|15}} | {{Durability weapon|15}} | ||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. |
Revision as of 00:12, 20 February 2024
A wrench is a tool used in vehicle mechanics.
Usage
Mechanics
- Main article: Mechanics
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
The wrench can be used as a weapon, hitting up to 2 enemies at a time (with multi-hit enabled), dealing a maximum of 1 damage to enemies (unless a critical hit) from up to 1.1 tiles away at an attack speed of 1.
Condition
The wrench has a maximum condition of 9. Its rate of degradation is influenced by the short blunt and maintenance skills. The chance of losing durability can be simplified to the following formula: 1 in (15 + maintenanceMod × 2)
. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.
Below is an example of the chance of losing durability at varying levels of the maintenance and short blunt skills.
Maintenance skill | Weapon skill | Condition lower chance |
---|---|---|
0 | 0 | 1/15 (7%) |
0 | 4 | 1/17 (6%) |
0 | 8 | 1/19 (5%) |
4 | 0 | 1/19 (5%) |
8 | 0 | 1/23 (4%) |
4 | 4 | 1/21 (5%) |
4 | 8 | 1/23 (4%) |
8 | 8 | 1/27 (4%) |
10 | 10 | 1/29 (3%) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | toolcabinet | 4 | 8 |
armyhanger | counter | 4 | 8 |
bedroom | crate | 1 | 0.6 |
carsupply | counter | 4 | 8 |
metal_shelves | 4 | 8 | |
metal_shelves | 4 | 8 | |
metal_shelves | 4 | 8 | |
shelves | 4 | 8 | |
closet | crate | 4 | 1 |
conveniencestore | shelves | 4 | 8 |
drugshack | counter | 4 | 8 |
firestorage | metal_shelves | 4 | 8 |
garagestorage | counter | 4 | 8 |
counter | 4 | 8 | |
gasstorage | counter | 4 | 8 |
crate | 4 | 8 | |
generalstore | metal_shelves | 4 | 8 |
mechanic | metal_shelves | 4 | 8 |
metal_shelves | 4 | 8 | |
pawnshop | counter | 4 | 8 |
Vehicles
Can be found in the trunk of vehicles.
Code
Source: ProjectZomboid\media\scripts\items_weapons.txt
item Wrench
{
DisplayCategory = ToolWeapon,
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 = WrenchBreak,
DoorHitSound = WrenchHit,
HitSound = WrenchHit,
HitFloorSound = WrenchHit,
SwingSound = WrenchSwing,
TreeDamage = 0,
CriticalChance = 20,
CritDmgMultiplier = 2,
MinDamage = 0.5,
MaxDamage = 1,
BaseSpeed = 1,
WeaponLength = 0.23,
AttachmentType = Wrench,
}