Battery

From PZwiki
Jump to: navigation, search
Geographylogo.pngLanguage: English  • français • Deutsch • русский


 Page Updated @ Version 39.53 


Battery
Battery 120px.png

Weight: 0.6


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
Battery.png
Battery x1
Flashlight.png


Flashlight x1
Remove Battery Electrical Level 0


Flashlight.png
Flashlight x1
Flashlight.png + Battery.png
Flashlight x1 Battery x1
(consumed)
Insert battery into flashlight Electrical Level 0



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


vdeTools
Tools BowlBucketCan OpenerCooking potEmpty Bottle (Pop)Empty Bottle (Water)Empty BottleEmpty MugEmpty JarGas canJar LidKettleNotched Wooden PlankPaint BrushPropane TankRoasting PanSawSaucepanTrowel
Tools/Weapons CrowbarFrying PanRolling PinScrewdriverSledgehammerShovelStone AxeStone HammerWooden Lance
Illumination A Lit CandleBatteryFlashlightLighterMatches
Stationery Empty NotebookJournalPenPencilSheet of Paper



vdeElectricity and Engineering
Power Source BatteryCar BatteryGenerator
Traps Aerosol BombAerosol Bomb with TimerAerosol Bomb with SensorRemote Aerosol BombFlame TrapFlame Trap with TimerFlame Trap with SensorRemote Flame TrapSmoke BombSmoke Bomb with TimerSmoke Bomb with SensorSmoke BombNoise MakerNoise Generator with TimerNoise Generator with SensorRemote Noise GeneratorPipe BombPipe Bomb with TimerPipe Bomb with SensorRemote Pipe Bomb
Household Alarm ClockCD PlayerCordless PhoneDigital WatchEarbudsHeadphonesHome AlarmSpeakerTimerTV RemoteVideo Game
Communication Toys-R-Mine Walkie TalkieValuTech Walkie TalkiePremium Tech. Walkie TalkieTactical Walkie TalkieUS Army Walkie TalkieMakeshift Walkie TalkiePremium Technologies Ham RadioUS ARMY COMM. Ham RadioMakeshift Ham RadioPremium Technologies RadioValuTech RadioMakeshift RadioAntique TelevisionPremium Technologies TelevisionValuTech Television
Components AluminumAmplifierElectric WireElectronics ScrapLightBulbMotion SensorRadio ReceiverRadio TransmitterScanner Module