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

orb help now lists the OSM information (required refactoring)

This commit is contained in:
Zeno Rogue
2017-10-10 12:43:41 +02:00
parent 035f1ad8de
commit 206e56942a
6 changed files with 330 additions and 180 deletions

View File

@@ -281,6 +281,12 @@ string generateHelpForItem(eItem it) {
"\n\nIn the Orb Strategy Mode, each 25 Necromancer's Totems "
"you are given a random offensive Orb."
);
if(inv::remaining[it] || inv::usedup[it]) help += "\n\n" + inv::osminfo(it);
inv::whichorbinfo = it;
inv::compute();
if(inv::orbinfoline != "") help += "\n\n" + inv::orbinfoline;
if(inv::extra != "") help += "\n\nExtras:" + inv::extra;
}
if(itemclass(it) == IC_ORB || it == itGreenStone || it == itOrbYendor) {