
Code: Select all
function FullChest(name, position) local chest=game.createentity{name="logistic-chest-provider", position=position} chest.insert{name=name, count=6660} end
Code: Select all
function FullChest(name, position) local chest=game.createentity{name="logistic-chest-provider", position=position} chest.insert{name=name, count=6660} end
Code: Select all
local chest=game.createentity{name="logistic-chest-provider", position=position, force=game.player.force}