1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-17 13:20:19 +02:00

move office-themed nodes into an office-file

This commit is contained in:
Tim
2015-08-16 17:41:19 +02:00
parent d2824c10e7
commit 1e7fb18b0b
5 changed files with 122 additions and 126 deletions

View File

@ -187,29 +187,3 @@ homedecor.register("utility_table_legs", {
fixed = { -0.37, -0.5, -0.37, 0.37, 0.5, 0.37 }
},
})
local desk_cbox = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 1.5, 0.5, 0.5 }
}
homedecor.register("desk", {
description = "Desk",
mesh = "homedecor_desk.obj",
tiles = {
homedecor.plain_wood,
"homedecor_desk_drawers.png",
"homedecor_generic_metal_black.png",
},
inventory_image = "homedecor_desk_inv.png",
selection_box = desk_cbox,
collision_box = desk_cbox,
sounds = default.node_sound_wood_defaults(),
groups = { snappy = 3 },
expand = { right="air" },
inventory = {
size=24,
},
})
minetest.register_alias("homedecor:desk_r", "air")