diff --git a/manager/config.lua b/manager/config.lua index 43ea386..e01619b 100644 --- a/manager/config.lua +++ b/manager/config.lua @@ -53,6 +53,10 @@ C.COMPOST_RESERVE = 128 C.COMPOST_DROPPER = "minecraft:dropper_10" C.COMPOST_HOPPER = "minecraft:hopper_0" +-- Collection hoppers: periodically emptied into storage (e.g. egg spawner, mob farm) +C.COLLECTION_HOPPERS = { "minecraft:hopper_1" } +C.COLLECTION_INTERVAL = 3 -- seconds between hopper collection + -- Stock limits / auto-discard (overridable via config file) C.TRASH_DROPPERS = { -- droppers facing lava/void for destroying excess items "minecraft:dropper_11", @@ -129,6 +133,8 @@ function C.loadConfig() if cfg.compostReserve then C.COMPOST_RESERVE = cfg.compostReserve end if cfg.compostDropper then C.COMPOST_DROPPER = cfg.compostDropper end if cfg.compostHopper then C.COMPOST_HOPPER = cfg.compostHopper end + if cfg.collectionHoppers then C.COLLECTION_HOPPERS = cfg.collectionHoppers end + if cfg.collectionInterval then C.COLLECTION_INTERVAL = cfg.collectionInterval end if cfg.trashDroppers then C.TRASH_DROPPERS = cfg.trashDroppers end if cfg.discardInterval then C.DISCARD_INTERVAL = cfg.discardInterval end if cfg.autoCraftInterval then C.AUTO_CRAFT_INTERVAL = cfg.autoCraftInterval end