Spare Engine Parts: Difference between revisions
m (Automated Formatting for Infobox and Section Headers) |
m (Automatic formatting) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Vehicles|Vehicle parts}} | {{Header|Project Zomboid|Vehicles|Vehicle parts}} | ||
{{ | {{Page version|41.78.16}} | ||
{{Infobox vehicle part | {{Infobox vehicle part | ||
| | |name=Spare Engine Parts | ||
| | |model=EngineParts_Model.png | ||
|icon=EngineParts.png | |||
|icon_name=Engine Parts | |||
| | |category=Vehicle Maintenance | ||
| | |weight=0.4 | ||
|category = | |function=Repair engine | ||
|weight = 0.4 | |tool=[[Wrench]] | ||
|function = Repair engine | |item_id=Base.EngineParts | ||
|tool = [[Wrench]] | |||
| | |||
}} | }} | ||
'''Spare engine parts''' are an [[ | '''Spare engine parts''' are an [[Items|item]] used in [[vehicles|vehicle]] [[mechanics]] to repair engines. | ||
==Usage== | ==Usage== | ||
Line 23: | Line 21: | ||
==Distribution== | ==Distribution== | ||
Spare engine parts sparsely appear in the [[Knox Country|world]] within car repair shops, and can also be obtained by dismantling a vehicle's engine. However, this requires a [[Skills|mechanics level]]. A wrench is also needed and will always set the engine condition to zero, no matter how many parts are salvaged or the engine's previous condition. The number of spare engine parts recovered is partially random, however it is influenced by the player's mechanics level and condition of the engine. A rough estimate for max level mechanic is 0-2 parts for each 10% of engine condition. | The loot distributions can be found in the table(s) below. | ||
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;" | |||
! colspan="4" | Containers | |||
|- | |||
! Building/Room | |||
! Container | |||
! style="width: 3.2em;" | Rolls | |||
! style="width: 3.2em;" | Chance | |||
|- | |||
|rowspan="2"|all | |||
|[[toolcabinet]] | |||
|4 | |||
|1 | |||
|- | |||
|[[toolcabinet]] | |||
|4 | |||
|1 | |||
|- | |||
|rowspan="3"|carsupply | |||
|[[metal_shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|[[metal_shelves]] | |||
|4 | |||
|1 | |||
|- | |||
|[[metal_shelves]] | |||
|4 | |||
|1 | |||
|}Spare engine parts sparsely appear in the [[Knox Country|world]] within car repair shops, and can also be obtained by dismantling a vehicle's engine. However, this requires a [[Skills|mechanics level]]. A wrench is also needed and will always set the engine condition to zero, no matter how many parts are salvaged or the engine's previous condition. The number of spare engine parts recovered is partially random, however it is influenced by the player's mechanics level and condition of the engine. A rough estimate for max level mechanic is 0-2 parts for each 10% of engine condition. | |||
==Code== | ==Code== | ||
{{CodeBox | {{CodeBox| | ||
{{CodeSnip | |||
| lang = java | | lang = java | ||
| line = true | | line = true | ||
| start = | | start = 37 | ||
| source = vehiclesitems.txt | | source = vehiclesitems.txt | ||
| retrieved = true | | retrieved = true | ||
| version = 41. | | version = 41.78.16 | ||
| code = | | code = | ||
item EngineParts | item EngineParts | ||
{ | { | ||
DisplayCategory = VehicleMaintenance, | |||
Weight = 0.4, | |||
Type = Normal, | |||
DisplayName = Spare Engine Parts, | |||
Icon = EngineParts, | |||
MetalValue = 30, | |||
} | MechanicsItem = TRUE, | ||
WorldStaticModel = EngineParts, | |||
} | |||
}} | |||
}} | }} | ||
Revision as of 18:25, 25 March 2024
Spare engine parts are an item used in vehicle mechanics to repair engines.
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% per part at low level for standard vehicles, up to 4% at 10 mechanics. For sport and heavy-duty vehicles the amount is reduced, with a maximum of 3% at level 10 for heavy-duty.
It is important to distinguish that while an engine's condition can be repaired, an engine's quality cannot be altered in any way. The quality of the engine affects the chance for the engine to start. While the engine condition also heavily influences this, the quality still plays a major role. Therefore, it is possible to have an engine at 100% condition that still does not start reliably. The engine quality can be checked by clicking on the engine in the Mechanics menu. It is a separate stat from condition.
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | toolcabinet | 4 | 1 |
toolcabinet | 4 | 1 | |
carsupply | metal_shelves | 4 | 1 |
metal_shelves | 4 | 1 | |
metal_shelves | 4 | 1 |
Spare engine parts sparsely appear in the world within car repair shops, and can also be obtained by dismantling a vehicle's engine. However, this requires a mechanics level. A wrench is also needed and will always set the engine condition to zero, no matter how many parts are salvaged or the engine's previous condition. The number of spare engine parts recovered is partially random, however it is influenced by the player's mechanics level and condition of the engine. A rough estimate for max level mechanic is 0-2 parts for each 10% of engine condition.
Code
Source: ProjectZomboid\media\scripts\vehicles\vehiclesitems.txt
item EngineParts
{
DisplayCategory = VehicleMaintenance,
Weight = 0.4,
Type = Normal,
DisplayName = Spare Engine Parts,
Icon = EngineParts,
MetalValue = 30,
MechanicsItem = TRUE,
WorldStaticModel = EngineParts,
}