1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

Brownian shows elevation in the help line

This commit is contained in:
Zeno Rogue 2019-01-17 00:56:32 +01:00
parent 102292fdc6
commit 4564a0203c
2 changed files with 3 additions and 3 deletions

View File

@ -8084,9 +8084,7 @@ bool movepcto(int d, int subdir, bool checkonly) {
addMessage(XLAT("Wrong color!"));
else if(c2->wall == waRoundTable)
addMessage(XLAT("It would be impolite to land on the table!"));
else if(cwt.at->wall == waRed3 && snakelevel(c2) == 0)
addMessage(XLAT("You would get hurt!", c2->wall));
else if(cwt.at->wall == waTower && snakelevel(c2) == 0)
else if(snakelevel(cwt.at) >= 3 && snakelevel(c2) == 0)
addMessage(XLAT("You would get hurt!", c2->wall));
else if(cellEdgeUnstable(cwt.at) && cellEdgeUnstable(c2)) {
addMessage(XLAT("Gravity does not allow this!"));

View File

@ -797,6 +797,8 @@ void describeMouseover() {
if(isIcyLand(c))
out += " (" + fts(heat::celsius(c)) + " °C)";
if(c->land == laBrownian && c->wall == waNone)
out += XLAT(" (level %1)", its(snakelevel(c)));
if(c->land == laDryForest && c->landparam)
out += " (" + its(c->landparam)+"/10)";
if(c->land == laOcean && chaosmode)