1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 09:57:41 +00:00

More detailed land validity reporting

This commit is contained in:
Zeno Rogue
2018-04-13 13:08:41 +02:00
parent 3ea4bd91a8
commit 210f9e80c7
7 changed files with 203 additions and 125 deletions

View File

@@ -658,6 +658,10 @@ string generateHelpForLand(eLand l) {
"Avoid chopping trees, using Orbs, and non-graveyard monsters in the Haunted Woods."
);
}
auto lv = land_validity(specialland);
if(lv.flags & lv::display_in_help)
s += "\n\n" + XLAT(lv.msg);
#if !ISMOBILE
if(l == laCA)