mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-09 13:56:00 +00:00
more map effects for the new stuff
This commit is contained in:
7
game.cpp
7
game.cpp
@@ -345,10 +345,15 @@ EX void pushThumper(const movei& mi) {
|
||||
}
|
||||
else if(isWatery(cto)) {
|
||||
addMessage(XLAT("%The1 fills the hole!", w));
|
||||
cto->wall = w == waThumperOn ? waTempBridge : waNone;
|
||||
cto->wall = w == waThumperOn ? waTempBridge : waShallow;
|
||||
cto->wparam = th->wparam;
|
||||
playSound(cto, "splash"+pick12());
|
||||
}
|
||||
else if(cto->wall == waShallow) {
|
||||
addMessage(XLAT("%The1 fills the hole!", w));
|
||||
cto->wall = waNone;
|
||||
playSound(cto, "splash"+pick12());
|
||||
}
|
||||
else
|
||||
cto->wall = w;
|
||||
if(explode) cto->wall = waFireTrap, cto->wparam = explode;
|
||||
|
Reference in New Issue
Block a user