Code: Select all
script.on_event(defines.events.on_player_placed_equipment, function(event)
local player = game.players[event.player_index]
player.print(event.equipment.name)
end)
Code: Select all
script.on_event(defines.events.on_player_placed_equipment, function(event)
local player = game.players[event.player_index]
player.print(event.equipment.name)
end)