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!ia0vp^0wB!63?wyl`GbKJV{wqX6T`Z5GB1G~<^Z1%*Z=?j zFFzuE0wkB@?e4vL>4nJa0`PlBg3pY5H=O_J@oDeC(VK+vE=d mg?K$(977~7Cnrd-0?l9)U|@VR{c#mgg2B_(&t;ucLK6V<$RR%f literal 0 HcmV?d00001