on_robot_deployed or on_robot_built
Posted: Fri Feb 03, 2017 6:46 pm
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.
{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.