mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
better messages when dropping Dead Orbs impossible
This commit is contained in:
parent
cf6d2a36c4
commit
4a8e33a2d5
14
game.cpp
14
game.cpp
@ -6815,9 +6815,9 @@ bool collectItem(cell *c2, bool telekinesis) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void dropGreenStone(cell *c) {
|
void dropGreenStone(cell *c) {
|
||||||
if(!passable(c, NULL, P_MONSTER)) {
|
if(items[itGreenStone] && !passable(c, NULL, P_MONSTER)) {
|
||||||
// NOTE: PL/CZ translations assume that itGreenStone is dropped to avoid extra forms!
|
// NOTE: PL/CZ translations assume that itGreenStone is dropped to avoid extra forms!
|
||||||
addMessage("Cannot drop %the1 here!", itGreenStone);
|
addMessage(XLAT("Cannot drop %the1 here!", itGreenStone));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(items[itGreenStone] && c->item == itNone) {
|
if(items[itGreenStone] && c->item == itNone) {
|
||||||
@ -6834,7 +6834,15 @@ void dropGreenStone(cell *c) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(gold() >= 300)
|
if(items[itGreenStone] && c->item == itGreenStone)
|
||||||
|
addMessage(XLAT("You juggle the Dead Orbs."));
|
||||||
|
else if(items[itGreenStone] && c->item)
|
||||||
|
addMessage(XLAT("You give %the1 a grim look.", c->item));
|
||||||
|
else if(items[itGreenStone]) {
|
||||||
|
addMessage(XLAT("Cannot drop %the1 here!", itGreenStone));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else if(gold() >= 300)
|
||||||
addMessage(XLAT("You feel great, like a true treasure hunter."));
|
addMessage(XLAT("You feel great, like a true treasure hunter."));
|
||||||
else if(gold() >= 200)
|
else if(gold() >= 200)
|
||||||
addMessage(XLAT("Your eyes shine like gems."));
|
addMessage(XLAT("Your eyes shine like gems."));
|
||||||
|
@ -6888,3 +6888,5 @@ S("fisheye", "rybie oko")
|
|||||||
S("paint pictures", "maluj obrazki")
|
S("paint pictures", "maluj obrazki")
|
||||||
S("list of slides", "lista slajdów")
|
S("list of slides", "lista slajdów")
|
||||||
S("back to the start menu", "powrót do menu startowego")
|
S("back to the start menu", "powrót do menu startowego")
|
||||||
|
S("You juggle the Dead Orbs.", "Żonglujesz Martwymi Sferami.")
|
||||||
|
S("You give %the1 a grim look.", "Spoglądasz ponuro na %a1.")
|
||||||
|
Loading…
Reference in New Issue
Block a user