1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

splashing sounds when pushing things into water/chasms; barrels produce permanent walls

This commit is contained in:
Zeno Rogue 2019-01-11 02:25:43 +01:00
parent d982407d5a
commit df73ccb4c2

View File

@ -7555,11 +7555,13 @@ void pushThumper(cell *th, cell *cto) {
}
else if(cellUnstableOrChasm(cto)) {
addMessage(XLAT("%The1 fills the hole!", w));
cto->wall = waTempFloor;
cto->wall = w == waThumperOn ? waTempFloor : waNone;
playSound(cto, "click");
}
else if(isWatery(cto)) {
addMessage(XLAT("%The1 fills the hole!", w));
cto->wall = waTempBridge;
cto->wall = w == waThumperOn ? waTempBridge : waNone;
playSound(cto, "splash"+pick12());
}
else
cto->wall = w;