1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

never game over if you can use Freedom

This commit is contained in:
Zeno Rogue 2018-01-25 17:21:33 +01:00
parent e26c023fa5
commit 27b0823d74

View File

@ -6082,7 +6082,7 @@ void checkmove() {
#if CAP_INV #if CAP_INV
if(inv::on && !canmove && !inv::incheck) { if(inv::on && !canmove && !inv::incheck) {
if(inv::remaining[itOrbSafety]) if(inv::remaining[itOrbSafety] || inv::remaining[itOrbFreedom])
canmove = true; canmove = true;
else { else {
inv::check(1); inv::check(1);
@ -6252,7 +6252,7 @@ void collectMessage(cell *c2, eItem which) {
else if(which == itGreenStone) else if(which == itGreenStone)
addMessage(XLAT("Another Dead Orb.")); addMessage(XLAT("Another Dead Orb."));
else if(itemclass(which) != IC_TREASURE) { else if(itemclass(which) != IC_TREASURE) {
if(c2->wall != waBoat) if(c2->wall != waBoat && !inv::activating)
addMessage(XLAT("You have found %the1!", which)); addMessage(XLAT("You have found %the1!", which));
} }
else if(which == itBabyTortoise) { else if(which == itBabyTortoise) {