1
0
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:
Zeno Rogue
2020-02-29 04:07:17 +01:00
parent 395d56f581
commit eb15070ac4
5 changed files with 15 additions and 4 deletions

View File

@@ -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;