Generator

From PZwiki
Jump to: navigation, search
Language policy Language: English • русский
Generator
Generator
Generator
General
Category Item
Weight
Heavy Load
40
Technical details
Base ID Base.Generator

A generator is an electrical device that allows the player to generate electricity even after the power cuts out.

How to Use

Generators are most often found at warehouses but can be found in tool sheds. Generators are to be placed close enough to the character's house so that it can be connected.

Players should not place the generator inside the house. The generator will degrade a character’s health very quickly because of its exhaust. If the player happens to have done so, going outside will stop the player from taking damage, but the house will not be safe until the generator is turned off.

Generators can be connected to the power system of a house via the "Connect Generator" option in its context menu. A generator is fueled with gas via the "Add Fuel" context menu. The tank of a generator can take up to 1¼ gas cans worth of fuel and can only be filled while the generator is turned off.

Players need an electrical level of 3 to operate a generator or read the 'How To Use Generators' manual.

In a custom built shelter, there may be some difficulty in getting the generator working. Moving it to the roof may fix any issues.

Operations

Generators use 1% (total capacity of the tank, not the current level of fuel) of fuel per hour, and lose 1% of condition per hour as well.

Electronics scrap can be used to repair a generator. At least one unit of Electronics Scrap has to be in the player's main inventory. Each Repair operation will restore 4% + (0.5 * Electrical skill level)% of condition. Repairs can only be performed on a powered off generator.

A generator loses about 1% condition for every two hours of operation.

If condition drops lower than 20%, a chance for generator to catch fire and explode is introduced if fire is turned on in server options. Nearby cells may catch fire too. So keep your generators strictly above 20% condition.

Materials to Repair

Item Repaired Repair Materials
Generator.png
Generator
ElectronicsScrap.png
1 × Electronics Scrap
(4% + (0.5 * Electrical skill level)% repaired)

Code

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

Retrieved
Version 40.43
	item Generator
        	Weight				= 40,
        	Type				= Normal,
        	DisplayName			= Generator,
        	Icon				= Generator,
        	Tooltip 			= Tooltip_Generator,
		RequiresEquippedBothHands 	= true,
		MetalValue 			= 500,

See also


Electricity and Engineering vde
Power Source BatteryCar BatteryGenerator
Traps Aerosol BombAerosol Bomb with TimerAerosol Bomb with SensorFlame TrapFlame Trap with SensorFlame Trap with TimerNoise MakerNoise Generator with SensorNoise Generator with TimerPipe BombPipe Bomb with SensorPipe Bomb with TimerRemote Aerosol BombRemote ControllerRemote Flame TrapRemote Noise GeneratorRemote Pipe BombSmoke BombSmoke Bomb with SensorSmoke Bomb with TimerSmoke 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 AluminumAmplifierCrafted TimerCrafted TriggerElectric WireElectronics ScrapLight BulbMotion SensorRadio ReceiverRadio TransmitterScanner Module