Skip to content

Commit

Permalink
Use new optional framed glasslike drawtype
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockMen committed Oct 2, 2014
1 parent 5047540 commit 7f44a49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions mods/default/README.txt
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions mods/default/nodes.lua
Expand Up @@ -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,
Expand Down
Binary file added mods/default/textures/default_glass_detail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7f44a49

Please sign in to comment.