summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 06:23:04 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 06:23:04 +0000
commit6d74ff5a7416c08c52ee831a34f86f3693e90630 (patch)
tree777fcf4cd6c89088c0820163d130d29b3490af5c /crawl-ref/source/initfile.cc
parentc19d575e17a78bca2b17860847f323274def700c (diff)
downloadcrawl-ref-6d74ff5a7416c08c52ee831a34f86f3693e90630.tar.gz
crawl-ref-6d74ff5a7416c08c52ee831a34f86f3693e90630.zip
Added options easy_eat_gourmand and easy_eat_contaminated.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8769 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index 28ee46cf3d..f036bacb06 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -732,6 +732,8 @@ void game_options::reset_options()
list_rotten = true;
prefer_safe_chunks = true;
easy_eat_chunks = false;
+ easy_eat_gourmand = false;
+ easy_eat_contaminated = false;
easy_confirm = CONFIRM_SAFE_EASY;
easy_quit_item_prompts = true;
allow_self_target = CONFIRM_PROMPT;
@@ -2139,6 +2141,8 @@ void game_options::read_option_line(const std::string &str, bool runscript)
else BOOL_OPTION(list_rotten);
else BOOL_OPTION(prefer_safe_chunks);
else BOOL_OPTION(easy_eat_chunks);
+ else BOOL_OPTION(easy_eat_gourmand);
+ else BOOL_OPTION(easy_eat_contaminated);
else if (key == "lua_file" && runscript)
{
#ifdef CLUA_BINDINGS