Random values/property in data.lua

Place to get help with not working mods / modding interface.
Post Reply
juiceDeLemon
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Apr 21, 2024 12:03 pm
Contact:

Random values/property in data.lua

Post by juiceDeLemon »

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?

Rseding91
Factorio Staff
Factorio Staff
Posts: 13223
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Random values/property in data.lua

Post by Rseding91 »

Correct. Prototypes are not changeable after data stage finishes.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Modding help”