Tabletop Simulator

Tabletop Simulator

Not enough ratings
Memory Bag Groups
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
Tags: Misc
File Size
Posted
Updated
48.543 KB
25 Jul, 2017 @ 9:08pm
28 Jul, 2017 @ 7:20pm
2 Change Notes ( view )

Subscribe to download
Memory Bag Groups

Description
Memory Bag Groups

This mod utilizes MrStump's Memory Bag 2.0, but adds the ability to create memory bag groups, which will prevent multiple bags from being placed at the same time. When you try to place a bag that's been assigned to a group, and there is another bag that's already been placed in that group, the already-placed bag will be recalled first before the next bag is placed.


Features

- The bags work just like the original memory bags (setup, place, recall all function normally)
- When placing a bag, it will always check to see if any other bags in the group are already placed, and it will recall them
- Very easy to setup. And once you've setup the first bag, just copy/paste it as much as you want to add bags to that same group.


Installation

This mod does require you to add a single line to the global script. This is required because each bag in the group needs to put some information about itself there that can be accessed by other bags in the group.

In global, add this anywhere:

yourBagGroupName = {}

Then just edit the script of the memory bag and right at the top, put that same variable name here:

memBagGroup = 'yourBagGroupName'


Thanks

A huge thanks to MrStump for creating the original Memory Bag mod (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=953770080). It's awesome.
5 Comments
Sileflas 2 May, 2021 @ 6:43am 
Works great! It does seem to interfere with the original grouping bags, but since I'm replacing them all it's no big deal. :) Thanks for taking my suggestion!
Quickle 7 Apr, 2021 @ 2:12am 
Done! This grouping feature should be added to the Utility Memory Bag as soon as my pull request gets merged: https://github.com/sunflowermans/TTS-UtilityMemoryBag/pull/4
Sileflas 30 Mar, 2021 @ 8:21pm 
Now if someone could just combine this with the Utility Memory Bags I'd be ecstatic! They've got some awesome function options the original Memory Bags didn't.
Bunions 10 Sep, 2020 @ 1:59pm 
@Zimmerman - One world by tattletale does that. Or i think there is also a stage mod that does it. @Prattski is it possible to get memory bags to chain open and then chain close in groups? For instance if I have Memory bags A B and C I want to open one after the other, placing objects in various locations, can I put them all in 1 group and chain those functions?
Zim 28 Jul, 2018 @ 11:35pm 
I would love to see a select all function added for saveing map designs I make for RPGs