Community-Vocality-2/kubejs/server_scripts/loot.js
2023-02-21 12:09:51 -08:00

2624 lines
66 KiB
JavaScript

const sets = [
{
"code": "MP14",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 247,
"tier": "low"
},
{
"code": "MP15",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 247,
"tier": "low"
},
{
"code": "MP16",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 239,
"tier": "low"
},
{
"code": "MP17",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 239,
"tier": "low"
},
{
"code": "MP18",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 233,
"tier": "low"
},
{
"code": "MP19",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 271,
"tier": "low"
},
{
"code": "YS15",
"pull_type": "full",
"type": "Starter Deck",
"size": 42,
"tier": "low"
},
{
"code": "ABPF",
"pull_type": "distribution",
"type": "Booster Pack (Series 6)",
"size": 111,
"tier": "low"
},
{
"code": "ABYR",
"pull_type": "distribution",
"type": "Booster Pack (Series 8)",
"size": 111,
"tier": "low"
},
{
"code": "ANPR",
"pull_type": "distribution",
"type": "Booster Pack (Series 6)",
"size": 111,
"tier": "low"
},
{
"code": "AST",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 112,
"tier": "low"
},
{
"code": "YAP1",
"pull_type": "full",
"type": "Booster Pack (Misc.)",
"size": 8,
"tier": "low"
},
{
"code": "AP08",
"pull_type": "distribution",
"type": "Astral Pack",
"size": 27,
"tier": "low"
},
{
"code": "AP05",
"pull_type": "distribution",
"type": "Astral Pack",
"size": 26,
"tier": "low"
},
{
"code": "AP04",
"pull_type": "distribution",
"type": "Astral Pack",
"size": 26,
"tier": "low"
},
{
"code": "AP01",
"pull_type": "distribution",
"type": "Astral Pack",
"size": 25,
"tier": "low"
},
{
"code": "AP07",
"pull_type": "distribution",
"type": "Astral Pack",
"size": 27,
"tier": "low"
},
{
"code": "AP06",
"pull_type": "distribution",
"type": "Astral Pack",
"size": 28,
"tier": "low"
},
{
"code": "AP03",
"pull_type": "distribution",
"type": "Astral Pack",
"size": 26,
"tier": "low"
},
{
"code": "AP02",
"pull_type": "distribution",
"type": "Astral Pack",
"size": 25,
"tier": "low"
},
{
"code": "BLAR",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 94,
"tier": "low"
},
{
"code": "BLHR",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 96,
"tier": "low"
},
{
"code": "BLLR",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 80,
"tier": "low"
},
{
"code": "BLRR",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 105,
"tier": "low"
},
{
"code": "BP02",
"pull_type": "distribution",
"type": "Battle Pack",
"size": 427,
"tier": "low"
},
{
"code": "BP03",
"pull_type": "distribution",
"type": "Battle Pack",
"size": 457,
"tier": "low"
},
{
"code": "BP01",
"pull_type": "composition",
"type": "Battle Pack",
"size": 5,
"tier": "low"
},
{
"code": "BLVO",
"pull_type": "distribution",
"type": "Booster Pack (Series 11)",
"size": 110,
"tier": "low"
},
{
"code": "YMP1",
"pull_type": "distribution",
"type": "Movie Pack",
"size": 9,
"tier": "low"
},
{
"code": "BOSH",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 100,
"tier": "low"
},
{
"code": "CP08",
"pull_type": "distribution",
"type": "Champion Pack",
"size": 20,
"tier": "low"
},
{
"code": "CP05",
"pull_type": "distribution",
"type": "Champion Pack",
"size": 20,
"tier": "low"
},
{
"code": "CP04",
"pull_type": "distribution",
"type": "Champion Pack",
"size": 20,
"tier": "low"
},
{
"code": "CP01",
"pull_type": "distribution",
"type": "Champion Pack",
"size": 20,
"tier": "low"
},
{
"code": "CP07",
"pull_type": "distribution",
"type": "Champion Pack",
"size": 20,
"tier": "low"
},
{
"code": "CP06",
"pull_type": "distribution",
"type": "Champion Pack",
"size": 20,
"tier": "low"
},
{
"code": "CP03",
"pull_type": "distribution",
"type": "Champion Pack",
"size": 20,
"tier": "low"
},
{
"code": "CP02",
"pull_type": "distribution",
"type": "Champion Pack",
"size": 20,
"tier": "low"
},
{
"code": "CHIM",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 104,
"tier": "low"
},
{
"code": "CIBR",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 100,
"tier": "low"
},
{
"code": "CORE",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 106,
"tier": "low"
},
{
"code": "COTD",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 100,
"tier": "low"
},
{
"code": "CBLZ",
"pull_type": "distribution",
"type": "Booster Pack (Series 8)",
"size": 111,
"tier": "low"
},
{
"code": "CRMS",
"pull_type": "distribution",
"type": "Booster Pack (Series 6)",
"size": 111,
"tier": "low"
},
{
"code": "CROS",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 106,
"tier": "low"
},
{
"code": "CSOC",
"pull_type": "distribution",
"type": "Booster Pack (Series 6)",
"size": 111,
"tier": "low"
},
{
"code": "CDIP",
"pull_type": "distribution",
"type": "Booster Pack (Series 5)",
"size": 85,
"tier": "low"
},
{
"code": "CYHO",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 100,
"tier": "low"
},
{
"code": "CRV",
"pull_type": "distribution",
"type": "Booster Pack (Series 4)",
"size": 85,
"tier": "low"
},
{
"code": "SDCR",
"pull_type": "full",
"type": "Structure Deck",
"size": 42,
"tier": "high"
},
{
"code": "DB1",
"pull_type": "distribution",
"type": "Reprint Pack",
"size": 250,
"tier": "low"
},
{
"code": "DB2",
"pull_type": "distribution",
"type": "Reprint Pack",
"size": 250,
"tier": "low"
},
{
"code": "DCR",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 106,
"tier": "low"
},
{
"code": "DLG1",
"pull_type": "distribution",
"type": "Reprint Pack",
"size": 115,
"tier": "low"
},
{
"code": "YS15-L",
"pull_type": "full",
"type": "Starter Deck",
"size": 41,
"tier": "low"
},
{
"code": "DANE",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 100,
"tier": "low"
},
{
"code": "DR1",
"pull_type": "distribution",
"type": "Reprint Pack",
"size": 267,
"tier": "low"
},
{
"code": "DR2",
"pull_type": "distribution",
"type": "Reprint Pack",
"size": 224,
"tier": "low"
},
{
"code": "DR3",
"pull_type": "distribution",
"type": "Reprint Pack",
"size": 240,
"tier": "low"
},
{
"code": "DR04",
"pull_type": "distribution",
"type": "Reprint Pack",
"size": 245,
"tier": "low"
},
{
"code": "DASA",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 61,
"tier": "low"
},
{
"code": "DESO",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 61,
"tier": "low"
},
{
"code": "DOCS",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 106,
"tier": "low"
},
{
"code": "SR04",
"pull_type": "full",
"type": "Structure Deck",
"size": 41,
"tier": "high"
},
{
"code": "SDDC",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "DRLG",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 51,
"tier": "low"
},
{
"code": "DRL2",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 45,
"tier": "low"
},
{
"code": "DRL3",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 73,
"tier": "low"
},
{
"code": "SDDL",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "DUEA",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 106,
"tier": "low"
},
{
"code": "DP05",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DPBC",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 47,
"tier": "low"
},
{
"code": "DP2",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DP11",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DPDG",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 45,
"tier": "low"
},
{
"code": "DP1",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DP03",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DP06",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 25,
"tier": "low"
},
{
"code": "DP07",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 25,
"tier": "low"
},
{
"code": "DPKB",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 40,
"tier": "low"
},
{
"code": "DPRP",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 46,
"tier": "low"
},
{
"code": "DPYG",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DP08",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DP09",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DP10",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DP04",
"pull_type": "distribution",
"type": "Duelist Pack",
"size": 30,
"tier": "low"
},
{
"code": "DREV",
"pull_type": "distribution",
"type": "Booster Pack (Series 7)",
"size": 111,
"tier": "low"
},
{
"code": "DUSA",
"pull_type": "composition",
"type": "Booster Pack (Misc.)",
"size": 2,
"tier": "low"
},
{
"code": "YGOPR",
"pull_type": "full",
"type": "Misc.",
"size": 1,
"tier": "low"
},
{
"code": "DUOV_B",
"pull_type": "composition",
"type": "Collector's Set",
"size": 6,
"tier": "low"
},
{
"code": "DUOV_P",
"pull_type": "distribution",
"type": "Collector's Set",
"size": 103,
"tier": "low"
},
{
"code": "DUPO_B",
"pull_type": "composition",
"type": "Collector's Set",
"size": 7,
"tier": "low"
},
{
"code": "DUPO_P",
"pull_type": "distribution",
"type": "Collector's Set",
"size": 100,
"tier": "low"
},
{
"code": "EGO1",
"pull_type": "full",
"type": "Starter Deck",
"size": 40,
"tier": "low"
},
{
"code": "EGS1",
"pull_type": "full",
"type": "Starter Deck",
"size": 40,
"tier": "low"
},
{
"code": "EEN",
"pull_type": "distribution",
"type": "Booster Pack (Series 4)",
"size": 85,
"tier": "low"
},
{
"code": "SR01",
"pull_type": "full",
"type": "Structure Deck",
"size": 41,
"tier": "high"
},
{
"code": "EOJ",
"pull_type": "distribution",
"type": "Booster Pack (Series 4)",
"size": 85,
"tier": "low"
},
{
"code": "ETCO",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 117,
"tier": "low"
},
{
"code": "EXFO",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 100,
"tier": "low"
},
{
"code": "EXVC",
"pull_type": "distribution",
"type": "Booster Pack (Series 7)",
"size": 111,
"tier": "low"
},
{
"code": "FIGA",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 60,
"tier": "low"
},
{
"code": "FLOD",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 100,
"tier": "low"
},
{
"code": "FET",
"pull_type": "distribution",
"type": "Booster Pack (Series 4)",
"size": 85,
"tier": "low"
},
{
"code": "FOTB",
"pull_type": "distribution",
"type": "Booster Pack (Series 5)",
"size": 94,
"tier": "low"
},
{
"code": "FUEN",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 60,
"tier": "low"
},
{
"code": "GAOV",
"pull_type": "distribution",
"type": "Booster Pack (Series 7)",
"size": 111,
"tier": "low"
},
{
"code": "SDGU",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SDGR",
"pull_type": "full",
"type": "Structure Deck",
"size": 42,
"tier": "high"
},
{
"code": "GENF",
"pull_type": "distribution",
"type": "Booster Pack (Series 7)",
"size": 111,
"tier": "low"
},
{
"code": "GEIM",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 70,
"tier": "low"
},
{
"code": "GLAS",
"pull_type": "distribution",
"type": "Booster Pack (Series 5)",
"size": 110,
"tier": "low"
},
{
"code": "GLD1",
"pull_type": "distribution",
"type": "Gold Series",
"size": 45,
"tier": "low"
},
{
"code": "GLD2",
"pull_type": "distribution",
"type": "Gold Series",
"size": 50,
"tier": "low"
},
{
"code": "GLD3",
"pull_type": "distribution",
"type": "Gold Series",
"size": 50,
"tier": "low"
},
{
"code": "GLD4",
"pull_type": "distribution",
"type": "Gold Series",
"size": 50,
"tier": "low"
},
{
"code": "GLD5",
"pull_type": "distribution",
"type": "Gold Series",
"size": 55,
"tier": "low"
},
{
"code": "SDHS",
"pull_type": "full",
"type": "Structure Deck",
"size": 45,
"tier": "high"
},
{
"code": "HA01",
"pull_type": "distribution",
"type": "Hidden Arsenal",
"size": 30,
"tier": "low"
},
{
"code": "HA02",
"pull_type": "distribution",
"type": "Hidden Arsenal",
"size": 60,
"tier": "low"
},
{
"code": "HA03",
"pull_type": "distribution",
"type": "Hidden Arsenal",
"size": 60,
"tier": "low"
},
{
"code": "HA04",
"pull_type": "distribution",
"type": "Hidden Arsenal",
"size": 60,
"tier": "low"
},
{
"code": "HA05",
"pull_type": "distribution",
"type": "Hidden Arsenal",
"size": 60,
"tier": "low"
},
{
"code": "HA06",
"pull_type": "distribution",
"type": "Hidden Arsenal",
"size": 60,
"tier": "low"
},
{
"code": "HA07",
"pull_type": "distribution",
"type": "Hidden Arsenal",
"size": 70,
"tier": "low"
},
{
"code": "HISU",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 60,
"tier": "low"
},
{
"code": "HSRD",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 60,
"tier": "low"
},
{
"code": "IGAS",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 105,
"tier": "low"
},
{
"code": "IOC",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 112,
"tier": "low"
},
{
"code": "INOV",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 100,
"tier": "low"
},
{
"code": "JOTL",
"pull_type": "distribution",
"type": "Booster Pack (Series 8)",
"size": 106,
"tier": "low"
},
{
"code": "KICO",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 80,
"tier": "low"
},
{
"code": "LON",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 105,
"tier": "low"
},
{
"code": "LOD",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 101,
"tier": "low"
},
{
"code": "LVAL",
"pull_type": "distribution",
"type": "Booster Pack (Series 8)",
"size": 106,
"tier": "low"
},
{
"code": "LCGX",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 269,
"tier": "low"
},
{
"code": "LCYW",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 306,
"tier": "low"
},
{
"code": "LCJW",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 298,
"tier": "low"
},
{
"code": "LC5D",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 260,
"tier": "low"
},
{
"code": "LCKC",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 110,
"tier": "low"
},
{
"code": "LDK2",
"pull_type": "full",
"type": "Legendary Decks",
"size": 133,
"tier": "low"
},
{
"code": "LEDD",
"pull_type": "full",
"type": "Legendary Decks",
"size": 153,
"tier": "low"
},
{
"code": "LEDU",
"pull_type": "distribution",
"type": "Legendary Duelists",
"size": 52,
"tier": "low"
},
{
"code": "LED2",
"pull_type": "distribution",
"type": "Legendary Duelists",
"size": 53,
"tier": "low"
},
{
"code": "LED5",
"pull_type": "distribution",
"type": "Legendary Duelists",
"size": 58,
"tier": "low"
},
{
"code": "LED6",
"pull_type": "distribution",
"type": "Legendary Duelists",
"size": 56,
"tier": "low"
},
{
"code": "LED7",
"pull_type": "distribution",
"type": "Legendary Duelists",
"size": 58,
"tier": "low"
},
{
"code": "LDS1_B",
"pull_type": "composition",
"type": "Legendary Duelists Compilation",
"size": 3,
"tier": "low"
},
{
"code": "LDS1_P",
"pull_type": "composition",
"type": "Legendary Duelists Compilation",
"size": 2,
"tier": "low"
},
{
"code": "LDS2_B",
"pull_type": "composition",
"type": "Legendary Duelists Compilation",
"size": 3,
"tier": "low"
},
{
"code": "LDS2_P",
"pull_type": "distribution",
"type": "Legendary Duelists Compilation",
"size": 121,
"tier": "low"
},
{
"code": "LED4",
"pull_type": "distribution",
"type": "Legendary Duelists",
"size": 56,
"tier": "low"
},
{
"code": "LED3",
"pull_type": "distribution",
"type": "Legendary Duelists",
"size": 57,
"tier": "low"
},
{
"code": "LEHD",
"pull_type": "full",
"type": "Legendary Decks",
"size": 150,
"tier": "low"
},
{
"code": "LOB",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 126,
"tier": "low"
},
{
"code": "LIOV",
"pull_type": "distribution",
"type": "Booster Pack (Series 11)",
"size": 106,
"tier": "low"
},
{
"code": "LODT",
"pull_type": "distribution",
"type": "Booster Pack (Series 5)",
"size": 111,
"tier": "low"
},
{
"code": "LTGY",
"pull_type": "distribution",
"type": "Booster Pack (Series 8)",
"size": 111,
"tier": "low"
},
{
"code": "SDLS",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SDMM",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SR03",
"pull_type": "full",
"type": "Structure Deck",
"size": 41,
"tier": "high"
},
{
"code": "MFC",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 108,
"tier": "low"
},
{
"code": "SDMP",
"pull_type": "full",
"type": "Structure Deck",
"size": 43,
"tier": "high"
},
{
"code": "MACR",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 100,
"tier": "low"
},
{
"code": "MAGO",
"pull_type": "distribution",
"type": "Gold Series",
"size": 164,
"tier": "low"
},
{
"code": "MRD",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 144,
"tier": "low"
},
{
"code": "MIL1",
"pull_type": "distribution",
"type": "Booster Pack (Misc.)",
"size": 48,
"tier": "low"
},
{
"code": "MOV",
"pull_type": "full",
"type": "Movie Pack",
"size": 4,
"tier": "low"
},
{
"code": "MYFI",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 60,
"tier": "low"
},
{
"code": "NUMH",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 60,
"tier": "low"
},
{
"code": "SDOK",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "ORCS",
"pull_type": "distribution",
"type": "Booster Pack (Series 7)",
"size": 111,
"tier": "low"
},
{
"code": "OP01",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 27,
"tier": "low"
},
{
"code": "OP10",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 25,
"tier": "low"
},
{
"code": "OP11",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 25,
"tier": "low"
},
{
"code": "OP12",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 25,
"tier": "low"
},
{
"code": "OP13",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 25,
"tier": "low"
},
{
"code": "OP14",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 25,
"tier": "low"
},
{
"code": "OP15",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 25,
"tier": "low"
},
{
"code": "OP16",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 26,
"tier": "low"
},
{
"code": "OP02",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 27,
"tier": "low"
},
{
"code": "OP03",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 27,
"tier": "low"
},
{
"code": "OP04",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 27,
"tier": "low"
},
{
"code": "OP05",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 27,
"tier": "low"
},
{
"code": "OP06",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 26,
"tier": "low"
},
{
"code": "OP07",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 26,
"tier": "low"
},
{
"code": "OP08",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 25,
"tier": "low"
},
{
"code": "OP09",
"pull_type": "distribution",
"type": "OTS Tournament Pack",
"size": 25,
"tier": "low"
},
{
"code": "SDPD",
"pull_type": "full",
"type": "Structure Deck",
"size": 43,
"tier": "high"
},
{
"code": "PEVO",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 60,
"tier": "low"
},
{
"code": "PTDN",
"pull_type": "distribution",
"type": "Booster Pack (Series 5)",
"size": 111,
"tier": "low"
},
{
"code": "PHRA",
"pull_type": "distribution",
"type": "Booster Pack (Series 11)",
"size": 122,
"tier": "low"
},
{
"code": "PSV",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 105,
"tier": "low"
},
{
"code": "PGD",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 108,
"tier": "low"
},
{
"code": "PHSW",
"pull_type": "distribution",
"type": "Booster Pack (Series 7)",
"size": 111,
"tier": "low"
},
{
"code": "POTD",
"pull_type": "distribution",
"type": "Booster Pack (Series 5)",
"size": 85,
"tier": "low"
},
{
"code": "PGLD",
"pull_type": "composition",
"type": "Gold Series",
"size": 3,
"tier": "low"
},
{
"code": "PGL3",
"pull_type": "distribution",
"type": "Gold Series",
"size": 100,
"tier": "low"
},
{
"code": "PGL2",
"pull_type": "composition",
"type": "Gold Series",
"size": 3,
"tier": "low"
},
{
"code": "PRIO",
"pull_type": "distribution",
"type": "Booster Pack (Series 8)",
"size": 106,
"tier": "low"
},
{
"code": "RGBT",
"pull_type": "distribution",
"type": "Booster Pack (Series 6)",
"size": 111,
"tier": "low"
},
{
"code": "RATE",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 100,
"tier": "low"
},
{
"code": "RYMP",
"pull_type": "distribution",
"type": "Mega Pack",
"size": 113,
"tier": "low"
},
{
"code": "SDLI",
"pull_type": "full",
"type": "Structure Deck",
"size": 41,
"tier": "high"
},
{
"code": "SDRE",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "REDU",
"pull_type": "distribution",
"type": "Booster Pack (Series 8)",
"size": 111,
"tier": "low"
},
{
"code": "RDS",
"pull_type": "distribution",
"type": "Booster Pack (Series 4)",
"size": 85,
"tier": "low"
},
{
"code": "SDRL",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "ROTD",
"pull_type": "distribution",
"type": "Booster Pack (Series 11)",
"size": 105,
"tier": "low"
},
{
"code": "SR02",
"pull_type": "full",
"type": "Structure Deck",
"size": 41,
"tier": "high"
},
{
"code": "RIRA",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 107,
"tier": "low"
},
{
"code": "YS15",
"pull_type": "full",
"type": "Starter Deck",
"size": 41,
"tier": "low"
},
{
"code": "SDBE",
"pull_type": "full",
"type": "Structure Deck",
"size": 41,
"tier": "high"
},
{
"code": "SDWA",
"pull_type": "full",
"type": "Structure Deck",
"size": 41,
"tier": "high"
},
{
"code": "SAST",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 100,
"tier": "low"
},
{
"code": "SECE",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 106,
"tier": "low"
},
{
"code": "SESL",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 60,
"tier": "low"
},
{
"code": "SHVA",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 60,
"tier": "low"
},
{
"code": "SOI",
"pull_type": "distribution",
"type": "Booster Pack (Series 4)",
"size": 85,
"tier": "low"
},
{
"code": "SHSP",
"pull_type": "distribution",
"type": "Booster Pack (Series 8)",
"size": 106,
"tier": "low"
},
{
"code": "SHVI",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 100,
"tier": "low"
},
{
"code": "SOFU",
"pull_type": "distribution",
"type": "Booster Pack (Series 10)",
"size": 100,
"tier": "low"
},
{
"code": "SOD",
"pull_type": "distribution",
"type": "Booster Pack (Series 4)",
"size": 85,
"tier": "low"
},
{
"code": "SDSC",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SDSC_SE",
"pull_type": "composition",
"type": "Structure Deck",
"size": 2,
"tier": "high"
},
{
"code": "SRL",
"pull_type": "distribution",
"type": "Booster Pack (Series 1-3)",
"size": 104,
"tier": "low"
},
{
"code": "SPWA",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 60,
"tier": "low"
},
{
"code": "SOVR",
"pull_type": "distribution",
"type": "Booster Pack (Series 6)",
"size": 111,
"tier": "low"
},
{
"code": "STBL",
"pull_type": "distribution",
"type": "Booster Pack (Series 7)",
"size": 111,
"tier": "low"
},
{
"code": "YSD",
"pull_type": "full",
"type": "Starter Deck",
"size": 40,
"tier": "low"
},
{
"code": "YSD_SE",
"pull_type": "composition",
"type": "Starter Deck",
"size": 2,
"tier": "low"
},
{
"code": "YS18",
"pull_type": "full",
"type": "Starter Deck",
"size": 45,
"tier": "low"
},
{
"code": "YS11",
"pull_type": "full",
"type": "Starter Deck",
"size": 43,
"tier": "low"
},
{
"code": "5DS3",
"pull_type": "full",
"type": "Starter Deck",
"size": 44,
"tier": "low"
},
{
"code": "YSDJ",
"pull_type": "full",
"type": "Starter Deck",
"size": 41,
"tier": "low"
},
{
"code": "SDJ",
"pull_type": "full",
"type": "Starter Deck",
"size": 50,
"tier": "low"
},
{
"code": "SDK",
"pull_type": "full",
"type": "Starter Deck",
"size": 46,
"tier": "low"
},
{
"code": "SKE",
"pull_type": "full",
"type": "Starter Deck",
"size": 50,
"tier": "low"
},
{
"code": "YSKR",
"pull_type": "full",
"type": "Starter Deck",
"size": 50,
"tier": "low"
},
{
"code": "YS17",
"pull_type": "full",
"type": "Starter Deck",
"size": 43,
"tier": "low"
},
{
"code": "SDP",
"pull_type": "full",
"type": "Starter Deck",
"size": 50,
"tier": "low"
},
{
"code": "YSDS",
"pull_type": "full",
"type": "Starter Deck",
"size": 41,
"tier": "low"
},
{
"code": "YS12",
"pull_type": "full",
"type": "Starter Deck",
"size": 45,
"tier": "low"
},
{
"code": "SDY",
"pull_type": "full",
"type": "Starter Deck",
"size": 46,
"tier": "low"
},
{
"code": "SYE",
"pull_type": "full",
"type": "Starter Deck",
"size": 50,
"tier": "low"
},
{
"code": "YSYR",
"pull_type": "full",
"type": "Starter Deck",
"size": 50,
"tier": "low"
},
{
"code": "YS16",
"pull_type": "full",
"type": "Starter Deck",
"size": 40,
"tier": "low"
},
{
"code": "5DS1",
"pull_type": "full",
"type": "Starter Deck",
"size": 43,
"tier": "low"
},
{
"code": "5DS2",
"pull_type": "full",
"type": "Starter Deck",
"size": 43,
"tier": "low"
},
{
"code": "SP13",
"pull_type": "distribution",
"type": "Star Pack",
"size": 100,
"tier": "low"
},
{
"code": "SP14",
"pull_type": "distribution",
"type": "Star Pack",
"size": 100,
"tier": "low"
},
{
"code": "SP15",
"pull_type": "distribution",
"type": "Star Pack",
"size": 98,
"tier": "low"
},
{
"code": "SP17",
"pull_type": "distribution",
"type": "Star Pack",
"size": 99,
"tier": "low"
},
{
"code": "SP18",
"pull_type": "distribution",
"type": "Star Pack",
"size": 99,
"tier": "low"
},
{
"code": "STOR",
"pull_type": "distribution",
"type": "Booster Pack (Series 7)",
"size": 111,
"tier": "low"
},
{
"code": "STON",
"pull_type": "distribution",
"type": "Booster Pack (Series 5)",
"size": 94,
"tier": "low"
},
{
"code": "SD3",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SDCL",
"pull_type": "full",
"type": "Structure Deck",
"size": 43,
"tier": "high"
},
{
"code": "SD-DE",
"pull_type": "composition",
"type": "Structure Deck",
"size": 3,
"tier": "high"
},
{
"code": "SD09",
"pull_type": "full",
"type": "Structure Deck",
"size": 36,
"tier": "high"
},
{
"code": "SD09_SS",
"pull_type": "composition",
"type": "Structure Deck",
"size": 3,
"tier": "high"
},
{
"code": "SD1",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SDFC",
"pull_type": "full",
"type": "Structure Deck",
"size": 46,
"tier": "high"
},
{
"code": "SD4",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SD7",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SR06",
"pull_type": "full",
"type": "Structure Deck",
"size": 41,
"tier": "high"
},
{
"code": "SD8",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SD10",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SDMA",
"pull_type": "full",
"type": "Structure Deck",
"size": 42,
"tier": "high"
},
{
"code": "SR10",
"pull_type": "full",
"type": "Structure Deck",
"size": 42,
"tier": "high"
},
{
"code": "SR08",
"pull_type": "full",
"type": "Structure Deck",
"size": 42,
"tier": "high"
},
{
"code": "SDPL",
"pull_type": "full",
"type": "Structure Deck",
"size": 43,
"tier": "high"
},
{
"code": "SDRR",
"pull_type": "full",
"type": "Structure Deck",
"size": 46,
"tier": "high"
},
{
"code": "SDSA",
"pull_type": "full",
"type": "Structure Deck",
"size": 46,
"tier": "high"
},
{
"code": "SDKS",
"pull_type": "full",
"type": "Structure Deck",
"size": 45,
"tier": "high"
},
{
"code": "SDSH",
"pull_type": "full",
"type": "Structure Deck",
"size": 49,
"tier": "high"
},
{
"code": "SDSB",
"pull_type": "full",
"type": "Structure Deck",
"size": 46,
"tier": "high"
},
{
"code": "SD6",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SDCH",
"pull_type": "composition",
"type": "Structure Deck",
"size": 2,
"tier": "high"
},
{
"code": "SD5",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "SR05",
"pull_type": "full",
"type": "Structure Deck",
"size": 41,
"tier": "high"
},
{
"code": "SDMY",
"pull_type": "full",
"type": "Structure Deck",
"size": 45,
"tier": "high"
},
{
"code": "SR07",
"pull_type": "full",
"type": "Structure Deck",
"size": 42,
"tier": "high"
},
{
"code": "SD2",
"pull_type": "full",
"type": "Structure Deck",
"size": 28,
"tier": "high"
},
{
"code": "SDSE",
"pull_type": "full",
"type": "Structure Deck",
"size": 44,
"tier": "high"
},
{
"code": "TAEV",
"pull_type": "distribution",
"type": "Booster Pack (Series 5)",
"size": 105,
"tier": "low"
},
{
"code": "SDDE",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "TDIL",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 100,
"tier": "low"
},
{
"code": "MVP1",
"pull_type": "distribution",
"type": "Movie Pack",
"size": 57,
"tier": "low"
},
{
"code": "MVP1_GE_B",
"pull_type": "composition",
"type": "Movie Pack",
"size": 5,
"tier": "low"
},
{
"code": "MVP1_GE_P",
"pull_type": "distribution",
"type": "Movie Pack",
"size": 57,
"tier": "low"
},
{
"code": "MVP1_SE_B",
"pull_type": "composition",
"type": "Movie Pack",
"size": 6,
"tier": "low"
},
{
"code": "MVP1_SE_P",
"pull_type": "distribution",
"type": "Movie Pack",
"size": 57,
"tier": "low"
},
{
"code": "MVP1_SPE_B",
"pull_type": "composition",
"type": "Movie Pack",
"size": 5,
"tier": "low"
},
{
"code": "TDGS",
"pull_type": "distribution",
"type": "Booster Pack (Series 6)",
"size": 111,
"tier": "low"
},
{
"code": "INCH",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 60,
"tier": "low"
},
{
"code": "TLM",
"pull_type": "distribution",
"type": "Booster Pack (Series 4)",
"size": 85,
"tier": "low"
},
{
"code": "NECH",
"pull_type": "distribution",
"type": "Booster Pack (Series 9)",
"size": 106,
"tier": "low"
},
{
"code": "THSF",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 60,
"tier": "low"
},
{
"code": "TSHD",
"pull_type": "distribution",
"type": "Booster Pack (Series 6)",
"size": 111,
"tier": "low"
},
{
"code": "TOCH",
"pull_type": "distribution",
"type": "60 Card Set",
"size": 81,
"tier": "low"
},
{
"code": "TP4",
"pull_type": "distribution",
"type": "Tournament Pack",
"size": 20,
"tier": "low"
},
{
"code": "TP5",
"pull_type": "distribution",
"type": "Tournament Pack",
"size": 20,
"tier": "low"
},
{
"code": "TP6",
"pull_type": "distribution",
"type": "Tournament Pack",
"size": 20,
"tier": "low"
},
{
"code": "TP7",
"pull_type": "distribution",
"type": "Tournament Pack",
"size": 20,
"tier": "low"
},
{
"code": "TP8",
"pull_type": "distribution",
"type": "Tournament Pack",
"size": 20,
"tier": "low"
},
{
"code": "TP1",
"pull_type": "distribution",
"type": "Tournament Pack",
"size": 30,
"tier": "low"
},
{
"code": "TP2",
"pull_type": "distribution",
"type": "Tournament Pack",
"size": 30,
"tier": "low"
},
{
"code": "TP3",
"pull_type": "distribution",
"type": "Tournament Pack",
"size": 20,
"tier": "low"
},
{
"code": "TU08",
"pull_type": "distribution",
"type": "Turbo Pack",
"size": 21,
"tier": "low"
},
{
"code": "TU05",
"pull_type": "distribution",
"type": "Turbo Pack",
"size": 21,
"tier": "low"
},
{
"code": "TU04",
"pull_type": "distribution",
"type": "Turbo Pack",
"size": 21,
"tier": "low"
},
{
"code": "TU01",
"pull_type": "distribution",
"type": "Turbo Pack",
"size": 21,
"tier": "low"
},
{
"code": "TU07",
"pull_type": "distribution",
"type": "Turbo Pack",
"size": 21,
"tier": "low"
},
{
"code": "TU06",
"pull_type": "distribution",
"type": "Turbo Pack",
"size": 21,
"tier": "low"
},
{
"code": "TU03",
"pull_type": "distribution",
"type": "Turbo Pack",
"size": 21,
"tier": "low"
},
{
"code": "TU02",
"pull_type": "distribution",
"type": "Turbo Pack",
"size": 21,
"tier": "low"
},
{
"code": "SDWS",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
},
{
"code": "WGRT",
"pull_type": "distribution",
"type": "Battle Pack",
"size": 104,
"tier": "low"
},
{
"code": "BPW2",
"pull_type": "distribution",
"type": "Battle Pack",
"size": 103,
"tier": "low"
},
{
"code": "WIRA",
"pull_type": "distribution",
"type": "Deck Build Pack",
"size": 60,
"tier": "low"
},
{
"code": "WCPP",
"pull_type": "distribution",
"type": "Booster Pack (Misc.)",
"size": 20,
"tier": "low"
},
{
"code": "WP11",
"pull_type": "distribution",
"type": "Booster Pack (Misc.)",
"size": 20,
"tier": "low"
},
{
"code": "WSUP",
"pull_type": "distribution",
"type": "Booster Pack (Misc.)",
"size": 50,
"tier": "low"
},
{
"code": "YGLD",
"pull_type": "full",
"type": "Legendary Decks",
"size": 126,
"tier": "low"
},
{
"code": "SDZW",
"pull_type": "full",
"type": "Structure Deck",
"size": 40,
"tier": "high"
}
];
const starters = sets.filter(set => {
return set.type === 'Starter Deck';
})
const ironTier = [
"minecraft:chests/abandoned_mineshaft",
"minecraft:chests/buried_treasure",
"minecraft:chests/desert_pyramid",
"minecraft:chests/igloo_chest",
"minecraft:chests/jungle_temple",
"minecraft:chests/nether_bridge",
"minecraft:chests/pillager_outpost",
"minecraft:chests/shipwreck_treasure",
"minecraft:chests/simple_dungeon",
"minecraft:chests/spawn_bonus_chest",
"minecraft:chests/stronghold_corridor",
"minecraft:chests/stronghold_crossing",
"minecraft:chests/underwater_ruin_big",
"minecraft:chests/underwater_ruin_small",
"betterdungeons:skeleton_dungeon/chests/common",
"betterdungeons:zombie_dungeon/chests/common",
"betterdungeons:zombie_dungeon/chests/special",
"betterstrongholds:chests/common",
"betterstrongholds:chests/prison_lg",
"dungeons_arise:chests/abandoned_temple/abandoned_temple_entrance",
"dungeons_arise:chests/abandoned_temple/abandoned_temple_map",
"dungeons_arise:chests/abandoned_temple/abandoned_temple_top",
"dungeons_arise:chests/bandit_towers/bandit_towers_barrels",
"dungeons_arise:chests/bandit_towers/bandit_towers_normal",
"dungeons_arise:chests/bandit_towers/bandit_towers_rooms",
"dungeons_arise:chests/bandit_village/bandit_village_barrels",
"dungeons_arise:chests/bandit_village/bandit_village_normal",
"dungeons_arise:chests/bandit_village/bandit_village_supply",
"dungeons_arise:chests/bandit_village/bandit_village_tents",
"dungeons_arise:chests/illager_campsite/illager_campsite_map",
"dungeons_arise:chests/illager_campsite/illager_campsite_supply",
"dungeons_arise:chests/illager_campsite/illager_campsite_tent",
"dungeons_arise:chests/jungle_tree_house/jungle_tree_house_barrels",
"dungeons_arise:chests/jungle_tree_house/jungle_tree_house_normal",
"dungeons_arise:chests/lighthouse/lighthouse_top",
"dungeons_arise:chests/merchant_campsite/merchant_campsite_map",
"dungeons_arise:chests/merchant_campsite/merchant_campsite_tent",
"dungeons_arise:chests/mining_system/mining_system_treasure",
"dungeons_arise:chests/monastery/monastery_bridges",
"dungeons_arise:chests/mushroom_house/mushroom_house_barrels",
"dungeons_arise:chests/mushroom_house/mushroom_house_normal",
"dungeons_arise:chests/mushroom_house/mushroom_house_treasure",
"dungeons_arise:chests/mushroom_mines/mushroom_mines_ores",
"dungeons_arise:chests/mushroom_mines/mushroom_mines_tools",
"dungeons_arise:chests/mushroom_village/mushroom_village_potions",
"dungeons_arise:chests/plague_asylum/plague_asylum_cells",
"dungeons_arise:chests/shiraz_palace/shiraz_palace_library",
"dungeons_arise:chests/small_prairie_house/small_prairie_house_normal",
"dungeons_arise:chests/small_prairie_house/small_prairie_house_ruined",
"dungeons_arise:chests/thornborn_towers/thornborn_towers_barrels",
"dungeons_arise:chests/campsite_tent",
"dungeons_arise:chests/desert_city_small",
"dungeons_arise:chests/desert_garden_treasure",
"dungeons_arise:chests/fortified_house_medium",
"dungeons_arise:chests/fortified_house_small",
"dungeons_arise:chests/greenwood_house_medium",
"dungeons_arise:chests/greenwood_house_small",
"dungeons_arise:chests/icy_ship_small",
"dungeons_arise:chests/lighthouse_top",
"dungeons_arise:chests/mage_tower_small",
"dungeons_arise:chests/mines_treasure_small",
"dungeons_arise:chests/treehouse_small",
"dungeons_arise:chests/treehouse_top"
];
const diamondTier = [
"minecraft:chests/end_city_treasure",
"minecraft:chests/woodland_mansion",
"betterdungeons:skeleton_dungeon/chests/middle",
"betterdungeons:spider_dungeon/chests/egg_room",
"betterdungeons:zombie_dungeon/chests/tombstone",
"betterstrongholds:chests/crypt",
"betterstrongholds:chests/trap",
"betterstrongholds:chests/treasure",
"dungeons_arise:chests/bandit_towers/bandit_towers_gardens",
"dungeons_arise:chests/bandit_towers/bandit_towers_supply",
"dungeons_arise:chests/bandit_towers/bandit_towers_treasure",
"dungeons_arise:chests/ceryneian_hind/ceryneian_hind_treasure",
"dungeons_arise:chests/foundry/foundry_passage_normal",
"dungeons_arise:chests/giant_mushroom/red_giant_mushroom",
"dungeons_arise:chests/giant_mushroom/twin_giant_mushroom",
"dungeons_arise:chests/heavenly_rider/heavenly_rider_treasure",
"dungeons_arise:chests/illager_castle/illager_hall_bridges",
"dungeons_arise:chests/illager_castle/illager_hall_corridors",
"dungeons_arise:chests/illager_castle/illager_hall_treasure",
"dungeons_arise:chests/illager_castle/illager_hall_weaponry",
"dungeons_arise:chests/illager_corsair/illager_corsair_treasure",
"dungeons_arise:chests/illager_fort/illager_fort_barrels",
"dungeons_arise:chests/illager_fort/illager_fort_normal",
"dungeons_arise:chests/illager_fort/illager_fort_treasure",
"dungeons_arise:chests/illager_galley/illager_galley_treasure",
"dungeons_arise:chests/illager_hall/illager_hall_bridges",
"dungeons_arise:chests/illager_hall/illager_hall_treasure",
"dungeons_arise:chests/illager_hall/illager_hall_weaponry",
"dungeons_arise:chests/illager_windmill/illager_windmill_barrels",
"dungeons_arise:chests/illager_windmill/illager_windmill_treasure",
"dungeons_arise:chests/infested_temple/infested_temple_room_bookshelf",
"dungeons_arise:chests/infested_temple/infested_temple_room_forge",
"dungeons_arise:chests/infested_temple/infested_temple_room_garden",
"dungeons_arise:chests/infested_temple/infested_temple_room_normal",
"dungeons_arise:chests/infested_temple/infested_temple_room_supply",
"dungeons_arise:chests/infested_temple/infested_temple_room_table",
"dungeons_arise:chests/infested_temple/infested_temple_top_treasure",
"dungeons_arise:chests/jungle_tree_house/jungle_tree_house_treasure",
"dungeons_arise:chests/mining_system/mining_system_barrels",
"dungeons_arise:chests/mushroom_mines/mushroom_mines_barrels",
"dungeons_arise:chests/mushroom_mines/mushroom_mines_treasure",
"dungeons_arise:chests/mushroom_village/mushroom_village_barrels",
"dungeons_arise:chests/mushroom_village/mushroom_village_normal",
"dungeons_arise:chests/plague_asylum/plague_asylum_barrels",
"dungeons_arise:chests/plague_asylum/plague_asylum_normal",
"dungeons_arise:chests/plague_asylum/plague_asylum_treasure",
"dungeons_arise:chests/scorched_mines/scorched_mines_barrels",
"dungeons_arise:chests/scorched_mines/scorched_mines_housing",
"dungeons_arise:chests/scorched_mines/scorched_mines_hub",
"dungeons_arise:chests/scorched_mines/scorched_mines_normal",
"dungeons_arise:chests/shiraz_palace/shiraz_palace_rooms",
"dungeons_arise:chests/shiraz_palace/shiraz_palace_towers",
"dungeons_arise:chests/small_blimp/small_blimp_treasure",
"dungeons_arise:chests/thornborn_towers/thornborn_towers_rooms",
"dungeons_arise:chests/thornborn_towers/thornborn_towers_top_rooms",
"dungeons_arise:chests/thornborn_towers/thornborn_towers_top_treasure",
"dungeons_arise:chests/typhon/typhon_treasure",
"dungeons_arise:chests/undead_pirate_ship/undead_pirate_ship_barrels",
"dungeons_arise:chests/undead_pirate_ship/undead_pirate_ship_treasure",
"dungeons_arise:chests/desert_city_big",
"dungeons_arise:chests/desert_city_medium",
"dungeons_arise:chests/heavenly_treasure",
"dungeons_arise:chests/house_tower_treasure",
"dungeons_arise:chests/illager_fortress_big",
"dungeons_arise:chests/illager_fortress_medium",
"dungeons_arise:chests/illager_fortress_small",
"dungeons_arise:chests/mines_treasure_big",
"dungeons_arise:chests/mines_treasure_medium",
"dungeons_arise:chests/pillager_palace_supply",
"dungeons_arise:chests/pillager_palace_treasure",
"dungeons_arise:chests/ship_treasure_big",
"dungeons_arise:chests/ship_treasure_elite",
"dungeons_arise:chests/ship_treasure_small",
"dungeons_arise:chests/temple_treasure_big",
"dungeons_arise:chests/treehouse_medium",
"dungeons_arise:chests/winter_hall_weaponry"
];
const netheriteTier = [
"dungeons_arise:chests/aviary/aviary_barrels",
"dungeons_arise:chests/aviary/aviary_normal",
"dungeons_arise:chests/aviary/aviary_treasure",
"dungeons_arise:chests/foundry/foundry_chains",
"dungeons_arise:chests/foundry/foundry_normal",
"dungeons_arise:chests/foundry/foundry_treasure",
"dungeons_arise:chests/heavenly_challenger/heavenly_challenger_normal",
"dungeons_arise:chests/heavenly_challenger/heavenly_challenger_theater",
"dungeons_arise:chests/heavenly_challenger/heavenly_challenger_treasure",
"dungeons_arise:chests/heavenly_conqueror/heavenly_conqueror_normal",
"dungeons_arise:chests/heavenly_conqueror/heavenly_conqueror_treasure",
"dungeons_arise:chests/scorched_mines/scorched_mines_treasure",
"dungeons_arise:chests/shiraz_palace/shiraz_palace_elite",
"dungeons_arise:chests/shiraz_palace/shiraz_palace_gardens",
"dungeons_arise:chests/shiraz_palace/shiraz_palace_normal",
"dungeons_arise:chests/shiraz_palace/shiraz_palace_treasure"
];
onEvent('generic.loot_tables', event => {
ironTier.forEach(chest => {
event.modify(chest, table => {
table.addPool(pool => {
pool.rolls = [1, 3];
sets.filter(set => {
return set.tier === 'low';
}).forEach(set => {
pool.addItem(Item.of('ydm:set', `{code:"${set.code}"}`), 1);
});
});
table.addPool(pool => {
pool.rolls = [0, 2];
pool.addItem('ydm:sleeves_black', 1);
pool.addItem('ydm:sleeves_blue', 1);
pool.addItem('ydm:sleeves_brown', 1);
pool.addItem('ydm:sleeves_cyan', 1);
pool.addItem('ydm:sleeves_gray', 1);
pool.addItem('ydm:sleeves_green', 1);
pool.addItem('ydm:sleeves_light_blue', 1);
pool.addItem('ydm:sleeves_light_gray', 1);
pool.addItem('ydm:sleeves_lime', 1);
pool.addItem('ydm:sleeves_magenta', 1);
pool.addItem('ydm:sleeves_orange', 1);
pool.addItem('ydm:sleeves_pink', 1);
pool.addItem('ydm:sleeves_purple', 1);
pool.addItem('ydm:sleeves_red', 1);
pool.addItem('ydm:sleeves_white', 1);
pool.addItem('ydm:sleeves_yellow', 1);
});
});
});
diamondTier.forEach(chest => {
event.modify(chest, table => {
table.addPool(pool => {
pool.rolls = [2, 4];
sets.filter(set => {
return set.tier === 'low';
}).forEach(set => {
pool.addItem(Item.of('ydm:set', `{code:"${set.code}"}`), 1);
});
});
table.addPool(pool => {
pool.rolls = [0, 2];
pool.addItem('ydm:iron_deck_box', 1);
pool.addItem('ydm:gold_deck_box', 1);
pool.addItem('ydm:diamond_deck_box', 1);
pool.addItem('ydm:emerald_deck_box', 1);
pool.addItem('ydm:patreon_deck_box', 1);
pool.addItem('ydm:sleeves_bronze', 1);
pool.addItem('ydm:sleeves_silver', 1);
pool.addItem('ydm:sleeves_gold', 1);
pool.addItem('ydm:sleeves_platinum', 1);
pool.addItem('ydm:sleeves_ruby', 1);
pool.addItem('ydm:sleeves_vfd', 1);
pool.addItem('ydm:sleeves_old_entity', 1);
pool.addItem('ydm:sleeves_master_peace', 1);
pool.addItem('ydm:sleeves_hero', 1);
pool.addItem('ydm:sleeves_destiny_hero', 1);
});
});
});
netheriteTier.forEach(chest => {
event.modify(chest, table => {
table.addPool(pool => {
pool.rolls = 1;
sets.filter(set => {
return set.tier === 'high';
}).forEach(set => {
pool.addItem(Item.of('ydm:set', `{code:"${set.code}"}`), 1);
});
});
table.addPool(pool => {
pool.rolls = 1;
pool.addItem('ydm:duel_disk', 1);
pool.addItem('ydm:chaos_disk', 1);
pool.addItem('ydm:academia_disk', 1);
pool.addItem('ydm:academia_disk_red', 1);
pool.addItem('ydm:academia_disk_blue', 1);
pool.addItem('ydm:academia_disk_yellow', 1);
pool.addItem('ydm:rock_spirit_disk', 1);
pool.addItem('ydm:trueman_disk', 1);
pool.addItem('ydm:jewel_disk', 1);
pool.addItem('ydm:kaibaman_disk', 1);
pool.addItem('ydm:cyber_design_interface', 1);
});
});
});
event.modify("minecraft:desert_pyramid", table => {
table.addPool(pool => {
pool.rolls = 1;
pool.addItem("ydm:millennium_eye", 1);
pool.addItem("ydm:millennium_key", 1);
pool.addItem("ydm:millennium_necklace", 1);
pool.addItem("ydm:millennium_puzzle", 1);
pool.addItem("ydm:millennium_ring", 1);
pool.addItem("ydm:millennium_rod", 1);
pool.addItem("ydm:millennium_scale", 1);
pool.randomChance(0.25);
});
});
});
onEvent('entity.loot_tables', event => {
event.modifyEntity('minecraft:zombie', table => {
table.addPool(pool => {
pool.rolls = 1;
sets.filter(set => {
return set.pull_type === 'distribution';
}).forEach(set => {
pool.addItem(Item.of('ydm:set', `{code:"${set.code}"}`), 1);
});
pool.randomChanceWithLooting(0.025, 0.01);
pool.killedByPlayer();
});
});
event.modifyEntity('minecraft:skeleton', table => {
table.addPool(pool => {
pool.rolls = 1;
sets.filter(set => {
return set.pull_type === 'distribution';
}).forEach(set => {
pool.addItem(Item.of('ydm:set', `{code:"${set.code}"}`), 1);
});
pool.randomChanceWithLooting(0.025, 0.01);
pool.killedByPlayer();
});
});
event.modifyEntity('minecraft:creeper', table => {
table.addPool(pool => {
pool.rolls = 1;
sets.filter(set => {
return set.pull_type === 'distribution';
}).forEach(set => {
pool.addItem(Item.of('ydm:set', `{code:"${set.code}"}`), 1);
});
pool.randomChanceWithLooting(0.025, 0.01);
pool.killedByPlayer();
});
});
event.modifyEntity('minecraft:spider', table => {
table.addPool(pool => {
pool.rolls = 1;
sets.filter(set => {
return set.pull_type === 'distribution';
}).forEach(set => {
pool.addItem(Item.of('ydm:set', `{code:"${set.code}"}`), 1);
});
pool.randomChanceWithLooting(0.025, 0.01);
pool.killedByPlayer();
});
});
});
// Listen to player login event
onEvent('player.logged_in', event => {
// Check if player doesn't have "starting_items" stage yet
if (!event.player.stages.has('starting_items')) {
// Add the stage
event.player.stages.add('starting_items');
// Give some items to player
event.player.give('ydm:white_deck_box');
event.player.give('ydm:card_binder');
event.player.give('ydm:duel_playmat');
const starter = starters[Math.floor(Math.random()*starters.length)];
event.player.give(Item.of('ydm:set', `{code:"${starter.code}"}`));
}
});