Generator: Difference between revisions

From PZwiki
m (→‎Code: Accidently broke Code section. Fixed.)
No edit summary
Line 5: Line 5:


== How to Use ==
== How to Use ==
First find a generator, these are most often found at warehouses, but can be found in tool sheds. Place the generator close enough to your house so that you can connect it. <br>
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 <br>
'''DO NOT''' place the generator inside the house. The generator will degrade your health very quickly because of the its exhaust. If you happen to have done so, going outside will stop the damage, but the house won't be safe until the generator is turned off. ''Note:'' The generator makes noise and may attract zombies. Right click on the generator and select "Connect Generator". This will connect the generator to your home's power system. Next, you are going to need Gas Cans. Go to the [[Gas Can]] article to learn about the currently known locations for the gas can. Right click on the generator and click add fuel, this will add 80% of the generator's tank size of fuel to the generator. It takes 1¼ gas cans in order to fill the generator completely.  
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. <br>
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 a [[Gas Can]] 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.


You currently need an electrical level of 3 to operate a generator or read the [[Generators_Manual|'How To Use Generators']] manual.
Players need an electrical level of 3 to operate a generator or read the [[Generators_Manual|'How To Use Generators']] manual.


== Operations ==
== Operations ==
Generators use 1% (total capacity of tank, not 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.   


[[Electronics Scrap]] can be used to repair a generator. While powered down, have at least one unit of Electronics Scrap in main inventory; each Repair operation will restore 4% + (0.5 * Electrical skill level)% of condition.
[[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.


Place the generator close to the house or structure you want powered.  Connect the generator using the menu command (right click on generator). You can only add fuel to the generator whilst it is off.
A generator loses about 1% condition for every two hours of operation.
 
'''*Edit- The update also changed degradation. The 37.13 update note states ''"Generators now have twice less chance of losing condition while running"''. This statement needs clarification and testing. Potentially 1% condition is lost every 2 hours instead of 1 hour.'''





Revision as of 09:24, 19 September 2017


Template:WeaponsThe generator is an Electrical device that allows the player to generate electricity even after the power cuts out. It is fueled by gas cans. Each gas can adds 80% of the generator's tank size. As useful as the device is, it is only recommended to use the generator if you have a large stockpile of gas cans.

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 a Gas Can 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.

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.

Scrap Electronics 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.


Materials to Repair

Item Repaired Repair Materials =
 % Repaired, 100% Success
Generator.png
Generator
ElectronicsScrap.png
1x Electronics Scrap = (4% + (0.5 * Electrical skill level)% of condition)

Code

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