aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorBeha <shacknetisp@mail.com>2017-03-20 14:46:54 -0400
committerBeha <shacknetisp@mail.com>2017-03-20 14:46:54 -0400
commit50946047ccde8cfdcf82918aac9ba3680dc1d245 (patch)
treeff7b424b5d46771fb18dac925e0c540048c6b2f8 /init.lua
parent63b724e12789408c7f25941697a93c2155178e77 (diff)
downloadelevator-50946047ccde8cfdcf82918aac9ba3680dc1d245.tar.gz
elevator-50946047ccde8cfdcf82918aac9ba3680dc1d245.tar.bz2
elevator-50946047ccde8cfdcf82918aac9ba3680dc1d245.zip
Remove old models and textures, use only nodeboxes.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/init.lua b/init.lua
index 8bf5c0d..eef5ac7 100644
--- a/init.lua
+++ b/init.lua
@@ -307,8 +307,7 @@ else
end
minetest.register_node(nodename, {
description = "Elevator",
- drawtype = (on and "mesh" or "nodebox"),
- mesh = "travelnet_elevator.obj",
+ drawtype = "nodebox",
sunlight_propagates = false,
paramtype = 'light',
paramtype2 = "facedir",
@@ -330,12 +329,12 @@ minetest.register_node(nodename, {
},
tiles = on and {
+ "default_steel_block.png",
+ "default_steel_block.png",
"elevator_box.png",
"elevator_box.png",
"elevator_box.png",
"elevator_box.png",
- "default_steel_block.png",
- "default_steel_block.png",
} or {
"elevator_box.png",
"elevator_box.png",
@@ -598,7 +597,7 @@ local box = {
minetest.register_node("elevator:elevator_box", {
description = "Elevator",
- drawtype = ("nodebox"),
+ drawtype = "nodebox",
paramtype = 'light',
paramtype2 = "facedir",
wield_scale = {x=0.6, y=0.6, z=0.6},
@@ -652,7 +651,6 @@ local box_entity = {
physical = false,
collisionbox = {0,0,0,0,0,0},
visual = "wielditem",
- mesh = "carts_cart.b3d",
visual_size = {x=1, y=1},
textures = {"elevator:elevator_box"},