From 24ddd101ffe7d02ccca93755f5abcdc1dfcc0517 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 3 Aug 2015 23:18:28 +0200 Subject: added cottages.handmill_product so that other items can be grinded or milled --- init.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'init.lua') 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"); -- cgit v1.2.3