Updated homedecor, adding green trash can
- Added green trash cans - Removed more side textures
|
@ -148,7 +148,7 @@ homedecor.register("shower_tray", {
|
|||
--Shower Head
|
||||
local sh_cbox = {
|
||||
type = "fixed",
|
||||
fixed = { -0.2, -0.4, -0.1, 0.2, 0.1, 0.5 }
|
||||
fixed = { -0.2, -0.4, -0.05, 0.2, 0.1, 0.5 }
|
||||
}
|
||||
|
||||
homedecor.register("shower_head", {
|
||||
|
@ -177,6 +177,7 @@ homedecor.register("bathroom_set", {
|
|||
"homedecor_bathroom_set_cup.png",
|
||||
"homedecor_bathroom_set_toothpaste.png",
|
||||
},
|
||||
inventory_image = "homedecor_bathroom_set_inv.png",
|
||||
description = "Bathroom sundries set",
|
||||
groups = {snappy=3},
|
||||
selection_box = bs_cbox,
|
||||
|
|
|
@ -3039,6 +3039,15 @@ minetest.register_craft({
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:ceiling_lantern 2",
|
||||
recipe = {
|
||||
{ "default:iron_lump", "default:iron_lump", "default:iron_lump" },
|
||||
{ "default:iron_lump", "homedecor:lattice_lantern_large", "default:iron_lump" },
|
||||
{ "", "default:iron_lump", "" },
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:desk_globe",
|
||||
recipe = {
|
||||
|
@ -3066,6 +3075,24 @@ minetest.register_craft({
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:bathroom_set",
|
||||
recipe = {
|
||||
{ "", "homedecor:glass_table_small_round", "" },
|
||||
{ "homedecor:plastic_sheeting", "homedecor:glass_table_small_round", "homedecor:plastic_sheeting" },
|
||||
{ "group:stick", "homedecor:plastic_sheeting", "group:stick" }
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "homedecor:trash_can_green",
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "", "homedecor:plastic_sheeting" },
|
||||
{ "homedecor:plastic_sheeting", "dye:green", "homedecor:plastic_sheeting" },
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
||||
},
|
||||
})
|
||||
|
||||
if (minetest.get_modpath("technic") and minetest.get_modpath("dye") and minetest.get_modpath("bees")) then
|
||||
technic.register_separating_recipe({ input = {"bees:wax 1"}, output = {"homedecor:oil_extract 2","dye:yellow 1"} })
|
||||
end
|
||||
|
|
|
@ -210,16 +210,16 @@ local function bed_extension(pos, color)
|
|||
|
||||
local fdir = thisnode.param2
|
||||
|
||||
if string.find(topnode.name, "homedecor:bed_.*_foot$") then
|
||||
if string.find(topnode.name, "homedecor:bed_.*_regular$") then
|
||||
if fdir == topnode.param2 then
|
||||
local newnode = string.gsub(thisnode.name, "_foot", "_footext")
|
||||
local newnode = string.gsub(thisnode.name, "_regular", "_extended")
|
||||
minetest.set_node(pos, { name = newnode, param2 = fdir})
|
||||
end
|
||||
end
|
||||
|
||||
if string.find(bottomnode.name, "homedecor:bed_.*_foot$") then
|
||||
if string.find(bottomnode.name, "homedecor:bed_.*_regular$") then
|
||||
if fdir == bottomnode.param2 then
|
||||
local newnode = string.gsub(bottomnode.name, "_foot", "_footext")
|
||||
local newnode = string.gsub(bottomnode.name, "_regular", "_extended")
|
||||
minetest.set_node({x=pos.x, y=pos.y-1.0, z=pos.z}, { name = newnode, param2 = fdir})
|
||||
end
|
||||
end
|
||||
|
@ -228,161 +228,99 @@ end
|
|||
local function unextend_bed(pos, color)
|
||||
local bottomnode = minetest.get_node({x=pos.x, y=pos.y-1.0, z=pos.z})
|
||||
local fdir = bottomnode.param2
|
||||
if string.find(bottomnode.name, "homedecor:bed_.*_footext$") then
|
||||
local newnode = string.gsub(bottomnode.name, "_footext", "_foot")
|
||||
if string.find(bottomnode.name, "homedecor:bed_.*_extended$") then
|
||||
local newnode = string.gsub(bottomnode.name, "_extended", "_regular")
|
||||
minetest.set_node({x=pos.x, y=pos.y-1.0, z=pos.z}, { name = newnode, param2 = fdir})
|
||||
end
|
||||
end
|
||||
|
||||
for _, color in ipairs(bedcolors) do
|
||||
|
||||
homedecor.register("bed_"..color.."_head", {
|
||||
tiles = {
|
||||
"homedecor_bed_"..color.."_top1.png",
|
||||
"homedecor_bed_bottom1.png",
|
||||
"homedecor_bed_"..color.."_side1.png",
|
||||
"homedecor_bed_"..color.."_side1.png^[transformFX",
|
||||
"homedecor_bed_head1.png",
|
||||
"homedecor_bed_"..color.."_head2.png"
|
||||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1},
|
||||
node_box = {
|
||||
local bed_cbox = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, 0.4375, -0.375, 0.5, 0.5}, -- NodeBox1
|
||||
{0.375, -0.5, 0.4375, 0.5, 0.5, 0.5}, -- NodeBox2
|
||||
{-0.5, 0.25, 0.4375, 0.5, 0.4375, 0.5}, -- NodeBox3
|
||||
{-0.5, -0.0625, 0.4375, 0.5, 0.1875, 0.5}, -- NodeBox4
|
||||
{-0.5, -0.375, -0.5, 0.5, -0.125, 0.5}, -- NodeBox5
|
||||
{0.375, -0.375, -0.5, 0.4375, -0.125, 0.5}, -- NodeBox6
|
||||
{-0.4375, -0.3125, -0.5, 0.4375, -0.0625, 0.4375}, -- NodeBox7
|
||||
{-0.3125, -0.125, 0.0625, 0.3125, 0.0625, 0.4375}, -- NodeBox8
|
||||
}
|
||||
},
|
||||
selection_box = homedecor.nodebox.null
|
||||
})
|
||||
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
|
||||
}
|
||||
|
||||
homedecor.register("bed_"..color.."_foot", {
|
||||
for _, color in ipairs(bedcolors) do
|
||||
local color2=color
|
||||
if color == "darkgrey" then
|
||||
color2 = "dark_grey"
|
||||
end
|
||||
homedecor.register("bed_"..color.."_regular", {
|
||||
mesh = "homedecor_bed_regular.obj",
|
||||
tiles = {
|
||||
"homedecor_bed_"..color.."_top2.png",
|
||||
"homedecor_bed_bottom2.png",
|
||||
"homedecor_bed_"..color.."_side2.png",
|
||||
"homedecor_bed_"..color.."_side2.png^[transformFX",
|
||||
"homedecor_bed_foot2.png",
|
||||
"homedecor_bed_"..color.."_foot1.png"
|
||||
"homedecor_bed_frame.png",
|
||||
"default_wood.png",
|
||||
"wool_white.png",
|
||||
"wool_"..color2..".png",
|
||||
"homedecor_bed_bottom.png",
|
||||
"wool_"..color2..".png^[brighten", -- pillow
|
||||
},
|
||||
inventory_image = "homedecor_bed_"..color.."_inv.png",
|
||||
description = S("Bed (%s)"):format(color),
|
||||
groups = {snappy=3},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, -0.375, 0.1875, -0.4375}, -- NodeBox1
|
||||
{0.375, -0.5, -0.5, 0.5, 0.1875, -0.4375}, -- NodeBox2
|
||||
{-0.5, 0, -0.5, 0.5, 0.125, -0.4375}, -- NodeBox3
|
||||
{-0.5, -0.375, -0.5, 0.5, -0.125, 0.5}, -- NodeBox4
|
||||
{-0.4375, -0.3125, -0.4375, 0.4375, -0.0625, 0.5}, -- NodeBox5
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
|
||||
},
|
||||
selection_box = bed_cbox,
|
||||
collision_box = bed_cbox,
|
||||
on_construct = function(pos)
|
||||
bed_extension(pos, color)
|
||||
end,
|
||||
expand = { forward = "homedecor:bed_"..color.."_head" },
|
||||
expand = { forward = "air" },
|
||||
after_unexpand = function(pos)
|
||||
unextend_bed(pos, color)
|
||||
end,
|
||||
})
|
||||
|
||||
homedecor.register("bed_"..color.."_footext", {
|
||||
homedecor.register("bed_"..color.."_extended", {
|
||||
mesh = "homedecor_bed_extended.obj",
|
||||
tiles = {
|
||||
"homedecor_bed_"..color.."_top2.png",
|
||||
"homedecor_bed_bottom2.png",
|
||||
"homedecor_bed_"..color.."_side2ext.png",
|
||||
"homedecor_bed_"..color.."_side2ext.png^[transformFX",
|
||||
"homedecor_bed_foot2ext.png",
|
||||
"homedecor_bed_"..color.."_foot1ext.png"
|
||||
"homedecor_bed_frame.png",
|
||||
"default_wood.png",
|
||||
"wool_white.png",
|
||||
"wool_"..color2..".png",
|
||||
"homedecor_bed_bottom.png",
|
||||
"wool_"..color2..".png^[brighten",
|
||||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, -0.375, 0.5, -0.4375}, -- NodeBox1
|
||||
{0.375, -0.5, -0.5, 0.5, 0.5, -0.4375}, -- NodeBox2
|
||||
{-0.5, 0, -0.5, 0.5, 0.125, -0.4375}, -- NodeBox3
|
||||
{-0.5, -0.375, -0.5, 0.5, -0.125, 0.5}, -- NodeBox4
|
||||
{-0.4375, -0.3125, -0.4375, 0.4375, -0.0625, 0.5}, -- NodeBox5
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
|
||||
},
|
||||
expand = { forward = "homedecor:bed_"..color.."_head" },
|
||||
selection_box = bed_cbox,
|
||||
collision_box = bed_cbox,
|
||||
expand = { forward = "air" },
|
||||
after_unexpand = function(pos)
|
||||
unextend_bed(pos, color)
|
||||
end,
|
||||
drop = "homedecor:bed_"..color.."_foot"
|
||||
drop = "homedecor:bed_"..color.."_regular"
|
||||
})
|
||||
|
||||
minetest.register_alias("homedecor:bed_"..color.."_foot", "homedecor:bed_"..color.."_regular")
|
||||
minetest.register_alias("homedecor:bed_"..color.."_footext", "homedecor:bed_"..color.."_extended")
|
||||
minetest.register_alias("homedecor:bed_"..color.."_head", "air")
|
||||
|
||||
end
|
||||
|
||||
homedecor.register("wardrobe_top", {
|
||||
tiles = {
|
||||
"forniture_wood.png",
|
||||
"forniture_wood.png",
|
||||
"forniture_wood.png^[transformR90",
|
||||
"forniture_wood.png^[transformR270",
|
||||
"forniture_wood.png^[transformR90",
|
||||
"homedecor_wardrobe_frontt.png"
|
||||
},
|
||||
groups = {snappy=3, not_in_creative_inventory=1},
|
||||
node_box = {
|
||||
local wd_cbox = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.4375, 0.5, 0.5, 0.5}, -- NodeBox1
|
||||
{0.0625, -0.4375, -0.5, 0.4375, 0.4375, -0.4375}, -- NodeBox2
|
||||
{-0.4375, -0.4375, -0.5, -0.0625, 0.4375, -0.4375}, -- NodeBox3
|
||||
}
|
||||
},
|
||||
selection_box = homedecor.nodebox.null,
|
||||
})
|
||||
fixed = { -0.5, -0.5, -0.5, 0.5, 1.5, 0.5 }
|
||||
}
|
||||
|
||||
homedecor.register("wardrobe_bottom", {
|
||||
mesh = "homedecor_bedroom_wardrobe.obj",
|
||||
tiles = {
|
||||
"forniture_wood.png",
|
||||
"forniture_wood.png^[transformR180",
|
||||
"forniture_wood.png^[transformR90",
|
||||
"forniture_wood.png^[transformR270",
|
||||
"forniture_wood.png^[transformR90",
|
||||
"homedecor_wardrobe_frontb.png"
|
||||
"homedecor_wardrobe_drawers.png",
|
||||
"homedecor_wardrobe_doors.png"
|
||||
},
|
||||
inventory_image = "homedecor_wardrobe_inv.png",
|
||||
description = "Wardrobe",
|
||||
groups = {snappy=3},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.4375, 0.5, 0.5, 0.5}, -- NodeBox1
|
||||
{-0.4375, -0.375, -0.5, 0.4375, -0.125, -0.4375}, -- NodeBox2
|
||||
{-0.4375, -0.0625, -0.5, 0.4375, 0.1875, -0.4375}, -- NodeBox3
|
||||
{-0.4375, 0.25, -0.5, 0.4375, 0.5, -0.4375}, -- NodeBox4
|
||||
}
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = { -0.5, -0.5, -0.5, 0.5, 1.5, 0.5 }
|
||||
},
|
||||
expand = { top="homedecor:wardrobe_top" },
|
||||
selection_box = wd_cbox,
|
||||
collision_box = wd_cbox,
|
||||
expand = { top="air" },
|
||||
infotext = S("Wardrobe cabinet"),
|
||||
inventory = {
|
||||
size=24,
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_alias("homedecor:wardrobe_bottom", "homedecor:wardrobe")
|
||||
minetest.register_alias("homedecor:wardrobe_top", "air")
|
||||
|
||||
homedecor.register("wall_shelf", {
|
||||
description = "Wall Shelf",
|
||||
tiles = {
|
||||
|
|
|
@ -42,68 +42,19 @@ homedecor.register("L_binding_bars", {
|
|||
groups = {cracky=1,}
|
||||
})
|
||||
|
||||
local chain_cbox = {
|
||||
type = "fixed",
|
||||
fixed = {-1/2, -1/2, 1/4, 1/2, 1/2, 1/2},
|
||||
}
|
||||
|
||||
homedecor.register("chains", {
|
||||
description = S("Chains"),
|
||||
mesh = "forniture_chains.obj",
|
||||
tiles = { "forniture_black_metal.png" },
|
||||
inventory_image="3dforniture_inv_chains.png",
|
||||
sunlight_propagates = true,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{ -0.45, 0.25, 0.45, -0.20, 0.50, 0.50, },
|
||||
{ -0.35, 0.40, 0.35, -0.30, 0.45, 0.45, },
|
||||
{ -0.35, 0.30, 0.35, -0.30, 0.35, 0.45, },
|
||||
{ -0.35, 0.35, 0.30, -0.30, 0.40, 0.35, },
|
||||
{ -0.40, 0.35, 0.35, -0.25, 0.40, 0.40, },
|
||||
{ -0.40, 0.15, 0.35, -0.25, 0.20, 0.40, },
|
||||
{ -0.45, 0.20, 0.35, -0.40, 0.35, 0.40, },
|
||||
{ -0.25, 0.20, 0.35, -0.20, 0.35, 0.40, },
|
||||
{ -0.35, 0.20, 0.30, -0.30, 0.25, 0.45, },
|
||||
{ -0.35, 0.00, 0.30, -0.30, 0.05, 0.45, },
|
||||
{ -0.35, 0.05, 0.25, -0.30, 0.20, 0.30, },
|
||||
{ -0.35, 0.05, 0.45, -0.30, 0.20, 0.50, },
|
||||
{ -0.40, 0.05, 0.35, -0.25, 0.10, 0.40, },
|
||||
{ -0.40, -0.15, 0.35, -0.25, -0.10, 0.40, },
|
||||
{ -0.45, -0.10, 0.35, -0.40, 0.05, 0.40, },
|
||||
{ -0.25, -0.10, 0.35, -0.20, 0.05, 0.40, },
|
||||
{ -0.35, -0.10, 0.30, -0.30, -0.05, 0.45, },
|
||||
{ -0.35, -0.30, 0.30, -0.30, -0.25, 0.45, },
|
||||
{ -0.35, -0.25, 0.25, -0.30, -0.10, 0.30, },
|
||||
{ -0.35, -0.25, 0.45, -0.30, -0.10, 0.50, },
|
||||
{ -0.40, -0.25, 0.35, -0.25, -0.20, 0.40, },
|
||||
{ -0.40, -0.45, 0.35, -0.25, -0.40, 0.40, },
|
||||
{ -0.45, -0.40, 0.35, -0.40, -0.25, 0.40, },
|
||||
{ -0.25, -0.40, 0.35, -0.20, -0.25, 0.40, },
|
||||
{ 0.20, 0.25, 0.45, 0.45, 0.50, 0.50, },
|
||||
{ 0.30, 0.40, 0.35, 0.35, 0.45, 0.45, },
|
||||
{ 0.30, 0.30, 0.35, 0.35, 0.35, 0.45, },
|
||||
{ 0.30, 0.35, 0.30, 0.35, 0.40, 0.35, },
|
||||
{ 0.25, 0.35, 0.35, 0.40, 0.40, 0.40, },
|
||||
{ 0.25, 0.15, 0.35, 0.40, 0.20, 0.40, },
|
||||
{ 0.20, 0.20, 0.35, 0.25, 0.35, 0.40, },
|
||||
{ 0.40, 0.20, 0.35, 0.45, 0.35, 0.40, },
|
||||
{ 0.30, 0.20, 0.30, 0.35, 0.25, 0.45, },
|
||||
{ 0.30, 0.00, 0.30, 0.35, 0.05, 0.45, },
|
||||
{ 0.30, 0.05, 0.25, 0.35, 0.20, 0.30, },
|
||||
{ 0.30, 0.05, 0.45, 0.35, 0.20, 0.50, },
|
||||
{ 0.25, 0.05, 0.35, 0.40, 0.10, 0.40, },
|
||||
{ 0.25, -0.15, 0.35, 0.40, -0.10, 0.40, },
|
||||
{ 0.20, -0.10, 0.35, 0.25, 0.05, 0.40, },
|
||||
{ 0.40, -0.10, 0.35, 0.45, 0.05, 0.40, },
|
||||
{ 0.30, -0.10, 0.30, 0.35, -0.05, 0.45, },
|
||||
{ 0.30, -0.30, 0.30, 0.35, -0.25, 0.45, },
|
||||
{ 0.30, -0.25, 0.25, 0.35, -0.10, 0.30, },
|
||||
{ 0.30, -0.25, 0.45, 0.35, -0.10, 0.50, },
|
||||
{ 0.25, -0.25, 0.35, 0.40, -0.20, 0.40, },
|
||||
{ 0.25, -0.45, 0.35, 0.40, -0.40, 0.40, },
|
||||
{ 0.20, -0.40, 0.35, 0.25, -0.25, 0.40, },
|
||||
{ 0.40, -0.40, 0.35, 0.45, -0.25, 0.40, },
|
||||
},
|
||||
},
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/2, -1/2, 1/4, 1/2, 1/2, 1/2},
|
||||
},
|
||||
selection_box = chain_cbox,
|
||||
collision_box = chain_cbox,
|
||||
groups = {cracky=1},
|
||||
})
|
||||
|
||||
|
|
|
@ -149,6 +149,7 @@ dofile(homedecor.modpath.."/climate-control.lua")
|
|||
dofile(homedecor.modpath.."/cobweb.lua")
|
||||
dofile(homedecor.modpath.."/books.lua")
|
||||
dofile(homedecor.modpath.."/exterior.lua")
|
||||
dofile(homedecor.modpath.."/trash_cans.lua")
|
||||
|
||||
dofile(homedecor.modpath.."/handlers/locked.lua")
|
||||
|
||||
|
|
|
@ -246,6 +246,23 @@ homedecor.register("hanging_lantern", {
|
|||
collision_box = hl_cbox
|
||||
})
|
||||
|
||||
local cl_cbox = {
|
||||
type = "fixed",
|
||||
fixed = { -0.35, -0.45, -0.35, 0.35, 0.5, 0.35 }
|
||||
}
|
||||
|
||||
homedecor.register("ceiling_lantern", {
|
||||
drawtype = "mesh",
|
||||
mesh = "homedecor_ceiling_lantern.obj",
|
||||
tiles = { "homedecor_ceiling_lantern.png" },
|
||||
inventory_image = "homedecor_ceiling_lantern_inv.png",
|
||||
description = "Ceiling Lantern",
|
||||
groups = {snappy=3},
|
||||
light_source = 11,
|
||||
selection_box = cl_cbox,
|
||||
collision_box = cl_cbox,
|
||||
})
|
||||
|
||||
homedecor.register("lattice_lantern_large", {
|
||||
description = S("Lattice lantern (large)"),
|
||||
tiles = { 'homedecor_lattice_lantern_large.png' },
|
||||
|
|
|
@ -318,22 +318,6 @@ homedecor.register("pool_table", {
|
|||
|
||||
minetest.register_alias("homedecor:pool_table_2", "air")
|
||||
|
||||
local trash_cbox = {
|
||||
type = "fixed",
|
||||
fixed = { -0.25, -0.5, -0.25, 0.25, 0.125, 0.25 }
|
||||
}
|
||||
|
||||
homedecor.register("trash_can", {
|
||||
drawtype = "mesh",
|
||||
mesh = "homedecor_trash_can.obj",
|
||||
tiles = { "homedecor_trash_can.png" },
|
||||
inventory_image = "homedecor_trash_can_inv.png",
|
||||
description = "Trash Can",
|
||||
groups = {snappy=3},
|
||||
selection_box = trash_cbox,
|
||||
collision_box = trash_cbox,
|
||||
})
|
||||
|
||||
homedecor.register("coatrack_wallmount", {
|
||||
tiles = { "forniture_wood.png" },
|
||||
inventory_image = "homedecor_coatrack_wallmount_inv.png",
|
||||
|
@ -639,67 +623,28 @@ homedecor.register("beer_mug", {
|
|||
collision_box = beer_cbox
|
||||
})
|
||||
|
||||
homedecor.register("tool_cabinet_bottom", {
|
||||
homedecor.register("tool_cabinet", {
|
||||
description = "Metal tool cabinet and work table",
|
||||
mesh = "homedecor_tool_cabinet.obj",
|
||||
tiles = {
|
||||
"homedecor_tool_cabinet_bottom_top.png",
|
||||
"homedecor_tool_cabinet_bottom_sides.png",
|
||||
"homedecor_tool_cabinet_bottom_sides.png",
|
||||
"homedecor_tool_cabinet_bottom_sides.png",
|
||||
"homedecor_tool_cabinet_bottom_sides.png",
|
||||
"homedecor_tool_cabinet_bottom_front.png"
|
||||
"homedecor_red_metal.png",
|
||||
"homedecor_tool_cabinet_drawers.png",
|
||||
"homedecor_green_metal.png",
|
||||
"forniture_metal.png",
|
||||
"homedecor_bright_metal.png",
|
||||
"homedecor_tool_cabinet_misc.png",
|
||||
},
|
||||
inventory_image = "homedecor_tool_cabinet_inv.png",
|
||||
groups = { snappy=3 },
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, 0.4375, -0.4375, -0.375, 0.5}, -- NodeBox1
|
||||
{-0.5, -0.5, -0.5, -0.4375, -0.375, -0.4375}, -- NodeBox2
|
||||
{0.4375, -0.5, 0.4375, 0.5, -0.375, 0.5}, -- NodeBox3
|
||||
{0.4375, -0.5, -0.5, 0.5, -0.375, -0.4375}, -- NodeBox4
|
||||
{-0.5, -0.375, -0.5, 0.5, 0.5, 0.5}, -- NodeBox5
|
||||
}
|
||||
},
|
||||
selection_box = homedecor.nodebox.slab_y(2),
|
||||
expand = { top="homedecor:tool_cabinet_top" },
|
||||
expand = { top="air" },
|
||||
inventory = {
|
||||
size=24,
|
||||
}
|
||||
})
|
||||
|
||||
homedecor.register("tool_cabinet_top", {
|
||||
tiles = {
|
||||
"homedecor_tool_cabinet_top_top.png",
|
||||
"homedecor_tool_cabinet_top_bottom.png",
|
||||
"homedecor_tool_cabinet_top_right.png",
|
||||
"homedecor_tool_cabinet_top_left.png",
|
||||
"homedecor_tool_cabinet_top_back.png",
|
||||
"homedecor_tool_cabinet_top_front.png"
|
||||
},
|
||||
groups = { snappy=3, not_in_creative_inventory=1 },
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.1875, -0.5, 0.4375, 0.5, 0.5, 0.5}, -- NodeBox1
|
||||
{-0.5, -0.5, -0.4375, -0.1875, -0.4375, 0.125}, -- NodeBox2
|
||||
{-0.375, -0.4375, 0, -0.3125, 0.1875, 0.0625}, -- NodeBox3
|
||||
{-0.4375, -0.1875, -0.375, -0.25, 0.125, 0.125}, -- NodeBox4
|
||||
{-0.25, -0.0625, -0.3125, -0.22, 0.3125, -0.2825}, -- NodeBox5
|
||||
{-0.375, -0.1875, -0.25, -0.3125, -0.218, -0.3125}, -- NodeBox6
|
||||
{-0.35, -0.32, -0.285, -0.3375, -0.218, -0.2725}, -- NodeBox7
|
||||
{0, -0.3125, 0.375, 0.0625, 0.1875, 0.4375}, -- NodeBox8
|
||||
{0.125, 0.1875, 0.375, 0.1875, 0.25, 0.4375}, -- NodeBox9
|
||||
{-0.0625, 0.1875, 0.375, 0.125, 0.3125, 0.4375}, -- NodeBox10
|
||||
{0.343, -0.125, 0.42, 0.375, 0.125, 0.4375}, -- NodeBox11
|
||||
{0.3125, 0.095, 0.42, 0.343, 0.1575, 0.4375}, -- NodeBox12
|
||||
{0.375, 0.095, 0.42, 0.405, 0.1575, 0.4375}, -- NodeBox13
|
||||
{0.3125, -0.155, 0.42, 0.343, -0.093, 0.4375}, -- NodeBox14
|
||||
{0.375, -0.155, 0.42, 0.405, -0.093, 0.4375}, -- NodeBox15
|
||||
}
|
||||
},
|
||||
selection_box = homedecor.nodebox.null
|
||||
})
|
||||
minetest.register_alias("homedecor:tool_cabinet_bottom", "homedecor:tool_cabinet")
|
||||
minetest.register_alias("homedecor:tool_cabinet_top", "air")
|
||||
|
||||
homedecor.register("calendar", {
|
||||
description = "Calendar",
|
||||
|
|
BIN
mods/homedecor_modpack/homedecor/sounds/homedecor_trash_all.ogg
Normal file
After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 286 B |
BIN
mods/homedecor_modpack/homedecor/textures/homedecor_bed_blue_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 543 B |
Before Width: | Height: | Size: 351 B |
After Width: | Height: | Size: 582 B |
Before Width: | Height: | Size: 547 B |
Before Width: | Height: | Size: 549 B |
Before Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 282 B |
BIN
mods/homedecor_modpack/homedecor/textures/homedecor_bed_brown_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 414 B |
Before Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 551 B |
Before Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 275 B |
BIN
mods/homedecor_modpack/homedecor/textures/homedecor_bed_darkgrey_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 505 B |
Before Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 185 B |
After Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 286 B |
BIN
mods/homedecor_modpack/homedecor/textures/homedecor_bed_green_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 298 B |
Before Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 554 B |
Before Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 270 B |
Before Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 286 B |
BIN
mods/homedecor_modpack/homedecor/textures/homedecor_bed_orange_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 593 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 282 B |
BIN
mods/homedecor_modpack/homedecor/textures/homedecor_bed_pink_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 528 B |
Before Width: | Height: | Size: 343 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 293 B |
BIN
mods/homedecor_modpack/homedecor/textures/homedecor_bed_red_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 543 B |
Before Width: | Height: | Size: 505 B |
Before Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 285 B |
BIN
mods/homedecor_modpack/homedecor/textures/homedecor_bed_violet_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 564 B |
Before Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 282 B |
BIN
mods/homedecor_modpack/homedecor/textures/homedecor_bed_yellow_inv.png
Executable file → Normal file
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 293 B |
Before Width: | Height: | Size: 525 B |
Before Width: | Height: | Size: 347 B |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 303 B |