Generator: Difference between revisions
(clean up, new infobox) |
|||
Line 1: | Line 1: | ||
{{languages}} | |||
{{languages | {{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version 40|incver=43}}{{Infobox normal | ||
{{header|The Game World|Items|Electricity and Engineering|type=Electric|version=Version | | display_name = Generator | ||
}} | | name_colour = Electrical | ||
| name_text_colour = Electrical | |||
| image = F_Generator.png | |||
| image_width = 72px | |||
| alternate_image = Generator.png | |||
| alternate_name = Generator | |||
| alternate_link = | |||
| weight = 40 | |||
| function = | |||
| class_name = Base.Generator | |||
}}A '''generator''' is an {{T|electrical}} device that allows the player to generate {{T|electricity}} even after the power cuts out. | |||
== How to Use == | == 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 | 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 | 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 {{T|Gas Can|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. | 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 | Players need an {{T|electrical}} level of 3 to operate a generator or read the '{{T|Recipe Magazines|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. | In a custom built shelter, there may be some difficulty in getting the generator working. Moving it to the roof may fix any issues. | ||
Line 17: | Line 29: | ||
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. | 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. | ||
{{T|Electronics Scrap|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. | A generator loses about 1% condition for every two hours of operation. | ||
Line 28: | Line 40: | ||
|- | |- | ||
! Item Repaired | ! Item Repaired | ||
! Repair Materials | ! Repair Materials | ||
|- | |- | ||
|[[File:Generator.png|32px]]<br>Generator | |[[File:Generator.png|32px]]<br>Generator | ||
|[[File:ElectronicsScrap.png|32px]]<br> | |[[File:ElectronicsScrap.png|32px]]<br>1 × {{T|Electronics Scrap}}<br><small>(4% + (0.5 * Electrical skill level)% repaired)</small> | ||
|- | |- | ||
|} | |} | ||
== Code == | == Code == | ||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=40|incver=43}} | |||
<pre> item Generator | |||
Weight = 40, | |||
Type = Normal, | |||
DisplayName = Generator, | |||
Icon = Generator, | |||
Tooltip = Tooltip_Generator, | |||
RequiresEquippedBothHands = true, | |||
MetalValue = 500,</pre> | |||
==See also== | |||
*[[Battery]] | |||
*[[Car Battery]] | |||
*[[Car Battery Charger]] | |||
*[[Propane Tank]] | |||
{{Navbox/Electricity and Engineering}} | {{Navbox/Electricity and Engineering}} |
Revision as of 06:20, 19 May 2019
Generator | ||
---|---|---|
| ||
General | ||
Category | Item | |
Encumbrance | 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 |
1 × Scrap Electronics (4% + (0.5 * Electrical skill level)% repaired) |
Code
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 40.43
item Generator Weight = 40, Type = Normal, DisplayName = Generator, Icon = Generator, Tooltip = Tooltip_Generator, RequiresEquippedBothHands = true, MetalValue = 500,