diff --git a/mods/default/README.txt b/mods/default/README.txt index 22dc14da..23e6aad6 100644 --- a/mods/default/README.txt +++ b/mods/default/README.txt @@ -61,4 +61,10 @@ Originating from G4JC's Almost MC Texture Pack: default_torch.png default_torch_on_ceiling.png default_torch_on_floor.png - + +VanessaE's animated torches (WTFPL): + default_torch_animated.png + default_torch_on_ceiling_animated.png + default_torch_on_floor_animated.png + default_torch_on_floor.png + diff --git a/mods/default/init.lua b/mods/default/init.lua index c2927e72..2dbb8f51 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -1098,7 +1098,12 @@ minetest.register_node("default:lava_source", { minetest.register_node("default:torch", { description = "Torch", drawtype = "torchlike", - tiles = {"default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"}, + --tiles = {"default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"}, + tiles = { + {name="default_torch_on_floor_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}, + {name="default_torch_on_ceiling_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}, + {name="default_torch_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}} + }, inventory_image = "default_torch_on_floor.png", wield_image = "default_torch_on_floor.png", paramtype = "light", diff --git a/mods/default/textures/default_torch_animated.png b/mods/default/textures/default_torch_animated.png new file mode 100644 index 00000000..ca1668c7 Binary files /dev/null and b/mods/default/textures/default_torch_animated.png differ diff --git a/mods/default/textures/default_torch_on_ceiling_animated.png b/mods/default/textures/default_torch_on_ceiling_animated.png new file mode 100644 index 00000000..b101561f Binary files /dev/null and b/mods/default/textures/default_torch_on_ceiling_animated.png differ diff --git a/mods/default/textures/default_torch_on_floor.png b/mods/default/textures/default_torch_on_floor.png index 0b2195fd..925a59af 100644 Binary files a/mods/default/textures/default_torch_on_floor.png and b/mods/default/textures/default_torch_on_floor.png differ diff --git a/mods/default/textures/default_torch_on_floor_animated.png b/mods/default/textures/default_torch_on_floor_animated.png new file mode 100644 index 00000000..0b55818b Binary files /dev/null and b/mods/default/textures/default_torch_on_floor_animated.png differ