diff options
author | gammafunk <gammafunk@gmail.com> | 2014-05-26 05:21:20 -0500 |
---|---|---|
committer | gammafunk <gammafunk@gmail.com> | 2014-05-26 22:45:16 -0500 |
commit | 55d1b512e3395f07e9341ce9eae5079b581b6894 (patch) | |
tree | 811704017046d8ed62335bd1c45d36476e0dea55 /crawl-ref/source/chardump.cc | |
parent | b364f15f4eeff0e148b6fc026c01de1327254cd2 (diff) | |
download | crawl-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/chardump.cc')
-rw-r--r-- | crawl-ref/source/chardump.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/crawl-ref/source/chardump.cc b/crawl-ref/source/chardump.cc index 8602769b2d..740f4653df 100644 --- a/crawl-ref/source/chardump.cc +++ b/crawl-ref/source/chardump.cc @@ -70,7 +70,6 @@ static void _sdump_header(dump_params &); static void _sdump_stats(dump_params &); static void _sdump_location(dump_params &); static void _sdump_religion(dump_params &); -static void _sdump_burden(dump_params &); static void _sdump_hunger(dump_params &); static void _sdump_transform(dump_params &); static void _sdump_visits(dump_params &); @@ -125,7 +124,6 @@ static dump_section_handler dump_handlers[] = { "stats", _sdump_stats }, { "location", _sdump_location }, { "religion", _sdump_religion }, - { "burden", _sdump_burden }, { "hunger", _sdump_hunger }, { "transform", _sdump_transform }, { "visits", _sdump_visits }, @@ -218,23 +216,6 @@ static void _sdump_stats(dump_params &par) par.text += "\n\n"; } -static void _sdump_burden(dump_params &par) -{ - string verb = par.se? "were" : "are"; - - switch (you.burden_state) - { - case BS_OVERLOADED: - par.text += "You " + verb + " overloaded with stuff.\n"; - break; - case BS_ENCUMBERED: - par.text += "You " + verb + " encumbered.\n"; - break; - default: - break; - } -} - static void _sdump_hunger(dump_params &par) { if (par.se) @@ -491,7 +472,6 @@ static void _sdump_misc(dump_params &par) { _sdump_location(par); _sdump_religion(par); - _sdump_burden(par); _sdump_hunger(par); _sdump_transform(par); _sdump_visits(par); |