diff --git a/celldrawer.cpp b/celldrawer.cpp index 22c43139..3e9fb3d0 100644 --- a/celldrawer.cpp +++ b/celldrawer.cpp @@ -1601,7 +1601,7 @@ void celldrawer::draw_features() { poly_outline = OUTLINE_DEFAULT; } - else if(among(c->wall, waRichDie, waBlandDie)) { + else if(among(c->wall, waRichDie, waHappyDie)) { color_t col = darkena(winf[c->wall].color, 0, 0xFF); ld footphase; diff --git a/complex2.cpp b/complex2.cpp index 4ed323e5..36b00c7a 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -986,15 +986,15 @@ EX namespace dice { int pct = hrand(100); int pct2 = hrand(6000); if(pct < 3) { - c->wall = waBlandDie; + c->wall = waHappyDie; generate_specific(c, &d4, 0, 99); } else if(pct < 6) { - c->wall = waBlandDie; + c->wall = waHappyDie; generate_specific(c, &d8, 0, 1); } else if(pct < (items[itOrbLuck] ? 8 : 9)) { - c->wall = waBlandDie; + c->wall = waHappyDie; generate_specific(c, &d20, 0, 1); } else if(pct < 14) { diff --git a/content.cpp b/content.cpp index 4cba69c6..0f8a7eae 100644 --- a/content.cpp +++ b/content.cpp @@ -1704,7 +1704,7 @@ WALL('d', 0x7F6A10, "Unhappy Die", waRichDie, WF_WALL | WF_PUSHABLE, RESERVED, 0 "Sentent dice like to be in a position such that their highest number is on top, or somewhere close. " "Unfortunately, someone has rolled this one into a wrong position, and did not fix this. " "It will reward you if you roll it so that the highest number is on top again!") -WALL('d', 0x106010, "Happy Die", waBlandDie, WF_WALL | WF_PUSHABLE, RESERVED, 0, sgNone, +WALL('d', 0x106010, "Happy Die", waHappyDie, WF_WALL | WF_PUSHABLE, RESERVED, 0, sgNone, "A happy sentent die. You can roll it.") MONSTER('d', 0x603010, "Animated Die", moAnimatedDie, ZERO, RESERVED, moHexDemon, diff --git a/game.cpp b/game.cpp index c216be47..8b27c005 100644 --- a/game.cpp +++ b/game.cpp @@ -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; diff --git a/orbs.cpp b/orbs.cpp index 0afd4c46..19f8426f 100644 --- a/orbs.cpp +++ b/orbs.cpp @@ -1102,13 +1102,13 @@ void blowoff(const movei& mi) { } if(ct->monst == moAnimatedDie && dice::data[ct].happy() > 0) { ct->monst = moNone; - ct->wall = waBlandDie; + ct->wall = waHappyDie; if(ct->land == laDice && cf->land == laDice) { cf->item = itDice; addMessage(XLAT("The die is now happy, and you are rewarded!")); } } - if(die && ct->wall == waBlandDie) { + if(die && ct->wall == waHappyDie) { /* pushMonster already awarded us -- place the reward on cf instead */ cf->item = itDice; items[itDice]--; @@ -1147,7 +1147,7 @@ EX movei blowoff_destination(cell *c, int& di) { if(dtype) for(int e=d; etype; e++) { int di = e % c->type; cell *c2 = c->move(di); - if((c->monst == moAnimatedDie || c->wall == waBlandDie || c->wall == waRichDie) && ctof(c2)) continue; + if((c->monst == moAnimatedDie || c->wall == waHappyDie || c->wall == waRichDie) && ctof(c2)) continue; if(c2 && c2->cpdist > c->cpdist && passable(c2, c, P_BLOW)) return movei(c, c2, di); } return movei(c, c, NO_SPACE);