diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-14 15:00:11 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-14 15:00:11 +0000 |
commit | ee2afdbd1610f7a204808056bf1a5826085b89c8 (patch) | |
tree | debd3aee3946d707716e13b86e53d3b8539a29a0 /crawl-ref/source/items.cc | |
parent | 4d430b2328d6922783a0dd256428de1585691eb9 (diff) | |
download | crawl-ref-ee2afdbd1610f7a204808056bf1a5826085b89c8.tar.gz crawl-ref-ee2afdbd1610f7a204808056bf1a5826085b89c8.zip |
FR 1962016: Make hydra headedness more obvious.
You now get messages like "The seven-headed hydra bites."
and "You slice the 12-headed hydra."
FR 1963606: Take a note when you pick up a rune (or the Orb!) for the
first time.
There are a couple of other files I changed, but I can't remember any
big stuff, so it was probably just cleanup.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5029 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r-- | crawl-ref/source/items.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc index 7e213f7a0d..fa1daf4aae 100644 --- a/crawl-ref/source/items.cc +++ b/crawl-ref/source/items.cc @@ -1448,6 +1448,8 @@ static void _got_item(item_def& item, int quant) } item.flags |= ISFLAG_BEEN_IN_INV; + take_note(Note(NOTE_FOUND_ORB_OR_RUNE, 0, 0, + item.name(DESC_NOCAP_A).c_str())); } // Returns quantity of items moved into player's inventory and -1 if @@ -1607,6 +1609,10 @@ int move_item_to_player( int obj, int quant_got, bool quiet ) if (item.base_type == OBJ_ORBS && you.char_direction == GDT_DESCENDING) { + // Take a note! + take_note(Note(NOTE_FOUND_ORB_OR_RUNE, 0, 0, + item.name(DESC_NOCAP_A).c_str())); + if (!quiet) mpr("Now all you have to do is get back out of the dungeon!"); you.char_direction = GDT_ASCENDING; |