Use new optional framed glasslike drawtype
authorBlockMen <nmuelll@web.de>
Thu, 2 Oct 2014 09:51:47 +0000 (11:51 +0200)
committerBlockMen <nmuelll@web.de>
Thu, 2 Oct 2014 09:51:47 +0000 (11:51 +0200)
mods/default/README.txt
mods/default/nodes.lua
mods/default/textures/default_glass_detail.png [new file with mode: 0644]

index 189c5daec6416bf1cb2f324ce269a2c33e22819b..eee2b0ae41d728fe9319341d4558031ed8973ab8 100644 (file)
@@ -70,6 +70,7 @@ Calinou (CC BY-SA):
   default_papyrus.png
   default_copper_lump.png
   default_mineral_copper.png
+  default_glass_detail.png
 
 MirceaKitsune (WTFPL):
   character.x
index 354096e04701c64db1ecf1545207f147a36512f9..34f2917168f2a2577e8113a719ed454cfe4aef3a 100644 (file)
@@ -446,8 +446,8 @@ minetest.register_node("default:bookshelf", {
 
 minetest.register_node("default:glass", {
        description = "Glass",
-       drawtype = "glasslike",
-       tiles = {"default_glass.png"},
+       drawtype = "glasslike_framed_optional",
+       tiles = {"default_glass.png", "default_glass_detail.png"},
        inventory_image = minetest.inventorycube("default_glass.png"),
        paramtype = "light",
        sunlight_propagates = true,
diff --git a/mods/default/textures/default_glass_detail.png b/mods/default/textures/default_glass_detail.png
new file mode 100644 (file)
index 0000000..b459665
Binary files /dev/null and b/mods/default/textures/default_glass_detail.png differ