mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2024-08-21 13:54:06 +02:00
Update init.lua
This commit is contained in:
parent
2ebd3983e4
commit
bcd67b8038
4
init.lua
4
init.lua
@ -87,7 +87,7 @@ function find_free_position_near(pos)
|
|||||||
return pos, false
|
return pos, false
|
||||||
end
|
end
|
||||||
|
|
||||||
local function parti(pos)
|
function parti(pos)
|
||||||
minetest.add_particlespawner(50, 0.4,
|
minetest.add_particlespawner(50, 0.4,
|
||||||
{x=pos.x + 0.5, y=pos.y, z=pos.z + 0.5}, {x=pos.x - 0.5, y=pos.y, z=pos.z - 0.5},
|
{x=pos.x + 0.5, y=pos.y, z=pos.z + 0.5}, {x=pos.x - 0.5, y=pos.y, z=pos.z - 0.5},
|
||||||
{x=0, y=5, z=0}, {x=0, y=0, z=0},
|
{x=0, y=5, z=0}, {x=0, y=0, z=0},
|
||||||
@ -98,7 +98,7 @@ local function parti(pos)
|
|||||||
"tps_portal_parti.png")
|
"tps_portal_parti.png")
|
||||||
end
|
end
|
||||||
|
|
||||||
local function parti2(pos)
|
function parti2(pos)
|
||||||
minetest.add_particlespawner(50, 0.4,
|
minetest.add_particlespawner(50, 0.4,
|
||||||
{x=pos.x + 0.5, y=pos.y + 10, z=pos.z + 0.5}, {x=pos.x - 0.5, y=pos.y, z=pos.z - 0.5},
|
{x=pos.x + 0.5, y=pos.y + 10, z=pos.z + 0.5}, {x=pos.x - 0.5, y=pos.y, z=pos.z - 0.5},
|
||||||
{x=0, y=-5, z=0}, {x=0, y=0, z=0},
|
{x=0, y=-5, z=0}, {x=0, y=0, z=0},
|
||||||
|
Loading…
Reference in New Issue
Block a user