baisc glass support
This commit is contained in:
parent
a9ae6aa9c8
commit
6bef350be4
|
@ -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 |
Loading…
Reference in New Issue