From e1e3a599662ab954c514cb5d742661564fb86fc8 Mon Sep 17 00:00:00 2001 From: cheapie Date: Tue, 8 Aug 2023 17:22:37 -0500 Subject: Add car interior textures --- car.lua | 130 ++++++++++++++++++++++++++++- textures/celevator_car_ceiling.png | Bin 0 -> 1889 bytes textures/celevator_car_floor.png | Bin 0 -> 2533 bytes textures/celevator_car_handrail_center.png | Bin 0 -> 584 bytes textures/celevator_car_handrail_end.png | Bin 0 -> 588 bytes textures/celevator_car_wall_bottom.png | Bin 0 -> 577 bytes textures/celevator_car_wall_vent.png | Bin 0 -> 602 bytes textures/celevator_car_wallpaper.png | Bin 0 -> 2162 bytes 8 files changed, 127 insertions(+), 3 deletions(-) create mode 100644 textures/celevator_car_ceiling.png create mode 100644 textures/celevator_car_floor.png create mode 100644 textures/celevator_car_handrail_center.png create mode 100644 textures/celevator_car_handrail_end.png create mode 100644 textures/celevator_car_wall_bottom.png create mode 100644 textures/celevator_car_wall_vent.png create mode 100644 textures/celevator_car_wallpaper.png diff --git a/car.lua b/car.lua index e2202b5..c89015e 100644 --- a/car.lua +++ b/car.lua @@ -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 diff --git a/textures/celevator_car_ceiling.png b/textures/celevator_car_ceiling.png new file mode 100644 index 0000000..dc349f7 Binary files /dev/null and b/textures/celevator_car_ceiling.png differ diff --git a/textures/celevator_car_floor.png b/textures/celevator_car_floor.png new file mode 100644 index 0000000..7eb94f3 Binary files /dev/null and b/textures/celevator_car_floor.png differ diff --git a/textures/celevator_car_handrail_center.png b/textures/celevator_car_handrail_center.png new file mode 100644 index 0000000..058d418 Binary files /dev/null and b/textures/celevator_car_handrail_center.png differ diff --git a/textures/celevator_car_handrail_end.png b/textures/celevator_car_handrail_end.png new file mode 100644 index 0000000..153b25a Binary files /dev/null and b/textures/celevator_car_handrail_end.png differ diff --git a/textures/celevator_car_wall_bottom.png b/textures/celevator_car_wall_bottom.png new file mode 100644 index 0000000..099aa48 Binary files /dev/null and b/textures/celevator_car_wall_bottom.png differ diff --git a/textures/celevator_car_wall_vent.png b/textures/celevator_car_wall_vent.png new file mode 100644 index 0000000..6877ab9 Binary files /dev/null and b/textures/celevator_car_wall_vent.png differ diff --git a/textures/celevator_car_wallpaper.png b/textures/celevator_car_wallpaper.png new file mode 100644 index 0000000..e03a5d8 Binary files /dev/null and b/textures/celevator_car_wallpaper.png differ -- cgit v1.2.3