block_league/bl_debug/debug.lua

22 lines
538 B
Lua
Raw Normal View History

2020-10-27 10:13:15 -07:00
-- debug se devo mostrare una posizione
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},
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