From e43573b46b797a78357de0f32cda9b3dbd129b32 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Sat, 9 Feb 2013 21:14:37 +0100 Subject: [PATCH] Use animation for new_style_water --- mods/default/init.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/mods/default/init.lua b/mods/default/init.lua index 53bd66b..b032941 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -1146,7 +1146,11 @@ minetest.register_node("default:water_source", { }, special_tiles = { -- New-style water source material (mostly unused) - {name="default_water.png", backface_culling=false}, + { + name="default_water_source_animated.png", + animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}, + backface_culling = false, + } }, alpha = WATER_ALPHA, paramtype = "light", @@ -1205,7 +1209,11 @@ minetest.register_node("default:lava_source", { }, special_tiles = { -- New-style lava source material (mostly unused) - {name="default_lava.png", backface_culling=false}, + { + name="default_lava_source_animated.png", + animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}, + backface_culling = false, + } }, paramtype = "light", light_source = LIGHT_MAX - 1,