mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 19:32:17 -05:00
rename 3drando dot enums to match soh enum naming (#2034)
This commit is contained in:
parent
9027d85671
commit
5037b99740
@ -2838,7 +2838,7 @@ void HintTable_Init() {
|
||||
/*spanish*/ "Para aquel que se convierta en el héroe...&La puerta al futuro está a su disposición..." },
|
||||
});
|
||||
|
||||
hintTable[CHILD_ALTAR_TEXT_END_DOTCLOSED] = HintText::Altar({
|
||||
hintTable[CHILD_ALTAR_TEXT_END_DOTSONGONLY] = HintText::Altar({
|
||||
// obscure text
|
||||
Text{
|
||||
"Ye who may become a Hero...&Stand with the Ocarina and&play the Song of Time.",
|
||||
@ -2846,7 +2846,7 @@ void HintTable_Init() {
|
||||
/*spanish*/ "Para aquel que se convierta en el héroe...&Tome la ocarina y&entone la Canción del Tiempo." },
|
||||
});
|
||||
|
||||
hintTable[CHILD_ALTAR_TEXT_END_DOTINTENDED] = HintText::Altar({
|
||||
hintTable[CHILD_ALTAR_TEXT_END_DOTCLOSED] = HintText::Altar({
|
||||
// obscure text
|
||||
Text{ "Ye who may become a Hero...&Offer the spiritual stones and&play the Song of Time.",
|
||||
/*french*/
|
||||
|
@ -555,13 +555,13 @@ static Text BuildDoorOfTimeText() {
|
||||
itemObtained = "$o";
|
||||
doorOfTimeText = Hint(CHILD_ALTAR_TEXT_END_DOTOPEN).GetText();
|
||||
|
||||
} else if (OpenDoorOfTime.Is(OPENDOOROFTIME_CLOSED)) {
|
||||
} else if (OpenDoorOfTime.Is(OPENDOOROFTIME_SONGONLY)) {
|
||||
itemObtained = "$c";
|
||||
doorOfTimeText = Hint(CHILD_ALTAR_TEXT_END_DOTCLOSED).GetText();
|
||||
doorOfTimeText = Hint(CHILD_ALTAR_TEXT_END_DOTSONGONLY).GetText();
|
||||
|
||||
} else if (OpenDoorOfTime.Is(OPENDOOROFTIME_INTENDED)) {
|
||||
} else if (OpenDoorOfTime.Is(OPENDOOROFTIME_CLOSED)) {
|
||||
itemObtained = "$i";
|
||||
doorOfTimeText = Hint(CHILD_ALTAR_TEXT_END_DOTINTENDED).GetText();
|
||||
doorOfTimeText = Hint(CHILD_ALTAR_TEXT_END_DOTCLOSED).GetText();
|
||||
}
|
||||
|
||||
return Text()+itemObtained+doorOfTimeText;
|
||||
|
@ -1742,8 +1742,8 @@ typedef enum {
|
||||
|
||||
SPIRITUAL_STONE_TEXT_START,
|
||||
CHILD_ALTAR_TEXT_END_DOTOPEN,
|
||||
CHILD_ALTAR_TEXT_END_DOTSONGONLY,
|
||||
CHILD_ALTAR_TEXT_END_DOTCLOSED,
|
||||
CHILD_ALTAR_TEXT_END_DOTINTENDED,
|
||||
ADULT_ALTAR_TEXT_START,
|
||||
ADULT_ALTAR_TEXT_END,
|
||||
|
||||
|
@ -56,8 +56,8 @@ void AreaTable_Init_CastleTown() {
|
||||
}, {
|
||||
//Exits
|
||||
Entrance(TOT_ENTRANCE, {[]{return true;}}),
|
||||
Entrance(TOT_BEYOND_DOOR_OF_TIME, {[]{return OpenDoorOfTime.Is(OPENDOOROFTIME_OPEN) || (CanPlay(SongOfTime) && (OpenDoorOfTime.Is(OPENDOOROFTIME_CLOSED) || (HasAllStones && OcarinaOfTime)));},
|
||||
/*Glitched*/[]{return SongOfTime && OpenDoorOfTime.Is(OPENDOOROFTIME_CLOSED) && (CanDoGlitch(GlitchType::IndoorBombOI, GlitchDifficulty::ADVANCED) ||
|
||||
Entrance(TOT_BEYOND_DOOR_OF_TIME, {[]{return OpenDoorOfTime.Is(OPENDOOROFTIME_OPEN) || (CanPlay(SongOfTime) && (OpenDoorOfTime.Is(OPENDOOROFTIME_SONGONLY) || (HasAllStones && OcarinaOfTime)));},
|
||||
/*Glitched*/[]{return SongOfTime && OpenDoorOfTime.Is(OPENDOOROFTIME_SONGONLY) && (CanDoGlitch(GlitchType::IndoorBombOI, GlitchDifficulty::ADVANCED) ||
|
||||
((Bugs || Fish) && Bombs && (CanSurviveDamage || (Fairy && NumBottles >= 2)) && CanShield && CanDoGlitch(GlitchType::QPA, GlitchDifficulty::ADVANCED) && CanDoGlitch(GlitchType::RestrictedItems, GlitchDifficulty::NOVICE)));}}),
|
||||
});
|
||||
|
||||
|
@ -63,9 +63,9 @@ string_view kakGateClosed = "The gate and the Happy Mask Shop both r
|
||||
------------------------------*/ //
|
||||
string_view doorOfTimeOpen = "The Door of Time starts opened instead of needing\n"
|
||||
"to play the Song of Time."; //
|
||||
string_view doorOfTimeClosed = "Only an Ocarina and the Song of Time need to be\n"//
|
||||
string_view doorOfTimeSongOnly = "Only an Ocarina and the Song of Time need to be\n"//
|
||||
"found to open the Door of Time."; //
|
||||
string_view doorOfTimeIntended = "The Ocarina of Time, the Song of Time, and\n" //
|
||||
string_view doorOfTimeClosed = "The Ocarina of Time, the Song of Time, and\n" //
|
||||
"all Spiritual Stones need to be found to\n" //
|
||||
"open the Door of Time."; //
|
||||
/*------------------------------ //
|
||||
|
@ -22,8 +22,8 @@ extern string_view kakGateOpen;
|
||||
extern string_view kakGateClosed;
|
||||
|
||||
extern string_view doorOfTimeOpen;
|
||||
extern string_view doorOfTimeSongOnly;
|
||||
extern string_view doorOfTimeClosed;
|
||||
extern string_view doorOfTimeIntended;
|
||||
|
||||
extern string_view fountainNormal;
|
||||
extern string_view fountainAdult;
|
||||
|
@ -55,7 +55,7 @@ namespace Settings {
|
||||
Option RandomizeOpen = Option::Bool("Randomize Settings", {"No","Yes"}, {openRandomize}, OptionCategory::Toggle);
|
||||
Option OpenForest = Option::U8 ("Forest", {"Closed", "Closed Deku", "Open"}, {forestClosed, forestClosedDeku, forestOpen}, OptionCategory::Setting, OPENFOREST_CLOSED);
|
||||
Option OpenKakariko = Option::U8 ("Kakariko Gate", {"Closed", "Open"}, {kakGateClosed, kakGateOpen});
|
||||
Option OpenDoorOfTime = Option::U8 ("Door of Time", {"Closed", "Song only", "Open"}, {doorOfTimeIntended, doorOfTimeClosed, doorOfTimeOpen});
|
||||
Option OpenDoorOfTime = Option::U8 ("Door of Time", {"Closed", "Song only", "Open"}, {doorOfTimeClosed, doorOfTimeSongOnly, doorOfTimeOpen});
|
||||
Option ZorasFountain = Option::U8 ("Zora's Fountain", {"Closed", "Closed as child", "Open"}, {fountainNormal, fountainAdult, fountainOpen});
|
||||
Option GerudoFortress = Option::U8 ("Gerudo Fortress", {"Normal", "Fast", "Open"}, {gerudoNormal, gerudoFast, gerudoOpen});
|
||||
Option Bridge = Option::U8 ("Rainbow Bridge", {"Vanilla", "Always open", "Stones", "Medallions", "Dungeon rewards", "Dungeons", "Tokens"}, {bridgeVanilla, bridgeOpen, bridgeStones, bridgeMedallions, bridgeRewards, bridgeDungeons, bridgeTokens}, OptionCategory::Setting, RAINBOWBRIDGE_VANILLA);
|
||||
@ -1864,7 +1864,7 @@ namespace Settings {
|
||||
|
||||
//Adult is also not compatible with the following combination:
|
||||
//DoT:Intended, ShuffleOcarinas:false, Logic:Glitchless
|
||||
if (OpenDoorOfTime.Is(OPENDOOROFTIME_INTENDED) && !ShuffleOcarinas &&
|
||||
if (OpenDoorOfTime.Is(OPENDOOROFTIME_CLOSED) && !ShuffleOcarinas &&
|
||||
Logic.Is(LOGIC_GLITCHLESS)) {
|
||||
StartingAge.SetSelectedIndex(AGE_CHILD);
|
||||
StartingAge.Lock();
|
||||
|
@ -44,8 +44,8 @@ typedef enum {
|
||||
} OpenKakarikoSetting;
|
||||
|
||||
typedef enum {
|
||||
OPENDOOROFTIME_INTENDED,
|
||||
OPENDOOROFTIME_CLOSED,
|
||||
OPENDOOROFTIME_SONGONLY,
|
||||
OPENDOOROFTIME_OPEN,
|
||||
} OpenDoorOfTimeSetting;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user