diff options
author | Beha <shacknetisp@mail.com> | 2017-03-20 14:46:54 -0400 |
---|---|---|
committer | Beha <shacknetisp@mail.com> | 2017-03-20 14:46:54 -0400 |
commit | 50946047ccde8cfdcf82918aac9ba3680dc1d245 (patch) | |
tree | ff7b424b5d46771fb18dac925e0c540048c6b2f8 /init.lua | |
parent | 63b724e12789408c7f25941697a93c2155178e77 (diff) |
Remove old models and textures, use only nodeboxes.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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"}, |