Car Battery Charger

From PZwiki
Revision as of 04:13, 8 January 2024 by Calvy (talk | contribs) (→‎Code: Codebox Update)
Car Battery Charger
CarBatteryCharger Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
2
Function
Recharge Car Battery
Technical
Item 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

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

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

Retrieved: Build 40.30
item CarBatteryCharger
{
  Weight			= 2,
  Type				= Normal,
  DisplayName		= Car Battery Charger,
  Icon				= CarBatteryCharger,
  MetalValue		= 1,
}

Trivia

  • Before an icon for it was created, it used an icon of Car Battery with a red color on it: CarBatteryCharger-placeholder.png

See also