Woogachaka / DeckFactoryTool

For rapid prototyping of decks in Tabletop Simulator
GNU General Public License v3.0
0 stars 1 forks source link

Build TTS interface #8

Closed Woogachaka closed 5 years ago

Woogachaka commented 5 years ago

TTS has a scripting API that is a variant of LUA accessible from either an in game editor or via an external API open to the ATOM text editor. With this case, we need to build a "table" that is scripted to take an external call of some kind that will utilize both the set of print sheets and the json version of the deck to do the following:

  1. host the print sheets via the offered steam cloud hosting
  2. import a custom deck object for each print sheet
  3. iterate through the accumulated deck and do the following sub steps: 3a. Name the card appropriately 3b. populate the card object's description with the type-line and oracle text for the card 3c. copy the card the specified number of times 3d. put card and copies into the appropriate pile.

(4?). save the deck as a new saved game object.

Here is a link to the TTS scripting documentation https://api.tabletopsimulator.com/

Woogachaka commented 5 years ago

This ticket is now functionally invalid as we can build the entire saved object file directly and copy/paste it into the saved directories of TTS. I will open a new ticket with clearer goals set.