How does the drain attribute work?
Posted: Fri Apr 21, 2017 1:46 pm
				
				Hello,
i added drain to a lamp and am wondering about the behaviour.
The pictured lamps are from Will-o'-the-wisps https://mods.factorio.com/mods/Betep3ak ... -the-wisps.
Expectation would be 1.6MW power usage switched on and 10kW power usage switched off.
			i added drain to a lamp and am wondering about the behaviour.
The pictured lamps are from Will-o'-the-wisps https://mods.factorio.com/mods/Betep3ak ... -the-wisps.
Code: Select all
        energy_source =
        {
            type = "electric",
            usage_priority = "secondary-input",
            drain = "5kW"
        },,
        energy_usage_per_tick = "800KW",
        electric_buffer_size = "10MW",
Lamp active
Lamp idle
Greetings steinio