diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-11 00:03:04 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-11 00:03:04 +0000 |
commit | 767d1c86be4624c7c91da0b398134319d5aab612 (patch) | |
tree | d35fcecf983e25a28e36c62255dc5b406f4d0a38 /crawl-ref/source/randart.h | |
parent | 4dd6e5d983a9cd4f7bbc6cbe1fc8568c528537f5 (diff) | |
download | crawl-ref-767d1c86be4624c7c91da0b398134319d5aab612.tar.gz crawl-ref-767d1c86be4624c7c91da0b398134319d5aab612.zip |
Re-roll randarts which have no properties, plus randart jewellery
where the properties are redundant or conflicting with respect to the
base jewellery type. Also, add known randart properties boolean vector
to unrandarts.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2417 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/randart.h')
-rw-r--r-- | crawl-ref/source/randart.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/randart.h b/crawl-ref/source/randart.h index 45a8ac286a..22af923d45 100644 --- a/crawl-ref/source/randart.h +++ b/crawl-ref/source/randart.h @@ -112,6 +112,9 @@ int randart_wpn_property( const item_def &item, int prop, int randart_wpn_property( const item_def &item, int prop ); +int randart_wpn_num_props( const item_def &item ); +int randart_wpn_num_props( const randart_properties_t &proprt ); + void randart_wpn_learn_prop( item_def &item, int prop ); bool randart_wpn_known_prop( item_def &item, int prop ); |