Spare Engine Parts: Difference between revisions
m (added navbox) |
(Updated the code to 41.49) |
||
Line 20: | Line 20: | ||
==Code== | ==Code== | ||
'''''From vehiclesitems.txt (Project Zomboid directory/media/scripts/)''''' | '''''From vehiclesitems.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version= | {{Retrieved|version=41|incver=49}} | ||
<pre> item EngineParts | <pre> item EngineParts | ||
Weight = 0.4, | |||
Type = Normal, | |||
DisplayName = Spare Engine Parts, | |||
Icon = EngineParts, | |||
MetalValue = 30, | |||
MechanicsItem = TRUE,</pre> | |||
==See also== | ==See also== |
Revision as of 16:32, 23 December 2020
Spare engine parts are an item used in vehicle mechanics.
Usage
Spare engine parts are used to repair a vehicle's engine. Repairing an engine requires a wrench and certain mechanics skill depending on the vehicle type: starting at level 4 for standard, level 5 for heavy-duty, and level 6 for sport. To repair an engine, right-click the engine icon and select "Repair Engine", this will use all spare engine parts accessible by the player until the condition reaches 100%. The amount of condition repaired per spare engine part is 1 part per 1% for sport and heavy-duty vehicles, and 1 part per 2% for standard vehicles, however this may vary depending on the player's mechanics skill.
Distribution
Spare engine parts do not appear in the world naturally, and can only be obtained by dismantling a vehicle's engine. However, this requires a mechanics level. A wrench is also needed and will set the engine condition to zero. The number of spare engine parts recovered is random, however is influenced by the player's mechanics level and condition of the engine.
Code
From vehiclesitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.49
item EngineParts Weight = 0.4, Type = Normal, DisplayName = Spare Engine Parts, Icon = EngineParts, MetalValue = 30, MechanicsItem = TRUE,