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/l_you.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/l_you.cc')
-rw-r--r-- | crawl-ref/source/l_you.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/l_you.cc b/crawl-ref/source/l_you.cc index d2de07d67d..1634ab1063 100644 --- a/crawl-ref/source/l_you.cc +++ b/crawl-ref/source/l_you.cc @@ -187,8 +187,6 @@ LUARET1(you_see_cell_rel, boolean, LUARET1(you_see_cell_no_trans_rel, boolean, you.see_cell_no_trans(coord_def(luaL_checkint(ls, 1), luaL_checkint(ls, 2)) + you.pos())) LUARET1(you_piety_rank, number, piety_rank(you.piety) - 1) -LUARET1(you_max_burden, number, carrying_capacity(BS_UNENCUMBERED)) -LUARET1(you_burden, number, you.burden) LUARET1(you_constricted, boolean, you.is_constricted()) LUARET1(you_constricting, boolean, you.is_constricting()) @@ -507,8 +505,6 @@ static const struct luaL_reg you_clib[] = { "deaths", you_deaths }, { "lives", you_lives }, { "piety_rank", you_piety_rank }, - { "max_burden", you_max_burden }, - { "burden", you_burden }, { "constricted", you_constricted }, { "constricting", you_constricting }, { "antimagic", you_antimagic }, |