From fac4309e4370edac43ab1073cf828b5e6f320245 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sun, 18 Apr 2021 22:41:03 +0000 Subject: [PATCH] Adjust item counts --- bot.py | 4 ++-- items.py | 2 +- jobs.py | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bot.py b/bot.py index e1271f6..37a7116 100644 --- a/bot.py +++ b/bot.py @@ -226,8 +226,8 @@ def init(global_state): g.filling = False - g.minimum_cache_slots = 33 - g.maximum_supply_slots = 27 + g.minimum_cache_slots = 27 + g.maximum_supply_slots = 33 def bot(global_state): g = global_state diff --git a/items.py b/items.py index 37e118f..c03bd83 100644 --- a/items.py +++ b/items.py @@ -122,7 +122,7 @@ INIT_WANTED_ITEMS = set() WANTED_ITEMS = INIT_WANTED_ITEMS def set_needed(items): - NEEDED_ITEMS = INIT_WANTED_ITEMS | items + NEEDED_ITEMS = INIT_NEEDED_ITEMS | items def set_wanted(items): WANTED_ITEMS = INIT_WANTED_ITEMS | items diff --git a/jobs.py b/jobs.py index ee6ea42..9d00e86 100644 --- a/jobs.py +++ b/jobs.py @@ -2298,11 +2298,11 @@ class JobStates: self.sleep_with_bed_states.silent = True self.cache_items_states.silent = True self.grab_supplies_states.supplies = { - tuple([items.PUMPKIN_ID]): (64, 9), - tuple([items.BERRIES_ID]): (64, 9), - tuple([items.IRON_INGOT_ID]): (64, 9), - tuple([items.WHEAT_ID]): (64, 9), - tuple([items.POTATO_ID]): (64, 9), + tuple([items.PUMPKIN_ID]): (64, 3), + tuple([items.BERRIES_ID]): (64, 3), + tuple([items.IRON_INGOT_ID]): (64, 3), + tuple([items.WHEAT_ID]): (64, 3), + tuple([items.POTATO_ID]): (64, 3), } items.set_needed(set([