Use new optional framed glasslike drawtype
This commit is contained in:
parent
5047540db2
commit
7f44a49d99
@ -70,6 +70,7 @@ Calinou (CC BY-SA):
|
|||||||
default_papyrus.png
|
default_papyrus.png
|
||||||
default_copper_lump.png
|
default_copper_lump.png
|
||||||
default_mineral_copper.png
|
default_mineral_copper.png
|
||||||
|
default_glass_detail.png
|
||||||
|
|
||||||
MirceaKitsune (WTFPL):
|
MirceaKitsune (WTFPL):
|
||||||
character.x
|
character.x
|
||||||
|
@ -446,8 +446,8 @@ minetest.register_node("default:bookshelf", {
|
|||||||
|
|
||||||
minetest.register_node("default:glass", {
|
minetest.register_node("default:glass", {
|
||||||
description = "Glass",
|
description = "Glass",
|
||||||
drawtype = "glasslike",
|
drawtype = "glasslike_framed_optional",
|
||||||
tiles = {"default_glass.png"},
|
tiles = {"default_glass.png", "default_glass_detail.png"},
|
||||||
inventory_image = minetest.inventorycube("default_glass.png"),
|
inventory_image = minetest.inventorycube("default_glass.png"),
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
BIN
mods/default/textures/default_glass_detail.png
Normal file
BIN
mods/default/textures/default_glass_detail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 183 B |
Loading…
Reference in New Issue
Block a user