Page 1 of 1

Add surface_index and force_index

Posted: Sat Jan 07, 2023 3:01 pm
by ILLISIS
Hello

Requesting entity.surface_index and entity.force_index to be added instead of localizing entity.surface.index etc all the time.

Klonan was part of the discord discussion and originally had this idea.
https://discord.com/channels/1396775903 ... 8678309939

thanks!

Re: Add surface_index and force_index

Posted: Sun Jan 08, 2023 10:12 am
by Klonan
I have added it for the next release,

It results in a nice potential performance gain:
factorio-run_a7LdbbEbzD.png
factorio-run_a7LdbbEbzD.png (123.7 KiB) Viewed 913 times