1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 01:37:57 +00:00

renamed waBlandDie to waHappyDie

This commit is contained in:
Zeno Rogue
2021-05-27 16:38:20 +02:00
parent 707292a7e4
commit a2a1acfd8d
5 changed files with 11 additions and 11 deletions

View File

@@ -379,13 +379,13 @@ EX void pushThumper(const movei& mi) {
cto->wall = waCrateOnTarget;
th->wall = waCrateTarget;
}
else if(among(w, waRichDie, waBlandDie)) {
else if(among(w, waRichDie, waHappyDie)) {
th->wall = waNone;
cto->wall = w;
animateMovement(mi, LAYER_BOAT);
dice::roll(mi);
if(w == waRichDie && dice::data[cto].happy() > 0) {
cto->wall = waBlandDie;
cto->wall = waHappyDie;
if(cto->land == laDice && th->land == laDice) {
items[itDice]++;
addMessage(XLAT("The die is now happy, and you are rewarded!"));
@@ -403,7 +403,7 @@ EX void pushThumper(const movei& mi) {
}
EX bool canPushThumperOn(cell *tgt, cell *thumper, cell *player) {
if(among(thumper->wall, waRichDie, waBlandDie) && ctof(tgt))
if(among(thumper->wall, waRichDie, waHappyDie) && ctof(tgt))
return false;
if(tgt->wall == waBoat || tgt->wall == waStrandedBoat) return false;
if(isReptile(tgt->wall)) return false;