diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-05-21 13:47:29 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-05-22 01:49:52 +0200 |
commit | a33006255978e3b57840cdc7c5e68fee73748e50 (patch) | |
tree | 4969824453f438e7b44eaee0a3a693e23b6c1fa4 /crawl-ref/source/util/db_lint | |
parent | 46ac644ab5bc6281d66e00a709af867eea385d1e (diff) | |
download | crawl-ref-a33006255978e3b57840cdc7c5e68fee73748e50.tar.gz crawl-ref-a33006255978e3b57840cdc7c5e68fee73748e50.zip |
db_lint: don't care about genus-only monsters.
Diffstat (limited to 'crawl-ref/source/util/db_lint')
-rwxr-xr-x | crawl-ref/source/util/db_lint | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/crawl-ref/source/util/db_lint b/crawl-ref/source/util/db_lint index 8e80fabff2..d4604baa02 100755 --- a/crawl-ref/source/util/db_lint +++ b/crawl-ref/source/util/db_lint @@ -104,8 +104,13 @@ delete $keys{'a very buggy card'}; err "$file: Unused description for card '$_'\n" for sort keys %keys; read_file("descript/monsters"); -$entries{$_} = 1 for ('the Serpent of Hell', 'player', 'player illusion', - 'merged slime creature'); +$entries{$_} = 1 for ( + # described with a suffix + 'the Serpent of Hell', + # overridden descriptions + 'player', 'player illusion', 'merged slime creature', + # genus-only monsters + 'ghost', 'giant', 'golem', 'hell lord'); for (`util/gather_mons`) { chomp; |