diff options
Diffstat (limited to 'framedglass')
17 files changed, 30 insertions, 0 deletions
diff --git a/framedglass/init.lua b/framedglass/init.lua index ebe88ea..6bb92ae 100644 --- a/framedglass/init.lua +++ b/framedglass/init.lua @@ -75,3 +75,33 @@ minetest.register_node("framedglass:steel_framed_obsidian_glass", { groups = {cracky=3,oddly_breakable_by_hand=3}, sounds = default.node_sound_glass_defaults(), }) + +function add_coloured_framedglass(name, desc, dye, texture) +minetest.register_node( "framedglass:steel_framed_obsidian_glass"..name, { + description = "Steel-framed "..desc.." Obsidian Glass", + tiles = {"framedglass_steel_frame.png",texture}, + drawtype = "glasslike_framed", + paramtype = "light", + sunlight_propagates = true, + is_ground_content = true, + use_texture_alpha = true, + groups = {cracky=3}, + sounds = default.node_sound_glass_defaults(), +}) +end + +add_coloured_framedglass ("red","Red","","framedglass_redglass.png") +add_coloured_framedglass ("green","Green","","framedglass_greenglass.png") +add_coloured_framedglass ("blue","Blue","","framedglass_blueglass.png") +add_coloured_framedglass ("cyan","Cyan","","framedglass_cyanglass.png") +add_coloured_framedglass ("darkgreen","Dark Green","","framedglass_darkgreenglass.png") +add_coloured_framedglass ("violet","Violet","","framedglass_violetglass.png") +add_coloured_framedglass ("pink","Pink","","framedglass_pinkglass.png") +add_coloured_framedglass ("yellow","Yellow","","framedglass_yellowglass.png") +add_coloured_framedglass ("orange","Orange","","framedglass_orangeglass.png") +add_coloured_framedglass ("brown","Brown","","framedglass_brownglass.png") +add_coloured_framedglass ("white","White","","framedglass_whiteglass.png") +add_coloured_framedglass ("grey","Grey","","framedglass_greyglass.png") +add_coloured_framedglass ("darkgrey","Dark Grey","","framedglass_darkgreyglass.png") +add_coloured_framedglass ("black","Black","","framedglass_blackglass.png") + diff --git a/framedglass/textures/framedglass_blackglass.png b/framedglass/textures/framedglass_blackglass.png Binary files differnew file mode 100644 index 0000000..4e82027 --- /dev/null +++ b/framedglass/textures/framedglass_blackglass.png diff --git a/framedglass/textures/framedglass_blueglass.png b/framedglass/textures/framedglass_blueglass.png Binary files differnew file mode 100644 index 0000000..2768017 --- /dev/null +++ b/framedglass/textures/framedglass_blueglass.png diff --git a/framedglass/textures/framedglass_brownglass.png b/framedglass/textures/framedglass_brownglass.png Binary files differnew file mode 100644 index 0000000..b61bdbf --- /dev/null +++ b/framedglass/textures/framedglass_brownglass.png diff --git a/framedglass/textures/framedglass_cyanglass.png b/framedglass/textures/framedglass_cyanglass.png Binary files differnew file mode 100644 index 0000000..31edcc6 --- /dev/null +++ b/framedglass/textures/framedglass_cyanglass.png diff --git a/framedglass/textures/framedglass_darkgreenglass.png b/framedglass/textures/framedglass_darkgreenglass.png Binary files differnew file mode 100644 index 0000000..c90a027 --- /dev/null +++ b/framedglass/textures/framedglass_darkgreenglass.png diff --git a/framedglass/textures/framedglass_darkgreyglass.png b/framedglass/textures/framedglass_darkgreyglass.png Binary files differnew file mode 100644 index 0000000..78c394b --- /dev/null +++ b/framedglass/textures/framedglass_darkgreyglass.png diff --git a/framedglass/textures/framedglass_greenglass.png b/framedglass/textures/framedglass_greenglass.png Binary files differnew file mode 100644 index 0000000..0886c74 --- /dev/null +++ b/framedglass/textures/framedglass_greenglass.png diff --git a/framedglass/textures/framedglass_greyglass.png b/framedglass/textures/framedglass_greyglass.png Binary files differnew file mode 100644 index 0000000..bb1927d --- /dev/null +++ b/framedglass/textures/framedglass_greyglass.png diff --git a/framedglass/textures/framedglass_orangeglass.png b/framedglass/textures/framedglass_orangeglass.png Binary files differnew file mode 100644 index 0000000..4ac3eb7 --- /dev/null +++ b/framedglass/textures/framedglass_orangeglass.png diff --git a/framedglass/textures/framedglass_pinkglass.png b/framedglass/textures/framedglass_pinkglass.png Binary files differnew file mode 100644 index 0000000..68185c7 --- /dev/null +++ b/framedglass/textures/framedglass_pinkglass.png diff --git a/framedglass/textures/framedglass_redglass.png b/framedglass/textures/framedglass_redglass.png Binary files differnew file mode 100644 index 0000000..1d20920 --- /dev/null +++ b/framedglass/textures/framedglass_redglass.png diff --git a/framedglass/textures/framedglass_violetglass.png b/framedglass/textures/framedglass_violetglass.png Binary files differnew file mode 100644 index 0000000..aec8ce0 --- /dev/null +++ b/framedglass/textures/framedglass_violetglass.png diff --git a/framedglass/textures/framedglass_whiteglass.png b/framedglass/textures/framedglass_whiteglass.png Binary files differnew file mode 100644 index 0000000..0f2a170 --- /dev/null +++ b/framedglass/textures/framedglass_whiteglass.png diff --git a/framedglass/textures/framedglass_yellowglass.png b/framedglass/textures/framedglass_yellowglass.png Binary files differnew file mode 100644 index 0000000..521198c --- /dev/null +++ b/framedglass/textures/framedglass_yellowglass.png diff --git a/framedglass/textures/stained_glass_lime.png b/framedglass/textures/stained_glass_lime.png Binary files differnew file mode 100644 index 0000000..782edc9 --- /dev/null +++ b/framedglass/textures/stained_glass_lime.png diff --git a/framedglass/textures/stained_glass_magenta.png b/framedglass/textures/stained_glass_magenta.png Binary files differnew file mode 100644 index 0000000..43e28b7 --- /dev/null +++ b/framedglass/textures/stained_glass_magenta.png |