This commit is contained in:
Kimapr 2019-12-25 23:16:44 +05:00
parent e96b7328d5
commit d6dfd0b453
1 changed files with 4 additions and 4 deletions

View File

@ -160,10 +160,10 @@ local ignore_c = minetest.get_content_id("ignore")
local function spawn_particle(x,y,z,player)
minetest.add_particlespawner{
amount = 15,
amount = 7,
-- Number of particles spawned over the time period `time`.
time = 60,
time = 15,
minpos = {x=x, y=y, z=z},
maxpos = {x=x, y=y, z=z},
@ -207,9 +207,9 @@ local function spawn_particles(x,y,z,player)
pos[ord3] = ma[ord3]
end
--print(dump(pos))
--if math.random(10)==1 then
if math.random(3)==1 then
spawn_particle(pos.x,pos.y,pos.z,player)
--end
end
end
end
end end)