Page 1 of 1

on_robot_inserted event

Posted: Sun Sep 01, 2019 1:53 pm
by Mylon
Requesting an event for on_robot_inserted, called specifically when an item_request_proxy is fulfilled by a robot.

Re: on_robot_inserted event

Posted: Mon Sep 02, 2019 12:05 am
by DaveMcW

Re: on_robot_inserted event

Posted: Mon Sep 02, 2019 1:18 pm
by Rseding91
Why?

Re: on_robot_inserted event

Posted: Mon Sep 02, 2019 7:01 pm
by Mylon
It's for Bot Servicing. In the current version of the mod, construction bots can break in the events on_robot_pre_mined, on_robot_built_tile, and on_robot_built_entity. These events also cover upgrade requests. But robots can get away with inserting modules without getting checked by the mod.

It's not a huge deal as this covers most use cases, though as DaveMcW pointed out, other people have asked for this.