diff options
author | flux <obl3pplifp@users.noreply.github.com> | 2019-07-06 07:07:07 +0100 |
---|---|---|
committer | y <y@y> | 2019-07-06 20:54:30 +0100 |
commit | 6062d9b08e2b66b6b3ab4b5059bc992e1edc4150 (patch) | |
tree | 2993d8e9a4fa111ebd0e43cfb24df2af87cc8faa /switches.lua | |
parent | da9556bd3a95b35cd88b035beed68e335e6696b5 (diff) | |
download | digistuff-6062d9b08e2b66b6b3ab4b5059bc992e1edc4150.tar digistuff-6062d9b08e2b66b6b3ab4b5059bc992e1edc4150.tar.gz digistuff-6062d9b08e2b66b6b3ab4b5059bc992e1edc4150.tar.bz2 digistuff-6062d9b08e2b66b6b3ab4b5059bc992e1edc4150.tar.xz digistuff-6062d9b08e2b66b6b3ab4b5059bc992e1edc4150.zip |
crafting recipes
Diffstat (limited to 'switches.lua')
-rw-r--r-- | switches.lua | 23 |
1 files changed, 16 insertions, 7 deletions
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", ""}, + }, +}) |