Adjust item counts

This commit is contained in:
Tanner Collin 2021-04-18 22:41:03 +00:00
parent fc929db658
commit fac4309e43
3 changed files with 8 additions and 8 deletions

4
bot.py
View File

@ -226,8 +226,8 @@ def init(global_state):
g.filling = False g.filling = False
g.minimum_cache_slots = 33 g.minimum_cache_slots = 27
g.maximum_supply_slots = 27 g.maximum_supply_slots = 33
def bot(global_state): def bot(global_state):
g = global_state g = global_state

View File

@ -122,7 +122,7 @@ INIT_WANTED_ITEMS = set()
WANTED_ITEMS = INIT_WANTED_ITEMS WANTED_ITEMS = INIT_WANTED_ITEMS
def set_needed(items): def set_needed(items):
NEEDED_ITEMS = INIT_WANTED_ITEMS | items NEEDED_ITEMS = INIT_NEEDED_ITEMS | items
def set_wanted(items): def set_wanted(items):
WANTED_ITEMS = INIT_WANTED_ITEMS | items WANTED_ITEMS = INIT_WANTED_ITEMS | items

10
jobs.py
View File

@ -2298,11 +2298,11 @@ class JobStates:
self.sleep_with_bed_states.silent = True self.sleep_with_bed_states.silent = True
self.cache_items_states.silent = True self.cache_items_states.silent = True
self.grab_supplies_states.supplies = { self.grab_supplies_states.supplies = {
tuple([items.PUMPKIN_ID]): (64, 9), tuple([items.PUMPKIN_ID]): (64, 3),
tuple([items.BERRIES_ID]): (64, 9), tuple([items.BERRIES_ID]): (64, 3),
tuple([items.IRON_INGOT_ID]): (64, 9), tuple([items.IRON_INGOT_ID]): (64, 3),
tuple([items.WHEAT_ID]): (64, 9), tuple([items.WHEAT_ID]): (64, 3),
tuple([items.POTATO_ID]): (64, 9), tuple([items.POTATO_ID]): (64, 3),
} }
items.set_needed(set([ items.set_needed(set([