summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2023-08-08 17:22:37 -0500
committercheapie <no-email-for-you@example.com>2023-08-08 17:22:37 -0500
commite1e3a599662ab954c514cb5d742661564fb86fc8 (patch)
tree7f000dbef76a5c0dd38baa5819b7609095cdefd1
parent22f5bf7d76c2d71ed2f2c6e9e4d084727accbca9 (diff)
downloadcelevator-e1e3a599662ab954c514cb5d742661564fb86fc8.tar
celevator-e1e3a599662ab954c514cb5d742661564fb86fc8.tar.gz
celevator-e1e3a599662ab954c514cb5d742661564fb86fc8.tar.bz2
celevator-e1e3a599662ab954c514cb5d742661564fb86fc8.tar.xz
celevator-e1e3a599662ab954c514cb5d742661564fb86fc8.zip
Add car interior textures
-rw-r--r--car.lua130
-rw-r--r--textures/celevator_car_ceiling.pngbin0 -> 1889 bytes
-rw-r--r--textures/celevator_car_floor.pngbin0 -> 2533 bytes
-rw-r--r--textures/celevator_car_handrail_center.pngbin0 -> 584 bytes
-rw-r--r--textures/celevator_car_handrail_end.pngbin0 -> 588 bytes
-rw-r--r--textures/celevator_car_wall_bottom.pngbin0 -> 577 bytes
-rw-r--r--textures/celevator_car_wall_vent.pngbin0 -> 602 bytes
-rw-r--r--textures/celevator_car_wallpaper.pngbin0 -> 2162 bytes
8 files changed, 127 insertions, 3 deletions
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
--- /dev/null
+++ b/textures/celevator_car_ceiling.png
Binary files differ
diff --git a/textures/celevator_car_floor.png b/textures/celevator_car_floor.png
new file mode 100644
index 0000000..7eb94f3
--- /dev/null
+++ b/textures/celevator_car_floor.png
Binary files differ
diff --git a/textures/celevator_car_handrail_center.png b/textures/celevator_car_handrail_center.png
new file mode 100644
index 0000000..058d418
--- /dev/null
+++ b/textures/celevator_car_handrail_center.png
Binary files differ
diff --git a/textures/celevator_car_handrail_end.png b/textures/celevator_car_handrail_end.png
new file mode 100644
index 0000000..153b25a
--- /dev/null
+++ b/textures/celevator_car_handrail_end.png
Binary files differ
diff --git a/textures/celevator_car_wall_bottom.png b/textures/celevator_car_wall_bottom.png
new file mode 100644
index 0000000..099aa48
--- /dev/null
+++ b/textures/celevator_car_wall_bottom.png
Binary files differ
diff --git a/textures/celevator_car_wall_vent.png b/textures/celevator_car_wall_vent.png
new file mode 100644
index 0000000..6877ab9
--- /dev/null
+++ b/textures/celevator_car_wall_vent.png
Binary files differ
diff --git a/textures/celevator_car_wallpaper.png b/textures/celevator_car_wallpaper.png
new file mode 100644
index 0000000..e03a5d8
--- /dev/null
+++ b/textures/celevator_car_wallpaper.png
Binary files differ