add particles

master
Juraj Vajda 2018-12-07 20:00:52 -05:00
parent 998c266f37
commit 327544ba47
1 changed files with 6 additions and 6 deletions

View File

@ -1231,15 +1231,15 @@ minetest.register_node("basic_machines:mover", {
minetest.add_particlespawner({
amount = math.random(5, 10),
time = 0.5,
minpos = {x=pos2.x-0.6, y=pos2.y+0.6, z=pos2.z-0.6},
maxpos = {x=pos2.x+0.6, y=pos2.y-0.6, z=pos2.z+0.6},
minpos = {x=pos2.x-0.7, y=pos2.y, z=pos2.z-0.7},
maxpos = {x=pos2.x+0.7, y=pos2.y+0.75, z=pos2.z+0.7},
minvel = {x = -0.5, y = -4, z = -0.5},
maxvel = {x = 0.5, y = -8, z = 0.5},
minacc = vector.new(),
maxacc = vector.new(),
maxvel = {x = 0.5, y = -2, z = 0.5},
minacc = {x = -0.5, y = -4, z = -0.5},
maxacc = {x = 0.5, y = -2, z = 0.5},
minexptime = 0.5,
maxexptime = 1,
minsize = 1,
minsize = 0.5,
maxsize = 2,
collisiondetection = true,
texture = texture