aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCloudyProton <34248863+CloudyProton@users.noreply.github.com>2017-12-04 23:53:38 -0500
committerGitHub <noreply@github.com>2017-12-04 23:53:38 -0500
commit444d0dbfbecfd8671c44c0cedf6931b3de07220c (patch)
treef297ab00001bf03cbbc9a625138674009373e190
parent88417f0d6fbe1483800b7cd20a290d4a8983cc86 (diff)
downloadelevator-444d0dbfbecfd8671c44c0cedf6931b3de07220c.tar.gz
elevator-444d0dbfbecfd8671c44c0cedf6931b3de07220c.tar.bz2
elevator-444d0dbfbecfd8671c44c0cedf6931b3de07220c.zip
Add missing default dependency craft recipes
Mod states it has no dependencies other than default, yet no recipes exist without technic/homedecor or farming redo. Tries to stay as true as possible to existing crafts.
-rw-r--r--init.lua27
1 files changed, 27 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index a0a9e26..a02f8ad 100644
--- a/init.lua
+++ b/init.lua
@@ -906,4 +906,31 @@ elseif technic_path and farming and farming.mod and farming.mod == "redo" then
})
-- Recipes without technic & chains required.
+-- Recipes for default dependency fallback.
+else
+ minetest.register_craft({
+ output = "elevator:elevator",
+ recipe = {
+ {"default:steel_ingot", "farming:cotton", "default:steel_ingot"},
+ {"default:steel_ingot", "default:mese_crystal", "default:steel_ingot"},
+ {"xpanes:pane_flat", "default:glass", "xpanes:pane_flat"},
+ },
+ })
+
+ minetest.register_craft({
+ output = "elevator:shaft",
+ recipe = {
+ {"default:steel_ingot", "default:obsidian_glass"},
+ {"default:obsidian_glass", "default:steel_ingot"},
+ },
+ })
+
+ minetest.register_craft({
+ output = "elevator:motor",
+ recipe = {
+ {"default:diamond", "default:copper_ingot", "default:diamond"},
+ {"default:steelblock", "default:furnace", "default:steelblock"},
+ {"farming:cotton", "default:diamond", "farming:cotton"}
+ },
+ })
end