Move white glass into loop

This commit is contained in:
ezhh 2017-08-13 09:55:42 +01:00
parent 1e7dd30da4
commit 06e7868224

@ -1,11 +1,11 @@
-- undecorated coloured glass, all using plain glass texture -- undecorated coloured glass, all using plain glass texture
local glass_list = { local glass_list = {
{"black", "Darkened", "292421", }, {"blue", "Blue", "0000FF", }, {"black", "Darkened", "292421",}, {"blue", "Blue", "0000FF",},
{"cyan", "Cyan", "00FFFF", }, {"green", "Green", "00FF00", }, {"cyan", "Cyan", "00FFFF",}, {"green", "Green", "00FF00",},
{"magenta", "Magenta", "FF00FF", }, {"orange", "Orange", "FF6103", }, {"magenta", "Magenta", "FF00FF",}, {"orange", "Orange", "FF6103",},
{"purple", "Purple", "800080", }, {"red", "Red", "FF0000", }, {"purple", "Purple", "800080",}, {"red", "Red", "FF0000",},
{"yellow", "Yellow", "FFFF00", }, {"yellow", "Yellow", "FFFF00",}, {"frosted", "Frosted", "FFFFFF",}
} }
for i in ipairs(glass_list) do for i in ipairs(glass_list) do
@ -26,18 +26,6 @@ for i in ipairs(glass_list) do
}) })
end 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? -- boring glass because why not?
minetest.register_node("abriglass:clear_glass", { minetest.register_node("abriglass:clear_glass", {