diff --git a/lrfurn/README.txt b/lrfurn/README.txt new file mode 100644 index 0000000..de8ee8d --- /dev/null +++ b/lrfurn/README.txt @@ -0,0 +1,85 @@ +Living Room Furniture (lrfurn) mod for Minetest + + +by thefamilygrog66 + +Description: +Coloured Long Sofas (3 blocks wide), Sofas (2 blocks wide), Armchairs, Coffee Tables and End Tables, loosely based on PilzAdam's beds mod. There are 9 colours in all: red, orange, yellow, green, blue, violet, black, grey and white. + +When you right-click on a long sofa, sofa or armchair, it transports you onto it, and replenishes your HP. Good if you've just escaped nasty mobs, didn't fare so well in battle, or just had a bad fall. The coffee table - which isn't coloured, just wooden - is pretty much just for decoration. It stands half a block high and nearly 2 blocks long. The end table is similar to the coffee table, though roughly half the length (i.e. only one block) and square. + +Recipes: + + Long Sofa + + +---------------+---------------+---------------+ + | coloured wool | coloured wool | coloured wool | + +---------------+---------------+---------------+ + | wood slab | wood slab | wood slab | + +---------------+---------------+---------------+ + | stick | stick | stick | + +---------------+---------------+---------------+ + + Sofa + + +---------------+---------------+-------+ + | coloured wool | coloured wool | | + +---------------+---------------+-------+ + | wood slab | wood slab | | + +---------------+---------------+-------+ + | stick | stick | | + +---------------+---------------+-------+ + + Armchair + + +---------------+-------+-------+ + | coloured wool | | | + +---------------+-------+-------+ + | wood slab | | | + +---------------+-------+-------+ + | stick | | | + +---------------+-------+-------+ + + Coffee Table (only wood texture) + + +-----------+-----------+-----------+ + | | | | + +-----------+-----------+-----------+ + | wood slab | wood slab | wood slab | + +-----------+-----------+-----------+ + | stick | | stick | + +-----------+-----------+-----------+ + + End Table (only wood texture) + + +-----------+-----------+-----------+ + | | | | + +-----------+-----------+-----------+ + | wood slab | wood slab | | + +-----------+-----------+-----------+ + | stick | stick | | + +-----------+-----------+-----------+ + + +Mod dependencies: default, wool + +License: +Sourcecode: WTFPL (see below) +Graphics: WTFPL (see below) + +See also: +http://minetest.net/ + + 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. diff --git a/lrfurn/armchairs.lua b/lrfurn/armchairs.lua new file mode 100644 index 0000000..d69d255 --- /dev/null +++ b/lrfurn/armchairs.lua @@ -0,0 +1,94 @@ +local armchairs_list = { + { "Red Armchair", "red"}, + { "Orange Armchair", "orange"}, + { "Yellow Armchair", "yellow"}, + { "Green Armchair", "green"}, + { "Blue Armchair", "blue"}, + { "Violet Armchair", "violet"}, + { "Black Armchair", "black"}, + { "Grey Armchair", "grey"}, + { "White Armchair", "white"}, +} + +for i in ipairs(armchairs_list) do + local armchairdesc = armchairs_list[i][1] + local colour = armchairs_list[i][2] + + minetest.register_node("lrfurn:armchair_"..colour, { + description = armchairdesc, + drawtype = "nodebox", + tiles = {"lrfurn_armchair_top_"..colour..".png", "lrfurn_coffeetable_back.png", "lrfurn_sofa_left_side_"..colour..".png", "lrfurn_sofa_right_side_"..colour..".png", "lrfurn_sofa_back_"..colour..".png", "lrfurn_armchair_front_"..colour..".png"}, + paramtype = "light", + paramtype2 = "facedir", + stack_max = 1, + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, + sounds = default.node_sound_wood_defaults(), + node_box = { + type = "fixed", + fixed = { + --legs + {-0.4375, -0.5, -0.4375, -0.375, -0.375, -0.375}, + {0.375, -0.5, -0.4375, 0.4375, -0.375, -0.375}, + {-0.4375, -0.5, 0.375, -0.375, -0.375, 0.4375}, + {0.375, -0.5, 0.375, 0.4375, -0.375, 0.4375}, + + --base/cushion + {-0.5, -0.375, -0.5, 0.5, 0, 0.5}, + + --back + {-0.5, 0, 0.3125, 0.5, 0.5, 0.5}, + + --arms + {-0.5, 0, -0.5, -0.3125, 0.25, 0.3125}, + {0.3125, 0, -0.5, 0.5, 0.25, 0.3125}, + } + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5}, + } + }, + + on_rightclick = function(pos, node, clicker) + if not clicker:is_player() then + return + end + pos.y = pos.y-0.5 + clicker:setpos(pos) + clicker:set_hp(20) + end + }) + + minetest.register_craft({ + output = "lrfurn:armchair_"..colour, + recipe = { + {"wool:"..colour, "", "", }, + {"stairs:slab_wood", "", "", }, + {"default:stick", "", "", } + } + }) + + minetest.register_craft({ + output = "lrfurn:armchair_"..colour, + recipe = { + {"wool:"..colour, "", "", }, + {"moreblocks:slab_wood", "", "", }, + {"default:stick", "", "", } + } + }) + + minetest.register_craft({ + output = "lrfurn:armchair_"..colour, + recipe = { + {"wool:"..colour, "", "", }, + {"group:wood_slab", "", "", }, + {"default:stick", "", "", } + } + }) + +end + +if minetest.setting_get("log_mods") then + minetest.log("action", "armchairs loaded") +end diff --git a/lrfurn/coffeetable.lua b/lrfurn/coffeetable.lua new file mode 100644 index 0000000..57e7807 --- /dev/null +++ b/lrfurn/coffeetable.lua @@ -0,0 +1,123 @@ +minetest.register_node("lrfurn:coffeetable_back", { + description = "Coffee Table", + drawtype = "nodebox", + tiles = {"lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png"}, + paramtype = "light", + paramtype2 = "facedir", + stack_max = 1, + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, + sounds = default.node_sound_wood_defaults(), + node_box = { + type = "fixed", + fixed = { + --legs + {-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.3125}, + {0.3125, -0.5, -0.375, 0.375, -0.0625, -0.3125}, + + --tabletop + {-0.4375, -0.0625, -0.4375, 0.4375, 0, 0.5}, + } + }, + selection_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -0.4375, 0.4375, 0.0, 1.4375}, + } + }, + + on_construct = function(pos) + local node = minetest.env:get_node(pos) + local param2 = node.param2 + node.name = "lrfurn:coffeetable_front" + if param2 == 0 then + pos.z = pos.z+1 + elseif param2 == 1 then + pos.x = pos.x+1 + elseif param2 == 2 then + pos.z = pos.z-1 + elseif param2 == 3 then + pos.x = pos.x-1 + end + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).name == "air" ) then + minetest.env:set_node(pos, node) + end + end, + + on_destruct = function(pos) + local node = minetest.env:get_node(pos) + local param2 = node.param2 + if param2 == 0 then + pos.z = pos.z+1 + elseif param2 == 1 then + pos.x = pos.x+1 + elseif param2 == 2 then + pos.z = pos.z-1 + elseif param2 == 3 then + pos.x = pos.x-1 + end + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).name == "lrfurn:coffeetable_front" ) then + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).param2 == param2 ) then + minetest.env:remove_node(pos) + end + end + end, +}) + +minetest.register_node("lrfurn:coffeetable_front", { + drawtype = "nodebox", + tiles = {"lrfurn_coffeetable_front.png", "lrfurn_coffeetable_front.png", "lrfurn_coffeetable_front.png", "lrfurn_coffeetable_front.png", "lrfurn_coffeetable_front.png", "lrfurn_coffeetable_front.png"}, + paramtype = "light", + paramtype2 = "facedir", + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, + sounds = default.node_sound_wood_defaults(), + node_box = { + type = "fixed", + fixed = { + --legs + {-0.375, -0.5, 0.3125, -0.3125, -0.0625, 0.375}, + {0.3125, -0.5, 0.3125, 0.375, -0.0625, 0.375}, + + --tabletop + {-0.4375, -0.0625, -0.5, 0.4375, 0, 0.4375}, + } + }, + selection_box = { + type = "fixed", + fixed = { + {0, 0, 0, 0, 0, 0}, + } + }, +}) + +minetest.register_alias("lrfurn:coffeetable", "lrfurn:coffeetable_back") + +minetest.register_craft({ + output = "lrfurn:coffeetable", + recipe = { + {"", "", "", }, + {"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood", }, + {"default:stick", "", "default:stick", } + } +}) + +minetest.register_craft({ + output = "lrfurn:coffeetable", + recipe = { + {"", "", "", }, + {"moreblocks:slab_wood", "moreblocks:slab_wood", "moreblocks:slab_wood", }, + {"default:stick", "", "default:stick", } + } +}) + +minetest.register_craft({ + output = "lrfurn:coffeetable", + recipe = { + {"", "", "", }, + {"group:wood_slab", "group:wood_slab", "group:wood_slab", }, + {"default:stick", "", "default:stick", } + } +}) + +if minetest.setting_get("log_mods") then + minetest.log("action", "coffeetable loaded") +end diff --git a/lrfurn/depends.txt b/lrfurn/depends.txt new file mode 100644 index 0000000..470ec30 --- /dev/null +++ b/lrfurn/depends.txt @@ -0,0 +1,2 @@ +default +wool diff --git a/lrfurn/endtable.lua b/lrfurn/endtable.lua new file mode 100644 index 0000000..45b49ae --- /dev/null +++ b/lrfurn/endtable.lua @@ -0,0 +1,60 @@ +minetest.register_node("lrfurn:endtable", { + description = "End Table", + drawtype = "nodebox", + tiles = {"lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png"}, + paramtype = "light", + paramtype2 = "facedir", + stack_max = 1, + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, + sounds = default.node_sound_wood_defaults(), + node_box = { + type = "fixed", + fixed = { + --legs + {-0.375, -0.5, -0.375, -0.3125, -0.0625, -0.3125}, + {0.3125, -0.5, -0.375, 0.375, -0.0625, -0.3125}, + {-0.375, -0.5, 0.3125, -0.3125, -0.0625, 0.375}, + {0.3125, -0.5, 0.3125, 0.375, -0.0625, 0.375}, + + --tabletop + {-0.4375, -0.0625, -0.4375, 0.4375, 0, 0.4375}, + } + }, + selection_box = { + type = "fixed", + fixed = { + {-0.4375, -0.5, -0.4375, 0.4375, 0.0, 0.4375}, + } + }, +}) + +minetest.register_craft({ + output = "lrfurn:endtable", + recipe = { + {"", "", "", }, + {"stairs:slab_wood", "stairs:slab_wood", "", }, + {"default:stick", "default:stick", "", } + } +}) + +minetest.register_craft({ + output = "lrfurn:endtable", + recipe = { + {"", "", "", }, + {"moreblocks:slab_wood", "moreblocks:slab_wood", "", }, + {"default:stick", "default:stick", "", } + } +}) + +minetest.register_craft({ + output = "lrfurn:endtable", + recipe = { + {"", "", "", }, + {"group:wood_slab", "group:wood_slab", "", }, + {"default:stick", "default:stick", "", } + } +}) + +if minetest.setting_get("log_mods") then + minetest.log("action", "endtable loaded") +end diff --git a/lrfurn/init.lua b/lrfurn/init.lua new file mode 100644 index 0000000..a54b923 --- /dev/null +++ b/lrfurn/init.lua @@ -0,0 +1,5 @@ +dofile(minetest.get_modpath("lrfurn").."/longsofas.lua") +dofile(minetest.get_modpath("lrfurn").."/sofas.lua") +dofile(minetest.get_modpath("lrfurn").."/armchairs.lua") +dofile(minetest.get_modpath("lrfurn").."/coffeetable.lua") +dofile(minetest.get_modpath("lrfurn").."/endtable.lua") diff --git a/lrfurn/longsofas.lua b/lrfurn/longsofas.lua new file mode 100644 index 0000000..23edfdd --- /dev/null +++ b/lrfurn/longsofas.lua @@ -0,0 +1,218 @@ +local longsofas_list = { + { "Red Long Sofa", "red"}, + { "Orange Long Sofa", "orange"}, + { "Yellow Long Sofa", "yellow"}, + { "Green Long Sofa", "green"}, + { "Blue Long Sofa", "blue"}, + { "Violet Long Sofa", "violet"}, + { "Black Long Sofa", "black"}, + { "Grey Long Sofa", "grey"}, + { "White Long Sofa", "white"}, +} + +for i in ipairs(longsofas_list) do + local longsofadesc = longsofas_list[i][1] + local colour = longsofas_list[i][2] + + minetest.register_node("lrfurn:longsofa_right_"..colour, { + description = longsofadesc, + drawtype = "nodebox", + tiles = {"lrfurn_sofa_right_top_"..colour..".png", "lrfurn_coffeetable_back.png", "lrfurn_sofa_right_front_"..colour..".png", "lrfurn_sofa_back_"..colour..".png", "lrfurn_sofa_left_side_"..colour..".png", "lrfurn_sofa_right_side_"..colour..".png"}, + paramtype = "light", + paramtype2 = "facedir", + stack_max = 1, + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, + sounds = default.node_sound_wood_defaults(), + node_box = { + type = "fixed", + fixed = { + --legs + {-0.4375, -0.5, -0.4375, -0.375, -0.375, -0.375}, + {0.375, -0.5, -0.4375, 0.4375, -0.375, -0.375}, + + --base/cushion + {-0.5, -0.375, -0.5, 0.5, 0, 0.5}, + + --back + {-0.5, 0, -0.5, -0.3125, 0.5, 0.5}, + + --arm + {-0.3125, 0, -0.5, 0.5, 0.25, -0.3125}, + } + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 2.5}, + } + }, + + on_construct = function(pos) + local node = minetest.env:get_node(pos) + local param2 = node.param2 + node.name = "lrfurn:longsofa_middle_"..colour + if param2 == 0 then + pos.z = pos.z+1 + elseif param2 == 1 then + pos.x = pos.x+1 + elseif param2 == 2 then + pos.z = pos.z-1 + elseif param2 == 3 then + pos.x = pos.x-1 + end + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).name == "air" ) then + minetest.env:set_node(pos, node) + node.name = "lrfurn:longsofa_left_"..colour + if param2 == 0 then + pos.z = pos.z+1 + elseif param2 == 1 then + pos.x = pos.x+1 + elseif param2 == 2 then + pos.z = pos.z-1 + elseif param2 == 3 then + pos.x = pos.x-1 + end + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).name == "air" ) then + minetest.env:set_node(pos, node) + end + end + end, + + on_destruct = function(pos) + local node = minetest.env:get_node(pos) + local param2 = node.param2 + if param2 == 0 then + pos.z = pos.z+1 + elseif param2 == 1 then + pos.x = pos.x+1 + elseif param2 == 2 then + pos.z = pos.z-1 + elseif param2 == 3 then + pos.x = pos.x-1 + end + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).name == "lrfurn:longsofa_middle_"..colour ) then + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).param2 == param2 ) then + minetest.env:remove_node(pos) + if param2 == 0 then + pos.z = pos.z+1 + elseif param2 == 1 then + pos.x = pos.x+1 + elseif param2 == 2 then + pos.z = pos.z-1 + elseif param2 == 3 then + pos.x = pos.x-1 + end + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).name == "lrfurn:longsofa_left_"..colour ) then + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).param2 == param2 ) then + minetest.env:remove_node(pos) + end + end + end + end + end, + + on_rightclick = function(pos, node, clicker) + if not clicker:is_player() then + return + end + pos.y = pos.y-0.5 + clicker:setpos(pos) + clicker:set_hp(20) + end + }) + + minetest.register_node("lrfurn:longsofa_middle_"..colour, { + drawtype = "nodebox", + tiles = {"lrfurn_longsofa_middle_top_"..colour..".png", "lrfurn_coffeetable_back.png", "lrfurn_longsofa_middle_front_"..colour..".png", "lrfurn_sofa_back_"..colour..".png", "lrfurn_sofa_left_side_"..colour..".png", "lrfurn_sofa_right_side_"..colour..".png"}, + paramtype = "light", + paramtype2 = "facedir", + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, + sounds = default.node_sound_wood_defaults(), + node_box = { + type = "fixed", + fixed = { + --legs + {-0.4375, -0.5, -0.03125, -0.375, -0.375, 0.03125}, + {0.375, -0.5, -0.03125, 0.4375, -0.375, 0.03125}, + + --base/cushion + {-0.5, -0.375, -0.5, 0.5, 0, 0.5}, + + --back + {-0.5, 0, -0.5, -0.3125, 0.5, 0.5}, + } + }, + selection_box = { + type = "fixed", + fixed = { + {0, 0, 0, 0, 0, 0}, + } + }, + }) + + minetest.register_node("lrfurn:longsofa_left_"..colour, { + drawtype = "nodebox", + tiles = {"lrfurn_sofa_left_top_"..colour..".png", "lrfurn_coffeetable_back.png", "lrfurn_sofa_left_front_"..colour..".png", "lrfurn_sofa_back_"..colour..".png", "lrfurn_sofa_left_side_"..colour..".png", "lrfurn_sofa_right_side_"..colour..".png"}, + paramtype = "light", + paramtype2 = "facedir", + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, + sounds = default.node_sound_wood_defaults(), + node_box = { + type = "fixed", + fixed = { + --legs + {-0.4375, -0.5, 0.375, -0.375, -0.375, 0.4375}, + {0.375, -0.5, 0.375, 0.4375, -0.375, 0.4375}, + + --base/cushion + {-0.5, -0.375, -0.5, 0.5, 0, 0.5}, + + --back + {-0.5, 0, -0.5, -0.3125, 0.5, 0.5}, + + --arm + {-0.3125, 0, 0.3125, 0.5, 0.25, 0.5}, + } + }, + selection_box = { + type = "fixed", + fixed = { + {0, 0, 0, 0, 0, 0}, + } + }, + }) + + minetest.register_alias("lrfurn:longsofa_"..colour, "lrfurn:longsofa_right_"..colour) + + minetest.register_craft({ + output = "lrfurn:longsofa_"..colour, + recipe = { + {"wool:"..colour, "wool:"..colour, "wool:"..colour, }, + {"stairs:slab_wood", "stairs:slab_wood", "stairs:slab_wood", }, + {"default:stick", "default:stick", "default:stick", } + } + }) + + minetest.register_craft({ + output = "lrfurn:longsofa_"..colour, + recipe = { + {"wool:"..colour, "wool:"..colour, "wool:"..colour, }, + {"moreblocks:slab_wood", "moreblocks:slab_wood", "moreblocks:slab_wood", }, + {"default:stick", "default:stick", "default:stick", } + } + }) + + minetest.register_craft({ + output = "lrfurn:longsofa_"..colour, + recipe = { + {"wool:"..colour, "wool:"..colour, "wool:"..colour, }, + {"group:wood_slab", "group:wood_slab", "group:wood_slab", }, + {"default:stick", "default:stick", "default:stick", } + } + }) + +end + +if minetest.setting_get("log_mods") then + minetest.log("action", "long sofas loaded") +end diff --git a/lrfurn/sofas.lua b/lrfurn/sofas.lua new file mode 100644 index 0000000..a7edd30 --- /dev/null +++ b/lrfurn/sofas.lua @@ -0,0 +1,162 @@ +local sofas_list = { + { "Red Sofa", "red"}, + { "Orange Sofa", "orange"}, + { "Yellow Sofa", "yellow"}, + { "Green Sofa", "green"}, + { "Blue Sofa", "blue"}, + { "Violet Sofa", "violet"}, + { "Black Sofa", "black"}, + { "Grey Sofa", "grey"}, + { "White Sofa", "white"}, +} + +for i in ipairs(sofas_list) do + local sofadesc = sofas_list[i][1] + local colour = sofas_list[i][2] + + minetest.register_node("lrfurn:sofa_right_"..colour, { + description = sofadesc, + drawtype = "nodebox", + tiles = {"lrfurn_sofa_right_top_"..colour..".png", "lrfurn_coffeetable_back.png", "lrfurn_sofa_right_front_"..colour..".png", "lrfurn_sofa_back_"..colour..".png", "lrfurn_sofa_left_side_"..colour..".png", "lrfurn_sofa_right_side_"..colour..".png"}, + paramtype = "light", + paramtype2 = "facedir", + stack_max = 1, + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, + sounds = default.node_sound_wood_defaults(), + node_box = { + type = "fixed", + fixed = { + --legs + {-0.4375, -0.5, -0.4375, -0.375, -0.375, -0.375}, + {0.375, -0.5, -0.4375, 0.4375, -0.375, -0.375}, + + --base/cushion + {-0.5, -0.375, -0.5, 0.5, 0, 0.5}, + + --back + {-0.5, 0, -0.5, -0.3125, 0.5, 0.5}, + + --arm + {-0.3125, 0, -0.5, 0.5, 0.25, -0.3125}, + } + }, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, 0.5, 1.5}, + } + }, + + on_construct = function(pos) + local node = minetest.env:get_node(pos) + local param2 = node.param2 + node.name = "lrfurn:sofa_left_"..colour + if param2 == 0 then + pos.z = pos.z+1 + elseif param2 == 1 then + pos.x = pos.x+1 + elseif param2 == 2 then + pos.z = pos.z-1 + elseif param2 == 3 then + pos.x = pos.x-1 + end + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).name == "air" ) then + minetest.env:set_node(pos, node) + end + end, + + on_destruct = function(pos) + local node = minetest.env:get_node(pos) + local param2 = node.param2 + if param2 == 0 then + pos.z = pos.z+1 + elseif param2 == 1 then + pos.x = pos.x+1 + elseif param2 == 2 then + pos.z = pos.z-1 + elseif param2 == 3 then + pos.x = pos.x-1 + end + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).name == "lrfurn:sofa_left_"..colour ) then + if( minetest.env:get_node({x=pos.x, y=pos.y, z=pos.z}).param2 == param2 ) then + minetest.env:remove_node(pos) + end + end + end, + + on_rightclick = function(pos, node, clicker) + if not clicker:is_player() then + return + end + pos.y = pos.y-0.5 + clicker:setpos(pos) + clicker:set_hp(20) + end + }) + + minetest.register_node("lrfurn:sofa_left_"..colour, { + drawtype = "nodebox", + tiles = {"lrfurn_sofa_left_top_"..colour..".png", "lrfurn_coffeetable_back.png", "lrfurn_sofa_left_front_"..colour..".png", "lrfurn_sofa_back_"..colour..".png", "lrfurn_sofa_left_side_"..colour..".png", "lrfurn_sofa_right_side_"..colour..".png"}, + paramtype = "light", + paramtype2 = "facedir", + groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3}, + sounds = default.node_sound_wood_defaults(), + node_box = { + type = "fixed", + fixed = { + --legs + {-0.4375, -0.5, 0.375, -0.375, -0.375, 0.4375}, + {0.375, -0.5, 0.375, 0.4375, -0.375, 0.4375}, + + --base/cushion + {-0.5, -0.375, -0.5, 0.5, 0, 0.5}, + + --back + {-0.5, 0, -0.5, -0.3125, 0.5, 0.5}, + + --arm + {-0.3125, 0, 0.3125, 0.5, 0.25, 0.5}, + } + }, + selection_box = { + type = "fixed", + fixed = { + {0, 0, 0, 0, 0, 0}, + } + }, + }) + + minetest.register_alias("lrfurn:sofa_"..colour, "lrfurn:sofa_right_"..colour) + + minetest.register_craft({ + output = "lrfurn:sofa_"..colour, + recipe = { + {"wool:"..colour, "wool:"..colour, "", }, + {"stairs:slab_wood", "stairs:slab_wood", "", }, + {"default:stick", "default:stick", "", } + } + }) + + minetest.register_craft({ + output = "lrfurn:sofa_"..colour, + recipe = { + {"wool:"..colour, "wool:"..colour, "", }, + {"moreblocks:slab_wood", "moreblocks:slab_wood", "", }, + {"default:stick", "default:stick", "", } + } + }) + + minetest.register_craft({ + output = "lrfurn:sofa_"..colour, + recipe = { + {"wool:"..colour, "wool:"..colour, "", }, + {"group:wood_slab", "group:wood_slab", "", }, + {"default:stick", "default:stick", "", } + } + }) + +end + +if minetest.setting_get("log_mods") then + minetest.log("action", "sofas loaded") +end diff --git a/lrfurn/textures/lrfurn_armchair_front_black.png b/lrfurn/textures/lrfurn_armchair_front_black.png new file mode 100644 index 0000000..e2be038 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_front_black.png differ diff --git a/lrfurn/textures/lrfurn_armchair_front_blue.png b/lrfurn/textures/lrfurn_armchair_front_blue.png new file mode 100644 index 0000000..8cf6ca7 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_front_blue.png differ diff --git a/lrfurn/textures/lrfurn_armchair_front_green.png b/lrfurn/textures/lrfurn_armchair_front_green.png new file mode 100644 index 0000000..5f4de8a Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_front_green.png differ diff --git a/lrfurn/textures/lrfurn_armchair_front_grey.png b/lrfurn/textures/lrfurn_armchair_front_grey.png new file mode 100644 index 0000000..2a5995a Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_front_grey.png differ diff --git a/lrfurn/textures/lrfurn_armchair_front_orange.png b/lrfurn/textures/lrfurn_armchair_front_orange.png new file mode 100644 index 0000000..ee83df2 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_front_orange.png differ diff --git a/lrfurn/textures/lrfurn_armchair_front_red.png b/lrfurn/textures/lrfurn_armchair_front_red.png new file mode 100644 index 0000000..8a80c64 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_front_red.png differ diff --git a/lrfurn/textures/lrfurn_armchair_front_violet.png b/lrfurn/textures/lrfurn_armchair_front_violet.png new file mode 100644 index 0000000..1f37e54 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_front_violet.png differ diff --git a/lrfurn/textures/lrfurn_armchair_front_white.png b/lrfurn/textures/lrfurn_armchair_front_white.png new file mode 100644 index 0000000..36b101a Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_front_white.png differ diff --git a/lrfurn/textures/lrfurn_armchair_front_yellow.png b/lrfurn/textures/lrfurn_armchair_front_yellow.png new file mode 100644 index 0000000..7bebd4a Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_front_yellow.png differ diff --git a/lrfurn/textures/lrfurn_armchair_top_black.png b/lrfurn/textures/lrfurn_armchair_top_black.png new file mode 100644 index 0000000..405443b Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_top_black.png differ diff --git a/lrfurn/textures/lrfurn_armchair_top_blue.png b/lrfurn/textures/lrfurn_armchair_top_blue.png new file mode 100644 index 0000000..483575f Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_top_blue.png differ diff --git a/lrfurn/textures/lrfurn_armchair_top_green.png b/lrfurn/textures/lrfurn_armchair_top_green.png new file mode 100644 index 0000000..bcf1495 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_top_green.png differ diff --git a/lrfurn/textures/lrfurn_armchair_top_grey.png b/lrfurn/textures/lrfurn_armchair_top_grey.png new file mode 100644 index 0000000..7dab11d Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_top_grey.png differ diff --git a/lrfurn/textures/lrfurn_armchair_top_orange.png b/lrfurn/textures/lrfurn_armchair_top_orange.png new file mode 100644 index 0000000..c1ba8ca Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_top_orange.png differ diff --git a/lrfurn/textures/lrfurn_armchair_top_red.png b/lrfurn/textures/lrfurn_armchair_top_red.png new file mode 100644 index 0000000..5de6125 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_top_red.png differ diff --git a/lrfurn/textures/lrfurn_armchair_top_violet.png b/lrfurn/textures/lrfurn_armchair_top_violet.png new file mode 100644 index 0000000..a0d67b1 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_top_violet.png differ diff --git a/lrfurn/textures/lrfurn_armchair_top_white.png b/lrfurn/textures/lrfurn_armchair_top_white.png new file mode 100644 index 0000000..21f5a52 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_top_white.png differ diff --git a/lrfurn/textures/lrfurn_armchair_top_yellow.png b/lrfurn/textures/lrfurn_armchair_top_yellow.png new file mode 100644 index 0000000..559ede2 Binary files /dev/null and b/lrfurn/textures/lrfurn_armchair_top_yellow.png differ diff --git a/lrfurn/textures/lrfurn_coffeetable_back.png b/lrfurn/textures/lrfurn_coffeetable_back.png new file mode 100644 index 0000000..771f9c5 Binary files /dev/null and b/lrfurn/textures/lrfurn_coffeetable_back.png differ diff --git a/lrfurn/textures/lrfurn_coffeetable_front.png b/lrfurn/textures/lrfurn_coffeetable_front.png new file mode 100644 index 0000000..0d94747 Binary files /dev/null and b/lrfurn/textures/lrfurn_coffeetable_front.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_front_black.png b/lrfurn/textures/lrfurn_longsofa_middle_front_black.png new file mode 100644 index 0000000..242cc33 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_front_black.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_front_blue.png b/lrfurn/textures/lrfurn_longsofa_middle_front_blue.png new file mode 100644 index 0000000..a53b1f7 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_front_blue.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_front_green.png b/lrfurn/textures/lrfurn_longsofa_middle_front_green.png new file mode 100644 index 0000000..7a599af Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_front_green.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_front_grey.png b/lrfurn/textures/lrfurn_longsofa_middle_front_grey.png new file mode 100644 index 0000000..64ecd9a Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_front_grey.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_front_orange.png b/lrfurn/textures/lrfurn_longsofa_middle_front_orange.png new file mode 100644 index 0000000..083ad56 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_front_orange.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_front_red.png b/lrfurn/textures/lrfurn_longsofa_middle_front_red.png new file mode 100644 index 0000000..eb74abc Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_front_red.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_front_violet.png b/lrfurn/textures/lrfurn_longsofa_middle_front_violet.png new file mode 100644 index 0000000..87fc5b6 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_front_violet.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_front_white.png b/lrfurn/textures/lrfurn_longsofa_middle_front_white.png new file mode 100644 index 0000000..52844fd Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_front_white.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_front_yellow.png b/lrfurn/textures/lrfurn_longsofa_middle_front_yellow.png new file mode 100644 index 0000000..24df5b5 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_front_yellow.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_top_black.png b/lrfurn/textures/lrfurn_longsofa_middle_top_black.png new file mode 100644 index 0000000..45c8561 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_top_black.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_top_blue.png b/lrfurn/textures/lrfurn_longsofa_middle_top_blue.png new file mode 100644 index 0000000..69c88d2 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_top_blue.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_top_green.png b/lrfurn/textures/lrfurn_longsofa_middle_top_green.png new file mode 100644 index 0000000..2a9c473 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_top_green.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_top_grey.png b/lrfurn/textures/lrfurn_longsofa_middle_top_grey.png new file mode 100644 index 0000000..c3bd4d5 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_top_grey.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_top_orange.png b/lrfurn/textures/lrfurn_longsofa_middle_top_orange.png new file mode 100644 index 0000000..854285f Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_top_orange.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_top_red.png b/lrfurn/textures/lrfurn_longsofa_middle_top_red.png new file mode 100644 index 0000000..217a15d Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_top_red.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_top_violet.png b/lrfurn/textures/lrfurn_longsofa_middle_top_violet.png new file mode 100644 index 0000000..d8946bc Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_top_violet.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_top_white.png b/lrfurn/textures/lrfurn_longsofa_middle_top_white.png new file mode 100644 index 0000000..3fa0915 Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_top_white.png differ diff --git a/lrfurn/textures/lrfurn_longsofa_middle_top_yellow.png b/lrfurn/textures/lrfurn_longsofa_middle_top_yellow.png new file mode 100644 index 0000000..33384cc Binary files /dev/null and b/lrfurn/textures/lrfurn_longsofa_middle_top_yellow.png differ diff --git a/lrfurn/textures/lrfurn_sofa_back_black.png b/lrfurn/textures/lrfurn_sofa_back_black.png new file mode 100644 index 0000000..82571e1 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_back_black.png differ diff --git a/lrfurn/textures/lrfurn_sofa_back_blue.png b/lrfurn/textures/lrfurn_sofa_back_blue.png new file mode 100644 index 0000000..c31b877 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_back_blue.png differ diff --git a/lrfurn/textures/lrfurn_sofa_back_green.png b/lrfurn/textures/lrfurn_sofa_back_green.png new file mode 100644 index 0000000..1589b2a Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_back_green.png differ diff --git a/lrfurn/textures/lrfurn_sofa_back_grey.png b/lrfurn/textures/lrfurn_sofa_back_grey.png new file mode 100644 index 0000000..f0758c4 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_back_grey.png differ diff --git a/lrfurn/textures/lrfurn_sofa_back_orange.png b/lrfurn/textures/lrfurn_sofa_back_orange.png new file mode 100644 index 0000000..f646c84 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_back_orange.png differ diff --git a/lrfurn/textures/lrfurn_sofa_back_red.png b/lrfurn/textures/lrfurn_sofa_back_red.png new file mode 100644 index 0000000..c80650d Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_back_red.png differ diff --git a/lrfurn/textures/lrfurn_sofa_back_violet.png b/lrfurn/textures/lrfurn_sofa_back_violet.png new file mode 100644 index 0000000..1be8c77 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_back_violet.png differ diff --git a/lrfurn/textures/lrfurn_sofa_back_white.png b/lrfurn/textures/lrfurn_sofa_back_white.png new file mode 100644 index 0000000..7e54360 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_back_white.png differ diff --git a/lrfurn/textures/lrfurn_sofa_back_yellow.png b/lrfurn/textures/lrfurn_sofa_back_yellow.png new file mode 100644 index 0000000..6927a20 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_back_yellow.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_front_black.png b/lrfurn/textures/lrfurn_sofa_left_front_black.png new file mode 100644 index 0000000..c57e5b3 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_front_black.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_front_blue.png b/lrfurn/textures/lrfurn_sofa_left_front_blue.png new file mode 100644 index 0000000..55ef6fc Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_front_blue.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_front_green.png b/lrfurn/textures/lrfurn_sofa_left_front_green.png new file mode 100644 index 0000000..8e2a273 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_front_green.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_front_grey.png b/lrfurn/textures/lrfurn_sofa_left_front_grey.png new file mode 100644 index 0000000..68db4af Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_front_grey.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_front_orange.png b/lrfurn/textures/lrfurn_sofa_left_front_orange.png new file mode 100644 index 0000000..0f3ebd2 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_front_orange.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_front_red.png b/lrfurn/textures/lrfurn_sofa_left_front_red.png new file mode 100644 index 0000000..327150e Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_front_red.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_front_violet.png b/lrfurn/textures/lrfurn_sofa_left_front_violet.png new file mode 100644 index 0000000..0c8b6dc Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_front_violet.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_front_white.png b/lrfurn/textures/lrfurn_sofa_left_front_white.png new file mode 100644 index 0000000..c09b652 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_front_white.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_front_yellow.png b/lrfurn/textures/lrfurn_sofa_left_front_yellow.png new file mode 100644 index 0000000..a87bd39 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_front_yellow.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_side_black.png b/lrfurn/textures/lrfurn_sofa_left_side_black.png new file mode 100644 index 0000000..1fe8df3 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_side_black.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_side_blue.png b/lrfurn/textures/lrfurn_sofa_left_side_blue.png new file mode 100644 index 0000000..bca8b9c Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_side_blue.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_side_green.png b/lrfurn/textures/lrfurn_sofa_left_side_green.png new file mode 100644 index 0000000..161134f Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_side_green.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_side_grey.png b/lrfurn/textures/lrfurn_sofa_left_side_grey.png new file mode 100644 index 0000000..41ccb2c Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_side_grey.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_side_orange.png b/lrfurn/textures/lrfurn_sofa_left_side_orange.png new file mode 100644 index 0000000..7883b7a Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_side_orange.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_side_red.png b/lrfurn/textures/lrfurn_sofa_left_side_red.png new file mode 100644 index 0000000..00fc459 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_side_red.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_side_violet.png b/lrfurn/textures/lrfurn_sofa_left_side_violet.png new file mode 100644 index 0000000..7be0f0e Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_side_violet.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_side_white.png b/lrfurn/textures/lrfurn_sofa_left_side_white.png new file mode 100644 index 0000000..e3af8c7 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_side_white.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_side_yellow.png b/lrfurn/textures/lrfurn_sofa_left_side_yellow.png new file mode 100644 index 0000000..8501590 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_side_yellow.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_top_black.png b/lrfurn/textures/lrfurn_sofa_left_top_black.png new file mode 100644 index 0000000..b4dedd7 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_top_black.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_top_blue.png b/lrfurn/textures/lrfurn_sofa_left_top_blue.png new file mode 100644 index 0000000..2f6ec0a Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_top_blue.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_top_green.png b/lrfurn/textures/lrfurn_sofa_left_top_green.png new file mode 100644 index 0000000..43c0ba6 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_top_green.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_top_grey.png b/lrfurn/textures/lrfurn_sofa_left_top_grey.png new file mode 100644 index 0000000..2f3c26b Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_top_grey.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_top_orange.png b/lrfurn/textures/lrfurn_sofa_left_top_orange.png new file mode 100644 index 0000000..b8e3317 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_top_orange.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_top_red.png b/lrfurn/textures/lrfurn_sofa_left_top_red.png new file mode 100644 index 0000000..41022a1 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_top_red.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_top_violet.png b/lrfurn/textures/lrfurn_sofa_left_top_violet.png new file mode 100644 index 0000000..6adbccf Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_top_violet.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_top_white.png b/lrfurn/textures/lrfurn_sofa_left_top_white.png new file mode 100644 index 0000000..9eeffeb Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_top_white.png differ diff --git a/lrfurn/textures/lrfurn_sofa_left_top_yellow.png b/lrfurn/textures/lrfurn_sofa_left_top_yellow.png new file mode 100644 index 0000000..ca9ab4d Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_left_top_yellow.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_front_black.png b/lrfurn/textures/lrfurn_sofa_right_front_black.png new file mode 100644 index 0000000..e8baf6c Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_front_black.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_front_blue.png b/lrfurn/textures/lrfurn_sofa_right_front_blue.png new file mode 100644 index 0000000..18d50a2 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_front_blue.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_front_green.png b/lrfurn/textures/lrfurn_sofa_right_front_green.png new file mode 100644 index 0000000..1902d8a Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_front_green.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_front_grey.png b/lrfurn/textures/lrfurn_sofa_right_front_grey.png new file mode 100644 index 0000000..55f5c90 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_front_grey.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_front_orange.png b/lrfurn/textures/lrfurn_sofa_right_front_orange.png new file mode 100644 index 0000000..3209cf1 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_front_orange.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_front_red.png b/lrfurn/textures/lrfurn_sofa_right_front_red.png new file mode 100644 index 0000000..dfaf4a9 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_front_red.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_front_violet.png b/lrfurn/textures/lrfurn_sofa_right_front_violet.png new file mode 100644 index 0000000..d18df73 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_front_violet.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_front_white.png b/lrfurn/textures/lrfurn_sofa_right_front_white.png new file mode 100644 index 0000000..9b16972 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_front_white.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_front_yellow.png b/lrfurn/textures/lrfurn_sofa_right_front_yellow.png new file mode 100644 index 0000000..ce491ea Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_front_yellow.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_side_black.png b/lrfurn/textures/lrfurn_sofa_right_side_black.png new file mode 100644 index 0000000..41aa334 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_side_black.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_side_blue.png b/lrfurn/textures/lrfurn_sofa_right_side_blue.png new file mode 100644 index 0000000..d35bd7c Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_side_blue.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_side_green.png b/lrfurn/textures/lrfurn_sofa_right_side_green.png new file mode 100644 index 0000000..a6af071 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_side_green.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_side_grey.png b/lrfurn/textures/lrfurn_sofa_right_side_grey.png new file mode 100644 index 0000000..5388a30 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_side_grey.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_side_orange.png b/lrfurn/textures/lrfurn_sofa_right_side_orange.png new file mode 100644 index 0000000..75bb281 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_side_orange.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_side_red.png b/lrfurn/textures/lrfurn_sofa_right_side_red.png new file mode 100644 index 0000000..7847947 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_side_red.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_side_violet.png b/lrfurn/textures/lrfurn_sofa_right_side_violet.png new file mode 100644 index 0000000..4ed1696 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_side_violet.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_side_white.png b/lrfurn/textures/lrfurn_sofa_right_side_white.png new file mode 100644 index 0000000..38b47e2 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_side_white.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_side_yellow.png b/lrfurn/textures/lrfurn_sofa_right_side_yellow.png new file mode 100644 index 0000000..f53d690 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_side_yellow.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_top_black.png b/lrfurn/textures/lrfurn_sofa_right_top_black.png new file mode 100644 index 0000000..5f3e97c Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_black.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_top_blue.png b/lrfurn/textures/lrfurn_sofa_right_top_blue.png new file mode 100644 index 0000000..e35617a Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_blue.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_top_green.png b/lrfurn/textures/lrfurn_sofa_right_top_green.png new file mode 100644 index 0000000..ed01fd1 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_green.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_top_grey.png b/lrfurn/textures/lrfurn_sofa_right_top_grey.png new file mode 100644 index 0000000..8873dee Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_grey.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_top_orange.png b/lrfurn/textures/lrfurn_sofa_right_top_orange.png new file mode 100644 index 0000000..7672213 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_orange.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_top_red.png b/lrfurn/textures/lrfurn_sofa_right_top_red.png new file mode 100644 index 0000000..7660cb2 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_red.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_top_violet.png b/lrfurn/textures/lrfurn_sofa_right_top_violet.png new file mode 100644 index 0000000..6cf390c Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_violet.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_top_white.png b/lrfurn/textures/lrfurn_sofa_right_top_white.png new file mode 100644 index 0000000..4a3e73b Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_white.png differ diff --git a/lrfurn/textures/lrfurn_sofa_right_top_yellow.png b/lrfurn/textures/lrfurn_sofa_right_top_yellow.png new file mode 100644 index 0000000..d1c8df8 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_yellow.png differ