I'm writing my first mod. It is about this reddit post https://www.reddit.com/r/factorio/comme ... are_button
I thought it would be easy and could make this in one day (lol) From my knowledge, you can't change data in data.lua in runtime/only static values can exists.
Is it really impossible?
Random values/property in data.lua
-
- Manual Inserter
- Posts: 1
- Joined: Sun Apr 21, 2024 12:03 pm
- Contact:
Re: Random values/property in data.lua
Correct. Prototypes are not changeable after data stage finishes.
If you want to get ahold of me I'm almost always on Discord.
Re: Random values/property in data.lua
you can modify the whole surface's solar output. https://lua-api.factorio.com/latest/cla ... multiplier
This is probably the only meaningful way to modify the output anyway, as large number of independently fluctuating random variables would just average out.
This is probably the only meaningful way to modify the output anyway, as large number of independently fluctuating random variables would just average out.