1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

display charge count for all orbs, and activation costs for frog-like orbs

This commit is contained in:
Zeno Rogue 2024-05-28 15:45:31 +02:00
parent c6c040eead
commit 5d576c3344

View File

@ -527,6 +527,10 @@ EX string generateHelpForItem(eItem it) {
}
}
}
int oc = orbcharges(it); if(oc) help += XLAT("\n\nOrb charges gained: %1", its(oc));
if(among(it, itOrbFrog, itOrbPhasing, itOrbDash))
help += XLAT("\n\nActivation cost: %1 charges\n", its(5));
if(it == itOrb37 && (S7 != 7 || !BITRUNCATED))
help += "\n\n" + other_geometry() + forbidden_unmarked();