Tabletop Simulator

Tabletop Simulator

Not enough ratings
Multiple-object Infinite Bag
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
Tags: Misc
File Size
Posted
8.915 KB
8 Apr, 2017 @ 3:06pm
1 Change Note ( view )

Subscribe to download
Multiple-object Infinite Bag

Description
Put various objects into the bag. Then when you remove one from the bag, you get all of them with one swipe, and the objects are replenished. Could be useful for giving players starter chips for casino games, or whatever you can think of.

The first two variables in the script can be customized to adjust the spacing of the objects when they are pulled out. The default spacing is good for poker chips. (But the bag itself doesn't work well with tall stacks of poker chips, unfortunately).

Known issue: If the objects which are not the main one held by the player touch the top of a container object, they will be sucked into the container. Their ghosts will persist until the objects are dropped, at which point they will appear to be sucked in. I don't think I can fix this with scripting, so just take note if you have a lot of containers on your game.

If you need to remove objects from the scripted container, you can do so with alt+right click, or from the search function.
2 Comments
bleumonitor 9 Feb, 2021 @ 8:01am 
I’m not sure I understand... this doesn’t make any of the objects that I put in it infinite...
lotusdreams 13 Jul, 2017 @ 4:44pm 
I have one question: I have ran into the issue that I need to put a set amount of dice into a bag that sorts and counts them. Copy paste won't work since only objects hitting the bag will be sucked in. This tool seems to have the ability to do exactly what I need but is more an issue than a solution for many. Do you know if the script is capable of balling all dice on the same spot and then drag and drop them into another bag? It seems to work but if I ball them right now they are just put into the infinite bag again until the game crashes