diff options
author | gammafunk <gammafunk@gmail.com> | 2014-06-14 08:22:47 -0500 |
---|---|---|
committer | gammafunk <gammafunk@gmail.com> | 2014-06-25 20:50:43 -0500 |
commit | f1909d2967591ffdf556ca62d31855aa09329ad8 (patch) | |
tree | 4f9750c458d4010af4ec1666ee28e37bb33fd25a /crawl-ref/source/l_crawl.cc | |
parent | 90c77aa1b4edc6e6c1c008e5a3cc634e002ea253 (diff) | |
download | crawl-ref-f1909d2967591ffdf556ca62d31855aa09329ad8.tar.gz crawl-ref-f1909d2967591ffdf556ca62d31855aa09329ad8.zip |
objstat: Item and monster generation statistics
The -objstat command-line option will generate iterations of the given
levels, compiling stats on every item and monster generated, and
average the results over the iterations. It's only available in debug
builds and uses the same map specification format as -mapstat. The
default number of iterations is 100.
Diffstat (limited to 'crawl-ref/source/l_crawl.cc')
-rw-r--r-- | crawl-ref/source/l_crawl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/l_crawl.cc b/crawl-ref/source/l_crawl.cc index cbdf6bce15..ad856b67f5 100644 --- a/crawl-ref/source/l_crawl.cc +++ b/crawl-ref/source/l_crawl.cc @@ -658,6 +658,7 @@ static int crawl_article_a(lua_State *ls) LUARET1(crawl_game_started, boolean, crawl_state.need_save || crawl_state.map_stat_gen + || crawl_state.obj_stat_gen || crawl_state.test) LUARET1(crawl_stat_gain_prompt, boolean, crawl_state.stat_gain_prompt) LUARET1(crawl_random2, number, random2(luaL_checkint(ls, 1))) |