mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 05:42:33 +01:00
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:
parent
e4c34c9c32
commit
9d3f7304fb
@ -10,6 +10,7 @@ end
|
|||||||
|
|
||||||
local recipes = {
|
local recipes = {
|
||||||
{"default:snowblock", "default:ice"},
|
{"default:snowblock", "default:ice"},
|
||||||
|
{"default:sand 4", "default:sandstone"},
|
||||||
{"default:desert_sand", "default:desert_stone"},
|
{"default:desert_sand", "default:desert_stone"},
|
||||||
{"technic:mixed_metal_ingot", "technic:composite_plate"},
|
{"technic:mixed_metal_ingot", "technic:composite_plate"},
|
||||||
{"default:copper_ingot 5", "technic:copper_plate"},
|
{"default:copper_ingot 5", "technic:copper_plate"},
|
||||||
@ -18,6 +19,15 @@ local recipes = {
|
|||||||
{"technic:uranium35_ingot 5", "technic:uranium_fuel"},
|
{"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
|
for _, data in pairs(recipes) do
|
||||||
technic.register_compressor_recipe({input = {data[1]}, output = data[2]})
|
technic.register_compressor_recipe({input = {data[1]}, output = data[2]})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user