mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
fixed help for life Orbs in the shmup mode
This commit is contained in:
parent
56b0912ef0
commit
80e5a9d50e
11
help.cpp
11
help.cpp
@ -338,6 +338,17 @@ EX string generateHelpForItem(eItem it) {
|
|||||||
|
|
||||||
string help = helptitle(XLATN(iinf[it].name), iinf[it].color);
|
string help = helptitle(XLATN(iinf[it].name), iinf[it].color);
|
||||||
|
|
||||||
|
if(shmup::on && isShmupLifeOrb(it)) {
|
||||||
|
int cnt = 0;
|
||||||
|
help += XLAT(
|
||||||
|
"The following Orbs act an extra lives in the shmup mode:");
|
||||||
|
for(int i=0; i<ittypes; i++) {
|
||||||
|
eItem it2 = eItem(i);
|
||||||
|
if(isShmupLifeOrb(it2)) help += cnt++ ? XLAT(", %1", it2) : XLAT(" %1", it2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
#if CAP_CRYSTAL
|
#if CAP_CRYSTAL
|
||||||
if(it == itCompass && cryst)
|
if(it == itCompass && cryst)
|
||||||
help += crystal::compass_help();
|
help += crystal::compass_help();
|
||||||
|
Loading…
Reference in New Issue
Block a user