Skip to content

Commit

Permalink
Add unrandomized log and indicate that typings is vendored
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed May 26, 2024
1 parent cd95019 commit 7935db1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dolphin scripts/Entrance Randomizer/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ def dump_spoiler_logs(
+ f"({TRANSITION_INFOS_DICT[redirect[0]].name} entrance)\n"
)

unrandomized_transitions = ALL_POSSIBLE_TRANSITIONS - transitions_map.keys()
spoiler_logs += "\nUnrandomized transitions:\n"
for transition in unrandomized_transitions:
spoiler_logs += (
f"From: {TRANSITION_INFOS_DICT[transition[0]].name}, "
+ f"To: {TRANSITION_INFOS_DICT[transition[1]].name}.\n"
)

# TODO (Avasam): Get actual user folder based whether Dolphin Emulator is in AppData/Roaming
# and if the current installation is portable.
dolphin_path = Path().absolute()
Expand Down
1 change: 1 addition & 0 deletions Dolphin scripts/typings/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Vendor of <https://github.com/Felk/dolphin/tree/master/python-stubs/dolphin>

0 comments on commit 7935db1

Please sign in to comment.