From: 4Evergreen4 Date: Sun, 16 Feb 2014 20:23:32 +0000 (-0500) Subject: Add animated front texture for active furnace X-Git-Tag: 0.4.10~45 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a5dcf123e0d9b568569118d1a05e24f56e7b5d69;p=oweals%2Fminetest_game.git Add animated front texture for active furnace --- diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index cc0f1ac8..3611a0e2 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -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", diff --git a/mods/default/textures/default_furnace_front_active.png b/mods/default/textures/default_furnace_front_active.png index 10ffd1fa..1c460be0 100644 Binary files a/mods/default/textures/default_furnace_front_active.png and b/mods/default/textures/default_furnace_front_active.png differ