mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-09-29 14:11:40 +00:00
changed message when activating orbs from OSM
This commit is contained in:
@@ -430,6 +430,8 @@ namespace inv {
|
|||||||
if(us) s += XLAT(" (used %1 times)", its(us));
|
if(us) s += XLAT(" (used %1 times)", its(us));
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool activating;
|
||||||
|
|
||||||
void show() {
|
void show() {
|
||||||
|
|
||||||
@@ -595,7 +597,10 @@ namespace inv {
|
|||||||
else {
|
else {
|
||||||
eItem it = cwt.c->item;
|
eItem it = cwt.c->item;
|
||||||
cwt.c->item = orbmap[uni];
|
cwt.c->item = orbmap[uni];
|
||||||
|
inv::activating = true;
|
||||||
collectItem(cwt.c, true);
|
collectItem(cwt.c, true);
|
||||||
|
inv::activating = false;
|
||||||
|
addMessage(XLAT("You activate %the1.", orbmap[uni]));
|
||||||
if(!cwt.c->item) usedup[orbmap[uni]]++;
|
if(!cwt.c->item) usedup[orbmap[uni]]++;
|
||||||
if(getOLR(it, getPrizeLand()) == olrForbidden)
|
if(getOLR(it, getPrizeLand()) == olrForbidden)
|
||||||
usedForbidden = true;
|
usedForbidden = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user