diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-02 22:40:40 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-02 22:40:40 +0000 |
commit | 4ba581107a1d56ce5706593f4a3917f457afb929 (patch) | |
tree | b32318795a7f152f1fd92043e182dba09bea9bea /crawl-ref/source/enum.h | |
parent | 6b34259b6ce235196c3f2f70e706d9235dc100cb (diff) | |
download | crawl-ref-4ba581107a1d56ce5706593f4a3917f457afb929.tar.gz crawl-ref-4ba581107a1d56ce5706593f4a3917f457afb929.zip |
Made Xom be smarter about being amused at losing/missing runes, and
made Xom also be amused at runes being destroyed. Related changes:
* Keep track of which items have ever been held by the player with
ISFLAG_BEEN_IN_INV.
* item_was_destroyed() is called when an item is destroyed (as in
dropped in lava, not destroy_item() being called), and item_was_lost()
is called if the item was lost (i.e., being left behind in the Abyss).
* Keeps track of the number of runes that the character has collected,
and how many have been left in the Halls of Zot.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2300 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index ddc29fe4e9..05ae52441e 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -173,6 +173,10 @@ enum attribute_type ATTR_HELD, // caught in a net ATTR_ABYSS_ENTOURAGE, // maximum number of hostile monsters in // sight of the player while in the Abyss. + ATTR_UNIQUE_RUNES, + ATTR_DEMONIC_RUNES, + ATTR_ABYSSAL_RUNES, + ATTR_RUNES_IN_ZOT, NUM_ATTRIBUTES }; @@ -1270,7 +1274,9 @@ enum item_status_flag_type // per item flags: ie. ident status, cursed status ISFLAG_RACIAL_MASK = 0x07000000, // mask of racial equipment types ISFLAG_NOTED_ID = 0x08000000, - ISFLAG_NOTED_GET = 0x10000000 + ISFLAG_NOTED_GET = 0x10000000, + + ISFLAG_BEEN_IN_INV = 0x20000000 // Item has been in inventory }; enum job_type |