v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
14
assets/devel/objects/stackercrate/stackercrate.lua
Normal file
14
assets/devel/objects/stackercrate/stackercrate.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
function init()
|
||||
|
||||
end
|
||||
|
||||
function update(dt)
|
||||
if not storage.cratePlaced then
|
||||
local pos = entity.position()
|
||||
local placepos = {pos[1], pos[2] + 2}
|
||||
local success = world.placeObject("stackercrate", placepos, 1, {})
|
||||
if success then
|
||||
storage.cratePlaced = true
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue