Here is the code:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_node("skyscraper_material:tinted_glass", {
description = "Black Tinted Glass",
inventory = {"black tinted glass"},
paramtype = "light",
drawtype = {"glasslike"},
use_texture_alpha = true,
groups = {cracky=3, crumbly=1},
tile_images = {"black_tinted_glass.png"},
sunlight_propagates = true,
inventory_image = minetest.inventorycube("black_tinted_glass.png"),
})
Please note that I am not a good person at coding. I have only made 1 successful mod so far. Please do not judge.