diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-02-25 08:04:11 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-02-25 17:17:10 +0100 |
commit | 847b055529d2e021177d64784b4c7569fdcd6627 (patch) | |
tree | 290156d9c2e5ad3cbd91d2e8a3db814d6e0fa353 /crawl-ref/source/util/art-data.pl | |
parent | 23a24b050d9a0569b805b4acd16229ef3abb291c (diff) | |
download | crawl-ref-847b055529d2e021177d64784b4c7569fdcd6627.tar.gz crawl-ref-847b055529d2e021177d64784b4c7569fdcd6627.zip |
Identify unrands held by monsters when they die or drop them.
This is to avoid redundancy is messages.
Individual unrands can opt-out by setting "unided".
Diffstat (limited to 'crawl-ref/source/util/art-data.pl')
-rwxr-xr-x | crawl-ref/source/util/art-data.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/util/art-data.pl b/crawl-ref/source/util/art-data.pl index c77ca46b8c..900cba107f 100755 --- a/crawl-ref/source/util/art-data.pl +++ b/crawl-ref/source/util/art-data.pl @@ -59,6 +59,7 @@ my %field_type = ( SPECIAL => "bool", STEALTH => "num", STR => "num", + UNIDED => "bool", VALUE => "num", DESC => "str", @@ -237,7 +238,7 @@ sub finish_art my $flags = ""; my $flag; foreach $flag ("SPECIAL", "HOLY", "EVIL", "CHAOTIC", - "CORPSE_VIOLATING", "NOGEN", "RANDAPP") + "CORPSE_VIOLATING", "NOGEN", "RANDAPP", "UNIDED") { if ($artefact->{$flag}) { |