diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-08-03 23:18:28 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-08-03 23:18:28 +0200 |
commit | 24ddd101ffe7d02ccca93755f5abcdc1dfcc0517 (patch) | |
tree | feacf96f36372f50678e42ff56b941e8d7ceb067 /init.lua | |
parent | 9071235d40156870b28a6c2aed6e35d3de3757af (diff) |
added cottages.handmill_product so that other items can be grinded or milled
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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"); |