Use animation for new_style_water

This commit is contained in:
PilzAdam 2013-02-09 21:14:37 +01:00 committed by PilzAdam
parent 2f91ec0f73
commit e43573b46b

View File

@ -1146,7 +1146,11 @@ minetest.register_node("default:water_source", {
}, },
special_tiles = { special_tiles = {
-- New-style water source material (mostly unused) -- 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, alpha = WATER_ALPHA,
paramtype = "light", paramtype = "light",
@ -1205,7 +1209,11 @@ minetest.register_node("default:lava_source", {
}, },
special_tiles = { special_tiles = {
-- New-style lava source material (mostly unused) -- 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", paramtype = "light",
light_source = LIGHT_MAX - 1, light_source = LIGHT_MAX - 1,