Change obsidian glass drawtype to glasslike_framed_optional
authorMT-Modder <thomas.waits148@gmail.com>
Sun, 1 Mar 2015 03:15:16 +0000 (22:15 -0500)
committerparamat <mat.gregory@virginmedia.com>
Mon, 14 Sep 2015 22:08:37 +0000 (23:08 +0100)
mods/default/nodes.lua
mods/default/textures/default_obsidian_glass_detail.png [new file with mode: 0644]

index 4a2ca4f94fcbf75446f88b532ddfca9f9e9b7622..7932586bfa6470ca02c1178c32f6e7a312635bc9 100644 (file)
@@ -1648,8 +1648,9 @@ minetest.register_node("default:glass", {
 
 minetest.register_node("default:obsidian_glass", {
        description = "Obsidian Glass",
-       drawtype = "glasslike",
-       tiles = {"default_obsidian_glass.png"},
+       drawtype = "glasslike_framed_optional",
+       tiles = {"default_obsidian_glass.png", "default_obsidian_glass_detail.png"},
+       inventory_image = minetest.inventorycube("default_obsidian_glass.png"),
        paramtype = "light",
        is_ground_content = false,
        sunlight_propagates = true,
diff --git a/mods/default/textures/default_obsidian_glass_detail.png b/mods/default/textures/default_obsidian_glass_detail.png
new file mode 100644 (file)
index 0000000..a8bbec9
Binary files /dev/null and b/mods/default/textures/default_obsidian_glass_detail.png differ