Car Battery Charger: Difference between revisions

From PZwiki
(added changes in build 40)
m (b40 update)
Line 1: Line 1:
{{languages|Car Battery Charger}}
{{languages|Car Battery Charger}}
{{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=5}}{{Infobox normal
{{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=30}}{{Infobox normal
|display_name = Car Battery Charger
|display_name = Car Battery Charger
|name_colour = Electric
|name_colour = Electric
Line 18: Line 18:


===Changes in build 40===
===Changes in build 40===
Car battery charger needs to be placed on the ground, ensuring it's on a powered tile, then interacted with using a context menu.{{upcoming|ver=40}}
Car battery charger needs to be placed on the ground, ensuring it's on a powered tile, then interacted with using the {{abbr|context menu|Right-Click}}.


==Distribution==
==Distribution==
Line 24: Line 24:


==Code==
==Code==
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
'''''From vehiclesitems.txt (Project Zomboid directory/media/scripts/vehicles)'''''
{{Retrieved|version=40|incver=5}}
{{Retrieved|version=40|incver=30}}
<pre> item CarBatteryCharger
<pre> item CarBatteryCharger
Weight = 2,
Weight = 2,

Revision as of 08:55, 31 October 2018

Car Battery Charger
Car Battery Charger
General
Category Item
Encumbrance
Heavy Load
2
Function Recharge Car Battery
Technical details
Base ID Base.CarBatteryCharger

A car battery charger is an electrical item used in vehicle mechanics.

Usage

A car battery charger is used to recharge a car battery. To do so, the car battery must be removed from the vehicle and in the player's main inventory, then the player must ensure they're standing on a powered tile, upon right-clicking the car battery or car battery charger, the option "Charge car battery" will appear.

Note that the car battery's condition and remaining charge are different. The car battery charger will not improve the condition of a car battery.

Changes in build 40

Car battery charger needs to be placed on the ground, ensuring it's on a powered tile, then interacted with using the context menu.

Distribution

Can be found in gas stations, sheds, garages, or vehicle trunk.

Code

From vehiclesitems.txt (Project Zomboid directory/media/scripts/vehicles) Retrieved: Build 40.30

	item CarBatteryCharger
		Weight		= 2,
		Type		= Normal,
		DisplayName	= Car Battery Charger,
		Icon		= CarBatteryCharger,
		MetalValue 	= 1,

See also