Merge branch 'main' into pyright-in-github-actions

This commit is contained in:
Doug Hoskisson
2024-04-16 01:28:43 -07:00
committed by GitHub
5 changed files with 12 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ class Version(typing.NamedTuple):
return ".".join(str(item) for item in self)
__version__ = "0.4.5"
__version__ = "0.4.6"
version_tuple = tuplize_version(__version__)
is_linux = sys.platform.startswith("linux")

View File

@@ -108,7 +108,10 @@ def roll_options(options: Dict[str, Union[dict, str]],
rolled_results[f"{filename}/{i + 1}"] = roll_settings(yaml_data,
plando_options=plando_options)
except Exception as e:
results[filename] = f"Failed to generate options in {filename}: {e}"
if e.__cause__:
results[filename] = f"Failed to generate options in {filename}: {e} - {e.__cause__}"
else:
results[filename] = f"Failed to generate options in {filename}: {e}"
else:
results[filename] = True
return results, rolled_results

View File

@@ -413,26 +413,31 @@ def set_rules(hylics2world):
lambda state: (
enter_foglast(state, player)
and bridge_key(state, player)
and air_dash(state, player)
))
add_rule(world.get_location("New Muldul: Vault Rear Right Medallion", player),
lambda state: (
enter_foglast(state, player)
and bridge_key(state, player)
and air_dash(state, player)
))
add_rule(world.get_location("New Muldul: Vault Center Medallion", player),
lambda state: (
enter_foglast(state, player)
and bridge_key(state, player)
and air_dash(state, player)
))
add_rule(world.get_location("New Muldul: Vault Front Left Medallion", player),
lambda state: (
enter_foglast(state, player)
and bridge_key(state, player)
and air_dash(state, player)
))
add_rule(world.get_location("New Muldul: Vault Front Right Medallion", player),
lambda state: (
enter_foglast(state, player)
and bridge_key(state, player)
and air_dash(state, player)
))
add_rule(world.get_location("Viewax's Edifice: Fort Wall Medallion", player),
lambda state: paddle(state, player))

View File

@@ -1,4 +1,4 @@
# Starcraft 2 Wings of Liberty
# Starcraft 2
## What does randomization do to this game?

View File

@@ -1,4 +1,4 @@
# StarCraft 2 Wings of Liberty Randomizer Setup Guide
# StarCraft 2 Randomizer Setup Guide
This guide contains instructions on how to install and troubleshoot the StarCraft 2 Archipelago client, as well as where
to obtain a config file for StarCraft 2.