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

This commit is contained in:
Tim 2015-01-29 23:58:53 +01:00
parent 3cc568ddbd
commit a8c097bcd9
2 changed files with 10 additions and 1 deletions

@ -10,7 +10,7 @@ end
local recipes = { local recipes = {
{"default:snowblock", "default:ice"}, {"default:snowblock", "default:ice"},
{"default:sand 4", "default:sandstone"}, {"default:sand 2", "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"},

@ -23,8 +23,17 @@ local recipes = {
{"default:cobble", "default:gravel"}, {"default:cobble", "default:gravel"},
{"default:gravel", "default:dirt"}, {"default:gravel", "default:dirt"},
{"default:stone", "default:sand"}, {"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 if minetest.get_modpath("farming") then
table.insert(recipes, {"farming:seed_wheat", "farming:flour 1"}) table.insert(recipes, {"farming:seed_wheat", "farming:flour 1"})
end end