Use particle glow to brighten up the lightning.

This commit is contained in:
Auke Kok 2017-02-20 10:49:08 -08:00
parent d426c601b4
commit 39bd36cc17

View File

@ -119,6 +119,8 @@ lightning.strike = function(pos)
-- to make the texture lightning bolt hit exactly in the middle of the
-- texture (e.g. 127/128 on a 256x wide texture)
texture = "lightning_lightning_" .. rng:next(1,3) .. ".png",
-- 0.4.15+
glow = 14,
})
minetest.sound_play({ pos = pos, name = "lightning_thunder", gain = 10, max_hear_distance = 500 })