The best I got was entity methods and fields.
Here is the code I used.
Code: Select all
script.on_event({defines.events.on_built_entity, defines.events.on_robot_built_entity},
function(event)
if event.created_entity.name == "logistic-chest-requester" then
print(event.created_entity.type)
print(event.created_entity.help())
end
end)