mirror of
https://github.com/swarm-game/swarm.git
synced 2025-01-05 23:34:35 +03:00
08045793b1
* replace `_uiCheatMode :: Bool` with `_uiDebugOptions :: (Set DebugOption)` * replace `uiHideGoals` with `uiIsAutoPlay` and debug option `ShowGoalDialogsInAutoPlay` * add command line flag `--debug` and make `--cheat` an alias for `--debug=creative` only ``` -x,--cheat Enable cheat mode. This is an alias for --debug=creative -d,--debug OPTS Use 'all' or a comma separated list of options: * creative allow toggling creative mode on/off * editor allow toggling the world editor mode on/off * cesk allow toggling the CESK debug view on/off * all_robots list all robots (including system robots) in the robot panel * robot_id list robot IDs in the robot panel * hidden_goals show hidden objectives in the goal dialog * autoplay_goals show goal dialogs when running in autoplay * testing show Testing folder in scenarios menu ``` It even has shell completions: ```bash swarm --zsh-completion-script `which swarm` > ~/.oh-my-zsh/completions/_swarm swarm --debug # press Tab # all all_robots autoplay_goals cesk creative editor hidden_goals robot_id testing ``` * closes #1324 |
||
---|---|---|
.. | ||
doc | ||
game | ||
scene | ||
tournament |