show treasure bubbles in Dice Reserve

This commit is contained in:
Zeno Rogue 2022-06-23 13:46:34 +02:00
parent 217c6287fe
commit 5fe6aee84f
1 changed files with 4 additions and 0 deletions

View File

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