gravestone

master
Toby plowy 2017-01-28 21:56:25 +01:00
parent f6fa11641e
commit 07006c5d3f
9 changed files with 58 additions and 6 deletions

View File

@ -26,15 +26,25 @@ local share_bones_time_early = tonumber(minetest.setting_get("share_bones_time_e
minetest.register_node("bones:bones", {
description = "Bones",
drawtype = "mesh",
mesh = "tombstone.obj",
tiles = {
"bones_top.png^[transform2",
"bones_bottom.png",
"bones_side.png",
"bones_side.png",
"bones_rear.png",
"bones_front.png"
"tombstone.png",
},
visual_scale = 0.5,
wield_image = "tombstone_item.png",
wield_scale = {x=1.0, y=1.0, z=1.0},
paramtype2 = "facedir",
paramtype = "light",
selection_box = {
type = "fixed",
fixed = {-0.4, -0.5, -0.0, 0.4, 0.5, 0.3}
},
collision_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 1, 0.3}
},
inventory_image = "tombstone_item.png",
groups = {dig_immediate = 2},
sounds = default.node_sound_gravel_defaults(),

View File

@ -0,0 +1,42 @@
# Blender v2.78 (sub 0) OBJ File: ''
# www.blender.org
mtllib tombstone.mtl
o Cube_Cube.001
v -0.853184 -1.046431 0.507511
v -0.853184 0.945959 0.681823
v -0.853184 0.991776 0.158128
v -0.853184 -1.000613 -0.016184
v 0.853184 0.991776 0.158128
v 0.853184 -1.000613 -0.016184
v 0.853184 0.945959 0.681823
v 0.853184 -1.046431 0.507511
vt 0.4583 0.3750
vt 0.4583 0.8750
vt 0.3750 0.8750
vt 0.3750 0.3750
vt 0.0833 0.8750
vt 0.0833 0.3750
vt -0.0000 0.8750
vt 0.0000 0.3750
vt 0.7500 0.3750
vt 0.7500 0.8750
vt 0.3750 0.8750
vt 0.6667 0.8750
vt 0.6667 1.0000
vt 0.3750 1.0000
vt 0.3750 1.0000
vt 0.0833 1.0000
vn -1.0000 -0.0000 0.0000
vn 0.0000 0.0872 -0.9962
vn 1.0000 -0.0000 0.0000
vn 0.0000 -0.0872 0.9962
vn 0.0000 -0.9962 -0.0872
vn 0.0000 0.9962 0.0872
usemtl None
s 1
f 1/1/1 2/2/1 3/3/1 4/4/1
f 4/4/2 3/3/2 5/5/2 6/6/2
f 6/6/3 5/5/3 7/7/3 8/8/3
f 8/9/4 7/10/4 2/2/4 1/1/4
f 4/11/5 6/12/5 8/13/5 1/14/5
f 5/5/6 3/3/6 2/15/6 7/16/6

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 637 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 662 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B