2016-04-01 20:02:19 -04:00
|
|
|
minetest.override_item("default:bookshelf", {
|
|
|
|
drawtype = "mesh",
|
2019-05-28 07:13:12 -04:00
|
|
|
mesh = "homedecor_3d_bookshelf.obj",
|
2016-04-01 20:02:19 -04:00
|
|
|
tiles = {
|
|
|
|
"default_wood.png",
|
2019-05-28 07:13:12 -04:00
|
|
|
"default_wood.png^homedecor_3d_bookshelf_inside_back.png",
|
|
|
|
"homedecor_3d_bookshelf_books.png",
|
2016-04-01 20:02:19 -04:00
|
|
|
},
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
})
|
|
|
|
|
2019-05-28 07:13:12 -04:00
|
|
|
if minetest.get_modpath("vessels") then
|
2016-04-01 20:02:19 -04:00
|
|
|
minetest.override_item("vessels:shelf", {
|
|
|
|
drawtype = "mesh",
|
2019-05-28 07:13:12 -04:00
|
|
|
mesh = "homedecor_3d_vessels_shelf.obj",
|
2016-04-01 20:02:19 -04:00
|
|
|
tiles = {
|
|
|
|
"default_wood.png",
|
2019-05-28 07:13:12 -04:00
|
|
|
"default_wood.png^homedecor_3d_bookshelf_inside_back.png",
|
|
|
|
"homedecor_3d_vessels_shelf_glass.png",
|
2016-04-01 20:02:19 -04:00
|
|
|
},
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
use_texture_alpha = true
|
|
|
|
})
|
Huge update - lots of mods:
areas, biome_lib, blox, bobblocks, boost_cart, homedecor, mobs,
coloredwood, ilights, inbox, item_tweaks, moreblocks, moreores,
pipeworks, plasticbox, signs_lib, stainedglass, roads, unifieddyes,
vines, worldedit, xban2, maybe some others I didn't think about ;-)
2017-01-31 19:39:31 -05:00
|
|
|
|
2016-04-01 20:02:19 -04:00
|
|
|
local sbox = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = { -0.15, -0.5, -0.15, 0.15, -0.1, 0.15 }
|
|
|
|
}
|
|
|
|
|
|
|
|
minetest.override_item("vessels:glass_bottle", {
|
|
|
|
drawtype = "mesh",
|
2019-05-28 07:13:12 -04:00
|
|
|
mesh = "homedecor_3d_vessels_bottle.obj",
|
|
|
|
tiles = {"homedecor_3d_vessels_shelf_glass.png"},
|
|
|
|
inventory_image = "homedecor_3d_vessels_glass_bottle_inv.png",
|
|
|
|
wield_image = "homedecor_3d_vessels_glass_bottle_inv.png",
|
2016-04-01 20:02:19 -04:00
|
|
|
use_texture_alpha = true,
|
|
|
|
selection_box = sbox
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.override_item("vessels:steel_bottle", {
|
|
|
|
drawtype = "mesh",
|
2019-05-28 07:13:12 -04:00
|
|
|
mesh = "homedecor_3d_vessels_bottle_steel.obj",
|
|
|
|
tiles = {"homedecor_3d_bottle_metal_bright.png"},
|
|
|
|
inventory_image = "homedecor_3d_vessels_steel_bottle_inv.png",
|
|
|
|
wield_image = "homedecor_3d_vessels_steel_bottle_inv.png",
|
2016-04-01 20:02:19 -04:00
|
|
|
selection_box = sbox
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.override_item("vessels:drinking_glass", {
|
|
|
|
drawtype = "mesh",
|
2019-05-28 07:13:12 -04:00
|
|
|
mesh = "homedecor_3d_vessels_drink.obj",
|
|
|
|
tiles = {"homedecor_3d_vessels_shelf_glass.png"},
|
|
|
|
inventory_image = "homedecor_3d_vessels_drinking_glass_inv.png",
|
|
|
|
wield_image = "homedecor_3d_vessels_drinking_glass_inv.png",
|
2016-04-01 20:02:19 -04:00
|
|
|
use_texture_alpha = true,
|
|
|
|
selection_box = sbox
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("moreblocks") then
|
|
|
|
minetest.override_item("moreblocks:empty_bookshelf", {
|
|
|
|
drawtype = "nodebox",
|
|
|
|
tiles = {
|
|
|
|
"default_wood.png^[transformR180",
|
|
|
|
"default_wood.png",
|
|
|
|
"default_wood.png^[transformR90",
|
|
|
|
"default_wood.png^[transformR270",
|
2019-05-28 07:13:12 -04:00
|
|
|
"default_wood.png^homedecor_3d_bookshelf_inside_back.png",
|
|
|
|
"default_wood.png^homedecor_3d_bookshelf_inside_back.png"
|
2016-04-01 20:02:19 -04:00
|
|
|
},
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "facedir",
|
|
|
|
node_box = {
|
|
|
|
type = "fixed",
|
|
|
|
fixed = {
|
|
|
|
{-0.5, -0.5, -0.1875, 0.5, 0.5, 0.1875},
|
|
|
|
{-0.5, -0.5, -0.5, -0.4375, 0.5, 0.5},
|
|
|
|
{0.4375, -0.5, -0.5, 0.5, 0.5, 0.5},
|
|
|
|
{-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5},
|
|
|
|
{-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
|
|
|
|
{-0.5, -0.0625, -0.5, 0.5, 0.0625, 0.5},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
2019-05-28 07:13:12 -04:00
|
|
|
|
|
|
|
-- 3d-ify default mtg wood and steel doors and trap doors
|
|
|
|
|
|
|
|
if minetest.get_modpath("doors") then
|
|
|
|
local def
|
|
|
|
for _,mat in ipairs({"wood", "steel"}) do
|
updated digistuff, homedecor, roads, moreblocks, moretrees, quartz,
rgblightstone, simple streetlights, steel, technic, titanium, plantlife,
unified inventory, and worldedit.
Add tenplus1's bakedclay and cblocks mods
2019-06-18 15:11:50 -04:00
|
|
|
def = table.copy(minetest.registered_nodes["doors:door_"..mat.."_a"])
|
2019-05-28 07:13:12 -04:00
|
|
|
def.mesh = "homedecor_3d_door_"..mat.."_a.obj"
|
|
|
|
minetest.register_node(":doors:door_"..mat.."_a", def)
|
|
|
|
|
updated digistuff, homedecor, roads, moreblocks, moretrees, quartz,
rgblightstone, simple streetlights, steel, technic, titanium, plantlife,
unified inventory, and worldedit.
Add tenplus1's bakedclay and cblocks mods
2019-06-18 15:11:50 -04:00
|
|
|
def = table.copy(minetest.registered_nodes["doors:door_"..mat.."_b"])
|
2019-05-28 07:13:12 -04:00
|
|
|
def.mesh = "homedecor_3d_door_"..mat.."_b.obj"
|
|
|
|
minetest.register_node(":doors:door_"..mat.."_b", def)
|
|
|
|
end
|
|
|
|
|
|
|
|
for _,mat in ipairs({"", "_steel"}) do
|
updated digistuff, homedecor, roads, moreblocks, moretrees, quartz,
rgblightstone, simple streetlights, steel, technic, titanium, plantlife,
unified inventory, and worldedit.
Add tenplus1's bakedclay and cblocks mods
2019-06-18 15:11:50 -04:00
|
|
|
def = table.copy(minetest.registered_nodes["doors:trapdoor"..mat])
|
2019-05-28 07:13:12 -04:00
|
|
|
def.drawtype = "mesh"
|
|
|
|
def.mesh = "homedecor_3d_trapdoor"..mat..".obj"
|
|
|
|
def.tiles = {
|
|
|
|
"doors_trapdoor"..mat..".png",
|
|
|
|
"doors_trapdoor"..mat.."_side.png"
|
|
|
|
}
|
|
|
|
minetest.register_node(":doors:trapdoor"..mat, def)
|
|
|
|
|
updated digistuff, homedecor, roads, moreblocks, moretrees, quartz,
rgblightstone, simple streetlights, steel, technic, titanium, plantlife,
unified inventory, and worldedit.
Add tenplus1's bakedclay and cblocks mods
2019-06-18 15:11:50 -04:00
|
|
|
def = table.copy(minetest.registered_nodes["doors:trapdoor"..mat.."_open"])
|
2019-05-28 07:13:12 -04:00
|
|
|
def.mesh = "homedecor_3d_trapdoor"..mat.."_open.obj"
|
|
|
|
def.drawtype = "mesh"
|
|
|
|
def.tiles = {
|
|
|
|
"doors_trapdoor"..mat..".png",
|
|
|
|
"doors_trapdoor"..mat.."_side.png"
|
|
|
|
}
|
|
|
|
minetest.register_node(":doors:trapdoor"..mat.."_open", def)
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|