diff options
-rw-r--r-- | LICENSE.txt | 2 | ||||
-rw-r--r-- | components.lua | 11 | ||||
-rw-r--r-- | textures/elevator_steel_block.png | bin | 0 -> 350 bytes |
3 files changed, 13 insertions, 0 deletions
diff --git a/LICENSE.txt b/LICENSE.txt index aa52b25..18198e6 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -23,3 +23,5 @@ The textures are taken from the Minecraft resource pack “Faithful 1.11” by Vattic and xMrVizzy and contributers." Elevator motor design is (c) minertestdude, redistributed under MIT license. + +elevator_steel_block.png CC BY-SA 3.0 (https://github.com/minetest/minetest_game)
\ No newline at end of file diff --git a/components.lua b/components.lua index e564810..525efbc 100644 --- a/components.lua +++ b/components.lua @@ -68,6 +68,17 @@ elseif aurum_path then moditems.el_shaft_gfx = "elevator_shaft.png" moditems.el_box_gfx = "elevator_box.png" moditems.steel_block_image = "aurum_ore_white.png^[colorize:#cbcdcd:255^aurum_ore_bumps.png^aurum_ore_block.png" +else + -- fallback for unknown games + moditems.el_shaft_groups = {cracky=2, oddly_breakable_by_hand=0} + moditems.el_motor_groups = {cracky=1} + moditems.elevator_groups = {cracky=1, choppy=1, snappy=1} + moditems.elevator_special_groups = {not_in_creative_inventory=1} + moditems.sounds_stone = function() end + moditems.el_motor_gfx = "elevator_motor.png" + moditems.el_shaft_gfx = "elevator_shaft.png" + moditems.el_box_gfx = "elevator_box.png" + moditems.steel_block_image = "elevator_steel_block.png" end if minetest.global_exists("screwdriver") then diff --git a/textures/elevator_steel_block.png b/textures/elevator_steel_block.png Binary files differnew file mode 100644 index 0000000..5e421f0 --- /dev/null +++ b/textures/elevator_steel_block.png |