From: BlockMen Date: Thu, 2 Oct 2014 09:51:47 +0000 (+0200) Subject: Use new optional framed glasslike drawtype X-Git-Tag: 0.4.11~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7f44a49d99fe1793b31263527ae8af653300a515;p=oweals%2Fminetest_game.git Use new optional framed glasslike drawtype --- diff --git a/mods/default/README.txt b/mods/default/README.txt index 189c5dae..eee2b0ae 100644 --- a/mods/default/README.txt +++ b/mods/default/README.txt @@ -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 diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 354096e0..34f29171 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -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 index 00000000..b459665a Binary files /dev/null and b/mods/default/textures/default_glass_detail.png differ