Deduplicate machine crafts

This commit is contained in:
mrkubax10 2023-03-23 11:15:12 +01:00
parent 9afc69b34d
commit 46e362c6c2
1 changed files with 3 additions and 31 deletions

View File

@ -184,27 +184,9 @@ minetest.register_craft({
type="shaped",
output="industrialtest:generator",
recipe={
{"industrialtest:re_battery","",""},
{"industrialtest:machine_block","",""},
{industrialtest.elementKeys.furnace,"",""}
}
})
minetest.register_craft({
type="shaped",
output="industrialtest:generator",
recipe={
{"","industrialtest:re_battery",""},
{"","industrialtest:machine_block",""},
{"",industrialtest.elementKeys.furnace,""}
}
})
minetest.register_craft({
type="shaped",
output="industrialtest:generator",
recipe={
{"","","industrialtest:re_battery"},
{"","","industrialtest:machine_block"},
{"","",industrialtest.elementKeys.furnace}
{"industrialtest:re_battery"},
{"industrialtest:machine_block"},
{industrialtest.elementKeys.furnace}
}
})
minetest.register_craft({
@ -756,16 +738,6 @@ minetest.register_craft({
type="shaped",
output="industrialtest:electric_furnace",
recipe={
{"","industrialtest:electronic_circuit",""},
{industrialtest.elementKeys.powerCarrier,"industrialtest:iron_furnace",industrialtest.elementKeys.powerCarrier},
{"","",""}
}
})
minetest.register_craft({
type="shaped",
output="industrialtest:electric_furnace",
recipe={
{"","",""},
{"","industrialtest:electronic_circuit",""},
{industrialtest.elementKeys.powerCarrier,"industrialtest:iron_furnace",industrialtest.elementKeys.powerCarrier}
}