summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player-stats.cc
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-05-26 05:21:20 -0500
committergammafunk <gammafunk@gmail.com>2014-05-26 22:45:16 -0500
commit55d1b512e3395f07e9341ce9eae5079b581b6894 (patch)
tree811704017046d8ed62335bd1c45d36476e0dea55 /crawl-ref/source/player-stats.cc
parentb364f15f4eeff0e148b6fc026c01de1327254cd2 (diff)
downloadcrawl-ref-55d1b512e3395f07e9341ce9eae5079b581b6894.tar.gz
crawl-ref-55d1b512e3395f07e9341ce9eae5079b581b6894.zip
Remove player burden and carrying capacity
Item inventory weights (based on item mass) generally don't lead to meaningful decisions that justify the inventory juggling and interface problems that come from having burden states. The 52-slot limit is a better system for limiting inventory and providing inventory-related decisions because it's not so fine-grained and doesn't require the player to examine weights for each slot. Work is ongoing to improve the slot system by consolidating food types and handling strategic consumables in a different way.
Diffstat (limited to 'crawl-ref/source/player-stats.cc')
-rw-r--r--crawl-ref/source/player-stats.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/crawl-ref/source/player-stats.cc b/crawl-ref/source/player-stats.cc
index 434a613a97..036a06aa4c 100644
--- a/crawl-ref/source/player-stats.cc
+++ b/crawl-ref/source/player-stats.cc
@@ -669,7 +669,6 @@ static void _handle_stat_change(stat_type stat, const char* cause, bool see_sour
switch (stat)
{
case STAT_STR:
- burden_change();
you.redraw_armour_class = true; // includes shields
break;
@@ -710,8 +709,6 @@ void update_stat_zero()
{
mprf("Your %s has recovered.", stat_desc(s, SD_NAME));
you.redraw_stats[s] = true;
- if (i == STAT_STR)
- burden_change();
}
}
else // no stat penalty at all