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.
Generators use variable amounts of fuel per hour (based on number and type of powered electronics using it as a source), and lose ~2% of condition per day 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.
If condition drops lower than 50%, 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 50% condition.
Materials to Repair
1 × Electronics Scrap
(4% + (0.5 * Electrical skill level)% repaired)
From newitems.txt (Project Zomboid directory/media/scripts/)
Weight = 40,
Type = Normal,
DisplayName = Generator,
Icon = Generator,
Tooltip = Tooltip_Generator,
RequiresEquippedBothHands = true,
MetalValue = 500,