Firework texture.
This commit is contained in:
parent
ededbd5a78
commit
2248d65591
2 changed files with 2 additions and 2 deletions
4
abms.lua
4
abms.lua
|
@ -75,7 +75,7 @@ local function firework()
|
|||
sky.bgcolor, sky.type, sky.textures = players[i]:get_sky()
|
||||
ps[#ps+1] = { p = players[i], sky = sky }
|
||||
--players[i]:set_sky(0xffffff, "plain", {})
|
||||
players[i]:set_sky('#000000', 'skybox', {'fun_caves_firework_'..math.random(2)..'.png', 'fun_caves_blank.png', 'fun_caves_blank.png', 'fun_caves_blank.png', 'fun_caves_blank.png', 'fun_caves_blank.png'})
|
||||
players[i]:set_sky('#000000', 'skybox', {'fun_caves_firework_'..math.random(3)..'.png', 'fun_caves_blank.png', 'fun_caves_blank.png', 'fun_caves_blank.png', 'fun_caves_blank.png', 'fun_caves_blank.png'})
|
||||
end
|
||||
end
|
||||
minetest.sound_play("fireworks", {gain = 1, pos = pp, max_hear_distance = 2})
|
||||
|
@ -102,7 +102,7 @@ minetest.register_globalstep(function(dtime)
|
|||
out:close()
|
||||
end
|
||||
|
||||
if fun_caves.date and fun_caves.date[2] == 7 and fun_caves.date[3] == 3 and math.random(30) == 1 then
|
||||
if fun_caves.date and fun_caves.date[2] == 7 and fun_caves.date[3] == 4 and math.random(30) == 1 then
|
||||
firework()
|
||||
end
|
||||
|
||||
|
|
BIN
textures/fun_caves_firework_3.png
Normal file
BIN
textures/fun_caves_firework_3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 397 KiB |
Loading…
Add table
Add a link
Reference in a new issue