summaryrefslogtreecommitdiff
path: root/crafts.lua
diff options
context:
space:
mode:
Diffstat (limited to 'crafts.lua')
-rw-r--r--crafts.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/crafts.lua b/crafts.lua
index 05303c6..13a8b93 100644
--- a/crafts.lua
+++ b/crafts.lua
@@ -29,6 +29,9 @@ if not xcompat_available then
m.mese = "mesecons_torch:redstoneblock" -- mcla still carries this as an alias
m.pick_steel = "mcl_core:pick_steel"
m.torch = "mcl_torches:torch"
+ else
+ minetest.log("warning","[celevator] Unsupported game and xcompat not found, not registering craft recipes")
+ return
end
if minetest.get_modpath("dye") then
m.dye_black = "dye:black"
@@ -195,6 +198,15 @@ minetest.register_craft({
})
minetest.register_craft({
+ output = "celevator:car_metal_glassback",
+ recipe = {
+ {"",m.steel_strip,""},
+ {m.steel_strip,"celevator:car_glassback",m.steel_strip},
+ {"",m.steel_strip,""},
+ },
+})
+
+minetest.register_craft({
output = "celevator:controller",
recipe = {
{m.steel_strip,m.ic,m.steel_strip},