From 24be3228d463d6b2501cbca9368e14e91ab42182 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 6 Feb 2007 16:03:52 +0000 Subject: Tutorial (JPEG) and some formatting cleanup. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@924 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/stash.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/stash.cc') diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc index 890d6a141c..eca4bf4da6 100644 --- a/crawl-ref/source/stash.cc +++ b/crawl-ref/source/stash.cc @@ -26,6 +26,7 @@ #include "stuff.h" #include "tags.h" #include "travel.h" +#include "tutorial.h" #include #include @@ -283,6 +284,12 @@ void Stash::update() // There's something on this square. Take a squint at it. const item_def &item = mitm[objl]; + // note item when first entering field of vision + // (only works with stashes enabled) +// learned_something_new(TUT_SEEN_FIRST_OBJECT, x, y); +// learned_something_new(TUT_SEEN_FIRST_OBJECT, item); + tutorial_first_item(item); + if (item.link == NON_ITEM) items.clear(); -- cgit v1.2.3-54-g00ecf