Battery: Difference between revisions
m (Automated CodeBox update) |
m (Remove lines)) |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Materials}} | ||
{{Page version|41.78.16}} | |||
{{ | {{Infobox item | ||
{{Infobox | |name=Battery | ||
| | |model=Battery_Model.png | ||
| | |icon=Battery.png | ||
|icon_name=Battery | |||
| | |||
| | |||
|weight=0.6 | |weight=0.6 | ||
|primary_use=Power small appliances | |primary_use=Power small appliances | ||
|max_units=100,000 | |max_units=100,000 | ||
|contents=[[Electricity]] | |contents=[[Electricity]] | ||
| | |item_id=Base.Battery | ||
}} | }} | ||
{{About|batteries required to power small appliances|batteries that power vehicles|Car Battery}} | {{About|batteries required to power small appliances|batteries that power vehicles|Car Battery}} | ||
Line 19: | Line 16: | ||
==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. | ||
==Crafting== | ==Crafting== | ||
{{Crafting | {{Crafting/sandbox2 | ||
|battery | |||
|flashlight | |||
|hand_torch | |||
|rubber_duck | |||
}} | |||
==Distribution== | ==Distribution== | ||
The loot distributions can be found in the table(s) below. | The loot distributions can be found in the table(s) below. | ||
Line 38: | Line 34: | ||
! colspan="4" | Containers | ! colspan="4" | Containers | ||
|- | |- | ||
!Building/Room | ! Building/Room | ||
!Container | ! Container | ||
! style="width: 3.2em;" |Rolls | ! style="width: 3.2em;" | Rolls | ||
! style="width: 3.2em;" |Chance | ! style="width: 3.2em;" | Chance | ||
|- | |- | ||
| | |all | ||
| [[ | |[[other]] | ||
| | |1 | ||
| 2 | |2 | ||
|- | |- | ||
| rowspan="5"|batteryfactory | |armyhanger | ||
| [[crate]] | |[[counter]] | ||
| 4 | |4 | ||
| 1 | |2 | ||
|- | |||
|rowspan="5"|batteryfactory | |||
|[[crate]] | |||
|4 | |||
|1 | |||
|- | |- | ||
|[[crate]] | |[[crate]] | ||
Line 69: | Line 70: | ||
|5 | |5 | ||
|- | |- | ||
| rowspan="2"|closet | |rowspan="2"|closet | ||
| [[crate]] | |[[crate]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[metal_shelves]] | |[[metal_shelves]] | ||
Line 78: | Line 79: | ||
|8 | |8 | ||
|- | |- | ||
| rowspan="2"|controlroom | |rowspan="2"|controlroom | ||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[counter]] | |[[counter]] | ||
Line 87: | Line 88: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="2"|departmentstorage | |rowspan="2"|departmentstorage | ||
| [[metal_shelves]] | |[[metal_shelves]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[metal_shelves]] | |[[metal_shelves]] | ||
Line 96: | Line 97: | ||
|2 | |2 | ||
|- | |- | ||
| rowspan="4"|electronicsstorage | |rowspan="4"|electronicsstorage | ||
| [[shelves]] | |[[shelves]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|[[shelves]] | |[[shelves]] | ||
Line 113: | Line 114: | ||
|2 | |2 | ||
|- | |- | ||
|kitchen | |||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 2 | |2 | ||
|- | |- | ||
|radiofactory | |||
| [[crate]] | |[[crate]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|- | |- | ||
|toolstore | |||
| [[counter]] | |[[counter]] | ||
| 4 | |4 | ||
| 1 | |1 | ||
|} | |} | ||
Line 143: | Line 144: | ||
| code = | | code = | ||
item Battery | item Battery | ||
{ | { | ||
DisplayCategory = Electronics, | |||
Weight = 0.1, | |||
Type = Drainable, | |||
UseDelta = 0.00001, | |||
UseWhileEquipped = FALSE, | |||
DisplayName = Battery, | |||
Icon = Battery, | |||
MetalValue = 1, | |||
cantBeConsolided = TRUE, | |||
WorldStaticModel = Battery, | |||
} | } | ||
}} | |||
}} | }} | ||
Line 161: | Line 162: | ||
{| 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 | ||
Line 183: | Line 184: | ||
*[[Electrical]] | *[[Electrical]] | ||
{{Navbox equipment}} | {{Navbox items|equipment}} | ||
[[Category:Electricals and Transmission (Project)]] | [[Category:Electricals and Transmission (Project)]] |
Revision as of 06:29, 15 April 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 | Ingredients | Tools | Requirements | Workstation | XP |
---|---|---|---|---|---|
Battery |
One of: Flashlight ×1 Hand Torch ×1 Rubber Duck ×1 |
none | none | none | none |
Flashlight |
Flashlight ×1 Battery ×1 |
none | none | none | none |
Hand Torch |
Hand Torch ×1 Battery ×1 |
none | none | none | none |
Rubber Duck |
Rubber Duck ×1 Battery ×1 |
none | none | none | none |
Distribution
The loot distributions can be found in the table(s) below.
Containers | |||
---|---|---|---|
Building/Room | Container | Rolls | Chance |
all | other | 1 | 2 |
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. |