Wrench: Difference between revisions
(Created page with "{{languages|Wrench}} {{header|The Game World|Items|Tools|type=Tool|version=Version 39|incver=67.5}}{{Infobox normal |display_name=Wrench |name_colour=Tool |name_text_colour=To...") |
m (Distribution table update) |
||
(32 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Melee weapons|Short blunt weapons}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Wrench | ||
| | |model=Wrench_Model.png | ||
| | |icon=Wrench.png | ||
| | |icon_name=Wrench | ||
| | <!--GENERAL--> | ||
| | |category=Tool/Weapon | ||
|weight=1 | |||
|function=[[Mechanics]] | |||
|equipped=One-Handed | |||
|condition_max=9 | |||
|skill_type=Short Blunt | |||
|attachment_type=Wrench | |||
<!--DAMAGE--> | |||
|type=Blunt | |||
|base_speed=1 | |||
|min_range=0.61 | |||
|max_range=1.1 | |||
|min_damage=0.5 | |||
|max_damage=1 | |||
|tree_damage=0 | |||
|door_damage=10 | |||
|push_back=0.3 | |||
|knockdown=2 | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Base.Wrench | |||
}} | |||
A '''wrench''' is a tool used in [[Vehicles|vehicle]] [[mechanics]]. | |||
==Usage== | ==Usage== | ||
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. | ===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. | |||
The player will not be able to use the wrench on a vehicle if they have not read the appropriate [[ | 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]]. | ||
==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 [[Skills|short blunt]] and [[Skills|maintenance]] skills. The chance of losing [[durability]] can be simplified to the following formula: <code>1 in (15 + maintenanceMod × 2)</code>. Where "maintenanceMod" is calculated using the short blunt and maintenance skills.<br> | |||
Below is an example of the chance of losing durability at varying levels of the [[Skills|maintenance]] and [[Skills|short blunt]] skills. | |||
{{Durability weapon|15}} | |||
==Distribution== | ==Distribution== | ||
=== | The loot distributions can be found in the table(s) below. | ||
<!--BOT FLAG|Wrench|41.78.16--> | |||
{{clear}} | |||
<div class="togglebox theme-red"> | |||
<div>Wrench distribution | |||
<span class="mw-customtoggle-togglebox-Wrench" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-Wrench"> | |||
<div class="toggle-content"><div style="display: flex;"><div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Containers}} | |||
! Building / Room | |||
! Container | |||
! Rolls | |||
! Chance | |||
|- | |||
| Not referenced | |||
| {{ll|GeneratorRoom}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| Not referenced | |||
| {{ll|LoggingFactoryTools}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| all | |||
| {{ll|Bag_JanitorToolbox}} | |||
| 1 | |||
| 50.0 | |||
|- | |||
| all | |||
| {{ll|Bag_ToolBag}} | |||
| 1 | |||
| 6.0 | |||
|- | |||
| all | |||
| {{ll|ToolsBox}} | |||
| 4 | |||
| 6.0 | |||
|- | |||
| all | |||
| {{ll|crate}} | |||
| 1 | |||
| 0.6 | |||
|- | |||
| all | |||
| {{ll|toolcabinet}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| armyhanger | |||
| {{ll|counter}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| bedroom | |||
| {{ll|crate}} | |||
| 1 | |||
| 0.6 | |||
|- | |||
| carsupply | |||
| {{ll|counter}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| carsupply | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| carsupply | |||
| {{ll|shelves}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 4 | |||
| 10.0 | |||
|- | |||
| conveniencestore | |||
| {{ll|shelves}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| drugshack | |||
| {{ll|counter}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| firestorage | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| garagestorage | |||
| {{ll|counter}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| gasstorage | |||
| {{ll|counter}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| gasstorage | |||
| {{ll|crate}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| generalstore | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| mechanic | |||
| {{ll|metal_shelves}} | |||
| 4 | |||
| 8.0 | |||
|- | |||
| pawnshop | |||
| {{ll|counter}} | |||
| 4 | |||
| 8.0 | |||
|} | |||
</div> | |||
<div style="float:left;"> | |||
{| class="wikitable theme-red" style="margin-right:15px; width:95%;" | |||
|+ {{ll|Vehicles}} | |||
! Vehicle Type/Location | |||
! Rolls | |||
! Chance | |||
|- | |||
| AmbulanceTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| CarpenterTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| ClothingTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| ConstructionWorkerTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| DistilleryTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| DoctorTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| ElectricianTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| FarmerTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| FireTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| FishermanTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| FossoilTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| GolfTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| GroceriesTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| HeraldsTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| MassGenFacTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| McCoyTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| MetalWelderTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| PainterTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| PoliceTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| PostalTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| RadioTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| RangerTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| SpiffoTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| SurvivalistTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| TaxiTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| TransitTruckBed | |||
| 1 | |||
| 8 | |||
|- | |||
| TransitTruckBed | |||
| 4 | |||
| 10 | |||
|- | |||
| TrunkHeavy | |||
| 1 | |||
| 8 | |||
|- | |||
| TrunkSports | |||
| 1 | |||
| 8 | |||
|- | |||
| TrunkStandard | |||
| 1 | |||
| 8 | |||
|} | |||
</div> | |||
</div><div style="clear:both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-Wrench" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|Wrench|41.78.16--> | |||
===Vehicles=== | ===Vehicles=== | ||
Can be found the [[trunk]] of vehicles. | Can be found in the [[trunk]] of vehicles. | ||
==Code== | ==Code== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 1060 | |||
| source = items_weapons.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
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, | |||
} | |||
}} | |||
}} | |||
==See also== | ==See also== | ||
*[[Lug Wrench]] | *[[Lug Wrench]] | ||
*[[Jack]] | *[[Jack]] | ||
*[[Pipe Wrench]] | |||
{{Navbox items|blunt}} | |||
[[Category:Mechanic tools]] | |||
[[Category:Vehicles and Mechanics (Project)]] | [[Category:Vehicles and Mechanics (Project)]] | ||
[[Category:Tools]] |
Revision as of 17:00, 24 April 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.
Building / Room | Container | Rolls | Chance |
---|---|---|---|
Not referenced | GeneratorRoom | 4 | 8.0 |
Not referenced | LoggingFactoryTools | 4 | 8.0 |
all | Bag_JanitorToolbox | 1 | 50.0 |
all | Bag_ToolBag | 1 | 6.0 |
all | ToolsBox | 4 | 6.0 |
all | crate | 1 | 0.6 |
all | toolcabinet | 4 | 8.0 |
armyhanger | counter | 4 | 8.0 |
bedroom | crate | 1 | 0.6 |
carsupply | counter | 4 | 8.0 |
carsupply | metal_shelves | 4 | 8.0 |
carsupply | shelves | 4 | 8.0 |
closet | crate | 4 | 10.0 |
conveniencestore | shelves | 4 | 8.0 |
drugshack | counter | 4 | 8.0 |
firestorage | metal_shelves | 4 | 8.0 |
garagestorage | counter | 4 | 8.0 |
gasstorage | counter | 4 | 8.0 |
gasstorage | crate | 4 | 8.0 |
generalstore | metal_shelves | 4 | 8.0 |
mechanic | metal_shelves | 4 | 8.0 |
pawnshop | counter | 4 | 8.0 |
Vehicle Type/Location | Rolls | Chance |
---|---|---|
AmbulanceTruckBed | 1 | 8 |
CarpenterTruckBed | 1 | 8 |
ClothingTruckBed | 1 | 8 |
ConstructionWorkerTruckBed | 1 | 8 |
DistilleryTruckBed | 1 | 8 |
DoctorTruckBed | 1 | 8 |
ElectricianTruckBed | 1 | 8 |
FarmerTruckBed | 1 | 8 |
FireTruckBed | 1 | 8 |
FishermanTruckBed | 1 | 8 |
FossoilTruckBed | 1 | 8 |
GolfTruckBed | 1 | 8 |
GroceriesTruckBed | 1 | 8 |
HeraldsTruckBed | 1 | 8 |
MassGenFacTruckBed | 1 | 8 |
McCoyTruckBed | 1 | 8 |
MetalWelderTruckBed | 1 | 8 |
PainterTruckBed | 1 | 8 |
PoliceTruckBed | 1 | 8 |
PostalTruckBed | 1 | 8 |
RadioTruckBed | 1 | 8 |
RangerTruckBed | 1 | 8 |
SpiffoTruckBed | 1 | 8 |
SurvivalistTruckBed | 1 | 8 |
TaxiTruckBed | 1 | 8 |
TransitTruckBed | 1 | 8 |
TransitTruckBed | 4 | 10 |
TrunkHeavy | 1 | 8 |
TrunkSports | 1 | 8 |
TrunkStandard | 1 | 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,
}