diff options
Diffstat (limited to 'crafts.lua')
-rw-r--r-- | crafts.lua | 34 |
1 files changed, 30 insertions, 4 deletions
@@ -2,10 +2,11 @@ local technic_path = minetest.get_modpath("technic") local chains_path = minetest.get_modpath("chains") local mineclone_path = core.get_modpath("mcl_core") and mcl_core +local aurum_path = core.get_modpath("aurum") and aurum if mineclone_path then minetest.register_craft({ - output = "elevator:elevator", + output = "elevator:elevator_off", recipe = { {"mcl_core:iron_ingot", "mcl_core:paper", "mcl_core:iron_ingot"}, {"mcl_core:iron_ingot", "mcl_core:gold_ingot", "mcl_core:iron_ingot"}, @@ -29,10 +30,35 @@ if mineclone_path then {"mcl_core:paper", "mcl_core:gold_ingot", "mcl_core:paper"} }, }) +elseif aurum_path then + minetest.register_craft({ + output = "elevator:elevator_off", + recipe = { + {"aurum_ore:iron_ingot", "group:glass", "aurum_ore:iron_ingot"}, + {"aurum_ore:iron_ingot", "aurum_ore:mana_bean", "aurum_ore:iron_ingot"}, + {"aurum_ore:iron_ingot", "group:glass", "aurum_ore:iron_ingot"}, + }, + }) + minetest.register_craft({ + output = "elevator:shaft", + recipe = { + {"group:glass", "aurum_ore:iron_ingot"}, + {"group:wood", "group:glass"}, + }, + }) + + minetest.register_craft({ + output = "elevator:motor", + recipe = { + {"aurum_ore:gold_ingot", "aurum_ore:iron_ingot", "aurum_ore:gold_ingot"}, + {"aurum_ore:iron_block", "aurum_cook:oven", "aurum_ore:iron_block"}, + {"aurum_ore:gold_ingot", "aurum_ore:mana_bean", "aurum_ore:gold_ingot"} + }, + }) elseif technic_path and chains_path then minetest.register_craft({ - output = "elevator:elevator", + output = "elevator:elevator_off", recipe = { {"technic:cast_iron_ingot", "chains:chain", "technic:cast_iron_ingot"}, {"technic:cast_iron_ingot", "default:mese_crystal", "technic:cast_iron_ingot"}, @@ -59,7 +85,7 @@ elseif technic_path and chains_path then elseif technic_path and farming and farming.mod and farming.mod == "redo" then -- add alternative recipe with hemp rope minetest.register_craft({ - output = "elevator:elevator", + output = "elevator:elevator_off", recipe = { {"technic:cast_iron_ingot", "farming:hemp_rope", "technic:cast_iron_ingot"}, {"technic:cast_iron_ingot", "default:mese_crystal", "technic:cast_iron_ingot"}, @@ -88,7 +114,7 @@ elseif technic_path and farming and farming.mod and farming.mod == "redo" then -- Recipes for default dependency fallback. else minetest.register_craft({ - output = "elevator:elevator", + output = "elevator:elevator_off", recipe = { {"default:steel_ingot", "farming:cotton", "default:steel_ingot"}, {"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"}, |