Spare Engine Parts

From PZwiki
Jump to: navigation, search
Language policy Language: English


Spare Engine Parts
Spare Engine Parts
General
Category Item
Weight
Heavy Load
0.4
Function Repair engine
Required tool Wrench
Technical details
Class name 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
Version 40.5
	item EngineParts
		Weight		= 0.4,
		Type		= Normal,
		DisplayName	= Spare Engine Parts,
		Icon		= EngineParts,
		MetalValue 	= 30,

See also