Spare Engine Parts: Difference between revisions

From PZwiki
(Created page with "{{languages|Spare Engine Parts}} {{header|The Game World|Items|type=Mechanic|version=Version 39|incver=67.5}}{{Infobox normal |display_name = Spare Engine Parts |name_colour =...")
 
(added code section)
Line 15: Line 15:
==Distribution==
==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 [[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.  
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 [[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.  
==Code==
'''''From vehiclesitems.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=39|incver=67.5}}
<pre> item EngineParts
Weight = 0.4,
Type = Normal,
DisplayName = Spare Engine Parts,
Icon = EngineParts,
MetalValue = 30,</pre>


==See also==
==See also==

Revision as of 16:24, 5 August 2018

The Game WorldItemsSpare Engine Parts
Spare Engine Parts
Spare Engine Parts
General
Category Item
Encumbrance
Heavy Load
0.4
Function Repair engine
Technical details
Base ID Base.EngineParts

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 39.67.5

	item EngineParts
		Weight		= 0.4,
		Type		= Normal,
		DisplayName	= Spare Engine Parts,
		Icon		= EngineParts,
		MetalValue 	= 30,

See also