mirror of
https://github.com/Ezhh/abriglass.git
synced 2024-10-02 16:03:12 +02:00
Move white glass into loop
This commit is contained in:
parent
1e7dd30da4
commit
06e7868224
14
nodes.lua
14
nodes.lua
@ -5,7 +5,7 @@ local glass_list = {
|
||||
{"cyan", "Cyan", "00FFFF",}, {"green", "Green", "00FF00",},
|
||||
{"magenta", "Magenta", "FF00FF",}, {"orange", "Orange", "FF6103",},
|
||||
{"purple", "Purple", "800080",}, {"red", "Red", "FF0000",},
|
||||
{"yellow", "Yellow", "FFFF00", },
|
||||
{"yellow", "Yellow", "FFFF00",}, {"frosted", "Frosted", "FFFFFF",}
|
||||
}
|
||||
|
||||
for i in ipairs(glass_list) do
|
||||
@ -26,18 +26,6 @@ for i in ipairs(glass_list) do
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_node("abriglass:stained_glass_frosted", {
|
||||
description = "Frosted Glass",
|
||||
tiles = {"abriglass_plainglass.png^[colorize:#FFFFFF:122"}, --base texture
|
||||
groups = {cracky = 3},
|
||||
use_texture_alpha = true,
|
||||
sunlight_propagates = true,
|
||||
light_source = 4,
|
||||
drawtype = "glasslike",
|
||||
paramtype = "light",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
|
||||
-- boring glass because why not?
|
||||
minetest.register_node("abriglass:clear_glass", {
|
||||
|
Loading…
Reference in New Issue
Block a user