mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
mind your brackets
This commit is contained in:
@@ -231,11 +231,9 @@ def collect_hints(ctx:Context, team, slot, item:str) -> list:
|
|||||||
if receiving_player == slot and item_id == seeked_item_id:
|
if receiving_player == slot and item_id == seeked_item_id:
|
||||||
location_id, finding_player = check
|
location_id, finding_player = check
|
||||||
found = location_id in ctx.location_checks[team, finding_player]
|
found = location_id in ctx.location_checks[team, finding_player]
|
||||||
hints.append((
|
hinttext = f"[Hint]: {ctx.player_names[(team, slot)]}'s {item} can be found at " \
|
||||||
found,
|
f"{get_location_name_from_address(location_id)} in {ctx.player_names[team, finding_player]}'s World."
|
||||||
f"[Hint]: {ctx.player_names[(team, slot)]}'s {item} can be found at " \
|
hints.append((found, hinttext + (" (found)" if found else "")))
|
||||||
f"{get_location_name_from_address(location_id)} in {ctx.player_names[team, finding_player]}'s World." +
|
|
||||||
" (found)" if found else ""))
|
|
||||||
|
|
||||||
return hints
|
return hints
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user