-
Notifications
You must be signed in to change notification settings - Fork 22
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
Conversation
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 |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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.
84aeb05
to
8fdb8fd
Compare
…)" location for Lock Key Amadeus
8fdb8fd
to
f26b4e6
Compare
@@ -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); |
There was a problem hiding this comment.
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.
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.