mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-31 05:24:07 +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 cells without dots here!" :
|
||||||
"You cannot move between the triangular cells 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))
|
else if(isAlch(c2))
|
||||||
addMessage(XLAT("Wrong color!"));
|
addMessage(XLAT("Wrong color!"));
|
||||||
else if(c2->wall == waRoundTable)
|
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));
|
addMessage(XLAT("You would get hurt!", c2->wall));
|
||||||
else if(cellEdgeUnstable(cwt.c) && cellEdgeUnstable(c2))
|
else if(cellEdgeUnstable(cwt.c) && cellEdgeUnstable(c2))
|
||||||
addMessage(XLAT("Gravity does not allow this!"));
|
addMessage(XLAT("Gravity does not allow this!"));
|
||||||
else if(againstWind(c2, cwt.c))
|
else if(c2.c->wall == waChasm && c2.c->land == laDual)
|
||||||
addMessage(XLAT(airdist(c2) < 3 ? "The Air Elemental blows you away!" : "You cannot go against the wind!"));
|
addMessage(XLAT("You cannot move there!");
|
||||||
else {
|
else {
|
||||||
addMessage(XLAT("You cannot move through %the1!", c2->wall));
|
addMessage(XLAT("You cannot move through %the1!", c2->wall));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user