Increase cache search distance from 80 to 105

This commit is contained in:
Tanner committed 2026-11-10 15:56:24 +00:00
1 parent 36dfa312ad
commit 032b4cfd33
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -121,7 +121,7 @@ class World:
normal = tuple(-component for component in normal)
return normal
def find_throw_signs(self, center, bot_name, distance=80):
def find_throw_signs(self, center, bot_name, distance=105):
"""Find nearby signs directing this bot to throw an item at them."""
bot_name = str(bot_name).casefold()
group_name = (bot_name[:-1] if len(bot_name) > 1 and
@@ -213,7 +213,7 @@ class World:
return tuple(sorted((tuple(chest), partner)))
return (tuple(chest),)
def find_labeled_chests(self, center, distance=80):
def find_labeled_chests(self, center, distance=105):
"""Find single/double chests assigned item categories by nearby signs."""
grouped = {}
sign_offsets = (