From 6062d9b08e2b66b6b3ab4b5059bc992e1edc4150 Mon Sep 17 00:00:00 2001 From: flux Date: Sat, 6 Jul 2019 07:07:07 +0100 Subject: crafting recipes --- switches.lua | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'switches.lua') diff --git a/switches.lua b/switches.lua index 118951c..87d7a87 100644 --- a/switches.lua +++ b/switches.lua @@ -88,7 +88,7 @@ minetest.register_node("digistuff:button", { { -4/16, -2/16, 4/16, 4/16, 2/16, 6/16 } -- the button itself } }, - digiline = + digiline = { receptor = {}, wire = { @@ -150,7 +150,7 @@ minetest.register_node("digistuff:button_off", { { -4/16, -2/16, 4/16, 4/16, 2/16, 6/16 } -- the button itself } }, - digiline = + digiline = { receptor = {}, wire = { @@ -194,7 +194,7 @@ minetest.register_node("digistuff:button_off_pushed", { { -4/16, -2/16, 11/32, 4/16, 2/16, 6/16 } } }, - digiline = + digiline = { receptor = {}, wire = { @@ -240,7 +240,7 @@ minetest.register_node("digistuff:button_on", { { -4/16, -2/16, 4/16, 4/16, 2/16, 6/16 } -- the button itself } }, - digiline = + digiline = { receptor = {}, wire = { @@ -286,7 +286,7 @@ minetest.register_node("digistuff:button_on_pushed", { { -4/16, -2/16, 11/32, 4/16, 2/16, 6/16 } } }, - digiline = + digiline = { receptor = {}, wire = { @@ -319,7 +319,7 @@ minetest.register_node("digistuff:wall_knob", { paramtype2 = "facedir", walkable = false, sunlight_propagates = true, - digiline = + digiline = { receptor = {}, wire = { @@ -378,7 +378,7 @@ minetest.register_node("digistuff:wall_knob_configured", { paramtype2 = "facedir", walkable = false, sunlight_propagates = true, - digiline = + digiline = { receptor = {}, wire = { @@ -426,3 +426,12 @@ minetest.register_node("digistuff:wall_knob_configured", { end, sounds = default and default.node_sound_stone_defaults(), }) + +minetest.register_craft({ + output = "digistuff:wall_knob", + recipe = { + {"", "mesecons_button:button_off", ""}, + {"digilines:wire_std_00000000","mesecons_luacontroller:luacontroller0000", "digilines:wire_std_00000000"}, + {"", "digilines:wire_std_00000000", ""}, + }, +}) -- cgit v1.2.3