From d7e5309833bc7044447982424dc8431d84d7a1a0 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sun, 8 Jan 2017 01:23:10 -0700 Subject: 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. --- recipes.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'recipes.lua') 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 -- cgit v1.2.3