mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixed the description of treasures which unlock secondary orbs -- other treasure name given correctly
This commit is contained in:
parent
1b50cd6be5
commit
c65b4f254d
5
help.cpp
5
help.cpp
@ -196,6 +196,11 @@ void describeOrb(string& help, const orbinfo& oi) {
|
||||
eOrbLandRelation olr = getOLR(oi.orb, getPrizeLand());
|
||||
eItem tr = treasureType(oi.l);
|
||||
eItem tt = treasureTypeUnlock(cwt.at->land, oi.orb);
|
||||
if(olr == olrGuest) {
|
||||
for(auto& oi1: orbinfos)
|
||||
if((oi1.flags & orbgenflags::NATIVE) && oi1.orb == oi.orb)
|
||||
tr = treasureType(oi1.l);
|
||||
}
|
||||
help += "\n\n" + XLAT(olrDescriptions[olr], cwt.at->land, tr, tt);
|
||||
int t = items[tr] * landMultiplier(oi.l);
|
||||
if(t >= 25)
|
||||
|
Loading…
Reference in New Issue
Block a user