-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored spoilor log for Wrap Gates & Rising Tides
- Loading branch information
Showing
6 changed files
with
128 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
using System; | ||
|
||
namespace TsRandomizer.Randomisation | ||
{ | ||
static class WarpNames | ||
{ | ||
public static string Get(Requirement gate) | ||
{ | ||
//present | ||
if (gate.Contains(Requirement.GateKittyBoss)) | ||
return "Sewers"; | ||
if (gate.Contains(Requirement.GateLeftLibrary)) | ||
return "Library"; | ||
if (gate.Contains(Requirement.GateMilitaryGate)) | ||
return "Military Hangar"; | ||
if (gate.Contains(Requirement.GateSealedCaves)) | ||
return "Xarion's Cave Entrance"; | ||
if (gate.Contains(Requirement.GateXarion)) | ||
return "Xarion"; | ||
if (gate.Contains(Requirement.GateSealedSirensCave)) | ||
return "Sirens' Cave"; | ||
if (gate.Contains(Requirement.GateLakeDesolation)) | ||
return "Lake Desolation"; | ||
|
||
//past | ||
if (gate.Contains(Requirement.GateLakeSereneLeft)) | ||
return "Azure Queen"; | ||
if (gate.Contains(Requirement.GateAccessToPast)) | ||
return "Upper Caves of Banishment"; | ||
if (gate.Contains(Requirement.GateLakeSereneRight)) | ||
return "East Lake Serene"; | ||
//if (gate.Contains(R.)) | ||
// return "Refugee Camp"; | ||
if (gate.Contains(Requirement.GateCastleRamparts)) | ||
return "Castle Ramparts"; | ||
if (gate.Contains(Requirement.GateCastleKeep)) | ||
return "Castle Keep"; | ||
if (gate.Contains(Requirement.GateRoyalTowers)) | ||
return "Royal Towers"; | ||
if (gate.Contains(Requirement.GateMaw)) | ||
return "Maw's Lair"; | ||
if (gate.Contains(Requirement.GateCavesOfBanishment)) | ||
return "Maw's Cave Entrance"; | ||
|
||
//ancient pyramid | ||
if (gate.Contains(Requirement.GateGyre)) | ||
return "Temporal Gyre Entrance"; | ||
if (gate.Contains(Requirement.GateLeftPyramid)) | ||
return "Ancient Pyramid Entrance"; | ||
if (gate.Contains(Requirement.GateRightPyramid)) | ||
return "Inner Ancient Pyramid"; | ||
|
||
throw new Exception($"Name for Gate {gate} is not defined"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters