diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-04-07 21:00:48 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-04-07 21:00:48 +0000 |
commit | a325968dab0c5897631d3430b5d3670cc1acd6c7 (patch) | |
tree | 299b39cadf6383b34b63769ae7e75f8192d34f54 /mana | |
parent | 3d57093c605dbebc9a6a86b7666db802ad637ce1 (diff) | |
download | mv-a325968dab0c5897631d3430b5d3670cc1acd6c7.tar.gz mv-a325968dab0c5897631d3430b5d3670cc1acd6c7.tar.bz2 mv-a325968dab0c5897631d3430b5d3670cc1acd6c7.tar.xz mv-a325968dab0c5897631d3430b5d3670cc1acd6c7.zip |
Add total weight accounting for the "shopping list" of herc shops.
.. this will prevent the shopping list from going above your free
carry weight, and thus the buy action failing.
Note: I don't particularly like this implemention due to code repetition. But perfection is enemy of progress.
TODO:
1) add the same for total price (other MR?)
2) maybe do a small refactor + add comments where necessary (other MR?)
3) ~~free weight display~~ done
Squashed with:
* buydialog: Add free weight display to money label
+ fix free weight going below 0
****
mana/plus!152
Diffstat (limited to 'mana')
0 files changed, 0 insertions, 0 deletions