Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeldaZach committed May 2, 2023
0 parents commit 0e0eb5d
Show file tree
Hide file tree
Showing 709 changed files with 4,450 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.venv/
mtgJson/
*.log*
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright © 2018-Present Zachary Halpern

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
87 changes: 87 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# mtg-sealed-contents
Repository that collects all sealed MTG products and maps their contents

## Product contents

Product sealed contents use the following types:

### `pack`

A `pack` object refers to an existing object in MTGJson `{set}.booster`. Example pack:

```yaml
Unlimited Edition Booster Pack:
pack:
- set: 2ed
code: default
```
### `deck`

A `deck` object refers to a precompiled deck object. Example deck:

```yaml
7th Edition Theme Deck Armada:
deck:
- set: 7ed
name: Armada
```

### `sealed`

A `sealed` object refers to another sealed object. Sealed objects have a `count` associated with them. Example sealed:

```yaml
Unlimited Edition Booster Box:
sealed:
- count: 36
name: Unlimited Edition Booster Pack
set: 2ed
```

### `variable`

A `variable` object contains a list of sub-contents. Example variable:

```yaml
Phyrexia All Will Be One Jumpstart Booster Pack:
variable:
- deck:
- set: one
name: Mite-y 1
- deck:
- set: one
name: Mite-y 2
...
```

### `card`

A `card` object refers to a single card (usually a promo). Example card:

```yaml
Phyrexia All Will Be One Compleat Bundle
sealed:
- set: one
name: Phyrexia All Will Be One Set Booster Pack
count: 12
card:
- set: one
name: Phyrexian Arena
number: 283
foil: true
...
```

### `other`

An `other` object refers to things not included in MTGJson. Example other:

