Tabletop Simulator

Tabletop Simulator

Not enough ratings
Portable Booster Generator
   
Award
Favorite
Favorited
Unfavorite
Game Category: Card Games
Assets: Scripting
File Size
Posted
Updated
165.439 KB
4 Oct, 2019 @ 7:01am
31 Oct, 2019 @ 3:57am
4 Change Notes ( view )

Subscribe to download
Portable Booster Generator

In 1 collection by Amuzet
Magic the Gathering Items & Scripts
29 items
Description
Portable Booster Generator Version 1.31

Spawn this object on your table and select the set of your choice!
It will load that set in and make booster packs for your play group.
It make 12 Booster packs at a time!
Most set's have their special pack generation applied and special rarity slots!

Examples:
Dominaria has its Legendary per pack.
War of the Spark has its Planeswalker per pack.
Ravnica sets has its Land slot.
Innistrad sets have their DFC slot!
Conspiracy sets have their Draft Matters slot!
Masterpieces/Timeshifted are at correct levels!

Overcount cards like Planeswalker decks and Box Toppers do not show up in the packs!
"playing for ante" cards have been moved to Overcount and do not show up in Booster packs!

Future Updates:
  • Planesculptor Integration
  • CardKingdom Lumeria
  • Drop Down menu

    Need info or help to implement:
    Planeshifted cards in Planar Chaos
    Proper Double Faced Rarities, i have a generic which is slightly off.
    DFC code handles Draft Matters slots, this over lap can be fixed but works fine as is.
    Would really like input on the DFC code! Currently makes two Commons/Uncommons to simulate the possibility of foil DFC but this is everytime dfc/conspiracy Common or Uncoomon is included in the pack it replaces another of that rarity. How would you like Foil's to be simulated?
6 Comments
Monkey 20 Jan, 2023 @ 12:12pm 
How often is this updated? This is a great tool, but I hope more recent sets get added to it.
Crafunzio 14 Apr, 2021 @ 3:27pm 
What Gert said. Thanks 😁
Daniel 26 Jan, 2021 @ 4:18am 
So I tried to make some unstable boosters and the following problem arises.
It starts of making 15 card stacks but sometimes encounters an error:
"Error in script (portable booster generator 1.31 ust - be02f4): After parsing a value an unexpected charater was encountered: R. Path 'Nickname', line 1, position 137."
If that happens all further stacks have fewer cards.
Also importing from a set with double faced cards yields a number of error messages equal to the amount of double faced cards in that set. And then the boosters never contain any of them. So yeah.
DieKatzchen 6 Jan, 2020 @ 10:55am 
I believe the error you guys are having is related to double sided cards. When it hits a double sided card it does:

cf[0].name ..'\n'..cf[0].type_line:gsub('%S*',function(a)return

But TTS indexes from 1. go in and change that to

cf[1].name ..'\n'..cf[1].type_line:gsub('%S*',function(a)return

And it should stop giving that error
Gert 13 Dec, 2019 @ 1:46am 
This mod is almost great. The interface works. The packs do seem random. There are three main issues that I see here, one nitpick, one small problem, and one large problem. Let's start with the smallest of these.

1. The cards generated by this tool do not have Magic The Gathering backs. However, the faces of the cards are correct so this doesn't affect functionality. Just a nitpick.

2. A real 15 card MTG booster pack contains: 10 Commons, 3 Uncommons, 1 Rare/Mythic, 1 Land
The packs generated by this mod contain: 11 Commons, 3 Uncommons, 1 Rare/Mythic, and no land

3. Mythic Rares seem to be broken. I "opened" over 60 packs across multiple sets and didn't get a single MR, only Rares. The odds of getting a MR in real boosters is supposed to be around 1 in 8 packs.

I am getting the same error codes as the other user, so maybe that explains some of the issues I'm experiencing? (here's their link https://puu.sh/Ex4ha/0db672b1cb.png)
Moonlight Wanderer 25 Oct, 2019 @ 11:49pm 
i'm getting error codes when using this, not sure what they are or what they affect...
https://puu.sh/Ex4ha/0db672b1cb.png