diff options
-rw-r--r-- | car.lua | 36 | ||||
-rw-r--r-- | decorations.lua | 77 | ||||
-rw-r--r-- | textures/celevator_car_bottom.png | bin | 0 -> 5264 bytes | |||
-rw-r--r-- | textures/celevator_car_bottom_center.png | bin | 0 -> 5167 bytes | |||
-rw-r--r-- | textures/celevator_car_side_center2_overlay.png | bin | 0 -> 652 bytes | |||
-rw-r--r-- | textures/celevator_car_side_center_overlay.png | bin | 0 -> 588 bytes | |||
-rw-r--r-- | textures/celevator_car_side_overlay.png | bin | 0 -> 681 bytes | |||
-rw-r--r-- | textures/celevator_car_top_center_overlay.png | bin | 0 -> 635 bytes | |||
-rw-r--r-- | textures/celevator_car_top_hatch.png | bin | 0 -> 756 bytes | |||
-rw-r--r-- | textures/celevator_car_top_misc.png | bin | 0 -> 844 bytes | |||
-rw-r--r-- | textures/celevator_positioning_tape.png | bin | 0 -> 609 bytes | |||
-rw-r--r-- | textures/celevator_positioning_tape_bracket.png | bin | 0 -> 882 bytes | |||
-rw-r--r-- | textures/celevator_positioning_tape_bracket_back.png | bin | 0 -> 865 bytes | |||
-rw-r--r-- | textures/celevator_positioning_tape_magnets.png | bin | 0 -> 4347 bytes |
14 files changed, 97 insertions, 16 deletions
@@ -69,8 +69,9 @@ local pieces = { }, tiles = { "celevator_car_floor.png^celevator_door_sill_single.png", - "celevator_cabinet_sides.png", + "celevator_car_bottom.png", "celevator_car_wallpaper.png^celevator_car_wall_bottom.png^celevator_car_switch_panel.png", + "celevator_cabinet_sides.png^celevator_car_side_overlay.png^[transformR90", "celevator_cabinet_sides.png", }, on_timer = function(pos) @@ -115,8 +116,9 @@ local pieces = { }, tiles = { "celevator_car_floor.png", - "celevator_cabinet_sides.png", + "celevator_car_bottom_center.png", "celevator_car_wallpaper.png^celevator_car_wall_bottom.png^celevator_car_wall_vent.png", + "celevator_cabinet_sides.png^celevator_car_side_center_overlay.png", "celevator_cabinet_sides.png", }, }, @@ -132,9 +134,9 @@ local pieces = { }, tiles = { "celevator_car_floor.png", - "celevator_cabinet_sides.png", + "celevator_car_bottom.png", "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", - "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png^celevator_car_side_overlay.png", "celevator_cabinet_sides.png", "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", }, @@ -151,8 +153,8 @@ local pieces = { }, tiles = { "celevator_car_floor.png^celevator_door_sill_double.png", - "celevator_cabinet_sides.png", - "celevator_cabinet_sides.png", + "celevator_car_bottom.png", + "celevator_cabinet_sides.png^celevator_car_side_overlay.png", "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", "celevator_cabinet_sides.png", }, @@ -168,8 +170,8 @@ local pieces = { }, tiles = { "celevator_car_floor.png", - "celevator_cabinet_sides.png", - "celevator_cabinet_sides.png", + "celevator_car_bottom_center.png^[transformFX", + "celevator_cabinet_sides.png^celevator_car_side_center_overlay.png", "celevator_car_wallpaper.png^celevator_car_wall_bottom.png^celevator_car_wall_vent.png", "celevator_cabinet_sides.png", }, @@ -186,8 +188,8 @@ local pieces = { }, tiles = { "celevator_car_floor.png", - "celevator_cabinet_sides.png", - "celevator_cabinet_sides.png", + "celevator_car_bottom.png", + "celevator_cabinet_sides.png^celevator_car_side_overlay.png^[transformR90", "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", "celevator_cabinet_sides.png", "celevator_car_wallpaper.png^celevator_car_wall_bottom.png", @@ -220,6 +222,7 @@ local pieces = { "celevator_cabinet_sides.png", "celevator_cabinet_sides.png", "celevator_car_wallpaper.png^celevator_car_handrail_end.png", + "celevator_cabinet_sides.png^celevator_car_side_center2_overlay.png", "celevator_cabinet_sides.png", }, }, @@ -268,7 +271,7 @@ local pieces = { tiles = { "celevator_cabinet_sides.png", "celevator_cabinet_sides.png", - "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png^celevator_car_side_center2_overlay.png", "celevator_car_wallpaper.png^celevator_car_handrail_center.png", "celevator_cabinet_sides.png", }, @@ -320,9 +323,10 @@ local pieces = { }, }, tiles = { - "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png^celevator_car_top_center_overlay.png", "celevator_car_ceiling.png", "celevator_car_wallpaper.png", + "celevator_cabinet_sides.png^celevator_car_side_center_overlay.png", "celevator_cabinet_sides.png", }, on_rightclick = function(pos,node,clicker) @@ -371,7 +375,7 @@ local pieces = { }, }, tiles = { - "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png^celevator_car_top_hatch.png", "celevator_car_ceiling.png", "celevator_car_wallpaper.png", "celevator_cabinet_sides.png", @@ -408,9 +412,9 @@ local pieces = { }, }, tiles = { - "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png^celevator_car_top_center_overlay.png^[transformFX", "celevator_car_ceiling.png", - "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png^celevator_car_side_center_overlay.png", "celevator_car_wallpaper.png", "celevator_cabinet_sides.png", }, @@ -426,7 +430,7 @@ local pieces = { }, }, tiles = { - "celevator_cabinet_sides.png", + "celevator_cabinet_sides.png^celevator_car_top_misc.png", "celevator_car_ceiling.png", "celevator_cabinet_sides.png", "celevator_car_wallpaper.png", diff --git a/decorations.lua b/decorations.lua index b218c0b..0728ba2 100644 --- a/decorations.lua +++ b/decorations.lua @@ -168,3 +168,80 @@ minetest.register_node("celevator:guide_rail_bracket",{ }, }, }) + +minetest.register_node("celevator:tape",{ + description = "Elevator Positioning System Tape", + groups = { + choppy = 1, + }, + paramtype = "light", + paramtype2 = "4dir", + tiles = { + "celevator_guide_rail.png", + "celevator_guide_rail.png", + "celevator_guide_rail.png", + "celevator_guide_rail.png", + "celevator_positioning_tape.png", + "celevator_positioning_tape.png", + }, + drawtype = "nodebox", + use_texture_alpha = "clip", + node_box = { + type = "fixed", + fixed = { + {-0.09,-0.5,-0.3,0.09,0.5,-0.299}, + }, + }, +}) + +minetest.register_node("celevator:tape_magnets",{ + description = "Elevator Positioning System Tape with Magnets", + groups = { + choppy = 1, + }, + paramtype = "light", + paramtype2 = "4dir", + tiles = { + "celevator_guide_rail.png", + "celevator_guide_rail.png", + "celevator_guide_rail.png", + "celevator_guide_rail.png", + "celevator_positioning_tape.png", + "celevator_positioning_tape_magnets.png", + }, + drawtype = "nodebox", + use_texture_alpha = "clip", + node_box = { + type = "fixed", + fixed = { + {-0.09,-0.5,-0.3,0.09,0.5,-0.299}, + }, + }, +}) + +minetest.register_node("celevator:tape_bracket",{ + description = "Elevator Positioning System Tape with Bracket", + groups = { + choppy = 1, + }, + paramtype = "light", + paramtype2 = "4dir", + tiles = { + "celevator_guide_rail.png", + "celevator_guide_rail.png", + "celevator_guide_rail.png", + "celevator_guide_rail.png", + "celevator_positioning_tape_bracket_back.png", + "celevator_positioning_tape_bracket.png", + }, + drawtype = "nodebox", + use_texture_alpha = "clip", + node_box = { + type = "fixed", + fixed = { + {-0.09,-0.5,-0.3,0.09,0.5,-0.299}, + {-0.5,-0.05,-0.3,0.12,0.08,-0.25}, + {-0.5,-0.05,-0.25,-0.45,0.08,0}, + }, + }, +}) diff --git a/textures/celevator_car_bottom.png b/textures/celevator_car_bottom.png Binary files differnew file mode 100644 index 0000000..e5f5d6b --- /dev/null +++ b/textures/celevator_car_bottom.png diff --git a/textures/celevator_car_bottom_center.png b/textures/celevator_car_bottom_center.png Binary files differnew file mode 100644 index 0000000..b1c6012 --- /dev/null +++ b/textures/celevator_car_bottom_center.png diff --git a/textures/celevator_car_side_center2_overlay.png b/textures/celevator_car_side_center2_overlay.png Binary files differnew file mode 100644 index 0000000..77b7e6c --- /dev/null +++ b/textures/celevator_car_side_center2_overlay.png diff --git a/textures/celevator_car_side_center_overlay.png b/textures/celevator_car_side_center_overlay.png Binary files differnew file mode 100644 index 0000000..57efe18 --- /dev/null +++ b/textures/celevator_car_side_center_overlay.png diff --git a/textures/celevator_car_side_overlay.png b/textures/celevator_car_side_overlay.png Binary files differnew file mode 100644 index 0000000..9ba3937 --- /dev/null +++ b/textures/celevator_car_side_overlay.png diff --git a/textures/celevator_car_top_center_overlay.png b/textures/celevator_car_top_center_overlay.png Binary files differnew file mode 100644 index 0000000..1e4e3a4 --- /dev/null +++ b/textures/celevator_car_top_center_overlay.png diff --git a/textures/celevator_car_top_hatch.png b/textures/celevator_car_top_hatch.png Binary files differnew file mode 100644 index 0000000..7a4c08d --- /dev/null +++ b/textures/celevator_car_top_hatch.png diff --git a/textures/celevator_car_top_misc.png b/textures/celevator_car_top_misc.png Binary files differnew file mode 100644 index 0000000..7aecbd0 --- /dev/null +++ b/textures/celevator_car_top_misc.png diff --git a/textures/celevator_positioning_tape.png b/textures/celevator_positioning_tape.png Binary files differnew file mode 100644 index 0000000..dbb58ce --- /dev/null +++ b/textures/celevator_positioning_tape.png diff --git a/textures/celevator_positioning_tape_bracket.png b/textures/celevator_positioning_tape_bracket.png Binary files differnew file mode 100644 index 0000000..1995882 --- /dev/null +++ b/textures/celevator_positioning_tape_bracket.png diff --git a/textures/celevator_positioning_tape_bracket_back.png b/textures/celevator_positioning_tape_bracket_back.png Binary files differnew file mode 100644 index 0000000..9d5cbf5 --- /dev/null +++ b/textures/celevator_positioning_tape_bracket_back.png diff --git a/textures/celevator_positioning_tape_magnets.png b/textures/celevator_positioning_tape_magnets.png Binary files differnew file mode 100644 index 0000000..7c474a8 --- /dev/null +++ b/textures/celevator_positioning_tape_magnets.png |