1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-28 12:04:07 +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

@ -431,6 +431,8 @@ namespace inv {
return s;
}
bool activating;
void show() {
if(remaining[itOrbSword]) items[itOrbSword]++;
@ -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;