mirror of
https://github.com/HybridDog/connected_chests.git
synced 2024-12-26 21:30:18 +01:00
Add default's open chest model
This commit is contained in:
parent
4a521fd913
commit
c3695e69ec
@ -1 +1,2 @@
|
|||||||
WTFPL
|
connected_chest_open from default
|
||||||
|
rest WTFPL
|
||||||
|
4
init.lua
4
init.lua
@ -259,7 +259,7 @@ function connected_chests.register_chest(fromname, data)
|
|||||||
-- mostly copied from default
|
-- mostly copied from default
|
||||||
local def_opened = table.copy(chest)
|
local def_opened = table.copy(chest)
|
||||||
|
|
||||||
def_opened.mesh = "chest_open.obj"
|
def_opened.mesh = "connected_chest_open.obj"
|
||||||
def_opened.drawtype = "mesh"
|
def_opened.drawtype = "mesh"
|
||||||
def_opened.paramtype = "light"
|
def_opened.paramtype = "light"
|
||||||
for i = 1, #def_opened.tiles do
|
for i = 1, #def_opened.tiles do
|
||||||
@ -353,7 +353,7 @@ inside_texture = "default_chest_inside.png^([combine:16x32:5,0=" ..
|
|||||||
if data.add_open_chest then
|
if data.add_open_chest then
|
||||||
local def_opened = table.copy(right_def)
|
local def_opened = table.copy(right_def)
|
||||||
|
|
||||||
def_opened.mesh = "chest_open.obj"
|
def_opened.mesh = "connected_chest_open.obj"
|
||||||
def_opened.drawtype = "mesh"
|
def_opened.drawtype = "mesh"
|
||||||
def_opened.paramtype = "light"
|
def_opened.paramtype = "light"
|
||||||
for i = 1, #def_opened.tiles do
|
for i = 1, #def_opened.tiles do
|
||||||
|
79
models/connected_chest_open.obj
Normal file
79
models/connected_chest_open.obj
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
# Blender v2.78 (sub 0) OBJ File: 'chest-open.blend'
|
||||||
|
# www.blender.org
|
||||||
|
o Top_Cube.002_None_Top_Cube.002_None_bottom
|
||||||
|
v -0.500000 0.408471 0.720970
|
||||||
|
v -0.500000 1.115578 0.013863
|
||||||
|
v -0.500000 0.894607 -0.207108
|
||||||
|
v -0.500000 0.187501 0.499999
|
||||||
|
v 0.500000 1.115578 0.013863
|
||||||
|
v 0.500000 0.408471 0.720970
|
||||||
|
v 0.500000 0.187501 0.499999
|
||||||
|
v 0.500000 0.894607 -0.207108
|
||||||
|
v -0.500000 0.187500 -0.500000
|
||||||
|
v -0.500000 -0.500000 -0.500000
|
||||||
|
v -0.500000 -0.500000 0.500000
|
||||||
|
v 0.500000 0.187500 -0.500000
|
||||||
|
v 0.500000 -0.500000 0.500000
|
||||||
|
v 0.500000 -0.500000 -0.500000
|
||||||
|
vt 0.0000 1.0000
|
||||||
|
vt 0.0000 0.0000
|
||||||
|
vt 1.0000 0.0000
|
||||||
|
vt 1.0000 1.0000
|
||||||
|
vt 1.0000 0.0000
|
||||||
|
vt 1.0000 1.0000
|
||||||
|
vt 0.0000 1.0000
|
||||||
|
vt 0.0000 0.0000
|
||||||
|
vt 0.0000 1.0000
|
||||||
|
vt 1.0000 1.0000
|
||||||
|
vt 1.0000 0.6875
|
||||||
|
vt 0.0000 0.6875
|
||||||
|
vt 1.0000 1.0000
|
||||||
|
vt 0.0000 0.6875
|
||||||
|
vt 1.0000 0.6875
|
||||||
|
vt 1.0000 0.6875
|
||||||
|
vt 1.0000 0.0000
|
||||||
|
vt 0.0000 0.0000
|
||||||
|
vt 1.0000 0.6875
|
||||||
|
vt 1.0000 0.0000
|
||||||
|
vt 1.0000 1.0000
|
||||||
|
vt 1.0000 0.6875
|
||||||
|
vt 1.0000 0.0000
|
||||||
|
vt 0.0000 1.0000
|
||||||
|
vt 0.0000 0.6875
|
||||||
|
vt 0.0000 0.6875
|
||||||
|
vt 0.0000 0.0000
|
||||||
|
vt 1.0000 0.5000
|
||||||
|
vt 1.0000 1.0000
|
||||||
|
vt 0.0000 1.0000
|
||||||
|
vt 0.0000 0.5000
|
||||||
|
vt 0.0000 0.0000
|
||||||
|
vt 1.0000 0.0000
|
||||||
|
vn 0.0000 0.7071 0.7071
|
||||||
|
vn -0.0000 -1.0000 -0.0000
|
||||||
|
vn -1.0000 0.0000 0.0000
|
||||||
|
vn 1.0000 0.0000 -0.0000
|
||||||
|
vn 0.0000 -0.7071 0.7071
|
||||||
|
vn 0.0000 0.0000 1.0000
|
||||||
|
vn -0.0000 0.7071 -0.7071
|
||||||
|
vn -0.0000 0.0000 -1.0000
|
||||||
|
vn -0.0000 -0.7071 -0.7071
|
||||||
|
vn -0.0000 1.0000 -0.0000
|
||||||
|
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Top
|
||||||
|
s off
|
||||||
|
f 6/1/1 5/2/1 2/3/1 1/4/1
|
||||||
|
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Bottom
|
||||||
|
f 11/5/2 10/6/2 14/7/2 13/8/2
|
||||||
|
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Right-Left
|
||||||
|
f 1/9/3 2/10/3 3/11/3 4/12/3
|
||||||
|
f 5/13/4 6/1/4 7/14/4 8/15/4
|
||||||
|
f 4/12/3 9/16/3 10/17/3 11/18/3
|
||||||
|
f 12/19/4 7/14/4 13/8/4 14/20/4
|
||||||
|
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Back
|
||||||
|
f 6/21/5 1/9/5 4/12/5 7/22/5
|
||||||
|
f 7/22/6 4/12/6 11/18/6 13/23/6
|
||||||
|
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Front
|
||||||
|
f 2/10/7 5/24/7 8/25/7 3/11/7
|
||||||
|
f 9/16/8 12/26/8 14/27/8 10/17/8
|
||||||
|
g Top_Cube.002_None_Top_Cube.002_None_bottom_Top_Cube.002_None_Top_Cube.002_None_bottom_Inside
|
||||||
|
f 4/28/9 3/29/9 8/30/9 7/31/9
|
||||||
|
f 7/31/10 12/32/10 9/33/10 4/28/10
|
Loading…
Reference in New Issue
Block a user