mirror of
http://repo.or.cz/minetest_pyramids/tsm_pyramids.git
synced 2025-01-03 13:00:23 +01:00
/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