aboutsummaryrefslogtreecommitdiff
path: root/games/minimal
diff options
context:
space:
mode:
Diffstat (limited to 'games/minimal')
-rw-r--r--games/minimal/mods/default/init.lua17
-rw-r--r--games/minimal/mods/default/textures/default_lava_flowing_animated.pngbin0 -> 8715 bytes
-rw-r--r--games/minimal/mods/default/textures/default_lava_source_animated.pngbin0 -> 3481 bytes
3 files changed, 14 insertions, 3 deletions
diff --git a/games/minimal/mods/default/init.lua b/games/minimal/mods/default/init.lua
index 1ffe24837..03a54794c 100644
--- a/games/minimal/mods/default/init.lua
+++ b/games/minimal/mods/default/init.lua
@@ -1040,8 +1040,16 @@ minetest.register_node("default:lava_flowing", {
damage_per_second = 4*2,
post_effect_color = {a=192, r=255, g=64, b=0},
special_materials = {
- {image="default_lava.png", backface_culling=false},
- {image="default_lava.png", backface_culling=true},
+ {
+ image="default_lava_flowing_animated.png",
+ backface_culling=false,
+ animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.3}
+ },
+ {
+ image="default_lava_flowing_animated.png",
+ backface_culling=true,
+ animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.3}
+ },
},
groups = {lava=3, liquid=2, hot=3},
})
@@ -1050,7 +1058,10 @@ minetest.register_node("default:lava_source", {
description = "Lava",
inventory_image = minetest.inventorycube("default_lava.png"),
drawtype = "liquid",
- tile_images = {"default_lava.png"},
+ --tile_images = {"default_lava.png"},
+ tile_images = {
+ {name="default_lava_source_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}
+ },
paramtype = "light",
light_source = LIGHT_MAX - 1,
walkable = false,
diff --git a/games/minimal/mods/default/textures/default_lava_flowing_animated.png b/games/minimal/mods/default/textures/default_lava_flowing_animated.png
new file mode 100644
index 000000000..cef8e3611
--- /dev/null
+++ b/games/minimal/mods/default/textures/default_lava_flowing_animated.png
Binary files differ
diff --git a/games/minimal/mods/default/textures/default_lava_source_animated.png b/games/minimal/mods/default/textures/default_lava_source_animated.png
new file mode 100644
index 000000000..9339a684e
--- /dev/null
+++ b/games/minimal/mods/default/textures/default_lava_source_animated.png
Binary files differ