From 92d20a7e617a9847eb4c629fb987d2131d9a5e52 Mon Sep 17 00:00:00 2001 From: Gael-de-Sailly Date: Sun, 22 Feb 2015 12:35:34 +0100 Subject: [PATCH] Turn glass into glasslike_framed_optional drawtype --- minetestforfun_game/mods/default/nodes.lua | 4 ++-- mods/framedglass/init.lua | 10 +++++----- mods/homedecor_modpack/homedecor/lighting.lua | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/minetestforfun_game/mods/default/nodes.lua b/minetestforfun_game/mods/default/nodes.lua index 03a03692..c5ce5719 100644 --- a/minetestforfun_game/mods/default/nodes.lua +++ b/minetestforfun_game/mods/default/nodes.lua @@ -622,7 +622,7 @@ minetest.register_node("default:bookshelf", { minetest.register_node("default:glass", { description = "Glass", - drawtype = "glasslike_framed", + drawtype = "glasslike_framed_optional", tiles = {"default_glass_frame.png", "default_glass_detail.png"}, paramtype = "light", sunlight_propagates = true, @@ -1425,7 +1425,7 @@ minetest.register_node("default:diamondblock", { minetest.register_node("default:obsidian_glass", { description = "Obsidian Glass", - drawtype = "glasslike_framed", + drawtype = "glasslike_framed_optional", tiles = {"default_obsidian_glass_frame.png", "default_obsidian_glass_detail.png"}, paramtype = "light", is_ground_content = false, diff --git a/mods/framedglass/init.lua b/mods/framedglass/init.lua index bf504950..101e7b9f 100755 --- a/mods/framedglass/init.lua +++ b/mods/framedglass/init.lua @@ -38,7 +38,7 @@ minetest.register_craft({ minetest.register_node("framedglass:wooden_framed_glass", { description = "Wooden-framed Glass", - drawtype = "glasslike_framed", + drawtype = "glasslike_framed_optional", tiles = {"framedglass_wooden_frame.png","framedglass_glass_face_streaks.png"}, paramtype = "light", sunlight_propagates = true, @@ -48,7 +48,7 @@ minetest.register_node("framedglass:wooden_framed_glass", { minetest.register_node("framedglass:steel_framed_glass", { description = "Steel-framed Glass", - drawtype = "glasslike_framed", + drawtype = "glasslike_framed_optional", tiles = {"framedglass_steel_frame.png","framedglass_glass_face_streaks.png"}, paramtype = "light", sunlight_propagates = true, @@ -58,7 +58,7 @@ minetest.register_node("framedglass:steel_framed_glass", { minetest.register_node("framedglass:wooden_framed_obsidian_glass", { description = "Wooden-framed Obsidian Glass", - drawtype = "glasslike_framed", + drawtype = "glasslike_framed_optional", tiles = {"framedglass_wooden_frame.png","framedglass_glass_face_clean.png"}, paramtype = "light", sunlight_propagates = true, @@ -68,7 +68,7 @@ minetest.register_node("framedglass:wooden_framed_obsidian_glass", { minetest.register_node("framedglass:steel_framed_obsidian_glass", { description = "Steel-framed Obsidian Glass", - drawtype = "glasslike_framed", + drawtype = "glasslike_framed_optional", tiles = {"framedglass_steel_frame.png","framedglass_glass_face_clean.png"}, paramtype = "light", sunlight_propagates = true, @@ -80,7 +80,7 @@ function add_coloured_framedglass(name, desc, dye, texture) minetest.register_node( "framedglass:steel_framed_obsidian_glass"..name, { description = "Steel-framed "..desc.." Obsidian Glass", tiles = {"framedglass_steel_frame.png",texture}, - drawtype = "glasslike_framed", + drawtype = "glasslike_framed_optional", paramtype = "light", sunlight_propagates = true, is_ground_content = true, diff --git a/mods/homedecor_modpack/homedecor/lighting.lua b/mods/homedecor_modpack/homedecor/lighting.lua index 682ed4f2..4dbb59a7 100644 --- a/mods/homedecor_modpack/homedecor/lighting.lua +++ b/mods/homedecor_modpack/homedecor/lighting.lua @@ -186,7 +186,7 @@ homedecor.register("glowlight_small_cube_white", { homedecor.register("plasma_lamp", { description = "Plasma Lamp", - drawtype = "glasslike_framed", + drawtype = "glasslike_framed_optional", tiles = {"homedecor_gold_block.png","homedecor_glass_face_clean.png"}, special_tiles = { {