Command to change the power output of solar panels?
- MalcolmCooks
- Filter Inserter
- Posts: 253
- Joined: Mon Apr 06, 2015 8:32 pm
- Contact:
Command to change the power output of solar panels?
I would like to know if it is possible using the command line to change the power output of solar panels? I have seen that the command line can be very flexible but I don't know enough to try work it out myself
Re: Command to change the power output of solar panels?
You'd need to change the solar panel's prototype definition for that, which is read-only during the game. Something like
in a data-updates.lua should do it.
Code: Select all
data.raw["solar-panel"]["solar-panel"].production = "100GW"
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!