Add animated front texture for active furnace
author4Evergreen4 <eljohnson@frontier.com>
Sun, 16 Feb 2014 20:23:32 +0000 (15:23 -0500)
committerShadowNinja <shadowninja@minetest.net>
Mon, 17 Feb 2014 23:21:08 +0000 (18:21 -0500)
mods/default/nodes.lua
mods/default/textures/default_furnace_front_active.png

index cc0f1ac861b70cad5e7952810b12fc3a81970d55..3611a0e2d3ddbc7da48b6fa812aecb44c389447e 100644 (file)
@@ -895,8 +895,23 @@ minetest.register_node("default:furnace", {
 
 minetest.register_node("default:furnace_active", {
        description = "Furnace",
-       tiles = {"default_furnace_top.png", "default_furnace_bottom.png", "default_furnace_side.png",
-               "default_furnace_side.png", "default_furnace_side.png", "default_furnace_front_active.png"},
+       tiles = {
+               "default_furnace_top.png",
+               "default_furnace_bottom.png",
+               "default_furnace_side.png",
+               "default_furnace_side.png",
+               "default_furnace_side.png",
+               {
+                       image = "default_furnace_front_active.png",
+                       backface_culling = false,
+                       animation = {
+                               type = "vertical_frames",
+                               aspect_w = 16,
+                               aspect_h = 16,
+                               length = 1.5
+                       },
+               }
+       },
        paramtype2 = "facedir",
        light_source = 8,
        drop = "default:furnace",
index 10ffd1fa2973e0570fff53369687e45d17246d55..1c460be041b5801b556e3a0815b713df8ef1da31 100644 (file)
Binary files a/mods/default/textures/default_furnace_front_active.png and b/mods/default/textures/default_furnace_front_active.png differ