mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-29 05:42:49 +00:00
fixed the blank lines for Power OSM description
This commit is contained in:
parent
723be3f16b
commit
293d881afa
20
help.cpp
20
help.cpp
@ -291,6 +291,12 @@ string forbidden_unmarked() {
|
|||||||
|
|
||||||
string hyperstone_optional = "Completing the quest in this land is not necessary for the Hyperstone Quest.";
|
string hyperstone_optional = "Completing the quest in this land is not necessary for the Hyperstone Quest.";
|
||||||
|
|
||||||
|
string power_help =
|
||||||
|
"The amount of Orbs obtained by using Orbs of Mirroring is "
|
||||||
|
"multiplied by sqrt(1+p/20), where p is the number of Powerstones "
|
||||||
|
"collected. This also affects the mirrorings which happened before "
|
||||||
|
"collecting the Powerstones.";
|
||||||
|
|
||||||
EX string generateHelpForItem(eItem it) {
|
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);
|
||||||
@ -404,12 +410,7 @@ EX string generateHelpForItem(eItem it) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if(it == itPower)
|
if(it == itPower)
|
||||||
help += XLAT(
|
help += "\n\n" + XLAT(power_help);
|
||||||
"\n\nThe amount of Orbs obtained by using Orbs of Mirroring is "
|
|
||||||
"multiplied by sqrt(1+p/20), where p is the number of Powerstones "
|
|
||||||
"collected. This also affects the mirrorings which happened before "
|
|
||||||
"collecting the Powerstones."
|
|
||||||
);
|
|
||||||
|
|
||||||
if(it == itOrbLuck)
|
if(it == itOrbLuck)
|
||||||
help += XLAT(
|
help += XLAT(
|
||||||
@ -634,12 +635,7 @@ string generateHelpForLand(eLand l) {
|
|||||||
add_reqs(l, s);
|
add_reqs(l, s);
|
||||||
|
|
||||||
if(l == laPower && inv::on)
|
if(l == laPower && inv::on)
|
||||||
help += XLAT(
|
help += XLAT(power_help) + "\n\n";
|
||||||
"\n\nThe amount of Orbs obtained by using Orbs of Mirroring is "
|
|
||||||
"multiplied by sqrt(1+p/20), where p is the number of Powerstones "
|
|
||||||
"collected. This also affects the mirrorings which happened before "
|
|
||||||
"collecting the Powerstones."
|
|
||||||
);
|
|
||||||
|
|
||||||
if(isCoastal(l))
|
if(isCoastal(l))
|
||||||
s += XLAT("Coastal region -- connects inland and aquatic regions.\n");
|
s += XLAT("Coastal region -- connects inland and aquatic regions.\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user