Tabletop Simulator

Tabletop Simulator

[Tool] Mystery Booster: Convention Edition 2021 Pack Creator
NeM 18 Nov, 2023 @ 7:41pm
Creating a Booster Generator
Hi, I think I should ask my question here, to avoid spamming the general comment section :D .

I try to create a generic booster generator for any games.

So, I tried to take a look to the code of the box, and I figured out you were using an external API to get the cards.

I try to figure out how to ask it to use an other list/deck for this purpose.
Do you have any idea ?

Plus, I try to edit your code, and the result is not what I was expecting.

For example :

local apiSet='http://api.scryfall.com/cards/random?q=is:booster+s:' function rarity(m,r,u) return'r:mythic' end

In this example, I ask to the tool to generate only Mythics, right ?

It doesnt work.

Any idea why ?