summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-27 04:41:51 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-27 04:41:51 +0000
commitfd2afc8ce1e4b4a87710217fc704bd5a835c121d (patch)
tree18a68dfdf50dcd5aba9d237da2153ef30a81cf3b /crawl-ref/source/player.cc
parentc5aa4e26925315c30048fc1ed654a9058deb99d6 (diff)
downloadcrawl-ref-fd2afc8ce1e4b4a87710217fc704bd5a835c121d.tar.gz
crawl-ref-fd2afc8ce1e4b4a87710217fc704bd5a835c121d.zip
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
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc3
1 files changed, 3 insertions, 0 deletions
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