Car Battery Charger: Difference between revisions

From PZwiki
m (b40 update)
m (Distribution table update)
 
(27 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{languages|Car Battery Charger}}
{{Header|Project Zomboid|Items|Equipment|Tools|Mechanic tools}}
{{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=30}}{{Infobox normal
{{Page version|41.78.16}}
|display_name = Car Battery Charger
{{Infobox item
|name_colour = Electric
|name=Car Battery Charger
|name_text_colour = Electric
|model=CarBatteryCharger_Model.png
|image = CarBatteryCharger_120px.png
|icon=CarBatteryCharger.png
|weight = 2
|icon_nameCar Battery Charger
|primary_use = Recharge [[Car Battery]]
|weight=2
|class_name = Base.CarBatteryCharger
|function=Recharge [[Car Battery]]
}}A '''car battery charger''' is an [[electrical]] [[item]] used in [[vehicles|vehicle]] [[mechanics]].
|item_id=Base.CarBatteryCharger
 
}}
__TOC__
A '''car battery charger''' is an [[electrical]] [[Items|item]] used in [[Vehicles|vehicle]] [[mechanics]].


==Usage==
==Usage==
A car battery charger is used to recharge a [[Car Battery|car battery]]. To do so, the car battery must be removed from the [[vehicles|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.  
A car battery charger is used to recharge a [[Car Battery|car battery]]. To do so, the battery charger must be placed on a powered tile. The car battery must be in the player's main inventory. Then the player can {{abbr|context menu|Right-Click}} the car battery charger, and choose the charge battery option in the context menu.


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.
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===
==Distribution==
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}}.
The loot distributions can be found in the table(s) below.


==Distribution==
<!--BOT FLAG|CarBatteryCharger|41.78.16-->
Can be found in gas stations, sheds, garages, or vehicle trunk.
{{clear}}
<div class="togglebox theme-red">
    <div>CarBatteryCharger distribution
        <span class="mw-customtoggle-togglebox-CarBatteryCharger" title="{{int:show}} / {{int:hide}}" style="float:right; padding-right:30px; padding-top:4px; font-size:0.7em; font-weight:normal;">{{int:show}} / {{int:hide}}</span></div>
    <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-togglebox-CarBatteryCharger">
    <div class="toggle-content"><div style="display: flex;"><div style="float:left;">
    {| class="wikitable theme-red" style="margin-right:15px; width:95%;"
    |+ {{ll|Containers}}
    ! Building / Room
    ! Container
    ! Rolls
    ! Chance
    |-
    | carsupply
    | {{ll|counter}}
    | 4
    | 6.0
    |-
    | carsupply
    | {{ll|shelves}}
    | 4
    | 6.0
    |-
    | garagestorage
    | {{ll|counter}}
    | 4
    | 0.05
    |}
</div>
    </div><div style="clear:both;"></div>
    </div></div><div class="toggle large mw-customtoggle-togglebox-CarBatteryCharger" title="{{int:show}}/{{int:hide}}"></div></div>
<!--END BOT FLAG|CarBatteryCharger|41.78.16-->


==Code==
==Code==
'''''From vehiclesitems.txt (Project Zomboid directory/media/scripts/vehicles)'''''
{{CodeBox
{{Retrieved|version=40|incver=30}}
| {{CodeSnip
<pre> item CarBatteryCharger
  | lang = java
Weight = 2,
  | line = true
Type = Normal,
  | start = 60
DisplayName = Car Battery Charger,
  | source = vehiclesitems.txt
Icon = CarBatteryCharger,
  | retrieved = true
MetalValue = 1,</pre>
  | version = 41.78.16
  | code =
item CarBatteryCharger
    {
        DisplayCategory = Tool,
        Weight = 2,
        Type = Normal,
        DisplayName = Car Battery Charger,
        Icon = CarBatteryCharger,
        MetalValue = 1,
        Tooltip = Tooltip_CarBatteryCharger,
        MechanicsItem = TRUE,
        WorldStaticModel = CarBatteryCharger,
    }
}}
}}
 
==Trivia==
*Before an icon for it was created, it used an icon of [[Car Battery]] with a red color on it: [[File:CarBatteryCharger-placeholder.png]]


==See also==
==See also==
*[[Electrical|Electrical Guide]]
*[[Car Battery]]
*[[Vehicles Guide]]
*[[Electrical]]
*[[Vehicles]]
 
{{Navbox items|tools}}
 


[[Category:Electronics]]
[[Category:Electricals and Transmission (Project)]]
[[Category:Electricals and Transmission (Project)]]
[[Category:Vehicles and Mechanics (Project)]]
[[Category:Vehicles and Mechanics (Project)]]
[[Category:Tools]]

Latest revision as of 15:08, 24 April 2024

Project ZomboidItemsEquipmentToolsMechanic toolsCar Battery Charger
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
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 battery charger must be placed on a powered tile. The car battery must be in the player's main inventory. Then the player can context menu the car battery charger, and choose the charge battery option in the context menu.

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.

Distribution

The loot distributions can be found in the table(s) below.

CarBatteryCharger distribution Show / Hide
Containers
Building / Room Container Rolls Chance
carsupply counter 4 6.0
carsupply shelves 4 6.0
garagestorage counter 4 0.05

Code

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

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

Retrieved: Build 41.78.16
item CarBatteryCharger
    {
        DisplayCategory = Tool,
        Weight	=	2,
        Type	=	Normal,
        DisplayName	=	Car Battery Charger,
        Icon	=	CarBatteryCharger,
        MetalValue = 1,
        Tooltip = Tooltip_CarBatteryCharger,
        MechanicsItem = TRUE,
        WorldStaticModel = CarBatteryCharger,
    }

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