Skip to content
Snippets Groups Projects
Commit e43573b4 authored by PilzAdam's avatar PilzAdam Committed by PilzAdam
Browse files

Use animation for new_style_water

parent 2f91ec0f
No related branches found
No related tags found
No related merge requests found
...@@ -1146,7 +1146,11 @@ minetest.register_node("default:water_source", { ...@@ -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", { ...@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment