summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2014-01-07 20:22:21 +0100
committerAdam Borowski <kilobyte@angband.pl>2014-01-11 02:32:26 +0100
commitc1a7223c63d8a97520ad236696970454af4a5751 (patch)
tree951c3b7b883e1bd3d6803c846ae6745703f738e2 /crawl-ref/source/util
parent3ce0962849e39ef3af80c4265d53984263fb0945 (diff)
downloadcrawl-ref-c1a7223c63d8a97520ad236696970454af4a5751.tar.gz
crawl-ref-c1a7223c63d8a97520ad236696970454af4a5751.zip
Teach db_lint how to check gods.txt
Diffstat (limited to 'crawl-ref/source/util')
-rwxr-xr-xcrawl-ref/source/util/db_lint6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/util/db_lint b/crawl-ref/source/util/db_lint
index 33252bd48d..a9b2ea79da 100755
--- a/crawl-ref/source/util/db_lint
+++ b/crawl-ref/source/util/db_lint
@@ -211,10 +211,14 @@ sub godspeak_keys()
}
__________________________________________________________________________();
read_file("descript/unident");
-read_file("descript/gods");
read_file("descript/skills");
read_file("descript/commands");
+if (read_file("descript/gods"))
+{
+ check_desc_needed("god", map {($_, "$_ powers")} @gods);
+}
+
if (read_file("descript/items"))
{
check_desc_needed("item", `util/gather_items -d`);