diff --git a/lrfurn/README.txt b/lrfurn/README.txt new file mode 100644 index 00000000..de8ee8d3 --- /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 00000000..d69d255a --- /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 00000000..57e78078 --- /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 00000000..470ec30b --- /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 00000000..45b49aec --- /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 00000000..a54b9233 --- /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 00000000..23edfdde --- /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 00000000..a7edd308 --- /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 00000000..e2be0384 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 00000000..8cf6ca75 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 00000000..5f4de8a6 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 00000000..2a5995ad 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 00000000..ee83df23 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 00000000..8a80c64a 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 00000000..1f37e54f 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 00000000..36b101a9 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 00000000..7bebd4a1 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 00000000..405443b7 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 00000000..483575f9 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 00000000..bcf1495e 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 00000000..7dab11d4 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 00000000..c1ba8caf 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 00000000..5de61259 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 00000000..a0d67b1a 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 00000000..21f5a52a 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 00000000..559ede21 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 00000000..771f9c50 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 00000000..0d94747e 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 00000000..242cc338 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 00000000..a53b1f7f 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 00000000..7a599afe 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 00000000..64ecd9af 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 00000000..083ad566 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 00000000..eb74abc4 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 00000000..87fc5b6f 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 00000000..52844fd2 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 00000000..24df5b50 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 00000000..45c8561f 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 00000000..69c88d2e 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 00000000..2a9c473d 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 00000000..c3bd4d59 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 00000000..854285fb 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 00000000..217a15d4 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 00000000..d8946bc1 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 00000000..3fa09153 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 00000000..33384cc0 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 00000000..82571e1e 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 00000000..c31b8778 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 00000000..1589b2aa 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 00000000..f0758c4a 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 00000000..f646c84c 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 00000000..c80650dd 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 00000000..1be8c779 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 00000000..7e54360d 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 00000000..6927a200 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 00000000..c57e5b32 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 00000000..55ef6fc3 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 00000000..8e2a2737 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 00000000..68db4af7 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 00000000..0f3ebd2d 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 00000000..327150e8 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 00000000..0c8b6dc9 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 00000000..c09b6523 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 00000000..a87bd396 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 00000000..1fe8df3c 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 00000000..bca8b9c7 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 00000000..161134fc 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 00000000..41ccb2c0 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 00000000..7883b7a3 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 00000000..00fc459b 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 00000000..7be0f0ec 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 00000000..e3af8c70 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 00000000..8501590a 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 00000000..b4dedd7a 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 00000000..2f6ec0a9 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 00000000..43c0ba65 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 00000000..2f3c26b8 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 00000000..b8e3317c 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 00000000..41022a1b 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 00000000..6adbccf9 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 00000000..9eeffeb2 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 00000000..ca9ab4d9 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 00000000..e8baf6cf 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 00000000..18d50a2a 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 00000000..1902d8a3 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 00000000..55f5c903 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 00000000..3209cf11 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 00000000..dfaf4a96 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 00000000..d18df73c 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 00000000..9b169723 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 00000000..ce491eab 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 00000000..41aa3347 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 00000000..d35bd7ce 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 00000000..a6af0718 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 00000000..5388a308 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 00000000..75bb2815 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 00000000..78479473 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 00000000..4ed16969 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 00000000..38b47e26 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 00000000..f53d690d 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 00000000..5f3e97cb 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 00000000..e35617a7 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 00000000..ed01fd11 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 00000000..8873deed 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 00000000..7672213d 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 00000000..7660cb20 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 00000000..6cf390c4 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 00000000..4a3e73b5 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 00000000..d1c8df88 Binary files /dev/null and b/lrfurn/textures/lrfurn_sofa_right_top_yellow.png differ