Release 1.0.0
parent
7a1e811de7
commit
f47120051e
65
bedroom.lua
65
bedroom.lua
|
@ -67,6 +67,7 @@ for bedside_t, bedside_ts in pairs(cabs_table["simple_wooden_bedside_table"]) do
|
|||
tiles = {"simple_bedside_table.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:simple_wooden_bedside_table_1",
|
||||
groups = {choppy=3, not_in_creative_inventory = bedside_ts["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -181,8 +182,37 @@ for bedside_t, bedside_ts in pairs(cabs_table["simple_wooden_bedside_table"]) do
|
|||
|
||||
end
|
||||
})
|
||||
|
||||
if not bedside_ts.not_in_creative_inventory then
|
||||
minetest.register_craft({
|
||||
output = "luxury_decor:" .. bedside_t,
|
||||
recipe = {
|
||||
{"luxury_decor:pine_wooden_board", "luxury_decor:bedside_drawer", ""},
|
||||
{"luxury_decor:pine_wooden_board", "luxury_decor:bedside_drawer", ""},
|
||||
{"luxury_decor:pine_wooden_board", "luxury_decor:bedside_drawer", ""}
|
||||
}
|
||||
})
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_craftitem("luxury_decor:bedside_drawer", {
|
||||
description = "Bedside Drawer",
|
||||
inventory_image = "bedside_drawer.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "luxury_decor:bedside_drawer",
|
||||
recipe = {
|
||||
{"luxury_decor:pine_wooden_board", "luxury_decor:pine_wooden_board", ""},
|
||||
{"luxury_decor:pine_wooden_board", "", ""},
|
||||
{"default:stick", "", ""}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
local rgb_colors = {
|
||||
["black"] = "#000000",
|
||||
["red"] = "#FF0000",
|
||||
|
@ -225,16 +255,25 @@ for color, rgb_code in pairs(rgb_colors) do
|
|||
fixed = {
|
||||
{-0.5, -0.5, -1.44, 0.5, 0.3, 0.46},
|
||||
{-0.5, -0.5, 0.46, 0.5, 1.5, 0.65},
|
||||
{-0.5, -0.5, -1.44, 0.5, 1.5, -1.65}
|
||||
{-0.5, -0.5, -1.44, 0.5, 0.3, -1.65}
|
||||
}
|
||||
},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
on_rightclick = function (pos, node, clicker, itemstack, pointed_thing)
|
||||
if string.find(itemstack:get_name(), "royal_single_bed") then
|
||||
--[[if string.find(itemstack:get_name(), "royal_single_bed") then
|
||||
local color1 = string.sub(node.name, 32, -1)
|
||||
local color2 = string.sub(itemstack:get_name(), 32, -1)
|
||||
local node_dir = minetest.facedir_to_dir(node.param2)
|
||||
local axles_list = {""}
|
||||
local exact_pos = minetest.pointed_thing_to_face_pos(clicker, pointed_thing)
|
||||
if color1 == color2 then
|
||||
local axle
|
||||
for axle, val in pairs(pointed_thing.above) do
|
||||
if val ~= pointed_thing.under[axle] and axle ~= y then
|
||||
if exact_pos[axle] > pos[axle] then
|
||||
minetest.set_node(pos, )
|
||||
|
||||
|
||||
for axis, vector in pairs(minetest.facedir_to_dir(node.param2)) do
|
||||
if vector ~= 0 then
|
||||
axle = axis
|
||||
|
@ -245,7 +284,7 @@ for color, rgb_code in pairs(rgb_colors) do
|
|||
local new_pos = pos
|
||||
for axis, val in pairs(pointed_thing.above) do
|
||||
if val ~= pointed_thing.under and axis ~= axle then
|
||||
if exact_pos[axis] < pos[axis] then
|
||||
if exact_pos[axis] pos[axis] then
|
||||
new_pos[axis] = new_pos[axis] -1
|
||||
end
|
||||
|
||||
|
@ -253,8 +292,8 @@ for color, rgb_code in pairs(rgb_colors) do
|
|||
minetest.set_node(new_pos, {name="luxury_decor:royal_double_bed_" .. color, param1=node.param1, param2=node.param2})
|
||||
end
|
||||
end
|
||||
end
|
||||
elseif string.find(itemstack:get_name(), "dye:") then
|
||||
end]]
|
||||
if string.find(itemstack:get_name(), "dye:") then
|
||||
local color_dye = string.sub(itemstack:get_name(), 5)
|
||||
minetest.remove_node(pos)
|
||||
minetest.set_node(pos, {name="luxury_decor:royal_single_bed_" .. color_dye, param1=node.param1, param2=node.param2})
|
||||
|
@ -265,6 +304,15 @@ for color, rgb_code in pairs(rgb_colors) do
|
|||
end
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "luxury_decor:royal_single_bed_" .. color,
|
||||
recipe = {
|
||||
{"luxury_decor:brass_stick", "luxury_decor:brass_stick", "luxury_decor:brass_stick"},
|
||||
{"luxury_decor:brass_stick", "luxury_decor:brass_stick", "default:gold_ingot"},
|
||||
{"wool:white", "default:diamond", "dye:" .. color}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_node("luxury_decor:royal_double_bed_" .. color, {
|
||||
description = "Royal Double Bed",
|
||||
visual_scale = 0.5,
|
||||
|
@ -302,4 +350,11 @@ for color, rgb_code in pairs(rgb_colors) do
|
|||
end
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:royal_double_bed_" .. color,
|
||||
recipe = {"luxury_decor:royal_single_bed_" .. color, "luxury_decor:royal_single_bed_" .. color}
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -369,6 +369,7 @@ for cab, cab_boxes in pairs(cabs_table["kitchen_wooden_cabinet"]) do
|
|||
tiles = {"simple_kitchen_cabinet.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:kitchen_wooden_cabinet_1",
|
||||
groups = {choppy=3, not_in_creative_inventory = cab_boxes["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -496,6 +497,7 @@ for cab, cab_boxes in pairs(cabs_table["kitchen_wooden_cabinet_with_door"]) do
|
|||
tiles = {"simple_kitchen_cabinet.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:kitchen_wooden_cabinet_with_door_1",
|
||||
groups = {choppy=3, not_in_creative_inventory = cab_boxes["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -619,6 +621,7 @@ for cab, cab_boxes in pairs(cabs_table["kitchen_wooden_cabinet_with_door_and_dra
|
|||
tiles = {"simple_kitchen_cabinet.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:kitchen_wooden_cabinet_with_door_and_drawer_1",
|
||||
groups = {choppy=3, not_in_creative_inventory = cab_boxes["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -747,6 +750,7 @@ for cab, cab_boxes in pairs(cabs_table["kitchen_wooden_cabinet_with_two_doors"])
|
|||
tiles = {"simple_kitchen_cabinet.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:kitchen_wooden_cabinet_with_two_doors_1",
|
||||
groups = {choppy=3, not_in_creative_inventory = cab_boxes["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -870,6 +874,7 @@ for cab, cab_boxes in pairs(cabs_table["kitchen_wooden_cabinet_with_two_doors_an
|
|||
tiles = {"simple_kitchen_cabinet.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:kitchen_wooden_cabinet_with_two_doors_and_drawer_1",
|
||||
groups = {choppy=3, not_in_creative_inventory = cab_boxes["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -998,6 +1003,7 @@ for cab, cab_boxes in pairs(cabs_table["kitchen_wooden_half_cabinet"]) do
|
|||
tiles = {"simple_kitchen_cabinet.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:kitchen_wooden_half_cabinet_1",
|
||||
groups = {choppy=3, not_in_creative_inventory = cab_boxes["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -1121,6 +1127,7 @@ for cab, cab_boxes in pairs(cabs_table["kitchen_wooden_threedrawer_cabinet"]) do
|
|||
tiles = {"simple_kitchen_cabinet.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:kitchen_wooden_threedrawer_cabinet_1",
|
||||
groups = {choppy=3, not_in_creative_inventory = cab_boxes["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -1248,6 +1255,7 @@ for cab, cab_boxes in pairs(cabs_table["kitchen_wooden_cabinet_with_sink"]) do
|
|||
tiles = {"simple_kitchen_cabinet_with_sink.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:kitchen_wooden_cabinet_with_sink_1",
|
||||
groups = {choppy=3, snappy=2, not_in_creative_inventory = cab_boxes["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -1437,6 +1445,7 @@ minetest.register_node("luxury_decor:kitchen_tap_on", {
|
|||
tiles = {"kitchen_tap.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:kitchen_tap_off",
|
||||
groups = {snappy=1.5, not_in_creative_inventory=1},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
@ -1544,6 +1553,7 @@ for cab, cab_boxes in pairs(cabs_table["fridge"]) do
|
|||
tiles = {"fridge.png"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
drop = "luxury_decor:fridge_closed",
|
||||
groups = {snappy=3, not_in_creative_inventory = cab_boxes["not_in_creative_inventory"]},
|
||||
drawtype = "mesh",
|
||||
collision_box = {
|
||||
|
|
|
@ -150,9 +150,9 @@ local sofas_collision_boxes = {
|
|||
|
||||
|
||||
local footstools_collision_boxes = {
|
||||
["small"] = {{-0.3, -0.5, -0.3, 0.3, 0, 0.3}},
|
||||
["middle"] = {{-0.3, -0.5, 0.3, 0.3, 0, -1.1}},
|
||||
["long"] = {{-0.3, -0.5, 0.3, 0.3, 0, 1.8}}
|
||||
["small"] = {{-0.35, -0.5, -0.35, 0.35, 0.05, 0.35}},
|
||||
["middle"] = {{-0.35, -0.5, 0.23, 0.35, 0.05, -1.23}},
|
||||
["long"] = {{-0.35, -0.5, 0.1, 0.35, 0.05, -2.1}}
|
||||
}
|
||||
|
||||
|
||||
|
@ -701,7 +701,7 @@ for ind, footstool_type in pairs({"small", "middle", "long"}) do
|
|||
minetest.register_node("luxury_decor:simple_" .. color .. "_" .. footstool_type .. "_footstool", {
|
||||
description = minetest.colorize(sofas_rgb_colors[color], "Simple " .. string.upper(color) .. " " .. string.upper(footstool_type) .. " Footstool"),
|
||||
visual_scale = 0.5,
|
||||
mesh = "simple_"..footstool_type.."_footstool.obj",
|
||||
mesh = "simple_"..footstool_type.."_footstool.b3d",
|
||||
tiles = {"simple_sofa.png^(simple_sofa_2.png^[colorize:" .. rgb_code .. ")"},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
@ -725,34 +725,47 @@ for ind, footstool_type in pairs({"small", "middle", "long"}) do
|
|||
if "dye:" .. color2 == itemstack:get_name() then
|
||||
itemstack:take_item()
|
||||
minetest.remove_node(pos)
|
||||
minetest.set_node(pos, {name="luxury_decor:simple_" .. color2 .. "_" .. footstool_type .. "_footstool"})
|
||||
minetest.set_node(pos, {name="luxury_decor:simple_" .. color2 .. "_" .. footstool_type .. "_footstool", param1=node.param1, param2=node.param2})
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
elseif string.find(itemstack:get_name(), "luxury_decor:simple_" .. color .. "_small_footstool") then
|
||||
local dir = clicker:get_look_dir()
|
||||
local node_dir = minetest.facedir_to_dir(node.param2)
|
||||
local footstools_types_list = {"small", "middle", "long"}
|
||||
if pointed_thing.under.x < pointed_thing.above.x and dir.x < 0 and string.find(node.name, "_long_") == nil then
|
||||
itemstack:take_item()
|
||||
minetest.remove_node(pos)
|
||||
minetest.set_node({x=pos.x+1, y=pos.y, z=pos.z}, {name="luxury_decor:simple_" .. color .. "_" .. footstools_types_list[ind+1] .. "_footstool"})
|
||||
elseif pointed_thing.under.x > pointed_thing.above.x and dir.x > 0 and string.find(node.name, "_long_") == nil then
|
||||
itemstack:take_item()
|
||||
minetest.remove_node(pos)
|
||||
minetest.set_node({x=pos.x-1, y=pos.y, z=pos.z}, {name="luxury_decor:simple_" .. color .. "_" .. footstools_types_list[ind+1] .. "_footstool"})
|
||||
|
||||
elseif pointed_thing.under.y > pointed_thing.above.y and dir.y > 0 and string.find(node.name, "_long_") == nil then
|
||||
itemstack:take_item()
|
||||
minetest.remove_node(pos)
|
||||
minetest.set_node({x=pos.x, y=pos.y, z=pos.z-1}, {name="luxury_decor:simple_" .. color .. "_" .. footstools_types_list[ind+1] .. "_footstool"})
|
||||
elseif pointed_thing.under.y < pointed_thing.above.y and dir.y > 0 and string.find(node.name, "_long_") == nil then
|
||||
itemstack:take_item()
|
||||
minetest.remove_node(pos)
|
||||
minetest.set_node({x=pos.x, y=pos.y, z=pos.z+1}, {name="luxury_decor:simple_" .. color .. "_" .. footstools_types_list[ind+1] .. "_footstool"})
|
||||
|
||||
local new_pos = pos
|
||||
local new_vector = node_dir
|
||||
if string.find(node.name, footstools_types_list[1]) then
|
||||
for axle, val in pairs(pointed_thing.above) do
|
||||
if new_vector[axle] ~= 0 then new_vector[axle] = 0 end
|
||||
if val ~= pointed_thing.under[axle] and axle ~= y then
|
||||
if val > pos[axle] then
|
||||
new_vector[axle] = -1
|
||||
elseif val < pos[axle] then
|
||||
new_vector[axle] = 1
|
||||
end
|
||||
itemstack:take_item()
|
||||
minetest.set_node(pos, {name="luxury_decor:simple_" .. color .. "_middle_footstool", param1=node.param1, param2=minetest.dir_to_facedir(new_vector)})
|
||||
end
|
||||
end
|
||||
elseif string.find(node.name, footstools_types_list[2]) then
|
||||
for axle, val in pairs(pointed_thing.above) do
|
||||
if val ~= pointed_thing.under[axle] and axle ~= y then
|
||||
if node_dir[axle] > 0 then
|
||||
new_pos[axle] = new_pos[axle] - 1
|
||||
itemstack:take_item()
|
||||
minetest.remove_node(pos)
|
||||
minetest.set_node(new_pos, {name="luxury_decor:simple_" .. color .. "_long_footstool", param1=node.param1, param2=node.param2})
|
||||
elseif node_dir[axle] < 0 then
|
||||
itemstack:take_item()
|
||||
--minetest.remove_node(pos)
|
||||
minetest.set_node(pos, {name="luxury_decor:simple_" .. color .. "_long_footstool", param1=node.param1, param2=node.param2})
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
})
|
||||
end
|
||||
|
|
|
@ -0,0 +1,179 @@
|
|||
for _, material in ipairs({"", "jungle_", "pine_"}) do
|
||||
minetest.register_craftitem("luxury_decor:" .. material .. "wooden_plank", {
|
||||
description = string.upper(string.sub(material, 1, 1)) .. string.sub(material, 2, -2) .. " Wooden Plank",
|
||||
inventory_image = material .. "wooden_plank.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:wooden_plank 2",
|
||||
recipe = {"luxury_decor:wooden_board", "luxury_decor:saw"},
|
||||
replacements = {
|
||||
{"", "luxury_decor:saw"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:jungle_wooden_plank 2",
|
||||
recipe = {"luxury_decor:jungle_wooden_board", "luxury_decor:saw"},
|
||||
replacements = {
|
||||
{"", "luxury_decor:saw"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:pine_wooden_plank 2",
|
||||
recipe = {"luxury_decor:pine_wooden_board", "luxury_decor:saw"},
|
||||
replacements = {
|
||||
{"", "luxury_decor:saw"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craftitem("luxury_decor:brass_ingot", {
|
||||
description = "Brass Ingot",
|
||||
inventory_image = "brass_ingot.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
minetest.register_craftitem("luxury_decor:brass_stick", {
|
||||
description = "Brass Stick",
|
||||
inventory_image = "brass_stick.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
minetest.register_craftitem("luxury_decor:zinc_ingot", {
|
||||
description = "Zinc Ingot",
|
||||
inventory_image = "zinc_ingot.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
minetest.register_craftitem("luxury_decor:zinc_fragments", {
|
||||
description = "Zinc Fragments",
|
||||
inventory_image = "zinc_fragments.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
minetest.register_craftitem("luxury_decor:copper_and_zinc", {
|
||||
description = "Copper and Zinc",
|
||||
inventory_image = "copper_and_zinc.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
minetest.register_craftitem("luxury_decor:wooden_board", {
|
||||
description = "Wooden Board",
|
||||
inventory_image = "wooden_board.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
minetest.register_craftitem("luxury_decor:jungle_wooden_board", {
|
||||
description = "Jungle Board",
|
||||
inventory_image = "jungle_board.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
minetest.register_craftitem("luxury_decor:pine_wooden_board", {
|
||||
description = "Pine Board",
|
||||
inventory_image = "pine_board.png",
|
||||
stack_max = 99
|
||||
})
|
||||
minetest.register_node("luxury_decor:zinc_ore", {
|
||||
description = "Zinc Ore",
|
||||
tiles = {"default_stone.png^mineral_zinc.png"},
|
||||
is_ground_content = true,
|
||||
paramtype = "light",
|
||||
light_source = 6,
|
||||
groups = {cracky=3, oddly_breakable_by_hand=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
after_dig_node = function(pos, node, player)
|
||||
local random_items_amount_to_give = math.random(4)
|
||||
|
||||
local stack = ItemStack("luxury_decor:zinc_fragments")
|
||||
for give_item = 1, random_items_amount_to_give do
|
||||
stack:add_item("luxury_decor:zinc_fragments")
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "luxury_decor:zinc_ore",
|
||||
wherein = "default:stone",
|
||||
clust_scarcity = 200,
|
||||
clust_num_ores = 5,
|
||||
clust_size = 3,
|
||||
height_min = -31000,
|
||||
height_max = -40
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:brass_stick 3",
|
||||
recipe = {"luxury_decor:brass_ingot"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:copper_and_zinc",
|
||||
recipe = {"default:copper_ingot", "luxury_decor:zinc_ingot"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "luxury_decor:brass_ingot",
|
||||
recipe = "luxury_decor:copper_and_zinc",
|
||||
cooktime = 10
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "luxury_decor:zinc_ingot",
|
||||
recipe = "luxury_decor:zinc_fragments",
|
||||
cooktime = 7
|
||||
})
|
||||
|
||||
minetest.register_craftitem("luxury_decor:saw", {
|
||||
description = "Saw",
|
||||
inventory_image = "saw.png",
|
||||
stack_max = 99
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:wooden_board 3",
|
||||
recipe = {"stairs:slab_wood", "luxury_decor:saw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:jungle_wooden_board 3",
|
||||
recipe = {"stairs:slab_junglewood", "luxury_decor:saw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:pine_wooden_board 3",
|
||||
recipe = {"stairs:slab_pine_wood", "luxury_decor:saw"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:saw",
|
||||
recipe = {"default:wood", "default:steel_ingot"},
|
||||
replacements = {
|
||||
{"luxury_decor:wooden_board", ""}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "luxury_decor:glass_vase 2",
|
||||
recipe = {"stairs:slab_glass", "luxury_decor:saw"},
|
||||
replacements = {
|
||||
{"", "luxury_decor:saw"}
|
||||
}
|
||||
})
|
|
@ -8,4 +8,4 @@ Kd 0.8 0.8 0.8
|
|||
Ks 0.8 0.8 0.8
|
||||
d 1
|
||||
illum 2
|
||||
map_Kd /home/user/opt/minetest/mods/luxury_decor/textures/cooker.png
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/cooker.png
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,11 @@
|
|||
# Blender MTL File: 'cooker_opened.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl None
|
||||
Ns 0
|
||||
Ka 0.000000 0.000000 0.000000
|
||||
Kd 0.8 0.8 0.8
|
||||
Ks 0.8 0.8 0.8
|
||||
d 1
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/cooker.png
|
File diff suppressed because it is too large
Load Diff
|
@ -10,3 +10,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/dark_wood_material2.png
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
# Blender MTL File: 'glass_vase.blend'
|
||||
# Material Count: 2
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material.001
|
||||
Ns 96.078431
|
||||
|
@ -10,14 +10,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 0.497717
|
||||
illum 2
|
||||
map_Kd glass_vase.png
|
||||
|
||||
newmtl Material.001_NONE
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 0.497717
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest_5.0.0-rc2/mods/luxury_decor/textures/glass_vase.png
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -10,3 +10,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
||||
|
|
|
@ -10,6 +10,7 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
||||
|
||||
newmtl Material.003
|
||||
Ns 96.078431
|
||||
|
@ -20,3 +21,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
||||
|
|
|
@ -10,3 +10,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
||||
|
|
|
@ -10,3 +10,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
||||
|
|
|
@ -10,3 +10,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
||||
|
|
|
@ -10,3 +10,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
# Blender MTL File: 'kitchen_wooden_chair.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
# Blender MTL File: 'kitchen_wooden_half_cabinet_1.blend'
|
||||
# Material Count: 2
|
||||
|
||||
newmtl Material.001
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
||||
|
||||
newmtl Material.002
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
|||
# Blender MTL File: 'kitchen_wooden_half_cabinet_2.blend'
|
||||
# Material Count: 2
|
||||
|
||||
newmtl Material.001
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
||||
|
||||
newmtl Material.002
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
# Blender MTL File: 'kitchen_wooden_table.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material.png
|
|
@ -1,6 +1,6 @@
|
|||
# Blender v2.79 (sub 0) OBJ File: 'kitchen_table.blend'
|
||||
# Blender v2.79 (sub 0) OBJ File: 'kitchen_wooden_table.blend'
|
||||
# www.blender.org
|
||||
mtllib kitchen_table.mtl
|
||||
mtllib kitchen_wooden_table.mtl
|
||||
o Cube.004
|
||||
v -0.502477 -0.028484 -0.677112
|
||||
v -0.502477 0.094069 -0.677112
|
||||
|
@ -38,15 +38,15 @@ v 1.000000 1.000000 -0.999999
|
|||
v 0.999999 1.000000 1.000001
|
||||
v -1.000000 1.000000 1.000000
|
||||
v -1.000000 1.000000 -1.000000
|
||||
v -0.500000 -1.114956 -0.500000
|
||||
v 0.500000 -1.114956 0.500000
|
||||
v 0.500000 -1.114956 -0.500000
|
||||
v -0.500000 -1.114956 0.500000
|
||||
v 0.750000 -1.114956 -0.500000
|
||||
v 0.750000 -1.114956 -0.750000
|
||||
v 0.500000 -1.114956 -0.750000
|
||||
v -0.750000 -1.114956 -0.500000
|
||||
v -0.500000 -1.114956 -0.750000
|
||||
v -0.500000 -1.000000 -0.500000
|
||||
v 0.500000 -1.000000 0.500000
|
||||
v 0.500000 -1.000000 -0.500000
|
||||
v -0.500000 -1.000000 0.500000
|
||||
v 0.750000 -1.000000 -0.500000
|
||||
v 0.750000 -1.000000 -0.750000
|
||||
v 0.500000 -1.000000 -0.750000
|
||||
v -0.750000 -1.000000 -0.500000
|
||||
v -0.500000 -1.000000 -0.750000
|
||||
v 1.000000 0.750000 -1.000000
|
||||
v 0.999999 0.750000 1.000000
|
||||
v -1.000000 0.750000 1.000000
|
||||
|
@ -55,13 +55,13 @@ v -1.000000 0.750000 -0.500000
|
|||
v 0.500000 0.750000 0.000000
|
||||
v -1.000000 0.750000 0.500000
|
||||
v -0.500000 0.750000 1.000000
|
||||
v -0.750000 -1.114956 -0.750000
|
||||
v 0.750000 -1.114956 0.500000
|
||||
v 0.750000 -1.114956 0.750000
|
||||
v 0.500000 -1.114956 0.750000
|
||||
v -0.750000 -1.114956 0.500000
|
||||
v -0.500000 -1.114956 0.750000
|
||||
v -0.750000 -1.114956 0.750000
|
||||
v -0.750000 -1.000000 -0.750000
|
||||
v 0.750000 -1.000000 0.500000
|
||||
v 0.750000 -1.000000 0.750000
|
||||
v 0.500000 -1.000000 0.750000
|
||||
v -0.750000 -1.000000 0.500000
|
||||
v -0.500000 -1.000000 0.750000
|
||||
v -0.750000 -1.000000 0.750000
|
||||
v -0.750000 0.750000 -0.250000
|
||||
v 0.250000 0.750000 -0.250000
|
||||
v -0.750000 0.750000 0.750000
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
# Blender MTL File: 'luxury_flowerpot.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material.001
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/luxury_flowerpot.png
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -10,4 +10,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd simple_wooden_chair2.png
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/bright_wood_material2.png
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
# Blender MTL File: 'simple_armchair.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/simple_armchair.png
|
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
# Blender MTL File: 'simple_corner_1_sofa.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/simple_sofa.png
|
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
# Blender MTL File: 'simple_corner_2_sofa.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/simple_sofa.png
|
Binary file not shown.
|
@ -10,4 +10,4 @@ Ke 0.000000 0.000000 0.000000
|
|||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/user/opt/minetest/mods/luxury_decor/textures/simple_flowerpot.png
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/simple_flowerpot.png
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
# Blender MTL File: 'simple_long_footstool.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/simple_sofa.png
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,13 @@
|
|||
# Blender MTL File: 'simple_middle_footstool.blend'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material
|
||||
Ns 96.078431
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd /home/andrey/opt/minetest/mods/luxury_decor/textures/simple_sofa.png
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue