1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 19:18:05 +00:00

command line option --killeach

This commit is contained in:
Zeno Rogue
2018-09-24 00:05:05 +02:00
parent c8e604f408
commit 303cd41b3a
2 changed files with 8 additions and 0 deletions

View File

@@ -511,6 +511,13 @@ int read_cheat_args() {
shift(); eMonster m = readMonster(args());
shift(); kills[m] += argi();
}
else if(argis("-killeach")) {
PHASEFROM(2); start_game();
shift(); int q = argi(); cheat();
for(int m=0; m<motypes; m++)
if(monsterclass(eMonster(m)) == 0)
kills[m] = q;
}
else if(argis("-each")) {
PHASEFROM(2); start_game();
shift(); int q = argi(); autocheat = true;