Tabletop Simulator

Tabletop Simulator

Inventory with automated weight
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.
dre4dbane  [author] 6 Apr, 2021 @ 9:51am 
@Agonos,
That's another table indeed. It's my gaming table, with the character sheets and other stuff. I showed it as kind of an "practical example" of the inventory. And to illustrate the possibility of integrating it with other mods (like the UI displayed, of my creation also).
Agonos 6 Apr, 2021 @ 9:40am 
Good evening. Thanks for the explanatory video. Around 6:30 a.m. in the video, we see a table and tabs that we haven't seen since the video started: Have you filmed a game you're making at this point?
dre4dbane  [author] 24 Mar, 2021 @ 9:18am 
@Agonos,
Video uploaded. The true potential of the inventory is showed at the end of the video, when it's combined with another system.
dre4dbane  [author] 23 Mar, 2021 @ 12:58pm 
@Agonos,

I'll make it happen =)
Agonos 23 Mar, 2021 @ 9:34am 
Hi,
Very good idea. Hopefully one day we will have a little video explaining the various possibilities when it comes to the applications of this mod :)
Scezia 19 Mar, 2021 @ 5:23pm 
Perfect!!
Just what I needed <3
Scopeta 18 Mar, 2021 @ 5:31pm 
Awesome work!
Thanks bro!