Write access to LuaEntityPrototype.result_units

Things that we aren't going to implement
User avatar
Sovereign9000
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Jan 13, 2018 2:53 am
Contact:

Write access to LuaEntityPrototype.result_units

Post by Sovereign9000 »

I'd like to be able to change the units spawned at runtime.

Currently you have to create a spawner prototype for every combination of units and probability interval and fast replace thousands of entities every time a setting is changed. :?

Thanks for your consideration and keep up the great work :D
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Write access to LuaEntityPrototype.result_units

Post by bobingabout »

not that I disagree with the request, but... why do you need multiple combinations of possible spawn units?

They already change constantly depending on your evolution factor.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14601
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Write access to LuaEntityPrototype.result_units

Post by Rseding91 »

Prototypes can't be changed runtime. Ever. By anything. That is not going to change.

Simply what you're trying to do is not supported.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Won't implement”