From 72eeeb7e7fd3a75a9856ab3824df502a5b344201 Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Mon, 12 Nov 2018 00:55:44 +0300 Subject: original commit --- LICENSE | 17 + depends.txt | 5 + init.lua | 1079 ++++++++++++++++++++++++++++++++++++++ textures/glass_number_eight.png | Bin 0 -> 336 bytes textures/glass_number_eleven.png | Bin 0 -> 292 bytes textures/glass_number_five.png | Bin 0 -> 306 bytes textures/glass_number_four.png | Bin 0 -> 267 bytes textures/glass_number_nine.png | Bin 0 -> 242 bytes textures/glass_number_one.png | Bin 0 -> 253 bytes textures/glass_number_seven.png | Bin 0 -> 339 bytes textures/glass_number_six.png | Bin 0 -> 283 bytes textures/glass_number_ten.png | Bin 0 -> 237 bytes textures/glass_number_three.png | Bin 0 -> 271 bytes textures/glass_number_twelve.png | Bin 0 -> 289 bytes textures/glass_number_two.png | Bin 0 -> 275 bytes textures/xpanes_bar_fancy.png | Bin 0 -> 316 bytes 16 files changed, 1101 insertions(+) create mode 100644 LICENSE create mode 100644 depends.txt create mode 100644 init.lua create mode 100644 textures/glass_number_eight.png create mode 100644 textures/glass_number_eleven.png create mode 100644 textures/glass_number_five.png create mode 100644 textures/glass_number_four.png create mode 100644 textures/glass_number_nine.png create mode 100644 textures/glass_number_one.png create mode 100644 textures/glass_number_seven.png create mode 100644 textures/glass_number_six.png create mode 100644 textures/glass_number_ten.png create mode 100644 textures/glass_number_three.png create mode 100644 textures/glass_number_twelve.png create mode 100644 textures/glass_number_two.png create mode 100644 textures/xpanes_bar_fancy.png diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..eb930e9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,17 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. + +---------- + +This license is commonly known as "WTFPL". diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..0ed2c46 --- /dev/null +++ b/depends.txt @@ -0,0 +1,5 @@ +default +xpanes +dye +pkarcs? +moreblocks? \ No newline at end of file diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..662924e --- /dev/null +++ b/init.lua @@ -0,0 +1,1079 @@ +minetest.register_node("glass_stained:glass_normal", { + description = "Normal Glass", + drawtype = "nodebox", + tiles = {"default_glass.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:obsidian_glass_normal", { + description = "Normal Obsidian Glass", + drawtype = "nodebox", + tiles = {"default_obsidian_glass.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:steel_bars_normal", { + description = "Normal Steel Bars", + drawtype = "nodebox", + tiles = {"xpanes_bar.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:steel_bars_fancy", { + description = "Fancy Steel Bars", + drawtype = "nodebox", + tiles = {"xpanes_bar_fancy.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +xpanes.register_pane("bar_top", { + description = "Iron bar fancy top", + textures = {"xpanes_bar_fancy.png","xpanes_bar_fancy.png","default_glass_detail.png"}, + inventory_image = "xpanes_bar_fancy.png", + wield_image = "xpanes_bar_fancy.png", + groups = {cracky=2}, + sounds = default.node_sound_metal_defaults(), + recipe = { + {"", "default:steel_ingot", ""}, + {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"}, + {"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"} + } +}) + +minetest.register_node("glass_stained:glass_number_one", { + description = "Stained Glass Type 1", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_one.png", + "glass_number_one.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_two", { + description = "Stained Glass Type 2", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_two.png", + "glass_number_two.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_three", { + description = "Stained Glass Type 3", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_three.png", + "glass_number_three.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_four", { + description = "Stained Glass Type 4", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_four.png", + "glass_number_four.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_five", { + description = "Stained Glass Type 5", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_five.png", + "glass_number_five.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_six", { + description = "Stained Glass Type 6", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_six.png", + "glass_number_six.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_seven", { + description = "Stained Glass Type 7", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_seven.png", + "glass_number_seven.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_eight", { + description = "Stained Glass Type 8", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_eight.png", + "glass_number_eight.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_nine", { + description = "Stained Glass Type 9", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_nine.png", + "glass_number_nine.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_ten", { + description = "Stained Glass Type 10", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_ten.png", + "glass_number_ten.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_eleven", { + description = "Stained Glass Type 11", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_eleven.png", + "glass_number_eleven.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_twelve", { + description = "Stained Glass Type 12", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_twelve.png", + "glass_number_twelve.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 0.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_normal_top", { + description = "Normal Glass Top", + drawtype = "nodebox", + tiles = {"default_glass.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:obsidian_glass_normal_top", { + description = "Normal Obsidian Glass Top", + drawtype = "nodebox", + tiles = {"default_obsidian_glass.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:steel_bars_normal_top", { + description = "Normal Steel Bars Top", + drawtype = "nodebox", + tiles = {"xpanes_bar.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_one_top", { + description = "Stained Glass Type 1 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_one.png", + "glass_number_one.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_two_top", { + description = "Stained Glass Type 2 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_two.png", + "glass_number_two.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_three_top", { + description = "Stained Glass Type 3 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_three.png", + "glass_number_three.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_four_top", { + description = "Stained Glass Type 4 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_four.png", + "glass_number_four.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_five_top", { + description = "Stained Glass Type 5 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_five.png", + "glass_number_five.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_six_top", { + description = "Stained Glass Type 6 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_six.png", + "glass_number_six.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_seven_top", { + description = "Stained Glass Type 7 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_seven.png", + "glass_number_seven.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_eight_top", { + description = "Stained Glass Type 8 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_eight.png", + "glass_number_eight.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_nine_top", { + description = "Stained Glass Type 9 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_nine.png", + "glass_number_nine.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_ten_top", { + description = "Stained Glass Type 10 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_ten.png", + "glass_number_ten.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_eleven_top", { + description = "Stained Glass Type 11 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_eleven.png", + "glass_number_eleven.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_node("glass_stained:glass_number_twelve_top", { + description = "Stained Glass Type 12 Top", + drawtype = "nodebox", + tiles = {"default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "default_glass_detail.png", + "glass_number_twelve.png", + "glass_number_twelve.png"}, + paramtype = "light", + paramtype2 = "facedir", + sunlight_propagates = true, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0, 0.5, 1.5, 0}, + }, + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + }, + }, + groups = {cracky=3}, + use_texture_alpha = true, +}) + +minetest.register_craft({output = "glass_stained:glass_normal", + recipe ={ + {"default:glass"}, + {"default:glass"}, + {"default:glass"}, + }, +}) + +minetest.register_craft({output = "glass_stained:obsidian_glass_normal", + recipe ={ + {"default:obsidian_glass"}, + {"default:obsidian_glass"}, + {"default:obsidian_glass"}, + }, +}) + +minetest.register_craft({output = "glass_stained:steel_bars_normal", + recipe ={ + {"default:steel_ingot"}, + {"default:steel_ingot"}, + {"default:steel_ingot"}, + }, +}) + +minetest.register_craft({output = "glass_stained:steel_bars_fancy", + recipe ={ + {"default:steel_ingot"}, + {"glass_stained:steel_bars_normal"}, + {"glass_stained:steel_bars_normal"}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_one", + recipe ={ + {"dye:blue","dye:blue","dye:blue",}, + {"dye:blue","default:glass","dye:blue",}, + {"dye:blue","dye:blue","dye:blue",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_two", + recipe ={ + {"dye:white","dye:blue","dye:white",}, + {"dye:red","default:glass","dye:red",}, + {"dye:white","dye:blue","dye:white",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_three", + recipe ={ + {"dye:blue","dye:yellow","dye:blue",}, + {"dye:blue","default:glass","dye:blue",}, + {"dye:blue","dye:yellow","dye:blue",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_four", + recipe ={ + {"dye:red","dye:yellow","dye:red",}, + {"dye:red","default:glass","dye:red",}, + {"dye:red","dye:yellow","dye:red",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_five", + recipe ={ + {"dye:red","dye:violet","dye:blue",}, + {"dye:violet","default:glass","dye:violet",}, + {"dye:blue","dye:violet","dye:red",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_six", + recipe ={ + {"dye:blue","dye:violet","dye:blue",}, + {"dye:violet","default:glass","dye:violet",}, + {"dye:blue","dye:violet","dye:blue",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_seven", + recipe ={ + {"dye:violet","dye:blue","dye:violet",}, + {"dye:red","default:glass","dye:red",}, + {"dye:violet","dye:blue","dye:violet",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_eight", + recipe ={ + {"dye:yellow","dye:green","dye:yellow",}, + {"dye:blue","default:glass","dye:blue",}, + {"dye:yellow","dye:green","dye:yellow",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_nine", + recipe ={ + {"dye:blue","dye:yellow","dye:blue",}, + {"dye:red","default:glass","dye:red",}, + {"dye:blue","dye:yellow","dye:blue",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_ten", + recipe ={ + {"dye:green","dye:yellow","dye:green",}, + {"dye:cyan","default:glass","dye:cyan",}, + {"dye:green","dye:yellow","dye:green",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_eleven", + recipe ={ + {"dye:blue","dye:green","dye:blue",}, + {"dye:green","default:glass","dye:green",}, + {"dye:blue","dye:green","dye:blue",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_twelve", + recipe ={ + {"dye:yellow","dye:cyan","dye:yellow",}, + {"dye:cyan","default:glass","dye:cyan",}, + {"dye:yellow","dye:cyan","dye:yellow",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_one_top", + recipe ={ + {"glass_stained:glass_number_one",}, + {"glass_stained:glass_number_one",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_two_top", + recipe ={ + {"glass_stained:glass_number_two",}, + {"glass_stained:glass_number_two",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_three_top", + recipe ={ + {"glass_stained:glass_number_three",}, + {"glass_stained:glass_number_three",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_four_top", + recipe ={ + {"glass_stained:glass_number_four",}, + {"glass_stained:glass_number_four",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_five_top", + recipe ={ + {"glass_stained:glass_number_five",}, + {"glass_stained:glass_number_five",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_six_top", + recipe ={ + {"glass_stained:glass_number_six",}, + {"glass_stained:glass_number_six",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_seven_top", + recipe ={ + {"glass_stained:glass_number_seven",}, + {"glass_stained:glass_number_seven",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_eight_top", + recipe ={ + {"glass_stained:glass_number_eight",}, + {"glass_stained:glass_number_eight",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_nine_top", + recipe ={ + {"glass_stained:glass_number_nine",}, + {"glass_stained:glass_number_nine",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_ten_top", + recipe ={ + {"glass_stained:glass_number_ten",}, + {"glass_stained:glass_number_ten",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_eleven_top", + recipe ={ + {"glass_stained:glass_number_eleven",}, + {"glass_stained:glass_number_eleven",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_number_twelve_top", + recipe ={ + {"glass_stained:glass_number_twelve",}, + {"glass_stained:glass_number_twelve",}, + }, +}) + +minetest.register_craft({output = "glass_stained:glass_normal_top", + recipe ={ + {"glass_stained:glass_normal"}, + {"glass_stained:glass_normal"}, + }, +}) + +minetest.register_craft({output = "glass_stained:obsidian_glass_normal_top", + recipe ={ + {"glass_stained:obsidian_glass_normal"}, + {"glass_stained:obsidian_glass_normal"}, + }, +}) + +minetest.register_craft({output = "glass_stained:steel_bars_normal_top", + recipe ={ + {"glass_stained:steel_bars_normal"}, + {"glass_stained:steel_bars_normal"}, + }, +}) \ No newline at end of file diff --git a/textures/glass_number_eight.png b/textures/glass_number_eight.png new file mode 100644 index 0000000..7159bcf Binary files /dev/null and b/textures/glass_number_eight.png differ diff --git a/textures/glass_number_eleven.png b/textures/glass_number_eleven.png new file mode 100644 index 0000000..3c715e9 Binary files /dev/null and b/textures/glass_number_eleven.png differ diff --git a/textures/glass_number_five.png b/textures/glass_number_five.png new file mode 100644 index 0000000..deaf5ca Binary files /dev/null and b/textures/glass_number_five.png differ diff --git a/textures/glass_number_four.png b/textures/glass_number_four.png new file mode 100644 index 0000000..3dd14f9 Binary files /dev/null and b/textures/glass_number_four.png differ diff --git a/textures/glass_number_nine.png b/textures/glass_number_nine.png new file mode 100644 index 0000000..a2879f9 Binary files /dev/null and b/textures/glass_number_nine.png differ diff --git a/textures/glass_number_one.png b/textures/glass_number_one.png new file mode 100644 index 0000000..4a64576 Binary files /dev/null and b/textures/glass_number_one.png differ diff --git a/textures/glass_number_seven.png b/textures/glass_number_seven.png new file mode 100644 index 0000000..6735f5d Binary files /dev/null and b/textures/glass_number_seven.png differ diff --git a/textures/glass_number_six.png b/textures/glass_number_six.png new file mode 100644 index 0000000..33b6710 Binary files /dev/null and b/textures/glass_number_six.png differ diff --git a/textures/glass_number_ten.png b/textures/glass_number_ten.png new file mode 100644 index 0000000..66aadeb Binary files /dev/null and b/textures/glass_number_ten.png differ diff --git a/textures/glass_number_three.png b/textures/glass_number_three.png new file mode 100644 index 0000000..f8017a6 Binary files /dev/null and b/textures/glass_number_three.png differ diff --git a/textures/glass_number_twelve.png b/textures/glass_number_twelve.png new file mode 100644 index 0000000..6db0a40 Binary files /dev/null and b/textures/glass_number_twelve.png differ diff --git a/textures/glass_number_two.png b/textures/glass_number_two.png new file mode 100644 index 0000000..c845d05 Binary files /dev/null and b/textures/glass_number_two.png differ diff --git a/textures/xpanes_bar_fancy.png b/textures/xpanes_bar_fancy.png new file mode 100644 index 0000000..9f3c02f Binary files /dev/null and b/textures/xpanes_bar_fancy.png differ -- cgit v1.2.3