on_robot_deployed or on_robot_built

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 711
Joined: Sun Nov 23, 2014 11:57 am
Contact:

on_robot_deployed or on_robot_built

Post by Earendel »

on_robot_deployed would return:

{entity: LuaEntity, parent_entity: LuaEntity or nil }

entity would be the new robot.

parent_entity would be the roboport, player if deployed by hand, player if deployed from a personal roboport, or a vehicle if deployed by a vehicle's equipment grid.

Post Reply

Return to “Modding interface requests”