Spare Engine Parts: Difference between revisions
m (changed infobox variables) |
(Update distribution file) |
||
(33 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Vehicles|Vehicle parts}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox vehicle part | ||
| | |name=Spare Engine Parts | ||
| | |model=EngineParts_Model.png | ||
| | |icon=EngineParts.png | ||
|category = | |icon_name=Engine Parts | ||
|weight = 0.4 | |category=Vehicle Maintenance | ||
|function = Repair engine | |weight=0.4 | ||
|tool = [[Wrench]] | |function=Repair engine | ||
| | |tool=[[Wrench]] | ||
}}'''Spare engine parts''' are an [[ | |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 | 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. | ||
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 | The loot distributions can be found in the table(s) below. | ||
<!--BOT FLAG|EngineParts|41.78.16--> | |||
{{Clear}} | |||
<div class="togglebox theme-red"> | |||
<div>EngineParts distribution | |||
<span class="mw-customtoggle-togglebox-EngineParts" 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-EngineParts"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| all | |||
| {{ll|toolcabinet}} | |||
| 23.28% | |||
|- | |||
| carsupply | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| closet | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| garagestorage | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| mechanic | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|crate}} | |||
| 23.28% | |||
|- | |||
| storageunit | |||
| {{ll|metal_shelves}} | |||
| 23.28% | |||
|} | |||
</div> | |||
</div><div style="clear: both;"></div> | |||
</div></div><div class="toggle large mw-customtoggle-togglebox-EngineParts" title="{{int:show}}/{{int:hide}}"></div></div> | |||
<!--END BOT FLAG|EngineParts|41.78.16--> | |||
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| | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 37 | |||
| source = vehiclesitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| 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 | *[[Vehicles]] | ||
*[[Mechanics | *[[Mechanics]] | ||
{{Navbox vehicles}} | |||
[[Category:Vehicles and Mechanics (Project)]] | [[Category:Vehicles and Mechanics (Project)]] |
Latest revision as of 13:56, 30 April 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.
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.
Building/Room | Container | Effective chance |
---|---|---|
all | toolcabinet | 23.28% |
carsupply | metal_shelves | 23.28% |
closet | crate | 23.28% |
garagestorage | crate | 23.28% |
mechanic | metal_shelves | 23.28% |
storageunit | crate | 23.28% |
storageunit | metal_shelves | 23.28% |
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,
}