1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-15 17:54:48 +00:00

Merge pull request #161 from jruderman/woods_olr

Orb of the Woods now only appears in lands where it is potentially useful (and in hubs)
This commit is contained in:
Zeno Rogue 2021-06-28 20:56:08 +02:00 committed by GitHub
commit c6785203d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,6 +328,14 @@ EX eOrbLandRelation getOLR(eItem it, eLand l) {
return olrUseless;
}
if(it == itOrbWoods && (l == laWarpSea || l == laWarpCoast))
return olrDangerous;
if(it == itOrbWoods && !among(l,
laDryForest, laWineyard, laCaribbean, laOvergrown, laHaunted, laHauntedWall, laHauntedBorder, laTortoise, laFrog, laEclectic,
laVariant))
return olrUseless;
if(it == itShard) {
if(l == laDesert || l == laIce || l == laJungle || l == laGraveyard ||
l == laRlyeh || l == laHell || l == laDryForest || l == laWineyard ||