2020-10-27 10:13:15 -07:00
|
|
|
-- debug se devo mostrare una posizione
|
2020-11-03 07:24:04 -08:00
|
|
|
function block_league.show_position(pos, time)
|
2020-10-27 10:13:15 -07:00
|
|
|
minetest.add_particlespawner({
|
|
|
|
amount = 80,
|
|
|
|
time = .1,
|
|
|
|
minpos = {x=pos.x,y=pos.y,z=pos.z},
|
|
|
|
maxpos = {x=pos.x,y=pos.y,z=pos.z},
|
|
|
|
minvel = {x=0, y=0, z=0},
|
|
|
|
maxvel = {x=0, y=0, z=0},
|
|
|
|
minacc = {x=0, y=-0, z=0},
|
|
|
|
maxacc = {x=0, y=-0, z=0},
|
2020-11-03 07:24:04 -08:00
|
|
|
minexptime = time,
|
|
|
|
maxexptime = time,
|
2020-10-27 10:13:15 -07:00
|
|
|
minsize = 2,
|
|
|
|
maxsize = 2,
|
|
|
|
collisiondetection = false,
|
|
|
|
vertical = false,
|
2020-10-29 13:01:53 -07:00
|
|
|
texture = "bl_rocket_particle.png",
|
2020-10-27 10:13:15 -07:00
|
|
|
})
|
|
|
|
|
|
|
|
end
|