Skip to content

Commit

Permalink
show treasure bubbles in Dice Reserve
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorogue committed Jun 23, 2022
1 parent 217c628 commit 5fe6aee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,11 @@ EX void pushThumper(const movei& mi) {
if(w == waRichDie && dice::data[cto].happy() > 0) {
cto->wall = waHappyDie;
if(cto->land == laDice && th->land == laDice) {
int q = items[itDice];
gainItem(itDice);
if(vid.bubbles_all || (threshold_met(items[itDice]) > threshold_met(q) && vid.bubbles_threshold)) {
drawBubble(cto, iinf[itDice].color, its(items[itDice]), 0.5);
}
addMessage(XLAT("The die is now happy, and you are rewarded!"));
}
else {
Expand Down

0 comments on commit 5fe6aee

Please sign in to comment.