1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-21 16:14:49 +00:00

make the "switch ghost timer" cheat display shmup::curtime instead of turn count in shmup

This commit is contained in:
bacchelordoh
2025-10-11 23:00:13 -05:00
committed by GitHub
parent f061dd6cf6
commit 0b9fbd6d9c

View File

@@ -246,8 +246,14 @@ vector<cheatkey> cheats = {
cheatkey{'G'-64, "switch ghost timer", [] {
timerghost = !timerghost;
cheater++;
addMessage(XLAT("turn count = %1 last exploration = %2 ghost timer = %3",
its(turncount), its(lastexplore), ONOFF(timerghost)));
if(shmup::on) {
addMessage(XLAT("in-game time = %1 last exploration = %2 ghost timer = %3",
its(shmup::curtime), its(lastexplore), ONOFF(timerghost)));
}
else {
addMessage(XLAT("turn count = %1 last exploration = %2 ghost timer = %3",
its(turncount), its(lastexplore), ONOFF(timerghost)));
}
}},
cheatkey{'G', "edit cell values", push_debug_screen},
cheatkey{'L'-64, "cell info", [] {