1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-31 17:57:56 +00:00

Make the Hyperstone Quest cheat give fewer treasures

It now only gives the treasures you actually need for the Hyperstone Quest
in your current game, rather than all of them. For example, you'll now only
get Sea Glass if the Docks are in your game.
This commit is contained in:
Joseph C. Sible
2025-08-17 17:43:55 -04:00
parent fbeb2c5f0e
commit bf688286f4

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;