summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 809f63b..af0cb16 100644
--- a/init.lua
+++ b/init.lua
@@ -36,6 +36,23 @@ end
-- (i.e. in combination with realtest)
dofile(minetest.get_modpath("cottages").."/adaptions.lua");
+-- add to this table what you want the handmill to convert;
+-- add a stack size if you want a higher yield
+cottages.handmill_product = {};
+cottages.handmill_product[ cottages.craftitem_seed_wheat ] = 'farming:flour 1';
+--[[ some examples:
+cottages.handmill_product[ 'default:cobble' ] = 'default:gravel';
+cottages.handmill_product[ 'default:gravel' ] = 'default:sand';
+cottages.handmill_product[ 'default:sand' ] = 'default:dirt 2';
+cottages.handmill_product[ 'flowers:rose' ] = 'dye:red 6';
+cottages.handmill_product[ 'default:cactus' ] = 'dye:green 6';
+cottages.handmill_product[ 'default:coal_lump'] = 'dye:black 6';
+--]]
+-- process that many inputs per turn
+cottages.handmill_max_per_turn = 20;
+cottages.handmill_min_per_turn = 0;
+
+
-- uncomment parts you do not want
dofile(minetest.get_modpath("cottages").."/nodes_furniture.lua");
dofile(minetest.get_modpath("cottages").."/nodes_historic.lua");