1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 17:27:57 +00:00

Merge pull request #417 from josephcsible/forbid-haunted-safety

Make the Orb of Safety in the Haunted Woods forbidden instead of dangerous
This commit is contained in:
Zeno Rogue
2025-08-19 10:35:14 +02:00
committed by GitHub

View File

@@ -304,11 +304,14 @@ EX eOrbLandRelation getOLR(eItem it, eLand l) {
if(it == itOrbDragon || it == itOrbFire || it == itOrbFlash || it == itOrbLightning)
return olrDangerous;
if(it == itOrbSafety)
if(it == itOrbSafety) {
if(l == laCaves || l == laLivefjord || l == laRedRock || l == laCocytus || l == laHell ||
l == laDesert || l == laAlchemist || l == laDeadCaves || l == laMinefield || isHaunted(l) ||
l == laDesert || l == laAlchemist || l == laDeadCaves || l == laMinefield ||
l == laDragon || l == laWet || l == laCursed)
return olrDangerous;
if(isHaunted(l))
return olrForbidden;
}
if(it == itOrbMatter)
if(among(l, laCaves, laEmerald, laAlchemist, laCaribbean, laMinefield, laCocytus, laWestWall))