Page 1 of 1

Write access to LuaEntityPrototype.result_units

Posted: Sun Feb 11, 2018 3:43 am
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

Re: Write access to LuaEntityPrototype.result_units

Posted: Mon Feb 12, 2018 9:29 am
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.

Re: Write access to LuaEntityPrototype.result_units

Posted: Thu Feb 15, 2018 5:31 am
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.