1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-03-28 06:17:03 +00:00

changed message when activating orbs from OSM

This commit is contained in:
Zeno Rogue 2018-01-25 17:23:16 +01:00
parent 9027a7d6d2
commit 9babb22348

View File

@ -430,6 +430,8 @@ namespace inv {
if(us) s += XLAT(" (used %1 times)", its(us));
return s;
}
bool activating;
void show() {
@ -595,7 +597,10 @@ namespace inv {
else {
eItem it = cwt.c->item;
cwt.c->item = orbmap[uni];
inv::activating = true;
collectItem(cwt.c, true);
inv::activating = false;
addMessage(XLAT("You activate %the1.", orbmap[uni]));
if(!cwt.c->item) usedup[orbmap[uni]]++;
if(getOLR(it, getPrizeLand()) == olrForbidden)
usedForbidden = true;