diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-05-26 06:05:02 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-05-26 06:05:02 +0200 |
commit | 55b8bbff7c99c51cd8ef051f5ef0bfeda383e8c5 (patch) | |
tree | 3c115feb0236c59f4b9763bb91c66094dc7cd22b /crawl-ref/source/ctest.cc | |
parent | 43a2646eb2d39304ac98a7384a5e32e1253bde38 (diff) | |
download | crawl-ref-55b8bbff7c99c51cd8ef051f5ef0bfeda383e8c5.tar.gz crawl-ref-55b8bbff7c99c51cd8ef051f5ef0bfeda383e8c5.zip |
Add a few checks for mon-data to --test.
It currently does not validate, as I'm introducing a new requirement:
any monster that drops a corpse must work with Simulacrum.
It's debatable which ones should allow zombies as well, but at least
there's now support for having spectrals/simulacra/skeletons but no
zombies.
The word "zombifiable" is quite ambiguous, too.
Diffstat (limited to 'crawl-ref/source/ctest.cc')
-rw-r--r-- | crawl-ref/source/ctest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/ctest.cc b/crawl-ref/source/ctest.cc index 38f39c5e04..f24a6152c4 100644 --- a/crawl-ref/source/ctest.cc +++ b/crawl-ref/source/ctest.cc @@ -26,6 +26,7 @@ #include "maps.h" #include "message.h" #include "mon-pick.h" +#include "mon-util.h" #include "ng-init.h" #include "state.h" #include "stuff.h" @@ -169,6 +170,7 @@ bool run_tests(bool exit_on_complete) _run_test("makeitem", makeitem_tests); _run_test("zotdef_wave", debug_waves); _run_test("mon-pick", debug_monpick); + _run_test("mon-data", debug_mondata); // Get a list of Lua files in test. Order of execution of // tests should be irrelevant. |