1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-05 03:29:03 +00:00

Add a cheat to hold orb powers at their current level

This commit is contained in:
Joseph C. Sible
2025-09-30 20:16:58 -04:00
parent 8b7e82b460
commit c4c9379fcb
4 changed files with 25 additions and 1 deletions

View File

@@ -123,6 +123,18 @@ vector<cheatkey> cheats = {
kills[moCultist] = qkills;
kills[moTroll] = qkills;
}},
cheatkey{'H', "toggle hold of orb powers", [] {
if(cheat_items_enabled) {
cheat_items_enabled = false;
addMessage(XLAT("Hold of orb powers disabled!"));
}
else {
cheat_items = items;
cheat_items_enabled = true;
cheater++;
addMessage(XLAT("Hold of orb powers enabled!"));
}
}},
cheatkey{'M', "deplete orb powers", [] {
for(int i=0; i<ittypes; i++)
if(itemclass(eItem(i)) == IC_ORB)