Tabletop Simulator

Tabletop Simulator

Not enough ratings
Inventory with automated weight
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
326.767 KB
17 Mar, 2021 @ 10:18pm
21 Mar, 2021 @ 3:50pm
6 Change Notes ( view )

Subscribe to download
Inventory with automated weight

Description
If you hate bad inventory recording, players that never know how to answer “what is your current weight?” (especially after picking up 20 weapons and 15 potions), or have problems keeping track of what the players have at them or inside their backpack, this mod is for you.

It’s an inventory that calculates the weight of everything the character is carrying (at himself and at his backpack), with room to counters for food and water (yes, food weights too!).

You can use virtually every type of token or prop to make the items, some examples are at the table. You can also fully customize it to your needs, changing the layout, size or number of slots.

And for the more demanding I added optional weight counters to coins and ammunition.

PS: I use an UI that allows the players "drop" the backpack before combat or dangerous tasks, removing the weight of it. For generic use I created options that display the weight with and without the backpack. If you need anything different, let me know.

-------------------
About the script, I made some modifications to mods of others to reach the exact results I was expecting. Thank you all for your work!

The credits/mods I used were:

Counting Bag by Saizai
Counting Bowl by MrStump
Universal Counter Tokens by MrStump
Character Sheet Template by MrStump
Customizable cards by Mideanon
RPG Coin Collection 2.0 by Spadie
Perfect D&D (5th) Coin Counters by Lord Szabonight
17 Comments
dre4dbane  [author] 10 Feb, 2022 @ 7:26am 
You're sure that isn't a placement issue? Like...the collision layer stuck inside the visible layer?
The setup example is locked (all pieces) and updates on collision exit.
Friskit 6 Feb, 2022 @ 8:48am 
I notice that the inventory layer will only update collision exit when it is unlocked. Is there a way to allow the inventory layer to be locked and still update the value when an item is no long contacting it? Amazing asset by the way, thank you very much.
dre4dbane  [author] 12 Oct, 2021 @ 6:58pm 
More likely is a linking error, the inventory must be linked to other counters (food, water, backpack of another player or already existing at the base model). Try to change the values of the counters (one by one) and see if this helps you out identify.

If you are using stackable cards for items you have to be extra careful when adding things to the backpack, if they stack inside, the counter will not detect the object exiting after and the counter will be stuck.
Sergeant Stutters 10 Oct, 2021 @ 8:57pm 
I get a few errors these days when loading the mod, and when trying to make my own inventories I end up having inventories that refuse to go to values lower than 19.01 weight. Am I missing something?
SinfulPetGirlRD 17 Jul, 2021 @ 1:33pm 
thats not a bad idea thank you and if its impossible no real worries my players are.....spoiled and want to do as little "work" as possible lol, thank you ^^
dre4dbane  [author] 15 Jul, 2021 @ 2:27pm 
@SinfulPetGirlRD
Hum...The bag counts items and don't exactly make a distinction of what kind of item is inside. The script has a multiplier for each type of coin to find out the value, but i imagine you already figured that out.

I will not say that it can't be done, but it will require some major changes at the bag script. If i may, i would suggest you to:
a) Use the coin counters
b) Use multiple coin bags, one for each type of coin and color them differently.

To add electrum and platinum all you must do is add them (and their copper value) at this part of the code:
["[C87533]1cp"] = 1,
["[C87533]5cp"] = 5,
["[C3C5C8]1sp"] = 10,
["[C3C5C8]5sp"] = 50,
["[ffd700]1gp"] = 100,
["[ffd700]5gp"] = 500,
["[ffd700]10gp"] = 1000,

The name between " " being the name of the coin you use. The C87533 is the color code if the text is colored. If not, just rename for whatever name you are using.
SinfulPetGirlRD 15 Jul, 2021 @ 10:29am 
question how would i set the coin bag to count not every coin as a copper piece but as amount of each coin type in it?

like bag shows 4-5 numbers instead of just the one? so you'd have # of copper pieces, # of sliver/electrum/gold/platinum(reason i ask is we use all 5 as its how my players under stand money so copper is like 1$ bill, sliver is a 10$ bill and so on)

also how would i add electrum and platinum to the scrypt?
dre4dbane  [author] 22 Apr, 2021 @ 4:08pm 
Happy to help. If you guys run into any problem, just ask.
Sroag 22 Apr, 2021 @ 1:54pm 
same, been waiting for this a while
Mariov1989 22 Apr, 2021 @ 12:10pm 
Hello, thank you for your work. I've been looking for something similar for a long time.