/spawnpyramid places pyramid at more useful pos
This commit is contained in:
parent
b00f540567
commit
d834170a7b
1
init.lua
1
init.lua
|
@ -289,6 +289,7 @@ minetest.register_chatcommand("spawnpyramid", {
|
||||||
room_id = r
|
room_id = r
|
||||||
end
|
end
|
||||||
local ok, msg
|
local ok, msg
|
||||||
|
pos = vector.add(pos, {x=-11, y=-1, z=0})
|
||||||
if s == 1 then
|
if s == 1 then
|
||||||
ok, msg = make(pos, "default:sandstonebrick", "default:sandstone", "default:sandstone", "default:sand", "sandstone", room_id)
|
ok, msg = make(pos, "default:sandstonebrick", "default:sandstone", "default:sandstone", "default:sand", "sandstone", room_id)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user