Battery: Difference between revisions

From PZwiki
(Info on radios)
(Brought up to date and officially into the navigational network.)
Line 1: Line 1:
{{languages}}
__NOTOC__
{{languages|Battery}}
{{header|The Game World|Items|Electricity and Engineering|version=Version 39|incver=53}}
{{items
{{items
|image = Battery.png
|image = Battery_120px.png
|weight = 0.6
|weight = 0.6
}}
}}
Batteries are used to power the handheld [[flashlight]], the [[lamp on pillar]], and the [[radio]]. They can be found throughout the world as well as pre-stocked in flashlights and radios. The battery can be fitted and un-fitted and its power storage will gradually decrease as it is used in the flashlight or radio.  
'''Batteries''' are a source of power for small household items. They are used to power the [[flashlight]], [[radio]]s, [[Radio|HAM radio]], [[Radio|walkie talkies]] and [[Lamp on Pillar|lamp on pillar]]. When the device it is powering is turned ''on'', the battery will begin to drain, until it eventually dies, upon which it will be 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 can be found in various places throughout the world, such as in [[Containers#Garbage Can/Dumpster|garbage cans]], [[Containers#Wooden Crate|wooden crates]], [[Containers#Counter|counters]] and many other places. They can also be found inside [[radio]]s and [[flashlight]]s, so long as they haven't been left on.  
 
 
==Recipes==
{| class="wikitable sortable" style="text-align:center;"
|-
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
! Level
{{RecipeLookup|4036}}
{{RecipeLookup|4037}}
|}




== Code ==
== Code ==
  <nowiki>item Battery
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{
  <nowiki>
Weight = 0.6,
item Battery
Type = Drainable,
Weight = 0.6,
UseWhileEquipped = FALSE,
Type = Drainable,
DisplayName = Battery,
UseDelta = 0.00001,
Icon = Battery,
UseWhileEquipped = FALSE,
}</nowiki>
DisplayName = Battery,
Icon = Battery,
MetalValue = 1,
cantBeConsolided = TRUE,
</nowiki>
 
 
== History ==
== History ==
{| class="wikitable" width="550" style="text-align:center;"
{| class="wikitable" width="550" style="text-align:center;"
|-
|-
! Alpha ||
! colspan="2" | Alpha  
|-
| 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.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.
|}
|}


==See Also==
==See Also==
* [[Flashlight]]
*[[Car Battery]]
* [[Radio]]
*[[Generator]]
*[[Electrical]]


{{Navbox/Tools}}
{{Navbox/Tools}}
[[Category:Version 0.2.0p]]
{{Navbox/Electricity and Engineering}}
 
[[Category:Illumination]]
[[Category:Illumination]]
[[Category:Tools]]
[[Category:Items]]

Revision as of 15:57, 3 May 2018


Template:Items Batteries are a source of power for small household items. They are used to power the flashlight, radios, HAM radio, walkie talkies and lamp on pillar. When the device it is powering is turned on, the battery will begin to drain, until it eventually dies, upon which it will be 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 can be found in various places throughout the world, such as in garbage cans, wooden crates, counters and many other places. They can also be found inside radios and flashlights, so long as they haven't been left on.


Recipes

Name Recipe Description Level

























Code

From items.txt (Project Zomboid directory/media/scripts/)

	item Battery
		Weight			= 0.6,
		Type			= Drainable,
		UseDelta		= 0.00001,
		UseWhileEquipped	= FALSE,
		DisplayName		= Battery,
		Icon			= Battery,
		MetalValue 		= 1,
		cantBeConsolided 	= TRUE,


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.


See Also

Template:Navbox/Tools Template:Navbox/Electricity and Engineering