1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-28 16:32:18 +00:00

Merge pull request #422 from josephcsible/hyperstone-cheat-treasures

Make the Hyperstone Quest cheat give fewer treasures
This commit is contained in:
Zeno Rogue 2025-08-19 10:34:34 +02:00 committed by GitHub
commit 0efedecd73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,10 +108,12 @@ vector<cheatkey> cheats = {
cheatMoveTo(laCrossroads);
addMessage(XLAT("Activated the Hyperstone Quest!"));
for(int t=1; t<ittypes; t++)
if(t != itHyperstone && t != itBounty && itemclass(eItem(t)) == IC_TREASURE) {
generateLandList(isLandIngame);
for(eLand l: landlist) {
eItem t = treasureType(l);
if(required_for_hyperstones(t) && itemclass(eItem(t)) == IC_TREASURE)
items[t] = inv::on ? 50 : 10;
}
}
int qkills = inv::on ? 1000 : 200;
kills[moYeti] = qkills;
kills[moDesertman] = qkills;