summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-01-19 02:28:05 +0100
committerTim <t4im@users.noreply.github.com>2015-01-30 05:09:21 +0100
commit9d3f7304fb1bde462a82a7f338c1d5064a396f41 (patch)
tree5ea2b7727b30f01ed34c65b37b56bb1effce9b58
parente4c34c9c32d98cc0109e3cc94328e7ed5611fc64 (diff)
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
-rw-r--r--technic/machines/register/compressor_recipes.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/technic/machines/register/compressor_recipes.lua b/technic/machines/register/compressor_recipes.lua
index 4fba03b..ebfb08c 100644
--- a/technic/machines/register/compressor_recipes.lua
+++ b/technic/machines/register/compressor_recipes.lua
@@ -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