Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Custom Collation (w/initial code) #1555

Open
CajunAvenger opened this issue Sep 13, 2021 · 0 comments
Open

Feature Request: Custom Collation (w/initial code) #1555

CajunAvenger opened this issue Sep 13, 2021 · 0 comments

Comments

@CajunAvenger
Copy link

Detailed Description

Implement a system to allow custom sets to use custom pack collations (define the slots in the pack) to allow for special pack setups like Innistrad's DFCs, or WAR's Planeswalkers, or Strixhaven's Archives, or whatever else.

Further Information

I'm the dev of LackeyBot which has a system for this exact sort of thing running on Node.js already. The condensed repo for that is here. With the whole setup, it can take a multiline string from a user to generate a packSlots array, and use that to generate packs of basically any configuration. It also has optional systems for ensuring each pack has a common of each color without upsetting the distribution of overall cards.

First drawback of this is it was designed for LackeyBot's internal database of cards, so we'd probably want to make a translator for however dr4ft handles it, or go through some rewriting to support dr4ft's db. Site may also want to disallow some of the more intensive stuff this allows, I don't know what kind of limitations it may have in the backend.

this could maybe be a pull request but its at a pretty early level and I don't know dr4ft's internals so i'll go with feature request for now.

as a final example: you could generate a WAR pack for a particular set with the input

10x Common
2x Uncommon
1x filters:"r=u t:Planeswalker", chances: 1
1x Rare/Mythic
1x Basic Land
1x Foil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant