diff options
author | Pete Hurst <pete@streamuniverse.tv> | 2013-06-23 08:13:34 +0100 |
---|---|---|
committer | Pete Hurst <pete@streamuniverse.tv> | 2013-06-23 08:13:34 +0100 |
commit | ad4adc2651f876369313020e45ba8f45ebaaca26 (patch) | |
tree | 9834557d5d3772de14b632d5bbbfa459661d31c4 /crawl-ref/source/goditem.cc | |
parent | 470e7f1a3f4d94feaf8b57d4d36e58db4af6082b (diff) | |
download | crawl-ref-ad4adc2651f876369313020e45ba8f45ebaaca26.tar.gz crawl-ref-ad4adc2651f876369313020e45ba8f45ebaaca26.zip |
Zin hates the new Box of Beasts
It's chaotic and magical; this flags it as such and
causes penance if you use it. The chimera will also
become unfriendly.
Diffstat (limited to 'crawl-ref/source/goditem.cc')
-rw-r--r-- | crawl-ref/source/goditem.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/goditem.cc b/crawl-ref/source/goditem.cc index 7de56b33de..dc40ceee6f 100644 --- a/crawl-ref/source/goditem.cc +++ b/crawl-ref/source/goditem.cc @@ -274,6 +274,9 @@ bool is_chaotic_item(const item_def& item) case OBJ_RODS: retval = _is_bookrod_type(item, is_chaotic_spell); break; + case OBJ_MISCELLANY: + retval = (item.sub_type == MISC_BOX_OF_BEASTS); + break; default: break; } |