```yaml
Unlimited Edition Starter Deck:
pack:
- set: 2ed
code: starter
other:
- name: Unlimited Edition Starter Deck Rulebook
```
10 changes: 10 additions & 0 deletions data/contents/10E.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
code: 10e
products:
10th Edition Booster Box: []
10th Edition Booster Pack: []
10th Edition Fat Pack: []
10th Edition Theme Deck Arcaniss Guile: []
10th Edition Theme Deck Cho Mannos Resolve: []
10th Edition Theme Deck Evincars Tyranny: []
10th Edition Theme Deck Kamahls Temper: []
10th Edition Theme Deck Molimos Might: []
17 changes: 17 additions & 0 deletions data/contents/2ED.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
code: 2ed
products:
Unlimited Booster Box:
sealed:
- count: 36
name: Unlimited Booster Pack
set: 2ed
Unlimited Booster Pack:
pack:
- set: 2ed
code: default
Unlimited Starter Deck:
pack:
- set: 2ed
code: starter
other:
- name: Unlimited Edition Starter Deck Rulebook
45 changes: 45 additions & 0 deletions data/contents/2X2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
code: 2x2
products:
Double Masters 2022 3 Booster Draft Pack:
sealed:
- set: 2x2
name: Double Masters 2022 Draft Booster Pack
count: 3
Double Masters 2022 Collector Booster Display:
sealed:
- set: 2x2
name: Double Masters 2022 Collector Booster Pack
count: 4
Double Masters 2022 Collector Booster Display Case:
sealed:
- set: 2x2
name: Double Masters 2022 Collector Booster Display
count: 8
Double Masters 2022 Collector Booster Omega Pack:
sealed:
- set: 2x2
name: Double Masters 2022 Collector Booster Pack
count: 1
Double Masters 2022 Collector Booster Pack:
pack:
- set: 2x2
code: collector
Double Masters 2022 Draft Booster Box:
sealed:
- set: 2x2
name: Double Masters 2022 Draft Booster Pack
count: 24
Double Masters 2022 Draft Booster Box Case:
sealed:
- set: 2x2
name: Double Masters 2022 Draft Booster Box
count: 6
Double Masters 2022 Draft Booster Pack:
pack:
- set: 2x2
code: default
Double Masters 2022 Sleeved Draft Booster Pack:
sealed:
- set: 2x2
name: Double Masters 2022 Draft Booster Pack
count: 1
39 changes: 39 additions & 0 deletions data/contents/2XM.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
code: 2xm
products:
Double Masters 3 Booster Draft Pack:
sealed:
- set: 2xm
name: Double Masters Booster Pack
count: 3
Double Masters Booster Box:
sealed:
- set: 2xm
name: Double Masters Booster Pack
count: 24
- set: 2xm
name: Double Masters Box Topper Pack
count: 1
Double Masters Booster Box Case:
sealed:
- set: 2xm
name: Double Masters Booster Box
count: 4
Double Masters Booster Pack:
pack:
- set: 2xm
code: default
Double Masters Box Topper Pack: []
Double Masters VIP Edition Box:
sealed:
- set: 2xm
name: Double Masters VIP Edition Pack
count: 4
Double Masters VIP Edition Box Case:
sealed:
- set: 2xm
name: Double Masters VIP Edition Box
count: 4
Double Masters VIP Edition Pack:
pack:
- set: 2xm
code: vip
2 changes: 2 additions & 0 deletions data/contents/30A.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
code: 30a
products: {}
22 changes: 22 additions & 0 deletions data/contents/3ED.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
code: 3ed
products:
Revised Edition Booster Box:
sealed:
- set: 3ed
name: Revised Edition Booster Pack
count: 36
Revised Edition Booster Pack:
pack:
- set: 3ed
code: default
Revised Edition Starter Deck:
pack:
- set: 3ed
code: starter
other:
- name: Revised Edition Starter Deck Rulebook
Revised Edition Starter Deck Display:
sealed:
- set: 3ed
name: Revised Edition Starter Deck
count: 10
12 changes: 12 additions & 0 deletions data/contents/40K.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
code: 40k
products:
Universes Beyond Warhammer 40000 Commander Deck Display: []
Universes Beyond Warhammer 40000 Commander Deck Display Collectors Edition: []
Universes Beyond Warhammer 40000 Forces of the Imperium Commander Deck: []
Universes Beyond Warhammer 40000 Forces of the Imperium Commander Deck Collectors Edition: []
Universes Beyond Warhammer 40000 Necron Dynasties Commander Deck: []
Universes Beyond Warhammer 40000 Necron Dynasties Commander Deck Collectors Edition: []
Universes Beyond Warhammer 40000 The Ruinous Powers Commander Deck: []
Universes Beyond Warhammer 40000 The Ruinous Powers Commander Deck Collectors Edition: []
Universes Beyond Warhammer 40000 Tyranid Swarm Commander Deck: []
Universes Beyond Warhammer 40000 Tyranid Swarm Commander Deck Collectors Edition: []
2 changes: 2 additions & 0 deletions data/contents/4BB.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
code: 4bb
products: {}
31 changes: 31 additions & 0 deletions data/contents/4ED.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
code: 4ed
products:
Fourth Edition Booster Box:
sealed:
- set: 4ed
name: Fourth Edition Booster Pack
count: 36
Fourth Edition Booster Pack:
pack:
- set: 4ed
code: default
Fourth Edition Gift Box:
sealed:
- set: 4ed
name: Fourth Edition Starter Deck
count: 2
other:
- name: Fourth Edition Gift Box Rule Book
- name: 30 Glass Counters with Flannel Bag
- name: Fourth Edition Card Collectors' Checklist
Fourth Edition Starter Deck:
pack:
- set: 4ed
code: starter
other:
- name: Fourth Edition Starter Deck Rule Book
Fourth Edition Starter Deck Display:
sealed:
- set: 4ed
name: Fourth Edition Starter Deck
count: 10
9 changes: 9 additions & 0 deletions data/contents/5DN.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
code: 5dn
products:
Fifth Dawn Booster Box: []
Fifth Dawn Booster Pack: []
Fifth Dawn Fat Pack: []
Fifth Dawn Nuts and Bolts Theme Deck: []
Fifth Dawn Special Forces Theme Deck: []
Fifth Dawn Stampede Theme Deck: []
Fifth Dawn Sunburst Theme Deck: []
23 changes: 23 additions & 0 deletions data/contents/5ED.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
code: 5ed
products:
Fifth Edition Booster Box:
sealed:
- set: 5ed
name: Fifth Edition Booster Pack
count: 36
Fifth Edition Booster Pack:
pack:
- set: 5ed
code: default
Fifth Edition Starter Deck:
pack:
- set: 5ed
code: starter
other:
- name: Fifth Edition Starter Rule Book
Fifth Edition Starter Deck Box:
sealed:
- set: 5ed
name: Fifth Edition Starter Deck
count: 12
Fifth Edition Two Player Starter Set: []
21 changes: 21 additions & 0 deletions data/contents/6ED.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
code: 6ed
products:
Classic Sixth Edition Booster Box:
sealed:
- set: 6ed
name: Classic Sixth Edition Booster Pack
count: 36
Classic Sixth Edition Booster Pack:
pack:
- set: 6ed
code: default
Classic Sixth Edition Tournament Pack:
pack:
- set: 6ed
code: tournament
Classic Sixth Edition Two Player Starter Deck: []
Classic Sixth Edition Two Player Starter Deck Box:
sealed:
- set: 6ed
name: Classic Sixth Edition Two Player Starter Deck
count: 12
32 changes: 32 additions & 0 deletions data/contents/7ED.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
code: 7ed
products:
7th Edition Booster Box:
sealed:
- set: 7ed
name: 7th Edition Booster Pack
count: 36
7th Edition Booster Pack:
pack:
- set: 7ed
code: default
7th Edition Theme Deck Armada:
deck:
- set: 7ed
name: Armada
7th Edition Theme Deck Bomber:
deck:
- set: 7ed
name: Bomber
7th Edition Theme Deck Decay:
deck:
- set: 7ed
name: Decay
7th Edition Theme Deck Infestation:
deck:
- set: 7ed
name: Infestation
7th Edition Theme Deck Way Wild:
deck:
- set: 7ed
name: Way Wild
7th Edition Two Player Starter: []
Loading

0 comments on commit 0e0eb5d

Please sign in to comment.