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:
parent
102292fdc6
commit
4564a0203c
4
game.cpp
4
game.cpp
@ -8084,9 +8084,7 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
|||||||
addMessage(XLAT("Wrong color!"));
|
addMessage(XLAT("Wrong color!"));
|
||||||
else if(c2->wall == waRoundTable)
|
else if(c2->wall == waRoundTable)
|
||||||
addMessage(XLAT("It would be impolite to land on the table!"));
|
addMessage(XLAT("It would be impolite to land on the table!"));
|
||||||
else if(cwt.at->wall == waRed3 && snakelevel(c2) == 0)
|
else if(snakelevel(cwt.at) >= 3 && snakelevel(c2) == 0)
|
||||||
addMessage(XLAT("You would get hurt!", c2->wall));
|
|
||||||
else if(cwt.at->wall == waTower && snakelevel(c2) == 0)
|
|
||||||
addMessage(XLAT("You would get hurt!", c2->wall));
|
addMessage(XLAT("You would get hurt!", c2->wall));
|
||||||
else if(cellEdgeUnstable(cwt.at) && cellEdgeUnstable(c2)) {
|
else if(cellEdgeUnstable(cwt.at) && cellEdgeUnstable(c2)) {
|
||||||
addMessage(XLAT("Gravity does not allow this!"));
|
addMessage(XLAT("Gravity does not allow this!"));
|
||||||
|
2
help.cpp
2
help.cpp
@ -797,6 +797,8 @@ void describeMouseover() {
|
|||||||
|
|
||||||
if(isIcyLand(c))
|
if(isIcyLand(c))
|
||||||
out += " (" + fts(heat::celsius(c)) + " °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)
|
if(c->land == laDryForest && c->landparam)
|
||||||
out += " (" + its(c->landparam)+"/10)";
|
out += " (" + its(c->landparam)+"/10)";
|
||||||
if(c->land == laOcean && chaosmode)
|
if(c->land == laOcean && chaosmode)
|
||||||
|
Loading…
Reference in New Issue
Block a user