1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 18:27:55 +00:00

unlock_all flag

This commit is contained in:
Zeno Rogue
2024-12-01 12:43:31 +01:00
parent 2f57e5a98a
commit 6cff0839fd
4 changed files with 11 additions and 4 deletions

View File

@@ -501,6 +501,7 @@ EX namespace yendor {
}
bool levelUnlocked(int i) {
if(unlock_all) return true;
yendorlevel& ylev(levels[i]);
eItem t = treasureType(ylev.l);
@@ -763,6 +764,7 @@ EX namespace tactic {
bool tacticUnlocked(eLand l) {
if(autocheat) return true;
if(unlock_all) return true;
if(l == laWildWest || l == laDual) return true;
return hiitemsMax(treasureType(l)) * landMultiplier(l) >= 20;
}