From 987cc5a6a425b1f9bcd9000608dc389a45c675a1 Mon Sep 17 00:00:00 2001 From: you <ovvv@web.de> Date: Mon, 05 Jun 2017 16:51:59 +0200 Subject: [PATCH] Add api documentation (#361) --- technic/machines/register/compressor_recipes.lua | 10 ++++++++++ 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..a625f1a 100644 --- a/technic/machines/register/compressor_recipes.lua +++ b/technic/machines/register/compressor_recipes.lua @@ -10,6 +10,7 @@ local recipes = { {"default:snowblock", "default:ice"}, + {"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"}, @@ -18,6 +19,15 @@ {"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.clear_craft({ + output = "default:sandstone", + 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 -- Gitblit v1.8.0