From 72d9609baca7cbbd5a393e1da9707f1dfd42bdf5 Mon Sep 17 00:00:00 2001 From: zelgadis Date: Tue, 16 Oct 2007 07:08:28 +0000 Subject: Added new field seen_context to the monsters class, which can be set to cause a non-standard context to be passed to interrupt_activity( AI_SEE_MONSTER ) if it is called before the current turn is over. If a submerged monster surfaces in order to shout, it has to wait one turn before being able to submerge again. Added back in a scroll named "forgetfullness", but rather than giving amnesia about the map it gives amnesia about non-equipped inventory items. I tried to make the effects annoying rather than serious. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2481 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 8de97f4e69..6cd7ba299a 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -3714,6 +3714,13 @@ void read_scroll(void) } break; + case SCR_FORGETFULNESS: + if (wearing_amulet(AMU_CLARITY)) + mpr("You feel forgetfull for a moment."); + else + id_the_scroll = forget_inventory(); + break; + case SCR_MAGIC_MAPPING: if (you.level_type == LEVEL_PANDEMONIUM) { -- cgit v1.2.3-54-g00ecf