unlock_all flag

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

No files matched your search

+2
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;
}