Battery: Difference between revisions
m (Automated capitalisation) |
m (Removing trailing whitespace(s)) |
||
Line 6: | Line 6: | ||
|name_colour = Electric | |name_colour = Electric | ||
|name_text_colour = Electric | |name_text_colour = Electric | ||
|model=Battery_Model.png | |model=Battery_Model.png | ||
|icon=Battery.png | |icon=Battery.png | ||
|icon_name=Battery | |icon_name=Battery | ||
|weight=0.6 | |weight=0.6 | ||
Line 19: | Line 19: | ||
==Usage== | ==Usage== | ||
Batteries are used to power the [[flashlight]], [[radio]], [[Ham Radio|ham radio]], [[Walkie Talkie|walkie talkie]] and [[Lamp on Pillar|lamp on pillar]]. | Batteries are used to power the [[flashlight]], [[radio]], [[Ham Radio|ham radio]], [[Walkie Talkie|walkie talkie]] and [[Lamp on Pillar|lamp on pillar]]. | ||
Batteries will begin to drain when the device they're powering is ''on'', until it eventually dies, upon which it is destroyed/consumed. When used to power a flashlight, the player can tell when the battery is getting low, as the light will begin to flicker rapidly. | Batteries will begin to drain when the device they're powering is ''on'', until it eventually dies, upon which it is destroyed/consumed. When used to power a flashlight, the player can tell when the battery is getting low, as the light will begin to flicker rapidly. | ||
Line 43: | Line 43: | ||
! style="width: 3.2em;" |Chance | ! style="width: 3.2em;" |Chance | ||
|- | |- | ||
| rowspan="1"|armyhanger | | rowspan="1"|armyhanger | ||
| [[counter]] | | [[counter]] | ||
| 4 | | 4 | ||
| 2 | | 2 | ||
|- | |- | ||
| rowspan="5"|batteryfactory | | rowspan="5"|batteryfactory | ||
| [[crate]] | | [[crate]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- | ||
Line 69: | Line 69: | ||
|5 | |5 | ||
|- | |- | ||
| rowspan="2"|closet | | rowspan="2"|closet | ||
| [[crate]] | | [[crate]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- | ||
Line 78: | Line 78: | ||
|8 | |8 | ||
|- | |- | ||
| rowspan="2"|controlroom | | rowspan="2"|controlroom | ||
| [[counter]] | | [[counter]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- | ||
Line 87: | Line 87: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="2"|departmentstorage | | rowspan="2"|departmentstorage | ||
| [[metal_shelves]] | | [[metal_shelves]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- | ||
Line 96: | Line 96: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="4"|electronicsstorage | | rowspan="4"|electronicsstorage | ||
| [[shelves]] | | [[shelves]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- | ||
Line 113: | Line 113: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="1"|kitchen | | rowspan="1"|kitchen | ||
| [[counter]] | | [[counter]] | ||
| 4 | | 4 | ||
| 2 | | 2 | ||
|- | |- | ||
| rowspan="1"|radiofactory | | rowspan="1"|radiofactory | ||
| [[crate]] | | [[crate]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|- | |- | ||
| rowspan="1"|toolstore | | rowspan="1"|toolstore | ||
| [[counter]] | | [[counter]] | ||
| 4 | | 4 | ||
| 1 | | 1 | ||
|} | |} | ||
Line 161: | Line 161: | ||
{| class="wikitable theme-red" width="550" style="text-align:center;" | {| class="wikitable theme-red" width="550" style="text-align:center;" | ||
|- | |- | ||
! colspan="2" | Alpha | ! colspan="2" | Alpha | ||
|- | |- | ||
| 0.2.0f || Batteries fittable / removable for flashlights. | | 0.2.0f || Batteries fittable / removable for flashlights. | ||
|- | |- | ||
| RC 2.9 || Slowly drain and is consumed automatically by Flashlights. | | RC 2.9 || Slowly drain and is consumed automatically by Flashlights. | ||
|- | |- | ||
| 2.9.9.16 || Flashlight can flicker, especially when they're almost out of batteries | | 2.9.9.16 || Flashlight can flicker, especially when they're almost out of batteries |
Revision as of 05:44, 28 February 2024
- This article is about batteries required to power small appliances. For batteries that power vehicles, see Car Battery.
A battery is a source of power for small household items.
Usage
Batteries are used to power the flashlight, radio, ham radio, walkie talkie and lamp on pillar.
Batteries will begin to drain when the device they're powering is on, until it eventually dies, upon which it is destroyed/consumed. When used to power a flashlight, the player can tell when the battery is getting low, as the light will begin to flicker rapidly.
Crafting
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 |
---|---|---|---|---|---|
Battery |
0 XP | none | (keep) |
||
Flashlight |
0 XP | none | Flashlight (consumed) |
Battery (consumed) | |
Hand Torch |
0 XP | none | Hand Torch (consumed) |
Battery (consumed) | |
Rubber Duck |
0 XP | none | Rubber Duck (consumed) |
Battery (consumed) |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
armyhanger | counter | 4 | 2 |
batteryfactory | crate | 4 | 1 |
crate | 4 | 1 | |
crate | 4 | 2 | |
crate | 4 | 2 | |
crate | 4 | 5 | |
closet | crate | 4 | 1 |
metal_shelves | 4 | 8 | |
controlroom | counter | 4 | 1 |
counter | 4 | 2 | |
departmentstorage | metal_shelves | 4 | 1 |
metal_shelves | 4 | 2 | |
electronicsstorage | shelves | 4 | 1 |
shelves | 4 | 1 | |
shelves | 4 | 2 | |
shelves | 4 | 2 | |
kitchen | counter | 4 | 2 |
radiofactory | crate | 4 | 1 |
toolstore | counter | 4 | 1 |
Disposal
Much like most batteries in 1993, batteries in Project Zomboid are non-rechargeable (i.e., alkaline) batteries. In the event the player finds a battery with 0% charge, the only thing that can be done with these is disposing of them. Either in any Garbage Bin with the ability to delete items not disabled in settings, or via leaving in the inventory of a Zombie corpse as it decays unless the server is set to remove items laying on the ground.
Code
Source: ProjectZomboid\media\scripts\items.txt
item Battery
{
DisplayCategory = Electronics,
Weight = 0.1,
Type = Drainable,
UseDelta = 0.00001,
UseWhileEquipped = FALSE,
DisplayName = Battery,
Icon = Battery,
MetalValue = 1,
cantBeConsolided = TRUE,
WorldStaticModel = Battery,
}
History
Alpha | |
---|---|
0.2.0f | Batteries fittable / removable for flashlights. |
RC 2.9 | Slowly drain and is consumed automatically by Flashlights. |
2.9.9.16 | Flashlight can flicker, especially when they're almost out of batteries |
2.9.9.17 | You can now build light sources, requiring batteries |
Build 31 | Fixed infinite batteries from "Remove Battery > All" action. |
Build 33 | Radios will have battery that can be removed. |
Build 35 | Can't consolidate batteries, candle and torch. |