use mesh node for calendar

This commit is contained in:
Vanessa Ezekowitz 2015-04-16 05:23:08 -04:00
parent 4279d90049
commit 8e5197af58
4 changed files with 75 additions and 4 deletions

View File

@ -631,17 +631,20 @@ minetest.register_alias("homedecor:tool_cabinet_top", "air")
homedecor.register("calendar", {
description = "Calendar",
drawtype = "signlike",
mesh = "homedecor_calendar.obj",
tiles = {"homedecor_calendar.png"},
inventory_image = "homedecor_calendar.png",
wield_image = "homedecor_calendar.png",
inventory_image = "homedecor_calendar_inv.png",
wield_image = "homedecor_calendar_inv.png",
paramtype2 = "wallmounted",
sunlight_propagates = true,
walkable = false,
selection_box = {
type = "wallmounted",
wall_side = { -8/16, -8/16, -4/16, -5/16, 5/16, 4/16 },
wall_bottom = { -4/16, -8/16, -8/16, 4/16, -5/16, 5/16 },
wall_top = { -4/16, 5/16, -8/16, 4/16, 8/16, 5/16 }
},
groups = {choppy=2,dig_immediate=2,attached_node=1},
groups = {choppy=2,attached_node=1},
legacy_wallmounted = true,
sounds = default.node_sound_defaults(),
})

View File

@ -0,0 +1,68 @@
# Blender v2.73 (sub 0) OBJ File: 'calendar.blend'
# www.blender.org
o Cylinder
v -0.250000 -0.500000 -0.500000
v -0.250000 -0.375000 -0.500000
v 0.250000 -0.375000 -0.500000
v 0.250000 -0.500000 -0.500000
v -0.250000 -0.500000 0.187500
v -0.250000 -0.375000 0.187500
v 0.250000 -0.375000 0.187500
v 0.250000 -0.500000 0.187500
v 0.187500 -0.500000 0.312499
v 0.187500 -0.250000 0.312499
v 0.187500 -0.250000 0.062499
v 0.187500 -0.500000 0.062499
v 0.187500 -0.250000 0.312499
v 0.187500 -0.500000 0.312499
v -0.187500 -0.250000 0.312499
v -0.187500 -0.500000 0.312499
v -0.000000 -0.500000 0.312499
v 0.000000 -0.250000 0.312499
v -0.187500 -0.500000 0.312499
v -0.187500 -0.250000 0.312499
v -0.000000 -0.500000 0.062499
v -0.000000 -0.250000 0.062499
v 0.000000 -0.250000 0.312499
v -0.000000 -0.500000 0.312499
v -0.187500 -0.250000 0.062499
v -0.187500 -0.500000 0.062499
vt 0.781250 0.843750
vt 0.656250 0.843750
vt 0.656250 0.156250
vt 0.781250 0.156250
vt 0.156250 0.843750
vt 0.156250 0.156250
vt 0.031250 0.843750
vt 0.031250 0.156250
vt 0.968750 0.656250
vt 0.812500 0.656250
vt 0.812500 0.468750
vt 0.968750 0.468750
vt 0.656250 0.031250
vt 0.156250 0.031250
vt 0.968750 1.000000
vt 0.718750 1.000000
vt 0.718750 0.750000
vt 0.968750 0.750000
vt 0.656250 0.968750
vt 0.156250 0.968750
vn -1.000000 0.000000 0.000000
vn 0.000000 1.000000 -0.000000
vn 1.000000 0.000000 0.000000
vn 0.000000 -1.000000 0.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 1.000000
s off
f 5/1/1 6/2/1 2/3/1 1/4/1
f 6/2/2 7/5/2 3/6/2 2/3/2
f 7/5/3 8/7/3 4/8/3 3/6/3
f 8/9/4 5/10/4 1/11/4 4/12/4
f 1/13/5 2/3/5 3/6/5 4/14/5
f 13/15/3 14/16/3 12/17/3 11/18/3
f 24/16/1 23/15/1 22/18/1 21/17/1
f 9/16/1 10/15/1 11/18/1 12/17/1
f 15/15/3 16/16/3 26/17/3 25/18/3
f 18/15/3 17/16/3 21/17/3 22/18/3
f 19/16/1 20/15/1 25/18/1 26/17/1
f 5/19/6 8/20/6 7/5/6 6/2/6

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 B

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB