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:
parent
217c6287fe
commit
5fe6aee84f
4
game.cpp
4
game.cpp
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user