1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 09:27:40 +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

@@ -224,6 +224,7 @@ EX bool landUnlocked(eLand l) {
#define ACCONLY2(x,y)
#define ACCONLY3(x,y,z)
#define ACCONLYF(x)
#define IFINGAME(land, ok, fallback) if(isLandIngame(land)) { ok } else { fallback }
#include "content.cpp"
case landtypes: return false;