1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-28 14:08:40 +00:00

messages at 30 treasures etc. should no longer appear in PTM

This commit is contained in:
Zeno Rogue 2020-11-05 16:00:41 +01:00
parent 37a18eafd8
commit ce33511905

View File

@ -486,6 +486,7 @@ EX void gainItem(eItem it) {
#define IF(x) if(g < (x) && g2 >= x && !peace::on) #define IF(x) if(g < (x) && g2 >= x && !peace::on)
if(in_full_game()) {
IF(R60/4) IF(R60/4)
addMessage(XLAT("Collect treasure to access more different lands...")); addMessage(XLAT("Collect treasure to access more different lands..."));
IF(R30) IF(R30)
@ -503,6 +504,7 @@ EX void gainItem(eItem it) {
addMessage(XLAT("And the Orbs of Yendor await!")); addMessage(XLAT("And the Orbs of Yendor await!"));
} }
} }
}
EX string itemcounter(int qty) { EX string itemcounter(int qty) {
string s = ""; s += " ("; s += its(qty); s += ")"; return s; string s = ""; s += " ("; s += its(qty); s += ")"; return s;