Tabletop Simulator

Tabletop Simulator

Not enough ratings
Magic Booster Generator v1.6
   
Award
Favorite
Favorited
Unfavorite
Type: Game
Game Category: Card Games
Complexity: Low Complexity
Language: English
File Size
Posted
Updated
42.802 KB
15 Aug, 2024 @ 1:55pm
4 Oct, 2024 @ 3:10pm
12 Change Notes ( view )

Subscribe to download
Magic Booster Generator v1.6

Description
Generates booster packs for any "Magic: The Gathering" set indexed on the Scryfall API (which should be all of them). Also now includes a card back changer so you can have a custom card back on any cards you generate or import into the table.

The pack rates are adjustable in a settings menu, but the default rates are:

- 7 Commons
- 3 Uncommons
- 1 Rare/Mythic
- 2 Wildcard
- 1 Basic Land

In sets that have a Mythic rarity, there is a 1-in-8 chance of the rare slot being a Mythic (this is adjustable in the settings as well). The Wildcard slot can contain any card in the set with equal chance. This is not entirely realistic as it will give you more rares/mythics than normal, but I think it is fun. I may adjust this in the future. Basic lands are removed from the normal rarity table in all sets and they have their own slot in boosters. This can cause problems in sets with no/a low amount of basic lands unless you adjust the pack settings to remove lands.

In the Scryfall API request, the tag "unique:art" is added by default. This tag adds all alternate art versions of the same card in a set to the card pool. There is currently no way to differentiate additional card art rarities, so special art versions are just as likely as the normal version which is not realistic. Cards with alternate art versions are also slightly more likely to appear in packs because of this, but the effect is usually small and I still find the end result fun. I may add configuration options for this in the future (if this bugs you, you can remove this tag in the "url" variable in line 105 of the Global Lua Script).


**Read the Notebook in game for information on how to use this table**


Please report any bugs to me in the comments below. I am new to scripting, so there are likely issues I didn't account for in use.
2 Comments
PhoenixFire  [author] 16 Dec, 2024 @ 8:11pm 
This is likely intentional. Every time a card with an associated token generates in a pack it will also generate with the token it needs. Dual face cards also generate with a version that only has the front face (so it has a normal card back).
Kaelliam 21 Nov, 2024 @ 10:52pm 
Thanks for the mod! Seems to be a little bugged for me. Some packs generate 14 cards, others 15 or 16.