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

Updates to support new flags/settings in Archipelago #164

Merged
merged 5 commits into from
Jan 28, 2025

Conversation

sgrunt
Copy link

@sgrunt sgrunt commented Jan 27, 2025

There are a few new settings or flags that don't have 100% of everything they need to be supported in Archipelago, as I discovered while working on a companion pull request to this to update the apworld to include all of the recently added settings and flags. This is seemingly everything necessary to get them all working based on some local testing.

sgrunt added 3 commits January 26, 2025 14:41
This will require a change to the apworld to actually be able to set
the option to this value, but we need to be able to do something with
it first.
// Pyramid start checks
{1337233, new ItemKey(15, 2, 200, 562)}, //training dummy
{1337234, new ItemKey(14, 0, 240, 192)}, //gyre
{1337235, new ItemKey(16, 2, 2192, 1552)}, //pyramid rubble
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Values here are from ItemLocationMap.

@@ -344,6 +347,7 @@ public static SettingCollection LoadSettingsFromSlotData(Dictionary<string, obje
settings.ChaosTrap.Value = traps.Contains("Chaos Trap");
settings.NeurotoxinTrap.Value = traps.Contains("Neurotoxin Trap");
settings.BeeTrap.Value = traps.Contains("Bee Trap");
settings.ThrowStunTrap.Value = traps.Contains("Throw Stun Trap");
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The apworld already has support for this trap, but it doesn't do anything because of the absence of this line.

@@ -190,6 +190,9 @@ public static SettingCollection LoadSettingsFromSlotData(Dictionary<string, obje
case 3:
enumValue = "Ryshia";
break;
case 4:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The apworld PR for this (ArchipelagoMW/Archipelago#4559) uses 4 for this value.

@@ -548,7 +548,7 @@ void AddDownloadTerminals()
areaName = "The lab";
Add(new ItemKey(11, 6, 200, 192), "Lab: Download and chest room terminal (Experiment #13)", null, UpperLab & R.Tablet);
Add(new ItemKey(11, 15, 152, 176), "Lab: Middle terminal (Amadeus Laboratory Map)", null, LabResearchWing & R.Tablet);
Add(new ItemKey(11, 16, 600, 192), "Lab: Sentry platform terminal (Origins)", null, LabResearchWing & R.Tablet);
Add(new ItemKey(11, 16, 600, 192), "Lab: Sentry platform terminal (Origins)", null, (SeedOptions.LockKeyAmadeus ? MainLab & R.LabGenza : LabResearchWing) & R.Tablet);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed this omission while inspecting my own upstream logic in the apworld - ArchipelagoMW/Archipelago#4559 (comment)

The room this terminal is in is gated behind the Genza laser, so in Lock Key Amadeus it should be accessed as such.

@Jarno458 Jarno458 merged commit 73643bc into Jarno458:master Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants