From 39bd36cc1794c1401c0ba0cb4aad49e409b10e88 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Mon, 20 Feb 2017 10:49:08 -0800 Subject: [PATCH] Use particle glow to brighten up the lightning. --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 915ab70..27ab412 100644 --- a/init.lua +++ b/init.lua @@ -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 })