commit ade7ceef9c5a4becda5b3d5b58775822bdac891e Author: dafoxia Date: Thu Aug 20 23:45:10 2015 +0200 Signed-off-by: dafoxia diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e83b92 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +Glass Blocks +=========== + +Glass Blocks for Minetest , a free/libre infinite +world block sandbox game. + +To install, just clone this repository into your "mods" directory. +Glass Blocks code is heavy based on More Block licensed under the zlib license. Glass Blocks itselves are also under the zlib license. +Textures are by Dafoxia and are licensed under CC BY-SA 3.0 Unported. + +More Blocks **Forum topic:** diff --git a/aliases.lua b/aliases.lua new file mode 100644 index 0000000..e0d8665 --- /dev/null +++ b/aliases.lua @@ -0,0 +1,35 @@ +--[[ +More Glass: alias definitions + +--]] + +-- More Glass aliases: +minetest.register_alias("RedLightGlass", "moreglass:RedLightGlass") +minetest.register_alias("GreenLightGlass", "moreglass:GreenLightGlass") +minetest.register_alias("BlueLightGlass", "moreglass:BlueLightGlass") +minetest.register_alias("YellowLightGlass", "moreglass:YellowLightGlass") +minetest.register_alias("OrangeLightGlass", "moreglass:OrangeLightGlass") +minetest.register_alias("CyanLightGlass", "moreglass:CyanLightGlass") +minetest.register_alias("ViolettLightGlass", "moreglass:ViolettLightGlass") +minetest.register_alias("RedGlass", "moreglass:RedGlass") +minetest.register_alias("GreenGlass", "moreglass:RedGlass") +minetest.register_alias("BlueGlass", "moreglass:RedGlass") +minetest.register_alias("YellowGlass", "moreglass:RedGlass") +minetest.register_alias("OrangeGlass", "moreglass:RedGlass") +minetest.register_alias("CyanGlass", "moreglass:RedGlass") +minetest.register_alias("ViolettGlass", "moreglass:RedGlass") + +minetest.register_alias("RedLightGlassSand", "moreglass:RedLightGlassSand") +minetest.register_alias("GreenLightGlassSand", "moreglass:GreenLightGlassSand") +minetest.register_alias("BlueLightGlassSand", "moreglass:BlueLightGlassSand") +minetest.register_alias("YellowLightGlassSand", "moreglass:YellowLightGlassSand") +minetest.register_alias("OrangeLightGlassSand", "moreglass:OrangeLightGlassSand") +minetest.register_alias("CyanLightGlassSand", "moreglass:CyanLightGlassSand") +minetest.register_alias("ViolettLightGlassSand", "moreglass:ViolettLightGlassSand") +minetest.register_alias("RedGlassSand", "moreglass:RedGlassSand") +minetest.register_alias("GreenGlassSand", "moreglass:RedGlassSand") +minetest.register_alias("BlueGlassSand", "moreglass:RedGlassSand") +minetest.register_alias("YellowGlassSand", "moreglass:RedGlassSand") +minetest.register_alias("OrangeGlassSand", "moreglass:RedGlassSand") +minetest.register_alias("CyanGlassSand", "moreglass:RedGlassSand") +minetest.register_alias("ViolettGlassSand", "moreglass:RedGlassSand") diff --git a/config.lua b/config.lua new file mode 100644 index 0000000..ec20251 --- /dev/null +++ b/config.lua @@ -0,0 +1,25 @@ +--[[ +More Glass: configuration handling + +--]] + +moreglass.config = {} + +local function getbool_default(setting, default) + local value = minetest.setting_getbool(setting) + if value == nil then + value = default + end + return value +end + +local function setting(settingtype, name, default) + if settingtype == "bool" then + moreglass.config[name] = + getbool_default("moreglass." .. name, default) + else + moreglass.config[name] = + minetest.setting_get("moreglass." .. name) or default + end +end + diff --git a/crafting.lua b/crafting.lua new file mode 100644 index 0000000..e1f6926 --- /dev/null +++ b/crafting.lua @@ -0,0 +1,86 @@ +--[[ +More Glass: crafting recipes + +--]] + +minetest.register_craft({ + output = "moreglass:RedLightGlassSand", + recipe = {{"default:sand", "default:gold_lump", "default:coal_lump"},} +}) +minetest.register_craft({ + output = "moreglass:GreenLightGlassSand", + recipe = {{"default:sand", "default:iron_lump", "default:coal_lump"},} +}) +minetest.register_craft({ + output = "moreglass:BlueLightGlassSand", + recipe = {{"default:sand", "default:copper_lump", "default:coal_lump"},} +}) +minetest.register_craft({ + output = "moreglass:YellowLightGlassSand", + recipe = {{"default:sand", "default:silver_lump", "default:coal_lump"},} +}) +minetest.register_craft({ + output = "moreglass:OrangeLightGlassSand", + recipe = {{"default:sand", "default:gold_ingot", "default:coal_lump"},} +}) +minetest.register_craft({ + output = "moreglass:CyanLightGlassSand", + recipe = {{"default:sand", "default:iron_ingot", "default:coal_lump"},} +}) +minetest.register_craft({ + output = "moreglass:ViolettLightGlassSand", + recipe = {{"default:sand", "default:mese_crystal_fragment", "default:coal_lump"},} +}) + +minetest.register_craft({ + output = "moreglass:RedGlassSand", + recipe = {{"default:sand", "default:gold_lump"},} +}) +minetest.register_craft({ + output = "moreglass:GreenGlassSand", + recipe = {{"default:sand", "default:iron_lump"},} +}) +minetest.register_craft({ + output = "moreglass:BlueGlassSand", + recipe = {{"default:sand", "default:copper_lump"},} +}) +minetest.register_craft({ + output = "moreglass:YellowGlassSand", + recipe = {{"default:sand", "default:silver_lump"},} +}) +minetest.register_craft({ + output = "moreglass:OrangeGlassSand", + recipe = {{"default:sand", "default:gold_ingot"},} +}) +minetest.register_craft({ + output = "moreglass:CyanGlassSand", + recipe = {{"default:sand", "default:iron_ingot"},} +}) +minetest.register_craft({ + output = "moreglass:ViolettGlassSand", + recipe = {{"default:sand", "default:mese_crystal_fragment"},} +}) + +minetest.register_craft({ + type = "cooking", output = "moreglass:RedLightGlass", recipe = "moreglass:RedGlassSand", +}) +minetest.register_craft({ + type = "cooking", output = "moreglass:GreenLightGlass", recipe = "moreglass:GreenGlassSand", +}) +minetest.register_craft({ + type = "cooking", output = "moreglass:BlueLightGlass", recipe = "moreglass:BlueGlassSand", +}) +minetest.register_craft({ + type = "cooking", output = "moreglass:YellowLightGlass", recipe = "moreglass:YellowGlassSand", +}) +minetest.register_craft({ + type = "cooking", output = "moreglass:OrangeLightGlass", recipe = "moreglass:OrangeGlassSand", +}) +minetest.register_craft({ + type = "cooking", output = "moreglass:CyanLightGlass", recipe = "moreglass:CyanGlassSand", +}) +minetest.register_craft({ + type = "cooking", output = "moreglass:ViolettGlass", recipe = "moreglass:ViolettGlassSand", +}) + + diff --git a/depends.txt b/depends.txt new file mode 100644 index 0000000..cad5160 --- /dev/null +++ b/depends.txt @@ -0,0 +1,2 @@ +default +intllib? \ No newline at end of file diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..ba66b18 --- /dev/null +++ b/init.lua @@ -0,0 +1,27 @@ +--[[ +===================================================================== +** More Glass ** + +===================================================================== +--]] + +moreglass = {} + +local S +if minetest.get_modpath("intllib") then + S = intllib.Getter() +else + S = function(s) return s end +end +moreglass.intllib = S + +local modpath = minetest.get_modpath("moreglass") + +dofile(modpath .. "/config.lua") +dofile(modpath .. "/nodes.lua") +dofile(modpath .. "/crafting.lua") +dofile(modpath .. "/aliases.lua") + +if minetest.setting_getbool("log_mods") then + minetest.log("action", S("[moreglass] loaded.")) +end diff --git a/locale/de.txt b/locale/de.txt new file mode 100644 index 0000000..e0bc9e7 --- /dev/null +++ b/locale/de.txt @@ -0,0 +1,34 @@ +# Translation by Xanthin + +###init.lua### +[glassblocks] loaded. = [glassblocks] geladen. + +###nodes.lua### +red Light Glass = Leuchtendes rotes Glas +green Light Glass = Leuchtendes grünes Glas +blue Light Glass = Leuchtendes blaues Glas +yellow Light Glass = Leuchtendes gelbes Glas +orange Light Glass = Leuchtendes oranges Glas +cyan Light Glass = Leuchtendes Cyan Glas +violett Light Glass = Leuchtendes violettes Glas +red Glass = rotes Glas +green Glass = grünes Glas +blue Glass = blaues Glas +yellow Glass = gelbes Glas +orange Glass = oranges Glas +cyan Glass = cyan Glas +violett Glass = violettes Glas + +###./stairsplus/*### +%s Stairs = %streppe +%s Slab = %sstufe +%s Panel = %spaneel +%s Microblock = %smikroblock + +%s Pane = %sscheibe +%s Fence = %szaun + +###ownership.lua### +someone = jemand +Sorry, %s owns that spot. = Tut mir leid, %s gehoert diese Stelle. + diff --git a/models/moreblocks_slope.obj b/models/moreblocks_slope.obj new file mode 100644 index 0000000..22a833f --- /dev/null +++ b/models/moreblocks_slope.obj @@ -0,0 +1,26 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope.mtl +o Cube_Cube.002 +v 0.500000 0.500000 0.500000 +v -0.500000 0.500000 0.500000 +v -0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +v -0.500000 -0.500000 -0.500000 +v 0.500000 -0.500000 -0.500000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 -1.000000 -0.000000 +vn -1.000000 0.000000 0.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.707100 -0.707100 +usemtl None +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 4/3/2 3/4/2 5/1/2 6/2/2 +f 2/1/3 5/3/3 3/4/3 +f 1/2/4 4/3/4 6/4/4 +f 2/1/5 1/2/5 6/3/5 5/4/5 diff --git a/models/moreblocks_slope_cut.obj b/models/moreblocks_slope_cut.obj new file mode 100644 index 0000000..a9ea83d --- /dev/null +++ b/models/moreblocks_slope_cut.obj @@ -0,0 +1,33 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_cut.mtl +o moreblocks_slope_cut +v -0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +v 0.500000 0.500000 0.500000 +v -0.500000 -0.000000 0.500000 +v 0.500000 -0.500000 -0.500000 +v 0.500000 0.000000 -0.500000 +v -0.500000 -0.500000 -0.500000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 1.000000 +vt 0.000000 0.500000 +vt 1.000000 0.500000 +vt 0.000000 1.000000 +vt 0.500000 0.000000 +vt 0.500000 2.000000 +vn 0.000000 -0.000000 1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -1.000000 -0.000000 +vn -0.408200 0.816500 -0.408200 +vn 0.000000 0.000000 -1.000000 +vn -1.000000 0.000000 0.000000 +usemtl None +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 2/1/2 5/2/2 6/5/2 3/6/2 +f 2/3/3 1/6/3 7/1/3 5/2/3 +f 7/7/4 4/3/4 3/8/4 6/6/4 +f 5/1/5 7/2/5 6/4/5 +f 7/1/6 1/2/6 4/5/6 diff --git a/models/moreblocks_slope_half.obj b/models/moreblocks_slope_half.obj new file mode 100644 index 0000000..a6b1a56 --- /dev/null +++ b/models/moreblocks_slope_half.obj @@ -0,0 +1,28 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_half.mtl +o Cube_Cube.002 +v 0.500000 -0.000000 0.500000 +v -0.500000 -0.000000 0.500000 +v -0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +v -0.500000 -0.500000 -0.500000 +v 0.500000 -0.500000 -0.500000 +vt 1.000000 0.500000 +vt 0.000000 0.500000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 -1.000000 -0.000000 +vn -1.000000 0.000000 0.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.894400 -0.447200 +usemtl None +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 4/3/2 3/4/2 5/5/2 6/6/2 +f 2/1/3 5/3/3 3/4/3 +f 1/2/4 4/3/4 6/4/4 +f 2/5/5 1/6/5 6/3/5 5/4/5 diff --git a/models/moreblocks_slope_half_raised.obj b/models/moreblocks_slope_half_raised.obj new file mode 100644 index 0000000..6f985e3 --- /dev/null +++ b/models/moreblocks_slope_half_raised.obj @@ -0,0 +1,32 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_half_raised.mtl +o Cube.001 +v -0.500000 0.500000 0.500000 +v -0.500000 0.000000 -0.500000 +v -0.500000 -0.500000 -0.500000 +v -0.500000 -0.500000 0.500000 +v 0.500000 0.000000 -0.500000 +v 0.500000 -0.500000 -0.500000 +v 0.500000 0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +vt 1.000000 1.000000 +vt 0.000000 0.500000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 0.500000 +vt 0.000000 1.000000 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 -1.000000 -0.000000 +vn 0.000000 0.894400 -0.447200 +usemtl None.001 +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 2/5/2 5/2/2 6/3/2 3/4/2 +f 5/5/3 7/6/3 8/3/3 6/4/3 +f 7/1/4 1/6/4 4/3/4 8/4/4 +f 4/4/5 3/1/5 6/6/5 8/3/5 +f 2/4/6 1/1/6 7/6/6 5/3/6 diff --git a/models/moreblocks_slope_inner.obj b/models/moreblocks_slope_inner.obj new file mode 100644 index 0000000..d4a444e --- /dev/null +++ b/models/moreblocks_slope_inner.obj @@ -0,0 +1,35 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_inner.mtl +o Cube_Cube.000 +v 0.500000 0.500000 -0.500000 +v 0.500000 0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +v -0.500000 0.500000 0.500000 +v -0.500000 -0.500000 -0.500000 +v -0.500000 -0.500000 0.500000 +v -0.500000 -0.500000 -0.500000 +v 0.500000 -0.500000 0.500000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vn 1.000000 0.000000 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.707100 -0.707100 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 -1.000000 -0.000000 +vn 0.000000 -0.000000 1.000000 +vn -0.707100 0.707100 0.000000 +usemtl None +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 5/1/2 6/3/2 7/4/2 +f 5/1/3 2/2/3 6/4/3 +f 1/2/4 4/3/4 8/4/4 +f 8/1/5 4/2/5 3/3/5 7/4/5 +f 7/3/6 3/4/6 2/1/6 5/2/6 +f 2/1/7 1/2/7 8/3/7 +l 7 9 +l 2 9 diff --git a/models/moreblocks_slope_inner_cut.obj b/models/moreblocks_slope_inner_cut.obj new file mode 100644 index 0000000..b687b11 --- /dev/null +++ b/models/moreblocks_slope_inner_cut.obj @@ -0,0 +1,32 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_inner_cut.mtl +o moreblocks_slope_inner_cut +v 0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +v 0.500000 0.500000 -0.500000 +v 0.500000 0.500000 0.500000 +v -0.500000 -0.500000 0.500000 +v -0.500000 0.500000 0.500000 +v -0.500000 -0.500000 -0.500000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 0.500000 0.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 -1.000000 -0.000000 +vn 0.000000 1.000000 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn -0.577400 0.577400 -0.577400 +usemtl None +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 5/1/2 1/2/2 4/3/2 6/4/2 +f 2/1/3 1/2/3 5/3/3 7/4/3 +f 6/1/4 4/2/4 3/3/4 +f 7/1/5 5/2/5 6/3/5 +f 2/1/6 7/2/6 3/4/6 +f 7/5/7 6/3/7 3/4/7 diff --git a/models/moreblocks_slope_inner_cut_half.obj b/models/moreblocks_slope_inner_cut_half.obj new file mode 100644 index 0000000..82a387b --- /dev/null +++ b/models/moreblocks_slope_inner_cut_half.obj @@ -0,0 +1,34 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_inner_cut_half.mtl +o moreblocks_slope_inner_cut_half +v 0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +v 0.500000 0.000000 -0.500000 +v 0.500000 -0.000000 0.500000 +v -0.500000 -0.500000 0.500000 +v -0.500000 -0.000000 0.500000 +v -0.500000 -0.500000 -0.500000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 0.500000 +vt 0.000000 0.500000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 0.500000 0.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 -1.000000 -0.000000 +vn 0.000000 1.000000 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.000000 -1.000000 +vn -0.408200 0.816500 -0.408200 +usemtl None +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 5/1/2 1/2/2 4/3/2 6/4/2 +f 2/1/3 1/2/3 5/5/3 7/6/3 +f 6/1/4 4/2/4 3/5/4 +f 7/1/5 5/2/5 6/3/5 +f 2/1/6 7/2/6 3/4/6 +f 7/7/7 6/5/7 3/6/7 diff --git a/models/moreblocks_slope_inner_cut_half_raised.obj b/models/moreblocks_slope_inner_cut_half_raised.obj new file mode 100644 index 0000000..8231ee4 --- /dev/null +++ b/models/moreblocks_slope_inner_cut_half_raised.obj @@ -0,0 +1,35 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_inner_cut_half_raised.mtl +o moreblocks_slope_inner_cut_half_raised +v 0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +v 0.500000 0.500000 -0.500000 +v 0.500000 0.500000 0.500000 +v -0.500000 -0.500000 0.500000 +v -0.500000 0.500000 0.500000 +v -0.500000 -0.500000 -0.500000 +v -0.500000 0.000000 -0.500000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 0.000000 0.500000 +vt 1.000000 0.500000 +vt 0.500000 0.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -0.000000 1.000000 +vn 0.000000 -1.000000 -0.000000 +vn 0.000000 1.000000 0.000000 +vn -1.000000 0.000000 0.000000 +vn -0.000000 0.000000 -1.000000 +vn -0.408200 0.816500 -0.408200 +usemtl None +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 5/1/2 1/2/2 4/3/2 6/4/2 +f 2/1/3 1/2/3 5/3/3 7/4/3 +f 6/1/4 4/2/4 3/3/4 +f 7/1/5 5/2/5 6/3/5 8/5/5 +f 2/1/6 7/2/6 8/6/6 3/4/6 +f 8/7/7 6/3/7 3/4/7 diff --git a/models/moreblocks_slope_inner_half.obj b/models/moreblocks_slope_inner_half.obj new file mode 100644 index 0000000..3e54dea --- /dev/null +++ b/models/moreblocks_slope_inner_half.obj @@ -0,0 +1,35 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_inner_half.mtl +o Cube_Cube.001 +v 0.500000 0.000000 -0.500000 +v 0.500000 -0.000000 0.500000 +v 0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +v -0.500000 -0.000000 0.500000 +v -0.500000 -0.500000 -0.500000 +v -0.500000 -0.500000 0.500000 +v -0.500000 -0.500000 -0.500000 +v 0.500000 -0.500000 0.500000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vn 1.000000 0.000000 0.000000 +vn -1.000000 0.000000 0.000000 +vn 0.000000 0.894400 -0.447200 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 -1.000000 -0.000000 +vn 0.000000 -0.000000 1.000000 +vn -0.447200 0.894400 0.000000 +usemtl None.002 +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 5/1/2 6/3/2 7/4/2 +f 5/1/3 2/2/3 6/4/3 +f 1/2/4 4/3/4 8/4/4 +f 8/1/5 4/2/5 3/3/5 7/4/5 +f 7/3/6 3/4/6 2/1/6 5/2/6 +f 2/1/7 1/2/7 8/3/7 +l 7 9 +l 2 9 diff --git a/models/moreblocks_slope_inner_half_raised.obj b/models/moreblocks_slope_inner_half_raised.obj new file mode 100644 index 0000000..e6c2205 --- /dev/null +++ b/models/moreblocks_slope_inner_half_raised.obj @@ -0,0 +1,38 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_inner_half_raised.mtl +o Cube_Cube.003 +v 0.500000 0.500000 -0.500000 +v 0.500000 0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +v -0.500000 0.500000 0.500000 +v -0.500000 0.000000 -0.500000 +v -0.500000 -0.500000 0.500000 +v -0.500000 0.000000 -0.500000 +v -0.500000 -0.500000 -0.500000 +v 0.500000 -0.500000 0.500000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 0.500000 +vt 0.000000 0.500000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.894400 -0.447200 +vn 0.000000 -0.000000 1.000000 +vn -0.447200 0.894400 0.000000 +vn 0.000000 -1.000000 -0.000000 +vn 0.000000 0.000000 -1.000000 +vn -1.000000 0.000000 0.000000 +usemtl None.003 +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 5/1/2 2/2/2 6/4/2 +f 7/3/3 3/4/3 2/1/3 5/2/3 +f 2/2/4 1/3/4 8/4/4 +f 7/1/5 9/2/5 4/3/5 3/4/5 +f 6/5/6 1/2/6 4/3/6 9/4/6 +f 7/4/7 5/1/7 6/6/7 9/3/7 +l 2 10 +l 7 10 diff --git a/models/moreblocks_slope_outer.obj b/models/moreblocks_slope_outer.obj new file mode 100644 index 0000000..b8f4e9e --- /dev/null +++ b/models/moreblocks_slope_outer.obj @@ -0,0 +1,25 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_outer.mtl +o Cube_Cube.004 +v 0.500000 -0.500000 0.500000 +v -0.500000 -0.500000 0.500000 +v -0.500000 -0.500000 -0.500000 +v 0.500000 -0.500000 -0.500000 +v 0.500000 0.500000 0.500000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vn 0.000000 -1.000000 -0.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -0.000000 1.000000 +vn -0.707100 0.707100 0.000000 +vn 0.000000 0.707100 -0.707100 +usemtl None +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 5/2/2 1/3/2 4/4/2 +f 2/3/3 1/4/3 5/1/3 +f 5/1/4 3/3/4 2/4/4 +f 5/2/5 4/3/5 3/4/5 diff --git a/models/moreblocks_slope_outer_cut.obj b/models/moreblocks_slope_outer_cut.obj new file mode 100644 index 0000000..e6cbfb4 --- /dev/null +++ b/models/moreblocks_slope_outer_cut.obj @@ -0,0 +1,23 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_outer_cut.mtl +o Cube.002 +v 0.500000 0.500000 0.500000 +v -0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +vt 1.000000 1.000000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 0.000000 1.000000 +vt 0.500000 1.000000 +vn 0.000000 -0.000000 1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -1.000000 0.000000 +vn -0.577400 0.577400 -0.577400 +usemtl None.004 +s off +f 1/1/1 2/2/1 3/3/1 +f 4/3/2 1/4/2 3/2/2 +f 3/2/3 2/3/3 4/4/3 +f 2/3/4 1/5/4 4/2/4 diff --git a/models/moreblocks_slope_outer_cut_half.obj b/models/moreblocks_slope_outer_cut_half.obj new file mode 100644 index 0000000..bd64194 --- /dev/null +++ b/models/moreblocks_slope_outer_cut_half.obj @@ -0,0 +1,24 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_outer_cut_half.mtl +o Cube.003 +v 0.500000 -0.000000 0.500000 +v -0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +vt 1.000000 0.500000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 0.000000 0.500000 +vt 0.000000 1.000000 +vt 0.500000 1.000000 +vn 0.000000 -0.000000 1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -1.000000 0.000000 +vn -0.408200 0.816500 -0.408200 +usemtl None.005 +s off +f 1/1/1 2/2/1 3/3/1 +f 4/3/2 1/4/2 3/2/2 +f 3/2/3 2/3/3 4/5/3 +f 2/3/4 1/6/4 4/2/4 diff --git a/models/moreblocks_slope_outer_cut_half_raised.obj b/models/moreblocks_slope_outer_cut_half_raised.obj new file mode 100644 index 0000000..c65e08d --- /dev/null +++ b/models/moreblocks_slope_outer_cut_half_raised.obj @@ -0,0 +1,28 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_outer_cut_half_raised.mtl +o Cube_Cube.005 +v -0.500000 -0.000000 0.500000 +v -0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +v 0.500000 0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +v 0.500000 0.000000 -0.500000 +vt 0.000000 0.500000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 1.000000 0.500000 +vn 0.000000 -0.000000 1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 -1.000000 0.000000 +vn -0.408200 0.816500 -0.408200 +vn -0.707100 0.000000 -0.707100 +usemtl None.006 +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 4/5/2 3/2/2 5/3/2 6/6/2 +f 2/5/3 5/3/3 3/4/3 +f 1/2/4 4/3/4 6/4/4 +f 2/3/5 1/6/5 6/1/5 5/2/5 diff --git a/models/moreblocks_slope_outer_half.obj b/models/moreblocks_slope_outer_half.obj new file mode 100644 index 0000000..7bbb38d --- /dev/null +++ b/models/moreblocks_slope_outer_half.obj @@ -0,0 +1,27 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_outer_half.mtl +o Cube.004 +v -0.500000 -0.500000 0.500000 +v -0.500000 -0.500000 -0.500000 +v 0.500000 -0.500000 -0.500000 +v 0.500000 -0.500000 0.500000 +v 0.500000 -0.000000 0.500000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 0.500000 +vt 0.000000 0.500000 +vn 0.000000 -1.000000 -0.000000 +vn 0.000000 -0.000000 1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.894400 -0.447200 +vn -0.447200 0.894400 0.000000 +usemtl None.007 +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 5/5/2 1/3/2 4/4/2 +f 3/4/3 5/6/3 4/3/3 +f 2/4/4 5/2/4 3/3/4 +f 1/4/5 5/1/5 2/3/5 diff --git a/models/moreblocks_slope_outer_half_raised.obj b/models/moreblocks_slope_outer_half_raised.obj new file mode 100644 index 0000000..51a929a --- /dev/null +++ b/models/moreblocks_slope_outer_half_raised.obj @@ -0,0 +1,34 @@ +# Blender v2.72 (sub 0) OBJ File: '' +# www.blender.org +mtllib moreblocks_slope_outer_half_raised.mtl +o Cube_Cube.006 +v -0.500000 -0.000000 0.500000 +v -0.500000 -0.500000 0.500000 +v 0.500000 -0.500000 0.500000 +v 0.500000 0.500000 0.500000 +v 0.500000 -0.500000 -0.500000 +v 0.500000 0.000000 -0.500000 +v -0.500000 0.000000 -0.500000 +v -0.500000 -0.500000 -0.500000 +vt 0.000000 0.500000 +vt 0.000000 0.000000 +vt 1.000000 0.000000 +vt 1.000000 1.000000 +vt 0.000000 1.000000 +vt 1.000000 0.500000 +vn 0.000000 -0.000000 1.000000 +vn 1.000000 0.000000 0.000000 +vn 0.000000 0.894400 -0.447200 +vn -1.000000 0.000000 0.000000 +vn -0.447200 0.894400 0.000000 +vn 0.000000 0.000000 -1.000000 +vn 0.000000 -1.000000 -0.000000 +usemtl None.008 +s off +f 1/1/1 2/2/1 3/3/1 4/4/1 +f 4/5/2 3/2/2 5/3/2 6/6/2 +f 7/3/3 4/5/3 6/2/3 +f 1/6/4 7/1/4 8/2/4 2/3/4 +f 7/3/5 1/4/5 4/5/5 +f 6/1/6 5/2/6 8/3/6 7/6/6 +f 5/5/7 3/2/7 2/3/7 8/4/7 diff --git a/nodes.lua b/nodes.lua new file mode 100644 index 0000000..77082fa --- /dev/null +++ b/nodes.lua @@ -0,0 +1,229 @@ +--[[ +More Glass: node definitions + +Copyright (c) 2011-2015 Calinou and contributors. +Licensed under the zlib license. See LICENSE.md for more information. +--]] + +local S = moreglass.intllib + +local sound_glass = default.node_sound_glass_defaults() +local sound_sand = default.node_sound_sand_defaults() + +local function tile_tiles(name) + local tex = "moreglass_" ..name.. ".png" + return {tex, tex, tex, tex, tex.. "^[transformR90", tex.. "^[transformR90"} +end + +local nodes = { + ["RedLightGlassSand"] = { + description = S("RedLightGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["GreenLightGlassSand"] = { + description = S("GreenLightGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["BlueLightGlassSand"] = { + description = S("BlueLightGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["YellowLightGlassSand"] = { + description = S("YellowLightGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["OrangeLightGlassSand"] = { + description = S("OrangeLightGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["CyanLightGlassSand"] = { + description = S("CyanLightGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["ViolettLightGlassSand"] = { + description = S("ViolettLightGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["RedGlassSand"] = { + description = S("RedGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["GreenGlassSand"] = { + description = S("GreenGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["BlueGlassSand"] = { + description = S("BlueGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["YellowGlassSand"] = { + description = S("YellowGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["OrangeGlassSand"] = { + description = S("OrangeGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["CyanGlassSand"] = { + description = S("CyanGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + ["ViolettGlassSand"] = { + description = S("ViolettGlassSand"), + groups = {cracky = 1}, + sounds = sound_stone, + }, + + ["RedLightGlass"] = { + description = S("RedLightGlass"), + paramtype = "light", + alpha = 160, + light_source = default.LIGHT_MAX - 1, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["BlueLightGlass"] = { + description = S("BlueLightGlass"), + paramtype = "light", + alpha = 160, + light_source = default.LIGHT_MAX - 1, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["GreenLightGlass"] = { + description = S("GreenLightGlass"), + paramtype = "light", + alpha = 160, + light_source = default.LIGHT_MAX - 1, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["YellowLightGlass"] = { + description = S("YellowLightGlass"), + paramtype = "light", + alpha = 160, + light_source = default.LIGHT_MAX - 1, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["CyanLightGlass"] = { + description = S("CyanLightGlass"), + paramtype = "light", + alpha = 160, + light_source = default.LIGHT_MAX - 1, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["OrangeLightGlass"] = { + description = S("OrangeLightGlass"), + paramtype = "light", + alpha = 160, + light_source = default.LIGHT_MAX - 1, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["ViolettLightGlass"] = { + description = S("ViolettLightGlass"), + paramtype = "light", + alpha = 160, + light_source = default.LIGHT_MAX - 1, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["RedGlass"] = { + description = S("RedGlass"), + paramtype = "light", + alpha = 160, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["BlueGlass"] = { + description = S("BlueGlass"), + paramtype = "light", + alpha = 160, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["GreenGlass"] = { + description = S("GreenGlass"), + paramtype = "light", + alpha = 160, + drawtype = "glasslike", + sunlight_propagates = true, + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["YellowGlass"] = { + description = S("YellowGlass"), + paramtype = "light", + alpha = 160, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["CyanGlass"] = { + description = S("CyanGlass"), + paramtype = "light", + alpha = 160, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["OrangeGlass"] = { + description = S("OrangeGlass"), + paramtype = "light", + alpha = 160, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, + ["ViolettGlass"] = { + description = S("ViolettGlass"), + paramtype = "light", + alpha = 160, + sunlight_propagates = true, + drawtype = "glasslike", + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, +} +for name, def in pairs(nodes) do + def.tiles = def.tiles or {"moreglass_" ..name.. ".png"} + minetest.register_node("moreglass:" ..name, def) + minetest.register_alias(name, "moreglass:" ..name) +end + diff --git a/ownership.lua b/ownership.lua new file mode 100644 index 0000000..6be9070 --- /dev/null +++ b/ownership.lua @@ -0,0 +1,41 @@ +--[[ +More Glass: ownership handling +Code ist copied from More Block which is from Calinou +Copyright (c) 2011-2015 Calinou and contributors. +Licensed under the zlib license. See LICENSE.md for more information. +--]] + +local S = moreglass.gettext + +function moreglass.node_is_owned(pos, placer) + local ownername = false + if type(IsPlayerNodeOwner) == "function" then -- node_ownership mod + if HasOwner(pos, placer) then -- returns true if the node is owned + if not IsPlayerNodeOwner(pos, placer:get_player_name()) then + if type(getLastOwner) == "function" then -- ...is an old version + ownername = getLastOwner(pos) + elseif type(GetNodeOwnerName) == "function" then -- ...is a recent version + ownername = GetNodeOwnerName(pos) + else + ownername = S("someone") + end + end + end + + elseif type(isprotect)=="function" then -- glomie's protection mod + if not isprotect(5, pos, placer) then + ownername = S("someone") + end + elseif type(protector)=="table" and type(protector.can_dig)=="function" then -- Zeg9's protection mod + if not protector.can_dig(5, pos, placer) then + ownername = S("someone") + end + end + + if ownername ~= false then + minetest.chat_send_player( placer:get_player_name(), S("Sorry, %s owns that spot."):format(ownername) ) + return true + else + return false + end +end diff --git a/textures/moreglass_BlueGlass.png b/textures/moreglass_BlueGlass.png new file mode 100644 index 0000000..26bf569 Binary files /dev/null and b/textures/moreglass_BlueGlass.png differ diff --git a/textures/moreglass_BlueGlassSand.png b/textures/moreglass_BlueGlassSand.png new file mode 100644 index 0000000..5627d88 Binary files /dev/null and b/textures/moreglass_BlueGlassSand.png differ diff --git a/textures/moreglass_BlueLightGlass.png b/textures/moreglass_BlueLightGlass.png new file mode 100644 index 0000000..26bf569 Binary files /dev/null and b/textures/moreglass_BlueLightGlass.png differ diff --git a/textures/moreglass_BlueLightGlassSand.png b/textures/moreglass_BlueLightGlassSand.png new file mode 100644 index 0000000..5627d88 Binary files /dev/null and b/textures/moreglass_BlueLightGlassSand.png differ diff --git a/textures/moreglass_CyanGlass.png b/textures/moreglass_CyanGlass.png new file mode 100644 index 0000000..75b8f2e Binary files /dev/null and b/textures/moreglass_CyanGlass.png differ diff --git a/textures/moreglass_CyanGlassSand.png b/textures/moreglass_CyanGlassSand.png new file mode 100644 index 0000000..42f921f Binary files /dev/null and b/textures/moreglass_CyanGlassSand.png differ diff --git a/textures/moreglass_CyanLightGlass.png b/textures/moreglass_CyanLightGlass.png new file mode 100644 index 0000000..cb94a2c Binary files /dev/null and b/textures/moreglass_CyanLightGlass.png differ diff --git a/textures/moreglass_CyanLightGlassSand.png b/textures/moreglass_CyanLightGlassSand.png new file mode 100644 index 0000000..42f921f Binary files /dev/null and b/textures/moreglass_CyanLightGlassSand.png differ diff --git a/textures/moreglass_GreenGlass.png b/textures/moreglass_GreenGlass.png new file mode 100644 index 0000000..b2acf62 Binary files /dev/null and b/textures/moreglass_GreenGlass.png differ diff --git a/textures/moreglass_GreenGlassSand.png b/textures/moreglass_GreenGlassSand.png new file mode 100644 index 0000000..4bc7f85 Binary files /dev/null and b/textures/moreglass_GreenGlassSand.png differ diff --git a/textures/moreglass_GreenLightGlass.png b/textures/moreglass_GreenLightGlass.png new file mode 100644 index 0000000..864399e Binary files /dev/null and b/textures/moreglass_GreenLightGlass.png differ diff --git a/textures/moreglass_GreenLightGlassSand.png b/textures/moreglass_GreenLightGlassSand.png new file mode 100644 index 0000000..4bc7f85 Binary files /dev/null and b/textures/moreglass_GreenLightGlassSand.png differ diff --git a/textures/moreglass_OrangeGlass.png b/textures/moreglass_OrangeGlass.png new file mode 100644 index 0000000..384ece6 Binary files /dev/null and b/textures/moreglass_OrangeGlass.png differ diff --git a/textures/moreglass_OrangeGlassSand.png b/textures/moreglass_OrangeGlassSand.png new file mode 100644 index 0000000..f3ead47 Binary files /dev/null and b/textures/moreglass_OrangeGlassSand.png differ diff --git a/textures/moreglass_OrangeLightGlass.png b/textures/moreglass_OrangeLightGlass.png new file mode 100644 index 0000000..7d90927 Binary files /dev/null and b/textures/moreglass_OrangeLightGlass.png differ diff --git a/textures/moreglass_OrangeLightGlassSand.png b/textures/moreglass_OrangeLightGlassSand.png new file mode 100644 index 0000000..f3ead47 Binary files /dev/null and b/textures/moreglass_OrangeLightGlassSand.png differ diff --git a/textures/moreglass_RedGlass.png b/textures/moreglass_RedGlass.png new file mode 100644 index 0000000..8cc75f9 Binary files /dev/null and b/textures/moreglass_RedGlass.png differ diff --git a/textures/moreglass_RedGlassSand.png b/textures/moreglass_RedGlassSand.png new file mode 100644 index 0000000..b3b86b9 Binary files /dev/null and b/textures/moreglass_RedGlassSand.png differ diff --git a/textures/moreglass_RedLightGlass.png b/textures/moreglass_RedLightGlass.png new file mode 100644 index 0000000..a1402ca Binary files /dev/null and b/textures/moreglass_RedLightGlass.png differ diff --git a/textures/moreglass_RedLightGlassSand.png b/textures/moreglass_RedLightGlassSand.png new file mode 100644 index 0000000..b3b86b9 Binary files /dev/null and b/textures/moreglass_RedLightGlassSand.png differ diff --git a/textures/moreglass_ViolettGlass.png b/textures/moreglass_ViolettGlass.png new file mode 100644 index 0000000..790928b Binary files /dev/null and b/textures/moreglass_ViolettGlass.png differ diff --git a/textures/moreglass_ViolettGlassSand.png b/textures/moreglass_ViolettGlassSand.png new file mode 100644 index 0000000..e889024 Binary files /dev/null and b/textures/moreglass_ViolettGlassSand.png differ diff --git a/textures/moreglass_ViolettLightGlass.png b/textures/moreglass_ViolettLightGlass.png new file mode 100644 index 0000000..1374807 Binary files /dev/null and b/textures/moreglass_ViolettLightGlass.png differ diff --git a/textures/moreglass_ViolettLightGlassSand.png b/textures/moreglass_ViolettLightGlassSand.png new file mode 100644 index 0000000..e889024 Binary files /dev/null and b/textures/moreglass_ViolettLightGlassSand.png differ diff --git a/textures/moreglass_YellowGlass.png b/textures/moreglass_YellowGlass.png new file mode 100644 index 0000000..45757b9 Binary files /dev/null and b/textures/moreglass_YellowGlass.png differ diff --git a/textures/moreglass_YellowGlassSand.png b/textures/moreglass_YellowGlassSand.png new file mode 100644 index 0000000..399f2dd Binary files /dev/null and b/textures/moreglass_YellowGlassSand.png differ diff --git a/textures/moreglass_YellowLightGlass.png b/textures/moreglass_YellowLightGlass.png new file mode 100644 index 0000000..5023e82 Binary files /dev/null and b/textures/moreglass_YellowLightGlass.png differ diff --git a/textures/moreglass_YellowLightGlassSand.png b/textures/moreglass_YellowLightGlassSand.png new file mode 100644 index 0000000..399f2dd Binary files /dev/null and b/textures/moreglass_YellowLightGlassSand.png differ