placing + setting parameters for electric-energy-interface
Posted: Tue Aug 01, 2017 7:11 pm
Im trying to place a electric-energy-interface from the console and set its parameters.
The idea is to add a basically infinite accumulator for an enemy force I can store store energy overproduction from the early game to be able to use it when in need, without having the ability to change the interface parameters to like make it produce energy.
The working part: Place a electric-energy-interface rom console as enemy faction to prevent changing its parameters, works.
The part that i cannot seem to figure out: how do i set the parameters for the electric-energy-interface using the console?
The idea is to add a basically infinite accumulator for an enemy force I can store store energy overproduction from the early game to be able to use it when in need, without having the ability to change the interface parameters to like make it produce energy.
The working part: Place a electric-energy-interface rom console as enemy faction to prevent changing its parameters, works.
Code: Select all
/c game.surfaces[1].create_entity({name="electric-energy-interface", position={-10, 0}})