Page 1 of 1

surface_index in on_robot_built_tile

Posted: Thu Apr 04, 2019 2:44 pm
by Melfish
Dear Devs,

The current on_robot_built_tile does not contain the surface index, which the similar player event does have.
While the index may be available through the robot as it is on the correct surface, this might cost some computation and add complexity for scripting.

Would it be hard to expose the surface_index in the on_robot_built_tile event?

Re: surface_index in on_robot_built_tile

Posted: Thu Apr 04, 2019 2:45 pm
by Bilka
Okay, added in the next version.

Re: surface_index in on_robot_built_tile

Posted: Tue Apr 09, 2019 1:16 pm
by Melfish
Is it possible for on_robot_mined_tile to get the same treatment?
The surface index seems to be missing there as well...

Re: surface_index in on_robot_built_tile

Posted: Tue Apr 09, 2019 3:11 pm
by Bilka
Okay, added in the next version.