crafting recipes

This commit is contained in:
flux 2019-07-06 07:07:07 +01:00 committed by y
parent da9556bd3a
commit 6062d9b08e
4 changed files with 44 additions and 9 deletions

@ -30,7 +30,7 @@ minetest.register_node("digistuff:noteblock", {
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
if fields.channel then meta:set_string("channel",fields.channel) end if fields.channel then meta:set_string("channel",fields.channel) end
end, end,
digiline = digiline =
{ {
receptor = {}, receptor = {},
effector = { effector = {
@ -62,3 +62,12 @@ minetest.register_node("digistuff:noteblock", {
}, },
}, },
}) })
minetest.register_craft({
output = "digistuff:noteblock",
recipe = {
{"mesecons_noteblock:noteblock"},
{"mesecons_luacontroller:luacontroller0000"},
{"digilines:wire_std_00000000"},
},
})

@ -31,7 +31,7 @@ minetest.register_node("digistuff:piezo", {
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
if fields.channel then meta:set_string("channel",fields.channel) end if fields.channel then meta:set_string("channel",fields.channel) end
end, end,
digiline = digiline =
{ {
receptor = {}, receptor = {},
effector = { effector = {
@ -78,3 +78,11 @@ minetest.register_node("digistuff:piezo", {
}, },
}, },
}) })
minetest.register_craft({
output = "digistuff:piezo",
recipe = {
{"quartz:quartz_crystal_piece","basic_materials:steel_strip"},
{"digilines:wire_std_00000000","mesecons_luacontroller:luacontroller0000"},
},
})

@ -220,3 +220,12 @@ minetest.register_node("digistuff:piston_pusher", {
mesecon.register_mvps_stopper("digistuff:piston_ext") mesecon.register_mvps_stopper("digistuff:piston_ext")
mesecon.register_mvps_stopper("digistuff:piston_pusher") mesecon.register_mvps_stopper("digistuff:piston_pusher")
minetest.register_craft({
output = "digistuff:piston",
recipe = {
{"mesecons_pistons:piston_normal_off"},
{"mesecons_luacontroller:luacontroller0000"},
{"digilines:wire_std_00000000"},
},
})

@ -88,7 +88,7 @@ minetest.register_node("digistuff:button", {
{ -4/16, -2/16, 4/16, 4/16, 2/16, 6/16 } -- the button itself { -4/16, -2/16, 4/16, 4/16, 2/16, 6/16 } -- the button itself
} }
}, },
digiline = digiline =
{ {
receptor = {}, receptor = {},
wire = { 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 { -4/16, -2/16, 4/16, 4/16, 2/16, 6/16 } -- the button itself
} }
}, },
digiline = digiline =
{ {
receptor = {}, receptor = {},
wire = { wire = {
@ -194,7 +194,7 @@ minetest.register_node("digistuff:button_off_pushed", {
{ -4/16, -2/16, 11/32, 4/16, 2/16, 6/16 } { -4/16, -2/16, 11/32, 4/16, 2/16, 6/16 }
} }
}, },
digiline = digiline =
{ {
receptor = {}, receptor = {},
wire = { 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 { -4/16, -2/16, 4/16, 4/16, 2/16, 6/16 } -- the button itself
} }
}, },
digiline = digiline =
{ {
receptor = {}, receptor = {},
wire = { wire = {
@ -286,7 +286,7 @@ minetest.register_node("digistuff:button_on_pushed", {
{ -4/16, -2/16, 11/32, 4/16, 2/16, 6/16 } { -4/16, -2/16, 11/32, 4/16, 2/16, 6/16 }
} }
}, },
digiline = digiline =
{ {
receptor = {}, receptor = {},
wire = { wire = {
@ -319,7 +319,7 @@ minetest.register_node("digistuff:wall_knob", {
paramtype2 = "facedir", paramtype2 = "facedir",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
digiline = digiline =
{ {
receptor = {}, receptor = {},
wire = { wire = {
@ -378,7 +378,7 @@ minetest.register_node("digistuff:wall_knob_configured", {
paramtype2 = "facedir", paramtype2 = "facedir",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
digiline = digiline =
{ {
receptor = {}, receptor = {},
wire = { wire = {
@ -426,3 +426,12 @@ minetest.register_node("digistuff:wall_knob_configured", {
end, end,
sounds = default and default.node_sound_stone_defaults(), 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", ""},
},
})