diff --git a/abms.lua b/abms.lua index fc259c4..5463776 100644 --- a/abms.lua +++ b/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 diff --git a/textures/fun_caves_firework_3.png b/textures/fun_caves_firework_3.png new file mode 100644 index 0000000..d847607 Binary files /dev/null and b/textures/fun_caves_firework_3.png differ