Custom Goal framework fixes

This commit is contained in:
codemann8
2025-10-29 20:17:45 -05:00
parent a5ce59c7e8
commit 6edfbda0bf
6 changed files with 26 additions and 8 deletions

View File

@@ -236,6 +236,7 @@ def generate_itempool(world, player):
else:
set_event_item(world, player, 'Ganon', 'Triforce')
goal_req = None
if world.custom_goals[player]['murahgoal'] and 'requirements' in world.custom_goals[player]['murahgoal']:
goal_req = world.custom_goals[player]['murahgoal']['requirements'][0]
if world.goal[player] in ['triforcehunt', 'trinity'] or (goal_req and goal_req['condition'] != 0x00):