Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed doors logic #68

Merged
merged 26 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e5c9f7b
closed door logic implemented (rework of entrance_rando.py)
Jul 11, 2024
0250104
big update for graph_creation.py (incl closed doors)
Jul 11, 2024
d80612d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 11, 2024
4e360cd
ruff changes
Jul 12, 2024
238f32b
even more ruff fixes
Jul 12, 2024
bb5862c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 12, 2024
7fe7812
made 2 variables lowercase
Jul 12, 2024
da60fc1
first wave of changes per Avasam's request
Jul 14, 2024
6a94028
Merge branch 'main' into closed_doors_logic
wossnameGitHub Jul 14, 2024
6e4a3e5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 14, 2024
fc65a3f
added create_own_style function
Jul 14, 2024
1544f51
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 14, 2024
7bf32a6
small ruff fixes
Jul 14, 2024
4bada62
type specification for dict
Jul 14, 2024
86725c2
tiny None fix
Jul 14, 2024
41186b5
Add 68.feature.md
Jul 14, 2024
0d4d3d7
Merge branch 'main' of https://github.com/Avasam/ptle-tools into clos…
Avasam Jul 14, 2024
015dd07
Whole bunch of extra changes per Avasam's request
Jul 14, 2024
91b667d
Merge branch 'main' of https://github.com/Avasam/ptle-tools into clos…
Avasam Jul 16, 2024
0c51e2d
Add informational styling to graph edges
Jul 16, 2024
95dbdfa
pre-merge prep
Avasam Jul 16, 2024
5ffcd0b
Merge branch 'main' of https://github.com/Avasam/ptle-tools into clos…
Avasam Jul 16, 2024
c03b522
Merge branch 'main' of https://github.com/Avasam/ptle-tools into clos…
Avasam Jul 17, 2024
169a1be
added comment about exception
Jul 17, 2024
8c05e80
Apply last comments
Avasam Jul 17, 2024
ed8c701
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dolphin scripts/Entrance Randomizer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
from lib.constants import * # noqa: F403
from lib.constants import __version__
from lib.entrance_rando import (
closed_door_exits,
highjack_transition_rando,
set_transitions_map,
starting_area,
temp_disabled_exits,
transitions_map,
)
from lib.graph_creation import create_graphml

Check failure on line 30 in Dolphin scripts/Entrance Randomizer/__main__.py

View workflow job for this annotation

GitHub Actions / Run pyright

Type of "create_graphml" is partially unknown   Type of "create_graphml" is "(transitions_map: Mapping[tuple[int, int], tuple[int, int]], temp_disabled_exits: Sequence[tuple[int, int]], closed_door_exits: Unknown, seed_string: int | float | str | bytes | bytearray | Literal[False] | None, starting_area: int) -> None" (reportUnknownVariableType)
from lib.shaman_shop import patch_shaman_shop, randomize_shaman_shop
from lib.utils import (
draw_text,
Expand All @@ -50,7 +51,7 @@

# Dump spoiler logs and graph
dump_spoiler_logs(starting_area_name, transitions_map, seed_string)
create_graphml(transitions_map, temp_disabled_exits, seed_string, starting_area)
create_graphml(transitions_map, temp_disabled_exits, closed_door_exits, seed_string, starting_area)
Avasam marked this conversation as resolved.
Show resolved Hide resolved


async def main_loop():
Expand Down
Loading
Loading