Spare Engine Parts: Difference between revisions

From PZwiki
m (I made the disclaimer (needs confirmation) because I believe that you can find engine parts in the knox county as of build 41. Need others to confirm this.)
m (Automatic formatting)
(24 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{languages|Spare Engine Parts}}
{{Header|Project Zomboid|Vehicles|Vehicle parts}}
{{header|The Game World|Items|type=Mechanic|version=Version 40|incver=5}}{{Infobox vehicle part
{{Page version|41.78.16}}
|display_name = Spare Engine Parts
{{Infobox vehicle part
|name_colour = Mechanic
|name=Spare Engine Parts
|text_colour = Mechanic
|model=EngineParts_Model.png
|image = EngineParts_120px.png
|icon=EngineParts.png
|category = Item
|icon_name=Engine Parts
|weight = 0.4
|category=Vehicle Maintenance
|function = Repair engine
|weight=0.4
|tool = [[Wrench]]
|function=Repair engine
|class_name = Base.EngineParts
|tool=[[Wrench]]
}}'''Spare engine parts''' are an [[items|item]] used in [[vehicles|vehicle]] [[mechanics]].
|item_id=Base.EngineParts
}}
 
'''Spare engine parts''' are an [[Items|item]] used in [[vehicles|vehicle]] [[mechanics]] to repair engines.


==Usage==
==Usage==
Spare engine parts are used to repair a vehicle's engine. Repairing an engine requires a [[wrench]] and certain [[Skills|mechanics skill]] depending on the [[Vehicles Guide|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.
Spare engine parts are used to repair a vehicle's engine. Repairing an engine requires a [[wrench]] and certain [[Skills|mechanics skill]] depending on the [[Vehicles#Types|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==
==Distribution==
Spare engine parts do not appear in the [[Knox Country|world]] naturally (needs confirmation), and can only be obtained by dismantling a vehicle's engine. However, this requires a [[Skills|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.  
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==
'''''From vehiclesitems.txt (Project Zomboid directory/media/scripts/)'''''
{{CodeBox|
{{Retrieved|version=41|incver=49}}
{{CodeSnip
<pre>    item EngineParts
  | lang = java
      Weight = 0.4,
  | line = true
      Type = Normal,
  | start = 37
      DisplayName = Spare Engine Parts,
  | source = vehiclesitems.txt
      Icon = EngineParts,
  | retrieved = true
      MetalValue = 30,
  | version = 41.78.16
      MechanicsItem = TRUE,</pre>
  | code =
item EngineParts
    {
        DisplayCategory = VehicleMaintenance,
        Weight = 0.4,
        Type = Normal,
        DisplayName = Spare Engine Parts,
        Icon = EngineParts,
        MetalValue = 30,
        MechanicsItem = TRUE,
        WorldStaticModel = EngineParts,
    }
}}
}}


==See also==
==See also==
*[[Vehicles Guide]]
*[[Vehicles]]
*[[Mechanics|Mechanics Guide]]
*[[Mechanics]]


{{Navbox vehicles}}
{{Navbox vehicles}}
[[Category:Vehicles and Mechanics (Project)]]
[[Category:Vehicles and Mechanics (Project)]]

Revision as of 18:25, 25 March 2024

Project ZomboidVehiclesVehicle partsSpare Engine Parts
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Spare Engine Parts
EngineParts Model.png
General
Category
Vehicle Maintenance
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Function
Repair engine
Install/Uninstall
Tool(s)
Technical
Item ID
Base.EngineParts

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

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\vehicles\vehiclesitems.txt

Retrieved: Build 41.78.16
item EngineParts
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	0.4,
        Type	=	Normal,
        DisplayName	=	Spare Engine Parts,
        Icon	=	EngineParts,
        MetalValue = 30,
        MechanicsItem = TRUE,
        WorldStaticModel = EngineParts,
    }

See also