summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/status.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/status.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/status.cc')
-rw-r--r--crawl-ref/source/status.cc26
1 files changed, 0 insertions, 26 deletions
diff --git a/crawl-ref/source/status.cc b/crawl-ref/source/status.cc
index 63a8fbcb93..099dfce362 100644
--- a/crawl-ref/source/status.cc
+++ b/crawl-ref/source/status.cc
@@ -99,7 +99,6 @@ static void _mark_expiring(status_info* inf, bool expiring)
}
static void _describe_airborne(status_info* inf);
-static void _describe_burden(status_info* inf);
static void _describe_glow(status_info* inf);
static void _describe_hunger(status_info* inf);
static void _describe_regen(status_info* inf);
@@ -186,10 +185,6 @@ bool fill_status_info(int status, status_info* inf)
}
break;
- case STATUS_BURDEN:
- _describe_burden(inf);
- break;
-
case STATUS_CONTAMINATION:
_describe_glow(inf);
break;
@@ -806,27 +801,6 @@ static void _describe_sickness(status_info* inf)
}
}
-static void _describe_burden(status_info* inf)
-{
- switch (you.burden_state)
- {
- case BS_OVERLOADED:
- inf->light_colour = RED;
- inf->light_text = "Overloaded";
- inf->short_text = "overloaded";
- inf->long_text = "You are overloaded with stuff.";
- break;
- case BS_ENCUMBERED:
- inf->light_colour = LIGHTRED;
- inf->light_text = "Burdened";
- inf->short_text = "burdened";
- inf->long_text = "You are burdened.";
- break;
- case BS_UNENCUMBERED:
- break;
- }
-}
-
static void _describe_transform(status_info* inf)
{
const bool vampbat = (you.species == SP_VAMPIRE && you.form == TRAN_BAT);