From fd2afc8ce1e4b4a87710217fc704bd5a835c121d Mon Sep 17 00:00:00 2001 From: zelgadis Date: Tue, 27 May 2008 04:41:51 +0000 Subject: Fire off TUT_HEAVY_LOAD if you go from unencumbered to overloaded in one step. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5286 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index d488080672..e0b7e6ac79 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -2748,7 +2748,10 @@ int burden_change(void) you.burden_state = BS_OVERLOADED; if (old_burdenstate != you.burden_state) + { mpr("You are being crushed by all of your possessions."); + learned_something_new(TUT_HEAVY_LOAD); + } } // Stop travel if we get burdened (as from potions of might/levitation -- cgit v1.2.3-54-g00ecf