1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-05 17:30:16 +00:00

place items command line option

This commit is contained in:
Zeno Rogue
2017-09-30 11:39:00 +02:00
parent d7cc886197
commit 064435aea1
2 changed files with 15 additions and 0 deletions

View File

@@ -144,6 +144,12 @@ int arg::readCommon() {
shift(); eItem i = readItem(args());
shift(); items[i] = argi();
}
else if(argis("-IP")) {
PHASE(3) cheater++; timerghost = false;
shift(); eItem i = readItem(args());
shift(); int q = argi();
placeItems(q, i);
}
else if(argis("-M")) {
PHASE(3) cheater++; timerghost = false;
shift(); eMonster m = readMonster(args());