1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

changes: fixed Holy Grail

This commit is contained in:
Zeno Rogue 2020-03-02 18:02:58 +01:00
parent 67f18080b4
commit a76cbaaf7c

View File

@ -190,6 +190,7 @@ EX bool collectItem(cell *c2, bool telekinesis IS(false)) {
items[itOrbSpeed] += v;
items[itHolyGrail]++;
addMessage(XLAT("Congratulations! You have found the Holy Grail!"));
if(!eubinary) changes.value_keep(c2->master->alt->emeraldval);
if(!eubinary) c2->master->alt->emeraldval |= GRAIL_FOUND;
achievement_collection(c2->item);
}