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

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

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 {