1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 15:39:55 +00:00

CLI -prodlevel to specify an exact value

This commit is contained in:
Zeno Rogue 2024-06-10 01:32:19 +02:00
parent db1367e823
commit 1e0f74262c

View File

@ -3046,6 +3046,15 @@ EX namespace nisot {
set_geometry(gProduct);
return 0;
}
else if(argis("-prodlevel")) {
/* specify an exact value for cgi.plevel */
stop_game();
vid.plevel_factor = 1;
check_cgi(); cgi.prepare_basics();
shift(); vid.plevel_factor = argf() / cgi.plevel;
check_cgi();
return 0;
}
else if(argis("-s2xe")) {
PHASEFROM(2);
shift(); s2xe::qrings = argi();