
minetest.register_node("anarglass:grayone", {
	description = "Gray glass one",
	tiles = {"anarglass_one.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
	 
})

minetest.register_node("anarglass:graytwo", {
	description = "Gray glass two",
	tiles = {"anarglass_otdwe.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:graythree", {
	description = "Gray glass three",
	tiles = {"anarglass_othree.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})


--arabesque
minetest.register_node("anarglass:arabesque128", {
	description = "Anarglass_arabesque128 ",
	tiles = {"anarglass_arabesque128.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
--	preserve_metadata = function(pos, oldnode, oldmeta, drops)
--		if anarglass.glass_list[oldnode.param2 + 1] then
--			drops[1]:get_meta():set_string("description", anarglass.glass_list[oldnode.param2 + 1][1] .. " glass")
--		else
--			drops[1]:get_meta():set_string("description", "Unificated default Glass")
--		end
 --   end,
})

minetest.register_node("anarglass:arabesque200", {
	description = "Anarglass_arabesque200",
	tiles = {"anarglass_arabesque200.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

--broken
minetest.register_node("anarglass:broken", {
	description = "Broken glass ",
	tiles = {"anarglass_broken.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:broken64", {
	description = "Broken glass 64",
	tiles = {"anarglass_broken64.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:broken128", {
	description = "Anarglass_broken128",
	tiles = {"anarglass_broken128.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:broken288", {
	description = "anarglass_broken288",
	tiles = {"anarglass_broken288.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

--gimp effect
minetest.register_node("anarglass:forgotngimp", {
	description = "Forgotten gimp effect",
	tiles = {"anarglass_forgotngimp.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:forgotngimpr", {
	description = "Forgotten r gimp effect",
	tiles = {"anarglass_forgotngimpr.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:forgotngimprh", {
	description = "Forgotten rh gimp effect",
	tiles = {"anarglass_forgotngimprh.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:forgotngimprv", {
	description = "Forgotten rv gimp effect",
	tiles = {"anarglass_forgotngimprv.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:forgotngimpII", {
	description = "Forgotten gimp effect 2",
	tiles = {"anarglass_forgotngimpII.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:forgotngimpIIr", {
	description = "Forgotten r gimp effect 2",
	tiles = {"anarglass_forgotngimpIIr.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:forgotngimpIIrv", {
	description = "Forgotten rv gimp effect 2",
	tiles = {"anarglass_forgotngimpIIrv.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:forgotngimpIIrh", {
	description = "Forgotten rh gimp effect 2",
	tiles = {"anarglass_forgotngimpIIrh.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

--flat castle
minetest.register_node("anarglass:flatcastle", {
	description = "Anarglass flatcastle",
	tiles = {"anarglass_flatcastle.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:flatcastleyl", {
	description = "Anarglass flatcastle YL ",
	tiles = {"anarglass_flatcastleYL.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:flatcastleylii", {
	description = "Anarglass flatcastle YL 2",
	tiles = {"anarglass_flatcastleYLii.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:flatcastleyldark", {
	description = "Anarglass flatcastle YL darker",
	tiles = {"anarglass_flatcastleYLdark.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

--Anarglass cold glassI
minetest.register_node("anarglass:cold_glassi", {
	description = "Cold anar. glass 1",
	tiles = {"anarglass_cold_glassI.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:cold_glassii", {
	description = "Cold anar. glass 2",
	tiles = {"anarglass_cold_glassII.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:cold_glassiii", {
	description = "Cold anar. glass 3",
	tiles = {"anarglass_cold_glassIII.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:cold_glassiv", {
	description = "Cold anar. glass 4",
	tiles = {"anarglass_cold_glassIV.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

--green
minetest.register_node("anarglass:anarglass_greeni", {
	description = "Green anar. glass 1",
	tiles = {"anarglass_greenI.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:anarglass_greenii", {
	description = "Green anar. glass 2",
	tiles = {"anarglass_greenII.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:anarglass_greeniii", {
	description = "Green anar. glass 3",
	tiles = {"anarglass_greenIII.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:anarglass_greeniv", {
	description = "Green anar. glass 4",
	tiles = {"anarglass_greenIV.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:anarglass_greenv", {
	description = "Green anar. glass 5",
	tiles = {"anarglass_greenV.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

--kaleidoscope
minetest.register_node("anarglass:kaleidoscopei", {
	description = "Kaleidoscope anar. glass 2",
	tiles = {"anarglass_kaleidoscopeI.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:kaleidoscopeii", {
	description = "Kaleidoscope anar. glass 2",
	tiles = {"anarglass_kaleidoscopeII.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

--shattered
minetest.register_node("anarglass:shattered32", {
	description = "Shattered anar. glass 32",
	tiles = {"anarglass_shattered32.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})


minetest.register_node("anarglass:shattered64", {
	description = "Shattered anar. glass 64",
	tiles = {"anarglass_shattered64.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:shattered128", {
	description = "Shattered anar. glass 128",
	tiles = {"anarglass_shattered128.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:shattered256", {
	description = "Shattered anar. glass 256",
	tiles = {"anarglass_shattered256.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

--sovkoblock
minetest.register_node("anarglass:sovkoblock", {
	description = "Tired glass block",
	tiles = {"anarglass_sovkoblock.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

--sovokglass
minetest.register_node("anarglass:sovokglassi", {
	description = "Tired glass",
	tiles = {"anarglass_sovokglassI.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})

minetest.register_node("anarglass:sovokglassii", {
	description = "Tired glass 2",
	tiles = {"anarglass_sovokglassII.png"},
	place_param2 = 0,
	is_ground_content = false,
	groups = {cracky = 3},
	use_texture_alpha = "blend",
	sunlight_propagates = true,
	light_source = 4,
	drawtype = "glasslike",
	paramtype = "light",
	paramtype3 = "color",
	paramtype2 = "facedir",
	sounds = default.node_sound_glass_defaults(),
 
})
