1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-17 15:10:23 +02:00

Updated homedecor_modpack : not running yet

This commit is contained in:
LeMagnesium
2015-01-24 19:40:00 +01:00
parent 36897537a5
commit 8787930b51
562 changed files with 3676 additions and 5162 deletions

View File

@ -1,6 +1,6 @@
local armchairs_list = {
{ "Red Armchair", "red"},
{ "Orange Armchair", "orange"},
{ "Orange Armchair", "orange"},
{ "Yellow Armchair", "yellow"},
{ "Green Armchair", "green"},
{ "Blue Armchair", "blue"},
@ -31,24 +31,19 @@ for i in ipairs(armchairs_list) do
{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},
}
},
selection_box = { type = "regular" },
on_rightclick = function(pos, node, clicker)
if not clicker:is_player() then
@ -59,7 +54,7 @@ for i in ipairs(armchairs_list) do
clicker:set_hp(20)
end
})
minetest.register_craft({
output = "lrfurn:armchair_"..colour,
recipe = {
@ -68,7 +63,7 @@ for i in ipairs(armchairs_list) do
{"group:stick", "", "", }
}
})
minetest.register_craft({
output = "lrfurn:armchair_"..colour,
recipe = {