Page 1 of 1

How does the drain attribute work?

Posted: Fri Apr 21, 2017 1:46 pm
by steinio
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.

Code: Select all

        energy_source =
        {
            type = "electric",
            usage_priority = "secondary-input",
            drain = "5kW"
        },,
        energy_usage_per_tick = "800KW",
        electric_buffer_size = "10MW",
Expectation would be 1.6MW power usage switched on and 10kW power usage switched off.
Lamp active
Lamp idle
Greetings steinio