diff options
Diffstat (limited to 'car.lua')
-rw-r--r-- | car.lua | 130 |
1 files changed, 127 insertions, 3 deletions
@@ -9,6 +9,12 @@ local pieces = { {-0.5,-1.5,-0.5,0.5,-0.6,-0.45}, }, }, + tiles = { + "celevator_car_floor.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", + "celevator_cabinet_sides.png", + }, }, { _position = "001", @@ -19,6 +25,12 @@ local pieces = { {-0.5,-0.5,-0.5,-0.45,0.5,0.5}, }, }, + tiles = { + "celevator_car_floor.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_wall_bottom.png^celevator_car_wall_vent.png", + "celevator_cabinet_sides.png", + }, }, { _position = "002", @@ -30,6 +42,14 @@ local pieces = { {-0.45,-0.5,0.45,0.5,0.5,0.5}, }, }, + tiles = { + "celevator_car_floor.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", + }, }, { _position = "100", @@ -41,6 +61,13 @@ local pieces = { {-0.5,-1.5,-0.5,0.5,-0.6,-0.45}, }, }, + tiles = { + "celevator_car_floor.png", + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", + "celevator_cabinet_sides.png", + }, }, { _position = "101", @@ -51,6 +78,13 @@ local pieces = { {0.45,-0.5,-0.5,0.5,0.5,0.5}, }, }, + tiles = { + "celevator_car_floor.png", + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_wall_bottom.png^celevator_car_wall_vent.png", + "celevator_cabinet_sides.png", + }, }, { _position = "102", @@ -62,6 +96,14 @@ local pieces = { {-0.5,-0.5,0.45,0.45,0.5,0.5}, }, }, + tiles = { + "celevator_car_floor.png", + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", + }, }, { _position = "010", @@ -71,6 +113,12 @@ local pieces = { {-0.5,-0.5,-0.5,-0.45,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png", + "celevator_cabinet_sides.png", + }, }, { _position = "011", @@ -80,6 +128,12 @@ local pieces = { {-0.5,-0.5,-0.5,-0.45,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_handrail_end.png", + "celevator_cabinet_sides.png", + }, }, { _position = "012", @@ -90,6 +144,14 @@ local pieces = { {-0.45,-0.5,0.45,0.5,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^(celevator_car_handrail_end.png^[transformFX)", + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_handrail_end.png", + }, }, { _position = "110", @@ -99,6 +161,13 @@ local pieces = { {0.45,-0.5,-0.5,0.5,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^(celevator_car_handrail_end.png^[transformFX)", + "celevator_cabinet_sides.png", + }, }, { _position = "111", @@ -108,6 +177,13 @@ local pieces = { {0.45,-0.5,-0.5,0.5,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_handrail_center.png", + "celevator_cabinet_sides.png", + }, }, { _position = "112", @@ -118,6 +194,14 @@ local pieces = { {-0.5,-0.5,0.45,0.45,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^celevator_car_handrail_end.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png^(celevator_car_handrail_end.png^[transformFX)", + }, }, { _position = "020", @@ -129,6 +213,12 @@ local pieces = { {-0.5,0.6,-0.4,0.5,1,-0.1}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_car_ceiling.png", + "celevator_car_wallpaper.png", + "celevator_cabinet_sides.png", + }, }, { _position = "021", @@ -139,6 +229,12 @@ local pieces = { {-0.5,-0.5,-0.5,-0.45,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_car_ceiling.png", + "celevator_car_wallpaper.png", + "celevator_cabinet_sides.png", + }, }, { _position = "022", @@ -150,6 +246,14 @@ local pieces = { {-0.45,-0.5,0.45,0.5,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_car_ceiling.png", + "celevator_car_wallpaper.png", + "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png", + }, }, { _position = "120", @@ -161,6 +265,13 @@ local pieces = { {-0.5,0.6,-0.4,0.5,1,-0.1}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_car_ceiling.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png", + "celevator_cabinet_sides.png", + }, }, { _position = "121", @@ -171,6 +282,13 @@ local pieces = { {0.45,-0.5,-0.5,0.5,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_car_ceiling.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png", + "celevator_cabinet_sides.png", + }, }, { _position = "122", @@ -182,6 +300,14 @@ local pieces = { {-0.5,-0.5,0.45,0.45,0.5,0.5}, }, }, + tiles = { + "celevator_cabinet_sides.png", + "celevator_car_ceiling.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png", + "celevator_cabinet_sides.png", + "celevator_car_wallpaper.png", + }, }, } @@ -189,12 +315,10 @@ for _,def in ipairs(pieces) do def.groups = { dig_immediate = 2, } - def.tiles = { - "celevator_cabinet_sides.png", - } def.paramtype = "light" def.paramtype2 = "4dir" def.drawtype = "nodebox" def.description = "Car "..def._position + def.light_source = minetest.LIGHT_MAX minetest.register_node("celevator:car_"..def._position,def) end |