From a333c5a1777964e5be8e91eb7c21d585b724517f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 16 Jan 2017 15:09:14 +0100 Subject: [PATCH] Make TNT blink totally white --- mods/tnt/init.lua | 4 ++-- mods/tnt/textures/tnt_blink.png | Bin 0 -> 151 bytes 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 mods/tnt/textures/tnt_blink.png diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index 8a519606e..8e2ebaf5a 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -72,7 +72,7 @@ local TNT = { function TNT:on_activate(staticdata) self.object:setvelocity({x=0, y=4, z=0}) self.object:setacceleration({x=0, y=-10, z=0}) - self.object:settexturemod("^[brighten") + self.object:settexturemod("^tnt_blink.png") end function TNT:on_step(dtime) @@ -85,7 +85,7 @@ function TNT:on_step(dtime) if self.blinkstatus then self.object:settexturemod("") else - self.object:settexturemod("^[brighten") + self.object:settexturemod("^tnt_blink.png") end self.blinkstatus = not self.blinkstatus end diff --git a/mods/tnt/textures/tnt_blink.png b/mods/tnt/textures/tnt_blink.png new file mode 100644 index 0000000000000000000000000000000000000000..b6739757d9489fdd7bd57217addf0002d5c37877 GIT binary patch literal 151 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4rT@h1`S>QUYh7ML)4+aJX&H|6fVg?3oVGw3ym^DX&fq{X&#M9T6{UM_O uA3LYRHu-~Kn_L`2BrYc>NU)w@U|