mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
baisc glass support
This commit is contained in:
parent
a9ae6aa9c8
commit
6bef350be4
2 changed files with 3 additions and 2 deletions
|
@ -5,10 +5,11 @@ local mod_doc = minetest.get_modpath("doc")
|
|||
minetest.register_node("mcl_core:glass", {
|
||||
description = S("Glass"),
|
||||
_doc_items_longdesc = S("A decorative and mostly transparent block."),
|
||||
drawtype = "glasslike",
|
||||
drawtype = "glasslike_framed_optional",
|
||||
is_ground_content = false,
|
||||
tiles = {"default_glass.png"},
|
||||
tiles = {"default_glass.png", "default_glass_detail.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "glasslikeliquidlevel",
|
||||
sunlight_propagates = true,
|
||||
stack_max = 64,
|
||||
groups = {handy=1, glass=1, building_block=1, material_glass=1},
|
||||
|
|
BIN
mods/ITEMS/mcl_core/textures/default_glass_detail.png
Normal file
BIN
mods/ITEMS/mcl_core/textures/default_glass_detail.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
Loading…
Reference in a new issue