Car Battery Charger: Difference between revisions
m (b40 update) |
(Update distribution file) |
||
(29 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Equipment|Tools|Mechanic tools}} | ||
{{ | {{Page version|41.78.16}} | ||
| | {{Infobox item | ||
| | |name=Car Battery Charger | ||
| | |model=CarBatteryCharger_Model.png | ||
| | |icon=CarBatteryCharger.png | ||
|weight = 2 | |icon_nameCar Battery Charger | ||
| | |weight=2 | ||
| | |function=Recharge [[Car Battery]] | ||
}}A '''car battery charger''' is an [[electrical]] [[item]] used in [[ | |item_id=Base.CarBatteryCharger | ||
}} | |||
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 | 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. | ||
== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | |||
== | <!--BOT FLAG|CarBatteryCharger|41.78.16--> | ||
{{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"> | |||
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the [[lucky]] and [[unlucky]] traits. <div class="toggle-content"> | |||
<div class="pz-container"> | |||
<div id="containers" style="flex-basis:30%"> | |||
{| class="wikitable theme-red" style="margin-right: 15px; width: 95%;" | |||
|+ {{ll|Containers}} | |||
! Building/Room | |||
! Container | |||
! Effective chance | |||
|- | |||
| carsupply | |||
| {{ll|counter}} | |||
| 15.1% | |||
|- | |||
| carsupply | |||
| {{ll|shelves}} | |||
| 15.1% | |||
|- | |||
| garagestorage | |||
| {{ll|counter}} | |||
| 1.75% | |||
|- | |||
| garagestorage | |||
| {{ll|metal_shelves}} | |||
| 1.75% | |||
|- | |||
| mechanic | |||
| {{ll|metal_shelves}} | |||
| 15.1% | |||
|} | |||
</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== | ||
{{CodeBox | |||
| {{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 60 | |||
| source = vehiclesitems.txt | |||
| retrieved = true | |||
| 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 | *[[Car Battery]] | ||
*[[Vehicles | *[[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 12:18, 30 April 2024
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.
Building/Room | Container | Effective chance |
---|---|---|
carsupply | counter | 15.1% |
carsupply | shelves | 15.1% |
garagestorage | counter | 1.75% |
garagestorage | metal_shelves | 1.75% |
mechanic | metal_shelves | 15.1% |
Code
Source: ProjectZomboid\media\scripts\vehicles\vehiclesitems.txt
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: