1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-05-13 21:56:29 +02:00

map ping on token use

This commit is contained in:
MewMew 2020-07-22 14:47:12 +02:00
parent caba716520
commit 4a6559e342

View File

@ -188,6 +188,8 @@ function Public.set_container(expanse, entity)
local count_removed = inventory.remove({name = "small-plane", count = 1})
if count_removed > 0 then
init_container(expanse, entity)
container = expanse.containers[entity.unit_number]
game.print("The hungry chest has renewed it's offer! [gps=" .. math.floor(entity.position.x) .. "," .. math.floor(entity.position.y) .. ",expanse]")
end
end
end