add a sandstone compression recipe back in place of the default recipe, without leading to an infinite sand/sandstone generation which lead to its removal in c0a1739 in the first place

This commit is contained in:
Tim 2015-01-19 02:28:05 +01:00
parent e4c34c9c32
commit 9d3f7304fb
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,7 @@ end
local recipes = {
{"default:snowblock", "default:ice"},
{"default:sand 4", "default:sandstone"},
{"default:desert_sand", "default:desert_stone"},
{"technic:mixed_metal_ingot", "technic:composite_plate"},
{"default:copper_ingot 5", "technic:copper_plate"},
@ -18,6 +19,15 @@ local recipes = {
{"technic:uranium35_ingot 5", "technic:uranium_fuel"},
}
-- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner
minetest.register_craft({
output = "default:sand 4",
recipe = {
{'group:sand', 'group:sand'},
{'group:sand', 'group:sand'}
},
})
for _, data in pairs(recipes) do
technic.register_compressor_recipe({input = {data[1]}, output = data[2]})
end