forked from Kimapr/nodecore-skyblock
,kjk
This commit is contained in:
parent
e96b7328d5
commit
d6dfd0b453
|
@ -160,10 +160,10 @@ local ignore_c = minetest.get_content_id("ignore")
|
||||||
|
|
||||||
local function spawn_particle(x,y,z,player)
|
local function spawn_particle(x,y,z,player)
|
||||||
minetest.add_particlespawner{
|
minetest.add_particlespawner{
|
||||||
amount = 15,
|
amount = 7,
|
||||||
-- Number of particles spawned over the time period `time`.
|
-- Number of particles spawned over the time period `time`.
|
||||||
|
|
||||||
time = 60,
|
time = 15,
|
||||||
|
|
||||||
minpos = {x=x, y=y, z=z},
|
minpos = {x=x, y=y, z=z},
|
||||||
maxpos = {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]
|
pos[ord3] = ma[ord3]
|
||||||
end
|
end
|
||||||
--print(dump(pos))
|
--print(dump(pos))
|
||||||
--if math.random(10)==1 then
|
if math.random(3)==1 then
|
||||||
spawn_particle(pos.x,pos.y,pos.z,player)
|
spawn_particle(pos.x,pos.y,pos.z,player)
|
||||||
--end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end end)
|
end end)
|
||||||
|
|
Loading…
Reference in New Issue