This commit is contained in:
Milan2018 2021-07-28 19:13:25 +02:00
parent c7d8f11e21
commit 7665596cae
2 changed files with 31 additions and 30 deletions

View file

@ -38,6 +38,7 @@ minetest.register_craft({
{recipeitem,i,recipeitem}, {recipeitem,i,recipeitem},
{recipeitem,i,recipeitem}, {recipeitem,i,recipeitem},
}}) }})
if recipeitem~="default:wood" then groups.not_in_creative_inventory=1 end
groups.glass = 1 groups.glass = 1

View file

@ -123,181 +123,181 @@ angledwalls.register_angled_wall_and_low_angled_wall_and_corner("bakedclayyellow
-- Register glass types -- Register glass types
angledglass.register_glass("_bakedclay_black_glass", "bakedclay:bakedclay_black", angledglass.register_glass("_bakedclay_black_glass", "bakedclay:black",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_black.png"}, {"default_glass.png", "baked_clay_black.png"},
"Baked Clay Black Glass", "Baked Clay Black Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_black_obsidian_glass", "bakedclay:bakedclay_black", angledglass.register_glass("_bakedclay_black_obsidian_glass", "bakedclay:black",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_black.png"}, {"default_obsidian_glass.png", "baked_clay_black.png"},
"Baked Clay Black Obsidian Glass", "Baked Clay Black Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_blue_glass", "bakedclay:bakedclay_blue", angledglass.register_glass("_bakedclay_blue_glass", "bakedclay:blue",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_blue.png"}, {"default_glass.png", "baked_clay_blue.png"},
"Baked Clay Blue Glass", "Baked Clay Blue Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_blue_obsidian_glass", "bakedclay:bakedclay_blue", angledglass.register_glass("_bakedclay_blue_obsidian_glass", "bakedclay:blue",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_blue.png"}, {"default_obsidian_glass.png", "baked_clay_blue.png"},
"Baked Clay Blue Obsidian Glass", "Baked Clay Blue Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_brown_glass", "bakedclay:bakedclay_brown", angledglass.register_glass("_bakedclay_brown_glass", "bakedclay:brown",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_brown.png"}, {"default_glass.png", "baked_clay_brown.png"},
"Baked Clay Brown Glass", "Baked Clay Brown Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_brown_obsidian_glass", "bakedclay:bakedclay_brown", angledglass.register_glass("_bakedclay_brown_obsidian_glass", "bakedclay:brown",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_brown.png"}, {"default_obsidian_glass.png", "baked_clay_brown.png"},
"Baked Clay Brown Obsidian Glass", "Baked Clay Brown Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_cyan_glass", "bakedclay:bakedclay_cyan", angledglass.register_glass("_bakedclay_cyan_glass", "bakedclay:cyan",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_cyan.png"}, {"default_glass.png", "baked_clay_cyan.png"},
"Baked Clay Cyan Glass", "Baked Clay Cyan Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_cyan_obsidian_glass", "bakedclay:bakedclay_cyan", angledglass.register_glass("_bakedclay_cyan_obsidian_glass", "bakedclay:cyan",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_cyan.png"}, {"default_obsidian_glass.png", "baked_clay_cyan.png"},
"Baked Clay Cyan Obsidian Glass", "Baked Clay Cyan Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_dark_green_glass", "bakedclay:bakedclay_dark_green", angledglass.register_glass("_bakedclay_dark_green_glass", "bakedclay:dark_green",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_dark_green.png"}, {"default_glass.png", "baked_clay_dark_green.png"},
"Baked Clay Dark Green Glass", "Baked Clay Dark Green Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_dark_green_obsidian_glass", "bakedclay:bakedclay_dark_green", angledglass.register_glass("_bakedclay_dark_green_obsidian_glass", "bakedclay:dark_green",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_dark_green.png"}, {"default_obsidian_glass.png", "baked_clay_dark_green.png"},
"Baked Clay Dark Green Obsidian Glass", "Baked Clay Dark Green Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_dark_grey_glass", "bakedclay:bakedclay_dark_grey", angledglass.register_glass("_bakedclay_dark_grey_glass", "bakedclay:dark_grey",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_dark_grey.png"}, {"default_glass.png", "baked_clay_dark_grey.png"},
"Baked Clay Dark Grey Glass", "Baked Clay Dark Grey Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_dark_grey_obsidian_glass", "bakedclay:bakedclay_dark_grey", angledglass.register_glass("_bakedclay_dark_grey_obsidian_glass", "bakedclay:dark_grey",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_dark_grey.png"}, {"default_obsidian_glass.png", "baked_clay_dark_grey.png"},
"Baked Clay Dark Grey Obsidian Glass", "Baked Clay Dark Grey Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_green_glass", "bakedclay:bakedclay_green", angledglass.register_glass("_bakedclay_green_glass", "bakedclay:green",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_green.png"}, {"default_glass.png", "baked_clay_green.png"},
"Baked Clay Green Glass", "Baked Clay Green Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_green_obsidian_glass", "bakedclay:bakedclay_green", angledglass.register_glass("_bakedclay_green_obsidian_glass", "bakedclay:green",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_green.png"}, {"default_obsidian_glass.png", "baked_clay_green.png"},
"Baked Clay Green Obsidian Glass", "Baked Clay Green Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_grey_glass", "bakedclay:bakedclay_grey", angledglass.register_glass("_bakedclay_grey_glass", "bakedclay:grey",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_grey.png"}, {"default_glass.png", "baked_clay_grey.png"},
"Baked Clay Grey Glass", "Baked Clay Grey Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_grey_obsidian_glass", "bakedclay:bakedclay_grey", angledglass.register_glass("_bakedclay_grey_obsidian_glass", "bakedclay:grey",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_grey.png"}, {"default_obsidian_glass.png", "baked_clay_grey.png"},
"Baked Clay Grey Obsidian Glass", "Baked Clay Grey Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_magenta_glass", "bakedclay:bakedclay_magenta", angledglass.register_glass("_bakedclay_magenta_glass", "bakedclay:magenta",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_magenta.png"}, {"default_glass.png", "baked_clay_magenta.png"},
"Baked Clay Magenta Glass", "Baked Clay Magenta Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_magenta_obsidian_glass", "bakedclay:bakedclay_magenta", angledglass.register_glass("_bakedclay_magenta_obsidian_glass", "bakedclay:magenta",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_magenta.png"}, {"default_obsidian_glass.png", "baked_clay_magenta.png"},
"Baked Clay Magenta Obsidian Glass", "Baked Clay Magenta Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_orange_glass", "bakedclay:bakedclay_orange", angledglass.register_glass("_bakedclay_orange_glass", "bakedclay:orange",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_orange.png"}, {"default_glass.png", "baked_clay_orange.png"},
"Baked Clay Orange Glass", "Baked Clay Orange Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_orange_obsidian_glass", "bakedclay:bakedclay_orange", angledglass.register_glass("_bakedclay_orange_obsidian_glass", "bakedclay:orange",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_orange.png"}, {"default_obsidian_glass.png", "baked_clay_orange.png"},
"Baked Clay Orange Obsidian Glass", "Baked Clay Orange Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_pink_glass", "bakedclay:bakedclay_pink", angledglass.register_glass("_bakedclay_pink_glass", "bakedclay:pink",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_pink.png"}, {"default_glass.png", "baked_clay_pink.png"},
"Baked Clay Pink Glass", "Baked Clay Pink Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_pink_obsidian_glass", "bakedclay:bakedclay_pink", angledglass.register_glass("_bakedclay_pink_obsidian_glass", "bakedclay:pink",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_pink.png"}, {"default_obsidian_glass.png", "baked_clay_pink.png"},
"Baked Clay Pink Obsidian Glass", "Baked Clay Pink Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_red_glass", "bakedclay:bakedclay_red", angledglass.register_glass("_bakedclay_red_glass", "bakedclay:red",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_red.png"}, {"default_glass.png", "baked_clay_red.png"},
"Baked Clay Red Glass", "Baked Clay Red Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_red_obsidian_glass", "bakedclay:bakedclay_red", angledglass.register_glass("_bakedclay_red_obsidian_glass", "bakedclay:red",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_red.png"}, {"default_obsidian_glass.png", "baked_clay_red.png"},
"Baked Clay Red Obsidian Glass", "Baked Clay Red Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_violet_glass", "bakedclay:bakedclay_violet", angledglass.register_glass("_bakedclay_violet_glass", "bakedclay:violet",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_violet.png"}, {"default_glass.png", "baked_clay_violet.png"},
"Baked Clay Violet Glass", "Baked Clay Violet Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_violet_obsidian_glass", "bakedclay:bakedclay_violet", angledglass.register_glass("_bakedclay_violet_obsidian_glass", "bakedclay:violet",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_violet.png"}, {"default_obsidian_glass.png", "baked_clay_violet.png"},
"Baked Clay Violet Obsidian Glass", "Baked Clay Violet Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_white_glass", "bakedclay:bakedclay_white", angledglass.register_glass("_bakedclay_white_glass", "bakedclay:white",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_white.png"}, {"default_glass.png", "baked_clay_white.png"},
"Baked Clay White Glass", "Baked Clay White Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_white_obsidian_glass", "bakedclay:bakedclay_white", angledglass.register_glass("_bakedclay_white_obsidian_glass", "bakedclay:white",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_white.png"}, {"default_obsidian_glass.png", "baked_clay_white.png"},
"Baked Clay White Obsidian Glass", "Baked Clay White Obsidian Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_yellow_glass", "bakedclay:bakedclay_yellow", angledglass.register_glass("_bakedclay_yellow_glass", "bakedclay:yellow",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_glass.png", "baked_clay_yellow.png"}, {"default_glass.png", "baked_clay_yellow.png"},
"Baked Clay Yellow Glass", "Baked Clay Yellow Glass",
default.node_sound_glass_defaults()) default.node_sound_glass_defaults())
angledglass.register_glass("_bakedclay_yellow_obsidian_glass", "bakedclay:bakedclay_yellow", angledglass.register_glass("_bakedclay_yellow_obsidian_glass", "bakedclay:yellow",
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1},
{"default_obsidian_glass.png", "baked_clay_yellow.png"}, {"default_obsidian_glass.png", "baked_clay_yellow.png"},
"Baked Clay Yellow Obsidian Glass", "Baked Clay Yellow Obsidian Glass",