1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-04-26 20:53:13 +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

@ -528,6 +528,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)) if(it == itOrb37 && (S7 != 7 || !BITRUNCATED))
help += "\n\n" + other_geometry() + forbidden_unmarked(); help += "\n\n" + other_geometry() + forbidden_unmarked();