1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 01:17:39 +00:00

alternative land unlock rules when monster/item requested is not available due to geometry etc

This commit is contained in:
Zeno Rogue
2024-02-22 18:57:41 +01:00
parent 8af2a43f5e
commit e343ed9c3f
3 changed files with 29 additions and 6 deletions

View File

@@ -704,6 +704,7 @@ void add_reqs(eLand l, string& s) {
#define ACCONLY2(z,x) s += XLAT("Accessible only from %the1 or %the2.\n", z, x);
#define ACCONLY3(z,y,x) s += XLAT("Accessible only from %the1, %2, or %3.\n", z, y, x);
#define ACCONLYF(z) s += XLAT("Accessible only from %the1 (until finished).\n", z);
#define IFINGAME(land, ok, fallback) if(isLandIngame(land)) { ok } else { s += XLAT("Alternative rule when %the1 is not in the game:\n", land); fallback }
#include "content.cpp"
case landtypes: return;