1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-04 19:47:54 +00:00

rulegen3:: an option to dump rules in text format

This commit is contained in:
Zeno Rogue
2022-08-26 12:28:36 +02:00
parent 841108726c
commit eef03514ca
2 changed files with 69 additions and 0 deletions

View File

@@ -1736,6 +1736,11 @@ int readRuleArgs3() {
shift(); rulegen::less_states = argi();
}
else if(argis("-dump-rules")) {
start_game();
shift(); reg3::dump_rules(args());
}
else if(argis("-clean-rules")) {
cleanup();
}