Tabletop Simulator

Tabletop Simulator

Not enough ratings
Booster Pack Creator Script
   
Award
Favorite
Favorited
Unfavorite
Assets: Scripting
File Size
Posted
Updated
111.106 KB
May 16, 2016 @ 3:06am
May 16, 2016 @ 6:18am
2 Change Notes ( view )

Subscribe to download
Booster Pack Creator Script

Description
Based on the script by Slamakans here: http://steamcommunity.com/sharedfiles/filedetails/?id=657070527 . Replace the stock cards in the infinite bags with the appropriate cards.

It supports three rarities* and has these features:
- No longer deals to bags; however, supports building multiple packs per press! Just customize "booster_pack_rows" and "booster_pack_columns" in the script and it'll build multiple packs in that many rows and columns.
- The rarity breakdown per pack is easily customizable in the beginning of the script.
- A "fast_deal" customizable variable (true by default) that makes building the packs much faster. You may also customize "deal_wait_time" to affect the time between each card dealt.

* For Magic: The Gathering sets, put two copies of every rare and one copy of every mythic into one stack, then put that in the rare bag. Because there are roughly 3.5 times as many rares as mythics in an MTG set, roughly 1 in 8 packs will contain a mythic.
8 Comments
x3dvvinx Oct 20, 2024 @ 8:20am 
How do you add different cards into an infinite bag?
lelelelelelelelelelelelelelele Oct 6, 2016 @ 2:50am 
It's for Clash of the Dragons. Used to be a CCG on Facebook & Kongregate, but got shut down and replaced by a shit game, for some reason.

But by now I've written up my own script to create some draft packs, so that works fine now, thanks for the response though :)
spheniscine  [author] Oct 5, 2016 @ 11:49pm 
There is always a way, but depending on how the rarities work it may be more or less difficult to implement. Additionally, I wish I had coded these so that the bags are part of an array, so code doesn't need to be added for each new bag.

What TCG did you have in mind by the way?
lelelelelelelelelelelelelelele Oct 5, 2016 @ 5:00am 
Amazing script, one question though: Is there a way to edit the script to support up to 5 (or more) bags?

So far, this is the only good script I could find to create Draft-packs, but I need more rarity choices than 3
Vekranith May 18, 2016 @ 7:21am 
PS: it was my birthday yesterday so its like a birthday present so thanks haha
Vekranith May 18, 2016 @ 7:21am 
Holy jeebus you are a rockstar! exactly what I was looking for and im too stupid to do it myself haha. This will make drafting infinitely easier than before :D Thank you good sir!
Star-X May 17, 2016 @ 12:13pm 
Scratch that, I'm an idiot. The decks just need to be outside of the bags as well as inside, so there's no additional loading required.
Star-X May 17, 2016 @ 11:21am 
The script has issues when using decks of over 300 cards. Probably has less to do with you and more to do with the scripting not being fast enough to handle decks with over 300 cards.