From a2df2a7e984468efba235d355daa9d00ed54103f Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 6 Jan 2009 21:20:56 +0000 Subject: Greatly improve eating interface, as suggested in FRs 1923273 and 2018733. When you now press 'e' the following takes place: 1) If you can eat chunks, the game builds a list out of all chunks on the floor and in your inventory, sorted by age [1], and prompts you to eat them [2]. 2) If none are found, or you decline all of them you get prompted for non-chunk food items on the floor. 3) Prompt for non-chunk food in your inventory. 4) Open up the food menu of your inventory. Because of the way lua works, there's currently a problem that in the early stages (1-3) "q" (now also accepts Escape) will cause to skip ahead to the next stage rather than leaving the process entirely, which is of course less than optimal. I also added two new options [1] prefer_safe_chunks (defaults to true) which will offer clean chunks before contaminated ones, even if the latter happens to be older [2] easy_eat_chunks (defaults to false) which causes the prompting to be skipped for safe (i.e. clean) chunks, so you will automatically eat the oldest chunk that applies. This is ignored for undead characters. I also got rid of the outdated safechnk.lua and chnkdata.lua seeing how chunk effects are no longer spoily information. Added a new wizmode command: Ctrl-H, which allows you to set your character's hunger state. (Hopefully this will make Vampire testing easier.) Also fix 2488374: "Controlled Flight being named upon levitation even if its type is already known. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8282 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/settings/init.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crawl-ref/settings') diff --git a/crawl-ref/settings/init.txt b/crawl-ref/settings/init.txt index 6975ac985a..310eb7dfd2 100644 --- a/crawl-ref/settings/init.txt +++ b/crawl-ref/settings/init.txt @@ -218,9 +218,11 @@ stash_filter = ring of hunger, amulet of inaccuracy # easy_open = false # easy_unequip = false # easy_confirm = (none | safe) -# easy_butcher = false # allow_self_target = (yes | no | prompt) +# easy_butcher = false # always_confirm_butcher = true +# prefer_safe_chunks = false +# easy_eat_chunks = true # prompt_for_swap = false # easy_quit_item_prompts = false # easy_exit_menu = false -- cgit v1.2.3-54-g00ecf