From 461533a1e79f220c77cbe9291c4bf7e53a2c22c1 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 28 Jun 2014 00:17:13 -0400 Subject: [PATCH] fix facedir on fireplace --- building_blocks/init.lua | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/building_blocks/init.lua b/building_blocks/init.lua index d41c593..eb80964 100644 --- a/building_blocks/init.lua +++ b/building_blocks/init.lua @@ -136,16 +136,23 @@ minetest.register_node("building_blocks:grate", { is_ground_content = true, groups = {cracky=1}, }) + minetest.register_node("building_blocks:Fireplace", { - drawtype = "stonelike", - description = "fireplace", - tiles = {"building_blocks_cast_iron.png","building_blocks_cast_iron.png","building_blocks_cast_iron.png","building_blocks_cast_iron_fireplace.png"}, - paramtype = "facedir_simple", + description = "Fireplace", + tiles = { + "building_blocks_cast_iron.png", + "building_blocks_cast_iron.png", + "building_blocks_cast_iron.png", + "building_blocks_cast_iron_fireplace.png" + }, + paramtype = "light", + paramtype2 = "facedir", light_source = LIGHT_MAX, sunlight_propagates = true, is_ground_content = true, groups = {cracky=2}, }) + minetest.register_node("building_blocks:woodglass", { drawtype = "glasslike", description = "Wood Framed Glass",