diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-11 22:16:30 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-11 22:16:30 +0000 |
commit | db37e43a07959371149a08dda64db664455b4d59 (patch) | |
tree | cb6e2392bb371ec618785c622d33235c5710aef8 /crawl-ref/source/itemprop.h | |
parent | 0b8e38c4f5fbfbfa72180c48de2027ff9851bb67 (diff) | |
download | crawl-ref-db37e43a07959371149a08dda64db664455b4d59.tar.gz crawl-ref-db37e43a07959371149a08dda64db664455b4d59.zip |
Properly disallow randart versions of mundane items.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9417 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemprop.h')
-rw-r--r-- | crawl-ref/source/itemprop.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.h b/crawl-ref/source/itemprop.h index df287a9a74..c908854657 100644 --- a/crawl-ref/source/itemprop.h +++ b/crawl-ref/source/itemprop.h @@ -613,6 +613,9 @@ void init_properties(void); // Returns true if this item should be preserved as far as possible. bool item_is_critical(const item_def &item); +// Returns true if this item should not normally be enchanted. +bool item_is_mundane(const item_def &item); + // cursed: bool item_cursed( const item_def &item ); bool item_known_cursed( const item_def &item ); |