mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-02 18:57:56 +00:00
unlock_all flag
This commit is contained in:
@@ -431,7 +431,7 @@ EX void show_chaos() {
|
||||
cmode = sm::SIDE | sm::MAYDARK;
|
||||
gamescreen();
|
||||
dialog::init(XLAT("land structure"));
|
||||
chaosUnlocked = chaosUnlocked || autocheat;
|
||||
chaosUnlocked = chaosUnlocked || unlock_all || autocheat;
|
||||
|
||||
dialog::addHelp(
|
||||
XLAT("In the Chaos mode, lands change very often, and "
|
||||
@@ -804,7 +804,7 @@ EX void showChangeMode() {
|
||||
#endif
|
||||
dialog::addBoolItem(XLAT("%1 Challenge", moPrincess), (princess::challenge), 'P');
|
||||
dialog::add_action_confirmed([] {
|
||||
if(!princess::everSaved && !autocheat)
|
||||
if(!princess::everSaved && !autocheat && !unlock_all)
|
||||
addMessage(XLAT("Save %the1 first to unlock this challenge!", moPrincess));
|
||||
else restart_game(rg::princess);
|
||||
});
|
||||
@@ -814,7 +814,7 @@ EX void showChangeMode() {
|
||||
dialog::addBoolItem(XLAT("Yendor Challenge"), (yendor::on), 'y');
|
||||
dialog::add_action([] {
|
||||
clearMessages();
|
||||
if(yendor::everwon || autocheat)
|
||||
if(yendor::everwon || autocheat || unlock_all)
|
||||
pushScreen(yendor::showMenu);
|
||||
else gotoHelp(yendor::chelp);
|
||||
});
|
||||
|
Reference in New Issue
Block a user