1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-09 03:00:15 +00:00

charge help, and fixed a bug in help in weird geometry warped cells

This commit is contained in:
Zeno Rogue
2020-03-01 02:34:27 +01:00
parent 89fe310154
commit 62734bbfc5
2 changed files with 13 additions and 2 deletions

View File

@@ -935,7 +935,16 @@ EX void describeMouseover() {
appendHelp(string("\n\n") + XLAT(warpdesc));
if(S7 != 7 || !BITRUNCATED) if(c->item != itOrb37)
help += "\n\n" + other_geometry() + forbidden_unmarked();
appendHelp("\n\n" + other_geometry() + forbidden_unmarked());
}
if(isElectricLand(c) || isElectricLand(cwt.at->land)) {
using namespace elec;
eCharge ch = getCharge(c);
if(ch == ecCharged) appendHelp("\n\nThis cell is charged.");
if(ch == ecGrounded) appendHelp("\n\nThis cell is grounded.");
if(ch == ecConductor) appendHelp("\n\nThis cell is currently conductive.");
if(ch == ecIsolator) appendHelp("\n\nThis cell is currently not conductive.");
}
}
else {