summaryrefslogtreecommitdiff
path: root/recipes.lua
diff options
context:
space:
mode:
authorFaceDeer <derksenmobile@gmail.com>2017-01-08 01:23:10 -0700
committerFaceDeer <derksenmobile@gmail.com>2017-01-08 01:23:10 -0700
commitd7e5309833bc7044447982424dc8431d84d7a1a0 (patch)
treedb1081d61fd650db0593ef190b0bb32f93a19b3a /recipes.lua
parente704249735372a3232883cc8b7f25679f4949a8d (diff)
Added a rotation controller
Well that was a lot of work. Also, switched the "waiting" timer management to the actual on_timer system - I noticed that minetest.after wasn't persisting through server shutdown and restart, that could put a controller in a "broken" state.
Diffstat (limited to 'recipes.lua')
-rw-r--r--recipes.lua17
1 files changed, 16 insertions, 1 deletions
diff --git a/recipes.lua b/recipes.lua
index 141ebf2..7f368cf 100644
--- a/recipes.lua
+++ b/recipes.lua
@@ -102,6 +102,15 @@ minetest.register_craft({
}
})
+minetest.register_craft({
+ output = "digtron:axle",
+ recipe = {
+ {"default:coal_lump","default:coal_lump","default:coal_lump"},
+ {"default:coal_lump","digtron:digtron_core","default:coal_lump"},
+ {"default:coal_lump","default:coal_lump","default:coal_lump"}
+ }
+})
+
-- Structural
minetest.register_craft({
@@ -193,7 +202,6 @@ minetest.register_craft({
}
})
-
minetest.register_craft({
output = "digtron:digtron_core",
recipe = {
@@ -227,4 +235,11 @@ minetest.register_craft({
recipe = {
{"digtron:pusher"},
}
+})
+
+minetest.register_craft({
+ output = "digtron:digtron_core",
+ recipe = {
+ {"digtron:axle"},
+ }
}) \ No newline at end of file