mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed the message priority on alchemy+wind; added a message for chasms in Crystal World
This commit is contained in:
parent
36fe4c670b
commit
ce78030e8a
6
game.cpp
6
game.cpp
@ -7249,6 +7249,8 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
||||
"You cannot move between the cells without dots here!" :
|
||||
"You cannot move between the triangular cells here!"
|
||||
));
|
||||
else if(againstWind(c2, cwt.c))
|
||||
addMessage(XLAT(airdist(c2) < 3 ? "The Air Elemental blows you away!" : "You cannot go against the wind!"));
|
||||
else if(isAlch(c2))
|
||||
addMessage(XLAT("Wrong color!"));
|
||||
else if(c2->wall == waRoundTable)
|
||||
@ -7259,8 +7261,8 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
||||
addMessage(XLAT("You would get hurt!", c2->wall));
|
||||
else if(cellEdgeUnstable(cwt.c) && cellEdgeUnstable(c2))
|
||||
addMessage(XLAT("Gravity does not allow this!"));
|
||||
else if(againstWind(c2, cwt.c))
|
||||
addMessage(XLAT(airdist(c2) < 3 ? "The Air Elemental blows you away!" : "You cannot go against the wind!"));
|
||||
else if(c2.c->wall == waChasm && c2.c->land == laDual)
|
||||
addMessage(XLAT("You cannot move there!");
|
||||
else {
|
||||
addMessage(XLAT("You cannot move through %the1!", c2->wall));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user