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/tags.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/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index 89c5b68c2e..4c1cc40145 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -1345,8 +1345,6 @@ static void tag_construct_you(writer &th) marshallShort(th, you.pos().x); marshallShort(th, you.pos().y); - marshallShort(th, you.burden); - // how many spells? marshallUByte(th, MAX_KNOWN_SPELLS); for (i = 0; i < MAX_KNOWN_SPELLS; ++i) @@ -2230,7 +2228,10 @@ static void tag_read_you(reader &th) ASSERT(!x && !y || in_bounds(x, y)); you.moveto(coord_def(x, y)); - you.burden = unmarshallShort(th); +#if TAG_MAJOR_VERSION == 34 + if (th.getMinorVersion() < TAG_MINOR_WEIGHTLESS) + unmarshallShort(th); +#endif // how many spells? you.spell_no = 0; |