summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <t4im@users.noreply.github.com>2015-01-29 23:58:53 +0100
committerTim <t4im@users.noreply.github.com>2015-01-30 05:09:21 +0100
commita8c097bcd914b5722a7a211e0382bf82c96d32f8 (patch)
treedad8f0c18d72f969ad864fbc5fe88fce95d5a623
parent3cc568ddbdd265f5dc67bb3a5b4a8f1286bb294e (diff)
tweak sandstone/sand recipes to a more efficent compressing 2 sand -> sandstone and grinding sandstone -> 2 sand ratio; make sure the default recipes are defused
-rw-r--r--technic/machines/register/compressor_recipes.lua2
-rw-r--r--technic/machines/register/grinder_recipes.lua9
2 files changed, 10 insertions, 1 deletions
diff --git a/technic/machines/register/compressor_recipes.lua b/technic/machines/register/compressor_recipes.lua
index ebfb08c..bc65b25 100644
--- a/technic/machines/register/compressor_recipes.lua
+++ b/technic/machines/register/compressor_recipes.lua
@@ -10,7 +10,7 @@ end
local recipes = {
{"default:snowblock", "default:ice"},
- {"default:sand 4", "default:sandstone"},
+ {"default:sand 2", "default:sandstone"},
{"default:desert_sand", "default:desert_stone"},
{"technic:mixed_metal_ingot", "technic:composite_plate"},
{"default:copper_ingot 5", "technic:copper_plate"},
diff --git a/technic/machines/register/grinder_recipes.lua b/technic/machines/register/grinder_recipes.lua
index f5b6d0c..79a43dd 100644
--- a/technic/machines/register/grinder_recipes.lua
+++ b/technic/machines/register/grinder_recipes.lua
@@ -23,8 +23,17 @@ local recipes = {
{"default:cobble", "default:gravel"},
{"default:gravel", "default:dirt"},
{"default:stone", "default:sand"},
+ {"default:sandstone", "default:sand 2"}, -- reverse recipe can be found in the compressor
}
+-- defuse the sandstone -> 4 sand recipe to avoid infinite sand bugs (also consult the inverse compressor recipe)
+minetest.register_craft({
+ output = "default:sandstone",
+ recipe = {
+ {'default:sandstone'}
+ },
+})
+
if minetest.get_modpath("farming") then
table.insert(recipes, {"farming:seed_wheat", "farming:flour 1"})
end