Add back comparator, repeater, and redstone torch recipe

This commit is contained in:
Jürgen Rühle 2024-10-29 19:40:09 +01:00 committed by cora
parent 544c94ecb3
commit 5cb2d03413
3 changed files with 25 additions and 0 deletions

View File

@ -240,3 +240,12 @@ for _, mode in pairs{"comp", "sub"} do
minetest.register_node(nodename, nodedef)
end
end
minetest.register_craft({
output = "mcl_comparators:comparator_off_comp",
recipe = {
{ "", "mcl_redstone_torch:redstone_torch_on", "" },
{ "mcl_redstone_torch:redstone_torch_on", "mcl_nether:quartz", "mcl_redstone_torch:redstone_torch_on" },
{ "mcl_core:stone", "mcl_core:stone", "mcl_core:stone" },
}
})

View File

@ -113,6 +113,13 @@ minetest.register_node("mcl_redstone_torch:redstoneblock", {
_mcl_hardness = 5,
})
minetest.register_craft({
output = "mcl_redstone_torch:redstone_torch_on",
recipe = {
{"mcl_redstone:redstone"},
{"mcl_core:stick"},}
})
minetest.register_craft({
output = "mcl_redstone_torch:redstoneblock",
recipe = {

View File

@ -241,5 +241,14 @@ minetest.register_node("mcl_repeaters:repeater_on_locked", table.merge(lockeddef
})
}))
minetest.register_craft({
output = "mcl_repeaters:repeater_off_1",
recipe = {
{ "", "", "" },
{ "mcl_redstone_torch:redstone_torch_on", "mcl_redstone:redstone", "mcl_redstone_torch:redstone_torch_on" },
{ "mcl_core:stone", "mcl_core:stone", "mcl_core:stone" },
}
})
doc.add_entry_alias("nodes", "mcl_repeaters:repeater_off_1", "nodes", "mcl_repeaters:repeater_off_locked")
doc.add_entry_alias("nodes", "mcl_repeaters:repeater_off_1", "nodes", "mcl_repeaters:repeater_on_locked")