baisc glass support

This commit is contained in:
AFCMS 2021-06-19 00:58:05 +02:00
parent a9ae6aa9c8
commit 6bef350be4
2 changed files with 3 additions and 2 deletions

View file

@ -5,10 +5,11 @@ local mod_doc = minetest.get_modpath("doc")
minetest.register_node("mcl_core:glass", { minetest.register_node("mcl_core:glass", {
description = S("Glass"), description = S("Glass"),
_doc_items_longdesc = S("A decorative and mostly transparent block."), _doc_items_longdesc = S("A decorative and mostly transparent block."),
drawtype = "glasslike", drawtype = "glasslike_framed_optional",
is_ground_content = false, is_ground_content = false,
tiles = {"default_glass.png"}, tiles = {"default_glass.png", "default_glass_detail.png"},
paramtype = "light", paramtype = "light",
paramtype2 = "glasslikeliquidlevel",
sunlight_propagates = true, sunlight_propagates = true,
stack_max = 64, stack_max = 64,
groups = {handy=1, glass=1, building_block=1, material_glass=1}, groups = {handy=1, glass=1, building_block=1, material_glass=1},

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB