From a85801427b3c992aad9476213c758c624684983a Mon Sep 17 00:00:00 2001 From: Perry Fraser Date: Mon, 21 Feb 2022 16:56:32 -0500 Subject: [PATCH] feat: allow specifying auto_start as a CLO This is specifically for the use-case of wanting to have auto_start enabled without being able to edit qw.rc due to it being a submodule. This also adds tile_skip_title = true which is just a small QOL thing when running qw with tiles. It doesn't affect console or anything else, it just skips a "Loading complete, press any key to start" message. --- qw.rc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/qw.rc b/qw.rc index a093d69..63eeae6 100644 --- a/qw.rc +++ b/qw.rc @@ -13,8 +13,9 @@ # Delay per action in milliseconds. # Set this to at least 100 or so when playing online. : DELAY_TIME = 125 -# whether to start playing immediately when a new game is started -# unfortunately this doesn't work if the game starts with a -more- +# Whether to start playing immediately when a new game is started. +# Can also be enabled with "-extra-opt-first qw_auto_start=true". +# Unfortunately this doesn't work if the game starts with a -more-. : AUTO_START = false # experimental: do second lair rune branch before depths : EARLY_SECOND_RUNE = true @@ -126,6 +127,7 @@ cset = cloud:xa4 cset = item_orb:0 use_fake_player_cursor = true equip_unequip = true +tile_skip_title = true dump_order = header,hiscore,stats,misc,mutations,skills,spells,inventory dump_order += overview @@ -8113,7 +8115,7 @@ end function first_turn() first_turn_persist() - if AUTO_START then + if AUTO_START or options.qw_auto_start then automatic = true set_options() end