More detailed land validity reporting

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

No files matched your search

+4
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)