orb help now lists the OSM information (required refactoring)

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

No files matched your search

+6
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) {