diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-02-12 05:15:04 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-02-12 05:38:38 +0530 |
commit | 063d347c18f71bd488744d3a7f0ff99a8b3b3e24 (patch) | |
tree | 91d03b381fb8e15302835f5d53259fd323d77c0d /crawl-ref/source/artefact.h | |
parent | 45ef6e4adcc205fa8930707ba2424e27f86f3f2a (diff) | |
download | crawl-ref-063d347c18f71bd488744d3a7f0ff99a8b3b3e24.tar.gz crawl-ref-063d347c18f71bd488744d3a7f0ff99a8b3b3e24.zip |
Che ponderousness: ponderousness is now an artefact property in addition to an ego type, and the Che ability converts the target item into a randart.
The -2 EV for each worn item of ponderousness is gone.
We need more Che ponderous randart names in randname.txt.
Diffstat (limited to 'crawl-ref/source/artefact.h')
-rw-r--r-- | crawl-ref/source/artefact.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/artefact.h b/crawl-ref/source/artefact.h index 9f4965de54..df9529dcc9 100644 --- a/crawl-ref/source/artefact.h +++ b/crawl-ref/source/artefact.h @@ -97,6 +97,8 @@ bool is_random_artefact( const item_def &item ); bool is_unrandom_artefact( const item_def &item ); bool is_special_unrandom_artefact( const item_def &item ); +void artefact_fixup_props(item_def &item); + unique_item_status_type get_unique_item_status(const item_def& item); unique_item_status_type get_unique_item_status(int unrand_index); void set_unique_item_status(const item_def& item, @@ -157,10 +159,13 @@ unrand_special_type get_unrand_specialness(int unrand_index); unrand_special_type get_unrand_specialness(const item_def &item); void artefact_set_properties( item_def &item, - artefact_properties_t &proprt ); + const artefact_properties_t &proprt ); void artefact_set_property( item_def &item, artefact_prop_type prop, int val ); int get_unrandart_num( const char *name ); + +void cheibriados_make_item_ponderous(item_def &item); + #endif |