summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 13:20:23 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-22 13:20:23 +0000
commit6d16eceb0c14a587e5bac5a3bdfc73fae4970434 (patch)
tree7a8cd7cc3220afa2f1c6920f9fa6b564bba010df /crawl-ref/source/player.cc
parent7e8152db1f039cc0bec3cce05f93a26ae68f3b57 (diff)
downloadcrawl-ref-6d16eceb0c14a587e5bac5a3bdfc73fae4970434.tar.gz
crawl-ref-6d16eceb0c14a587e5bac5a3bdfc73fae4970434.zip
Player status now also shows burden.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@464 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 7c7eedff7e..702c480f30 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -2918,6 +2918,11 @@ void display_char_status(void)
break;
}
+ if (you.burden_state == BS_ENCUMBERED)
+ mpr("You are burdened.");
+ else if (you.burden_state == BS_OVERLOADED)
+ mpr("You are overloaded with stuff.");
+
if (you.duration[DUR_BREATH_WEAPON])
mpr( "You are short of breath." );