Car Battery: Difference between revisions
m (Minor cleanup) |
m (→See also: Change link to Vehicles) |
||
Line 111: | Line 111: | ||
==See also== | ==See also== | ||
*[[Mechanics]] | *[[Mechanics]] | ||
*[[Vehicles | *[[Vehicles]] | ||
{{Navbox equipment}} | {{Navbox equipment}} |
Revision as of 22:02, 26 June 2023
Car Battery | |
---|---|
General | |
Category | Item |
Encumbrance | 5.0 |
Function |
Start engine Power accessories |
Required tool | Screwdriver |
Capacity | 100,000 units |
Contents | Electricity |
Technical details | |
item ID | Item IDs |
- This article is about batteries required to power vehicles. For batteries that power small appliances, see Battery.
A car battery is a drainable item forming an integral part of a vehicle.
Usage
A car battery can only be used in powering a vehicle and not other household electricals.
Vehicles
The car battery is installed underneath the hood and does not require any mechanics level or known recipe to install or uninstall, however it does require the player to have a screwdriver.
The car battery is used to power the engine when starting the vehicle, therefore having a low or flat car battery will fail to start the vehicle. It's also used to power accessories when the engine isn't on, such as the headlights, heater, radio and siren.
Recharging
A car battery will automatically recharge while the engine is running. Otherwise, a flat car battery can be recharged by using a car battery charger, which requires the player to be standing on a powered tile, followed by simply right-clicking the car battery or charger and selecting "recharge".
Condition
The condition of a car battery is separate to the remaining power, although they can be easily mixed up. A car battery's condition determines its capacity and effectiveness at starting a vehicle engine.
Distribution
Car batteries can very commonly be found under the hood of a vehicle, already installed. They can also be found inside gas stations, sheds, garages or mechanic.
Item IDs
Car batteries can be found as one of three different types, each corresponding to a vehicle type. Therefore, a car battery for one vehicle type cannot be swapped with another vehicle type.
Vehicle type | Class name |
---|---|
Standard | Base.CarBattery1 |
Heavy-Duty | Base.CarBattery2 |
Sport | Base.CarBattery3 |
Code
From vehicleitems.txt (Project Zomboid directory/media/scripts/vehicles/) Retrieved: Build 41.78.16
item CarBattery1 { DisplayCategory = VehicleMaintenance, Weight = 5, Type = Drainable, UseDelta = 0.00001, UseWhileEquipped = FALSE, DisplayName = Car Battery, Icon = CarBattery, MetalValue = 1, cantBeConsolided = TRUE, VehicleType = 1, ConditionMax = 100, ChanceToSpawnDamaged = 30, MechanicsItem = TRUE, WorldStaticModel = CarBattery, Tags = CarBattery, } item CarBattery2 { DisplayCategory = VehicleMaintenance, Weight = 5, Type = Drainable, UseDelta = 0.00001, UseWhileEquipped = FALSE, DisplayName = Car Battery, Icon = CarBattery, MetalValue = 1, cantBeConsolided = TRUE, VehicleType = 2, ConditionMax = 100, ChanceToSpawnDamaged = 30, MechanicsItem = TRUE, WorldStaticModel = CarBattery, Tags = CarBattery, } item CarBattery3 { DisplayCategory = VehicleMaintenance, Weight = 5, Type = Drainable, UseDelta = 0.00001, UseWhileEquipped = FALSE, DisplayName = Car Battery, Icon = CarBattery , MetalValue = 1, cantBeConsolided = TRUE, VehicleType = 3, ConditionMax = 100, ChanceToSpawnDamaged = 30, MechanicsItem = TRUE, WorldStaticModel = CarBattery, Tags = CarBattery, }