Skip to content

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

@CajunAvenger

Description

@CajunAvenger

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions