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

use mesh node for grandfather clock

This commit is contained in:
Vanessa Ezekowitz
2015-03-30 21:06:07 -04:00
parent e74b87bcb7
commit e662bb36b9
11 changed files with 418 additions and 50 deletions

View File

@ -67,3 +67,29 @@ homedecor.register("alarm_clock", {
},
groups = {snappy=3},
})
local gf_cbox = {
type = "fixed",
fixed = { -7/16, -8/16, -7/16, 7/16, 24/16, 7/16 }
}
homedecor.register("grandfather_clock", {
description = "Grandfather Clock",
mesh = "homedecor_grandfather_clock.obj",
tiles = {
"homedecor_grandfather_clock_wood.png",
"homedecor_tile_brass2.png",
"homedecor_grandfather_clock_face.png",
"homedecor_grandfather_clock_face_edge.png"
},
inventory_image = "homedecor_grandfather_clock_inv.png",
groups = { snappy = 3 },
selection_box = gf_cbox,
collision_box = gf_cbox,
expand = { top="air" },
})
minetest.register_alias("homedecor:grandfather_clock_bottom", "homedecor:grandfather_clock")
minetest.register_alias("homedecor:grandfather_clock_top", "air")