isaacscript-common 8.9.1 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/callbacks/postPlayerCollectible.d.ts.map +1 -1
- package/dist/callbacks/postPlayerCollectible.lua +78 -9
- package/dist/core/constantsFirstLast.d.ts +4 -4
- package/dist/core/constantsFirstLast.d.ts.map +1 -1
- package/dist/core/constantsFirstLast.lua +4 -4
- package/dist/features/extraConsoleCommands/listCommands.lua +14 -14
- package/dist/features/firstLast.d.ts +9 -9
- package/dist/features/firstLast.d.ts.map +1 -1
- package/dist/features/firstLast.lua +26 -26
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +8 -10
- package/dist/features/preventCollectibleRotation.lua +2 -2
- package/dist/functions/cards.d.ts +27 -36
- package/dist/functions/cards.d.ts.map +1 -1
- package/dist/functions/cards.lua +70 -79
- package/dist/functions/collectibleCacheFlag.d.ts +4 -1
- package/dist/functions/collectibleCacheFlag.d.ts.map +1 -1
- package/dist/functions/collectibleCacheFlag.lua +5 -2
- package/dist/functions/collectibles.d.ts +1 -6
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +1 -6
- package/dist/functions/debug.d.ts +25 -0
- package/dist/functions/debug.d.ts.map +1 -1
- package/dist/functions/debug.lua +50 -0
- package/dist/functions/familiars.d.ts.map +1 -1
- package/dist/functions/itemPool.lua +9 -11
- package/dist/functions/log.d.ts +2 -7
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +9 -31
- package/dist/functions/pickupsSpecific.d.ts +9 -9
- package/dist/functions/pickupsSpecific.d.ts.map +1 -1
- package/dist/functions/pickupsSpecific.lua +16 -16
- package/dist/functions/pills.d.ts +1 -6
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/pills.lua +1 -6
- package/dist/functions/players.d.ts +6 -0
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +7 -1
- package/dist/functions/pocketItems.lua +4 -4
- package/dist/functions/rockAlt.lua +2 -2
- package/dist/functions/trinkets.d.ts +1 -6
- package/dist/functions/trinkets.d.ts.map +1 -1
- package/dist/functions/trinkets.lua +1 -6
- package/dist/functions/types.d.ts +3 -3
- package/dist/functions/types.d.ts.map +1 -1
- package/dist/functions/types.lua +2 -2
- package/dist/index.d.ts +65 -78
- package/dist/index.d.ts.map +1 -1
- package/dist/index.lua +0 -8
- package/dist/maps/cardMap.d.ts +2 -2
- package/dist/maps/cardMap.d.ts.map +1 -1
- package/dist/maps/cardMap.lua +203 -203
- package/dist/objects/cardDescriptions.d.ts +2 -2
- package/dist/objects/cardDescriptions.d.ts.map +1 -1
- package/dist/objects/cardDescriptions.lua +99 -99
- package/dist/objects/cardNames.d.ts +2 -2
- package/dist/objects/cardNames.d.ts.map +1 -1
- package/dist/objects/cardNames.lua +99 -99
- package/dist/objects/cardTypeToItemConfigCardType.d.ts +6 -0
- package/dist/objects/cardTypeToItemConfigCardType.d.ts.map +1 -0
- package/dist/objects/cardTypeToItemConfigCardType.lua +106 -0
- package/package.json +2 -2
- package/src/callbacks/postPlayerCollectible.ts +89 -10
- package/src/core/constantsFirstLast.ts +4 -4
- package/src/features/extraConsoleCommands/listCommands.ts +16 -16
- package/src/features/firstLast.ts +26 -26
- package/src/features/playerInventory.ts +6 -10
- package/src/features/preventCollectibleRotation.ts +2 -2
- package/src/functions/cards.ts +102 -86
- package/src/functions/collectibleCacheFlag.ts +6 -2
- package/src/functions/collectibles.ts +1 -6
- package/src/functions/debug.ts +49 -0
- package/src/functions/familiars.ts +1 -0
- package/src/functions/itemPool.ts +6 -7
- package/src/functions/log.ts +15 -35
- package/src/functions/pickupsSpecific.ts +16 -13
- package/src/functions/pills.ts +1 -6
- package/src/functions/players.ts +14 -1
- package/src/functions/pocketItems.ts +4 -4
- package/src/functions/rockAlt.ts +2 -2
- package/src/functions/trinkets.ts +1 -6
- package/src/functions/types.ts +3 -3
- package/src/index.ts +0 -1
- package/src/maps/cardMap.ts +204 -204
- package/src/objects/cardDescriptions.ts +100 -100
- package/src/objects/cardNames.ts +100 -100
- package/src/objects/cardTypeToItemConfigCardType.ts +106 -0
- package/dist/functions/dev.d.ts +0 -20
- package/dist/functions/dev.d.ts.map +0 -1
- package/dist/functions/dev.lua +0 -34
- package/dist/objects/cardTypes.d.ts +0 -6
- package/dist/objects/cardTypes.d.ts.map +0 -1
- package/dist/objects/cardTypes.lua +0 -106
- package/src/functions/dev.ts +0 -31
- package/src/objects/cardTypes.ts +0 -104
package/src/functions/players.ts
CHANGED
|
@@ -223,6 +223,8 @@ export function getPlayerCloserThan(
|
|
|
223
223
|
* collectible type(s) provided.
|
|
224
224
|
*
|
|
225
225
|
* This function is variadic, meaning that you can specify N collectible types.
|
|
226
|
+
*
|
|
227
|
+
* Note that this will filter out non-real collectibles like Lilith's Incubus.
|
|
226
228
|
*/
|
|
227
229
|
export function getPlayerCollectibleCount(
|
|
228
230
|
player: EntityPlayer,
|
|
@@ -230,6 +232,8 @@ export function getPlayerCollectibleCount(
|
|
|
230
232
|
): int {
|
|
231
233
|
let numCollectibles = 0;
|
|
232
234
|
for (const collectibleType of collectibleTypes) {
|
|
235
|
+
// We need to specify "true" as the second argument here to filter out things like Lilith's
|
|
236
|
+
// Incubus.
|
|
233
237
|
numCollectibles += player.GetCollectibleNum(collectibleType, true);
|
|
234
238
|
}
|
|
235
239
|
|
|
@@ -239,6 +243,8 @@ export function getPlayerCollectibleCount(
|
|
|
239
243
|
/**
|
|
240
244
|
* Iterates over every item in the game and returns a map containing the number of each item that
|
|
241
245
|
* the player has.
|
|
246
|
+
*
|
|
247
|
+
* Note that this will filter out non-real collectibles like Lilith's Incubus.
|
|
242
248
|
*/
|
|
243
249
|
export function getPlayerCollectibleMap(
|
|
244
250
|
player: EntityPlayer,
|
|
@@ -247,6 +253,8 @@ export function getPlayerCollectibleMap(
|
|
|
247
253
|
|
|
248
254
|
const collectibleMap = new Map<CollectibleType, int>();
|
|
249
255
|
for (const collectibleType of collectibleArray) {
|
|
256
|
+
// We need to specify "true" as the second argument here to filter out things like Lilith's
|
|
257
|
+
// Incubus.
|
|
250
258
|
const collectibleNum = player.GetCollectibleNum(collectibleType, true);
|
|
251
259
|
if (collectibleNum > 0) {
|
|
252
260
|
collectibleMap.set(collectibleType, collectibleNum);
|
|
@@ -374,14 +382,19 @@ export function getPlayersWithTrinket(
|
|
|
374
382
|
/**
|
|
375
383
|
* Returns the total number of collectibles amongst all players. For example, if player 1 has 1 Sad
|
|
376
384
|
* Onion and player 2 has 2 Sad Onions, then this function would return 3.
|
|
385
|
+
*
|
|
386
|
+
* Note that this will filter out non-real collectibles like Lilith's Incubus.
|
|
377
387
|
*/
|
|
378
388
|
export function getTotalPlayerCollectibles(
|
|
379
389
|
collectibleType: CollectibleType,
|
|
380
390
|
): int {
|
|
381
391
|
const players = getPlayers();
|
|
382
392
|
const numCollectiblesArray = players.map((player) =>
|
|
383
|
-
|
|
393
|
+
// We need to specify "true" as the second argument here to filter out things like Lilith's
|
|
394
|
+
// Incubus.
|
|
395
|
+
player.GetCollectibleNum(collectibleType, true),
|
|
384
396
|
);
|
|
397
|
+
|
|
385
398
|
return sumArray(numCollectiblesArray);
|
|
386
399
|
}
|
|
387
400
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActiveSlot,
|
|
3
|
-
|
|
3
|
+
CardType,
|
|
4
4
|
CollectibleType,
|
|
5
5
|
PillColor,
|
|
6
6
|
PlayerType,
|
|
@@ -64,14 +64,14 @@ export function getPocketItems(player: EntityPlayer): PocketItemDescription[] {
|
|
|
64
64
|
let pocketItemIdentified = false;
|
|
65
65
|
let pocketItem2Identified = false;
|
|
66
66
|
for (const slot of pocketItemSlots) {
|
|
67
|
-
const
|
|
67
|
+
const cardType = player.GetCard(slot);
|
|
68
68
|
const pillColor = player.GetPill(slot);
|
|
69
69
|
|
|
70
|
-
if (
|
|
70
|
+
if (cardType !== CardType.NULL) {
|
|
71
71
|
pocketItems.push({
|
|
72
72
|
slot,
|
|
73
73
|
type: PocketItemType.CARD,
|
|
74
|
-
subType:
|
|
74
|
+
subType: cardType,
|
|
75
75
|
});
|
|
76
76
|
} else if (pillColor !== PillColor.NULL) {
|
|
77
77
|
pocketItems.push({
|
package/src/functions/rockAlt.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
CardType,
|
|
3
3
|
CoinSubType,
|
|
4
4
|
CollectibleType,
|
|
5
5
|
EffectVariant,
|
|
@@ -278,7 +278,7 @@ function spawnRockAltRewardSkull(position: Vector, rng: RNG): boolean {
|
|
|
278
278
|
|
|
279
279
|
totalChance += ROCK_ALT_CHANCES.BASIC_DROP;
|
|
280
280
|
if (chance < totalChance) {
|
|
281
|
-
spawnCardWithSeed(
|
|
281
|
+
spawnCardWithSeed(CardType.NULL, position, rng);
|
|
282
282
|
return true;
|
|
283
283
|
}
|
|
284
284
|
|
|
@@ -118,12 +118,7 @@ export function getTrinketGfxFilename(trinketType: TrinketType): string {
|
|
|
118
118
|
* Helper function to get the name of a trinket. Returns "Unknown" if the provided trinket type is
|
|
119
119
|
* not valid.
|
|
120
120
|
*
|
|
121
|
-
* For example
|
|
122
|
-
*
|
|
123
|
-
* ```ts
|
|
124
|
-
* const trinketType = TrinketType.SWALLOWED_PENNY;
|
|
125
|
-
* const trinketName = getTrinketName(trinketType); // trinketName is "Swallowed Penny"
|
|
126
|
-
* ```
|
|
121
|
+
* For example, `getTrinketName(TrinketType.SWALLOWED_PENNY)` would return "Swallowed Penny".
|
|
127
122
|
*/
|
|
128
123
|
export function getTrinketName(trinketType: TrinketType): string {
|
|
129
124
|
// "ItemConfigItem.Name" is bugged with vanilla items on patch v1.7.6, so we use a hard-coded map
|
package/src/functions/types.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
CardType,
|
|
3
3
|
CollectibleType,
|
|
4
4
|
LevelStage,
|
|
5
5
|
NpcState,
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
} from "isaac-typescript-definitions";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* Helper function to safely cast a `number` to a `
|
|
13
|
+
* Helper function to safely cast a `number` to a `CardType`. (This is better than using the `as`
|
|
14
14
|
* TypeScript keyword to do a type assertion, since that can obfuscate compiler errors. )
|
|
15
15
|
*
|
|
16
16
|
* This is useful to satisfy the "isaacscript/strict-enums" ESLint rule.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function asCardType(num: number): CardType {
|
|
19
19
|
return num;
|
|
20
20
|
}
|
|
21
21
|
|
package/src/index.ts
CHANGED
|
@@ -67,7 +67,6 @@ export * from "./functions/curses";
|
|
|
67
67
|
export * from "./functions/debug";
|
|
68
68
|
export * from "./functions/deepCopy";
|
|
69
69
|
export * from "./functions/deepCopyTests";
|
|
70
|
-
export * from "./functions/dev";
|
|
71
70
|
export * from "./functions/dimensions";
|
|
72
71
|
export * from "./functions/direction";
|
|
73
72
|
export * from "./functions/doors";
|
package/src/maps/cardMap.ts
CHANGED
|
@@ -1,209 +1,209 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CardType } from "isaac-typescript-definitions";
|
|
2
2
|
|
|
3
3
|
// cspell:ignore hiero
|
|
4
4
|
|
|
5
5
|
/** Maps card names to card sub-types. */
|
|
6
|
-
export const CARD_MAP: ReadonlyMap<string,
|
|
7
|
-
["fool",
|
|
8
|
-
["magician",
|
|
9
|
-
["mag",
|
|
10
|
-
["highPriestess",
|
|
11
|
-
["priestess",
|
|
12
|
-
["priest",
|
|
13
|
-
["hp",
|
|
14
|
-
["empress",
|
|
15
|
-
["emperor",
|
|
16
|
-
["emp",
|
|
17
|
-
["hierophant",
|
|
18
|
-
["hi",
|
|
19
|
-
["lovers",
|
|
20
|
-
["chariot",
|
|
21
|
-
["justice",
|
|
22
|
-
["hermit",
|
|
23
|
-
["wheelOfFortune",
|
|
24
|
-
["wheel",
|
|
25
|
-
["fortune",
|
|
26
|
-
["strength",
|
|
27
|
-
["str",
|
|
28
|
-
["hangedMan",
|
|
29
|
-
["hanged",
|
|
30
|
-
["death",
|
|
31
|
-
["temperance",
|
|
32
|
-
["devil",
|
|
33
|
-
["tower",
|
|
34
|
-
["stars",
|
|
35
|
-
["moon",
|
|
36
|
-
["sun",
|
|
37
|
-
["judgement",
|
|
38
|
-
["judge",
|
|
39
|
-
["world",
|
|
40
|
-
["2OfClubs",
|
|
41
|
-
["2Clubs",
|
|
42
|
-
["2OfDiamonds",
|
|
43
|
-
["2Diamonds",
|
|
44
|
-
["2OfSpades",
|
|
45
|
-
["2Spades",
|
|
46
|
-
["2OfHearts",
|
|
47
|
-
["2Hearts",
|
|
48
|
-
["aceOfClubs",
|
|
49
|
-
["aceClubs",
|
|
50
|
-
["aceOfDiamonds",
|
|
51
|
-
["aceDiamonds",
|
|
52
|
-
["aceOfSpades",
|
|
53
|
-
["aceSpades",
|
|
54
|
-
["aceOfHearts",
|
|
55
|
-
["aceHearts",
|
|
56
|
-
["joker",
|
|
57
|
-
["hagalaz",
|
|
58
|
-
["destruction",
|
|
59
|
-
["jera",
|
|
60
|
-
["abundance",
|
|
61
|
-
["ehwaz",
|
|
62
|
-
["passage",
|
|
63
|
-
["dagaz",
|
|
64
|
-
["purity",
|
|
65
|
-
["ansuz",
|
|
66
|
-
["vision",
|
|
67
|
-
["perthro",
|
|
68
|
-
["change",
|
|
69
|
-
["berkano",
|
|
70
|
-
["companionship",
|
|
71
|
-
["algiz",
|
|
72
|
-
["resistance",
|
|
73
|
-
["shield",
|
|
74
|
-
["blank",
|
|
75
|
-
["black",
|
|
76
|
-
["chaos",
|
|
77
|
-
["credit",
|
|
78
|
-
["rules",
|
|
79
|
-
["againstHumanity",
|
|
80
|
-
["humanity",
|
|
81
|
-
["suicideKing",
|
|
82
|
-
["suicide",
|
|
83
|
-
["getOutOfJailFree",
|
|
84
|
-
["jail",
|
|
85
|
-
["?",
|
|
86
|
-
["diceShard",
|
|
87
|
-
["shard",
|
|
88
|
-
["emergencyContact",
|
|
89
|
-
["contact",
|
|
90
|
-
["holy",
|
|
91
|
-
["hugeGrowth",
|
|
92
|
-
["growth",
|
|
93
|
-
["ancientRecall",
|
|
94
|
-
["recall",
|
|
95
|
-
["eraWalk",
|
|
96
|
-
["walk",
|
|
97
|
-
["runeShard",
|
|
98
|
-
["shard",
|
|
99
|
-
["fool?",
|
|
100
|
-
["magician?",
|
|
101
|
-
["magi?",
|
|
102
|
-
["mag?",
|
|
103
|
-
["highPriestess?",
|
|
104
|
-
["high?",
|
|
105
|
-
["hi?",
|
|
106
|
-
["priestess?",
|
|
107
|
-
["priest?",
|
|
108
|
-
["hp?",
|
|
109
|
-
["empress?",
|
|
110
|
-
["emperor?",
|
|
111
|
-
["emp?",
|
|
112
|
-
["hierophant?",
|
|
113
|
-
["hiero?",
|
|
114
|
-
["lovers?",
|
|
115
|
-
["chariot?",
|
|
116
|
-
["justice?",
|
|
117
|
-
["hermit?",
|
|
118
|
-
["wheelOfFortune?",
|
|
119
|
-
["wheel?",
|
|
120
|
-
["fortune?",
|
|
121
|
-
["strength?",
|
|
122
|
-
["str?",
|
|
123
|
-
["hangedMan?",
|
|
124
|
-
["hanged?",
|
|
125
|
-
["death?",
|
|
126
|
-
["temperance?",
|
|
127
|
-
["devil?",
|
|
128
|
-
["tower?",
|
|
129
|
-
["stars?",
|
|
130
|
-
["moon?",
|
|
131
|
-
["sun?",
|
|
132
|
-
["judgement?",
|
|
133
|
-
["judge?",
|
|
134
|
-
["world?",
|
|
135
|
-
["crackedKey",
|
|
136
|
-
["key",
|
|
137
|
-
["queenOfHearts",
|
|
138
|
-
["queenHearts",
|
|
139
|
-
["wildcard",
|
|
140
|
-
["soulOfIsaac",
|
|
141
|
-
["soulIsaac",
|
|
142
|
-
["isaac",
|
|
143
|
-
["soulOfMagdalene",
|
|
144
|
-
["soulMagdalene",
|
|
145
|
-
["magdalene",
|
|
146
|
-
["soulOfCain",
|
|
147
|
-
["soulCain",
|
|
148
|
-
["cain",
|
|
149
|
-
["soulOfJudas",
|
|
150
|
-
["soulJudas",
|
|
151
|
-
["judas",
|
|
152
|
-
["soulOf???",
|
|
153
|
-
["soul???",
|
|
154
|
-
["???",
|
|
155
|
-
["soulOfBlueBaby",
|
|
156
|
-
["soulBlueBaby",
|
|
157
|
-
["blueBaby",
|
|
158
|
-
["soulOfEve",
|
|
159
|
-
["soulEve",
|
|
160
|
-
["eve",
|
|
161
|
-
["soulOfSamson",
|
|
162
|
-
["soulSamson",
|
|
163
|
-
["samson",
|
|
164
|
-
["soulOfAzazel",
|
|
165
|
-
["soulAzazel",
|
|
166
|
-
["azazel",
|
|
167
|
-
["soulOfLazarus",
|
|
168
|
-
["soulLazarus",
|
|
169
|
-
["lazarus",
|
|
170
|
-
["soulOfEden",
|
|
171
|
-
["soulEden",
|
|
172
|
-
["eden",
|
|
173
|
-
["soulOfTheLost",
|
|
174
|
-
["soulTheLost",
|
|
175
|
-
["theLost",
|
|
176
|
-
["soulOfLost",
|
|
177
|
-
["soulLost",
|
|
178
|
-
["lost",
|
|
179
|
-
["soulOfLilith",
|
|
180
|
-
["soulLilith",
|
|
181
|
-
["lilith",
|
|
182
|
-
["soulOfTheKeeper",
|
|
183
|
-
["soulTheKeeper",
|
|
184
|
-
["theKeeper",
|
|
185
|
-
["soulOfKeeper",
|
|
186
|
-
["soulKeeper",
|
|
187
|
-
["keeper",
|
|
188
|
-
["soulOfApollyon",
|
|
189
|
-
["soulApollyon",
|
|
190
|
-
["apollyon",
|
|
191
|
-
["soulOfTheForgotten",
|
|
192
|
-
["soulTheForgotten",
|
|
193
|
-
["theForgotten",
|
|
194
|
-
["soulOfForgotten",
|
|
195
|
-
["soulForgotten",
|
|
196
|
-
["forgotten",
|
|
197
|
-
["soulOfBethany",
|
|
198
|
-
["soulBethany",
|
|
199
|
-
["bethany",
|
|
200
|
-
["soulOfJacobAndEsau",
|
|
201
|
-
["soulJacobAndEsau",
|
|
202
|
-
["jacobAndEsau",
|
|
203
|
-
["soulOfJacob&Esau",
|
|
204
|
-
["soulJacob&Esau",
|
|
205
|
-
["jacob&Esau",
|
|
206
|
-
["soulOfJacob",
|
|
207
|
-
["soulJacob",
|
|
208
|
-
["jacob",
|
|
6
|
+
export const CARD_MAP: ReadonlyMap<string, CardType> = new Map([
|
|
7
|
+
["fool", CardType.FOOL], // 1
|
|
8
|
+
["magician", CardType.MAGICIAN], // 2
|
|
9
|
+
["mag", CardType.MAGICIAN], // 2 - Needed since we have "mag?"
|
|
10
|
+
["highPriestess", CardType.HIGH_PRIESTESS], // 3
|
|
11
|
+
["priestess", CardType.HIGH_PRIESTESS], // 3
|
|
12
|
+
["priest", CardType.HIGH_PRIESTESS], // 3 - Needed since we have "priest?"
|
|
13
|
+
["hp", CardType.HIGH_PRIESTESS], // 3
|
|
14
|
+
["empress", CardType.EMPRESS], // 4
|
|
15
|
+
["emperor", CardType.EMPEROR], // 5
|
|
16
|
+
["emp", CardType.EMPEROR], // 5 - Needed since we have "hemp?"
|
|
17
|
+
["hierophant", CardType.HIEROPHANT], // 6
|
|
18
|
+
["hi", CardType.HIEROPHANT], // 6 - Needed since we have "hiero?"
|
|
19
|
+
["lovers", CardType.LOVERS], // 7
|
|
20
|
+
["chariot", CardType.CHARIOT], // 8
|
|
21
|
+
["justice", CardType.JUSTICE], // 9
|
|
22
|
+
["hermit", CardType.HERMIT], // 10
|
|
23
|
+
["wheelOfFortune", CardType.WHEEL_OF_FORTUNE], // 11
|
|
24
|
+
["wheel", CardType.WHEEL_OF_FORTUNE], // 11 - Needed since we have "wheel?"
|
|
25
|
+
["fortune", CardType.WHEEL_OF_FORTUNE], // 11
|
|
26
|
+
["strength", CardType.STRENGTH], // 12
|
|
27
|
+
["str", CardType.STRENGTH], // 12 - Needed since we have "str?"
|
|
28
|
+
["hangedMan", CardType.HANGED_MAN], // 13
|
|
29
|
+
["hanged", CardType.HANGED_MAN], // 13
|
|
30
|
+
["death", CardType.DEATH], // 14
|
|
31
|
+
["temperance", CardType.TEMPERANCE], // 15
|
|
32
|
+
["devil", CardType.DEVIL], // 16
|
|
33
|
+
["tower", CardType.TOWER], // 17
|
|
34
|
+
["stars", CardType.STARS], // 18
|
|
35
|
+
["moon", CardType.MOON], // 19
|
|
36
|
+
["sun", CardType.SUN], // 20
|
|
37
|
+
["judgement", CardType.JUDGEMENT], // 21
|
|
38
|
+
["judge", CardType.JUDGEMENT], // 21 - Needed since we have "judge?"
|
|
39
|
+
["world", CardType.WORLD], // 22
|
|
40
|
+
["2OfClubs", CardType.CLUBS_2], // 23
|
|
41
|
+
["2Clubs", CardType.CLUBS_2], // 23
|
|
42
|
+
["2OfDiamonds", CardType.DIAMONDS_2], // 24
|
|
43
|
+
["2Diamonds", CardType.DIAMONDS_2], // 24
|
|
44
|
+
["2OfSpades", CardType.SPADES_2], // 25
|
|
45
|
+
["2Spades", CardType.SPADES_2], // 25
|
|
46
|
+
["2OfHearts", CardType.HEARTS_2], // 26
|
|
47
|
+
["2Hearts", CardType.HEARTS_2], // 26
|
|
48
|
+
["aceOfClubs", CardType.ACE_OF_CLUBS], // 27
|
|
49
|
+
["aceClubs", CardType.ACE_OF_CLUBS], // 27
|
|
50
|
+
["aceOfDiamonds", CardType.ACE_OF_DIAMONDS], // 28
|
|
51
|
+
["aceDiamonds", CardType.ACE_OF_DIAMONDS], // 28
|
|
52
|
+
["aceOfSpades", CardType.ACE_OF_SPADES], // 29
|
|
53
|
+
["aceSpades", CardType.ACE_OF_SPADES], // 29
|
|
54
|
+
["aceOfHearts", CardType.ACE_OF_HEARTS], // 30
|
|
55
|
+
["aceHearts", CardType.ACE_OF_HEARTS], // 30
|
|
56
|
+
["joker", CardType.JOKER], // 31
|
|
57
|
+
["hagalaz", CardType.RUNE_HAGALAZ], // 32
|
|
58
|
+
["destruction", CardType.RUNE_HAGALAZ], // 32
|
|
59
|
+
["jera", CardType.RUNE_JERA], // 33
|
|
60
|
+
["abundance", CardType.RUNE_JERA], // 33
|
|
61
|
+
["ehwaz", CardType.RUNE_EHWAZ], // 34
|
|
62
|
+
["passage", CardType.RUNE_EHWAZ], // 34
|
|
63
|
+
["dagaz", CardType.RUNE_DAGAZ], // 35
|
|
64
|
+
["purity", CardType.RUNE_DAGAZ], // 35
|
|
65
|
+
["ansuz", CardType.RUNE_ANSUZ], // 36
|
|
66
|
+
["vision", CardType.RUNE_ANSUZ], // 36
|
|
67
|
+
["perthro", CardType.RUNE_PERTHRO], // 37
|
|
68
|
+
["change", CardType.RUNE_PERTHRO], // 37
|
|
69
|
+
["berkano", CardType.RUNE_BERKANO], // 38
|
|
70
|
+
["companionship", CardType.RUNE_BERKANO], // 38
|
|
71
|
+
["algiz", CardType.RUNE_ALGIZ], // 39
|
|
72
|
+
["resistance", CardType.RUNE_ALGIZ], // 39
|
|
73
|
+
["shield", CardType.RUNE_ALGIZ], // 39
|
|
74
|
+
["blank", CardType.RUNE_BLANK], // 40
|
|
75
|
+
["black", CardType.RUNE_BLACK], // 41
|
|
76
|
+
["chaos", CardType.CHAOS], // 42
|
|
77
|
+
["credit", CardType.CREDIT], // 43
|
|
78
|
+
["rules", CardType.RULES], // 44
|
|
79
|
+
["againstHumanity", CardType.AGAINST_HUMANITY], // 45
|
|
80
|
+
["humanity", CardType.AGAINST_HUMANITY], // 45
|
|
81
|
+
["suicideKing", CardType.SUICIDE_KING], // 46
|
|
82
|
+
["suicide", CardType.SUICIDE_KING], // 46
|
|
83
|
+
["getOutOfJailFree", CardType.GET_OUT_OF_JAIL_FREE], // 47
|
|
84
|
+
["jail", CardType.GET_OUT_OF_JAIL_FREE], // 47
|
|
85
|
+
["?", CardType.QUESTION_MARK], // 48
|
|
86
|
+
["diceShard", CardType.DICE_SHARD], // 49
|
|
87
|
+
["shard", CardType.DICE_SHARD], // 49
|
|
88
|
+
["emergencyContact", CardType.EMERGENCY_CONTACT], // 50
|
|
89
|
+
["contact", CardType.EMERGENCY_CONTACT], // 50
|
|
90
|
+
["holy", CardType.HOLY], // 51
|
|
91
|
+
["hugeGrowth", CardType.HUGE_GROWTH], // 52
|
|
92
|
+
["growth", CardType.HUGE_GROWTH], // 52
|
|
93
|
+
["ancientRecall", CardType.ANCIENT_RECALL], // 53
|
|
94
|
+
["recall", CardType.ANCIENT_RECALL], // 53
|
|
95
|
+
["eraWalk", CardType.ERA_WALK], // 54
|
|
96
|
+
["walk", CardType.ERA_WALK], // 54
|
|
97
|
+
["runeShard", CardType.RUNE_SHARD], // 55
|
|
98
|
+
["shard", CardType.RUNE_SHARD], // 55
|
|
99
|
+
["fool?", CardType.REVERSE_FOOL], // 56
|
|
100
|
+
["magician?", CardType.REVERSE_MAGICIAN], // 57
|
|
101
|
+
["magi?", CardType.REVERSE_MAGICIAN], // 57
|
|
102
|
+
["mag?", CardType.REVERSE_MAGICIAN], // 57
|
|
103
|
+
["highPriestess?", CardType.REVERSE_HIGH_PRIESTESS], // 58
|
|
104
|
+
["high?", CardType.REVERSE_HIGH_PRIESTESS], // 58
|
|
105
|
+
["hi?", CardType.REVERSE_HIGH_PRIESTESS], // 58
|
|
106
|
+
["priestess?", CardType.REVERSE_HIGH_PRIESTESS], // 58
|
|
107
|
+
["priest?", CardType.REVERSE_HIGH_PRIESTESS], // 58
|
|
108
|
+
["hp?", CardType.REVERSE_HIGH_PRIESTESS], // 58
|
|
109
|
+
["empress?", CardType.REVERSE_EMPRESS], // 59
|
|
110
|
+
["emperor?", CardType.REVERSE_EMPEROR], // 60
|
|
111
|
+
["emp?", CardType.REVERSE_EMPEROR], // 60
|
|
112
|
+
["hierophant?", CardType.REVERSE_HIEROPHANT], // 61
|
|
113
|
+
["hiero?", CardType.REVERSE_HIEROPHANT], // 61
|
|
114
|
+
["lovers?", CardType.REVERSE_LOVERS], // 62
|
|
115
|
+
["chariot?", CardType.REVERSE_CHARIOT], // 63
|
|
116
|
+
["justice?", CardType.REVERSE_JUSTICE], // 64
|
|
117
|
+
["hermit?", CardType.REVERSE_HERMIT], // 65
|
|
118
|
+
["wheelOfFortune?", CardType.REVERSE_WHEEL_OF_FORTUNE], // 66
|
|
119
|
+
["wheel?", CardType.REVERSE_WHEEL_OF_FORTUNE], // 66
|
|
120
|
+
["fortune?", CardType.REVERSE_WHEEL_OF_FORTUNE], // 66
|
|
121
|
+
["strength?", CardType.REVERSE_STRENGTH], // 67
|
|
122
|
+
["str?", CardType.REVERSE_STRENGTH], // 67
|
|
123
|
+
["hangedMan?", CardType.REVERSE_HANGED_MAN], // 68
|
|
124
|
+
["hanged?", CardType.REVERSE_HANGED_MAN], // 68
|
|
125
|
+
["death?", CardType.REVERSE_DEATH], // 6
|
|
126
|
+
["temperance?", CardType.REVERSE_TEMPERANCE], // 70
|
|
127
|
+
["devil?", CardType.REVERSE_DEVIL], // 71
|
|
128
|
+
["tower?", CardType.REVERSE_TOWER], // 72
|
|
129
|
+
["stars?", CardType.REVERSE_STARS], // 73
|
|
130
|
+
["moon?", CardType.REVERSE_MOON], // 74
|
|
131
|
+
["sun?", CardType.REVERSE_SUN], // 75
|
|
132
|
+
["judgement?", CardType.REVERSE_JUDGEMENT], // 76
|
|
133
|
+
["judge?", CardType.REVERSE_JUDGEMENT], // 76
|
|
134
|
+
["world?", CardType.REVERSE_WORLD], // 77
|
|
135
|
+
["crackedKey", CardType.CRACKED_KEY], // 78
|
|
136
|
+
["key", CardType.CRACKED_KEY], // 78
|
|
137
|
+
["queenOfHearts", CardType.QUEEN_OF_HEARTS], // 79
|
|
138
|
+
["queenHearts", CardType.QUEEN_OF_HEARTS], // 79
|
|
139
|
+
["wildcard", CardType.WILD], // 80
|
|
140
|
+
["soulOfIsaac", CardType.SOUL_ISAAC], // 81
|
|
141
|
+
["soulIsaac", CardType.SOUL_ISAAC], // 81
|
|
142
|
+
["isaac", CardType.SOUL_ISAAC], // 81
|
|
143
|
+
["soulOfMagdalene", CardType.SOUL_MAGDALENE], // 82
|
|
144
|
+
["soulMagdalene", CardType.SOUL_MAGDALENE], // 82
|
|
145
|
+
["magdalene", CardType.SOUL_MAGDALENE], // 82
|
|
146
|
+
["soulOfCain", CardType.SOUL_CAIN], // 83
|
|
147
|
+
["soulCain", CardType.SOUL_CAIN], // 83
|
|
148
|
+
["cain", CardType.SOUL_CAIN], // 83
|
|
149
|
+
["soulOfJudas", CardType.SOUL_JUDAS], // 84
|
|
150
|
+
["soulJudas", CardType.SOUL_JUDAS], // 84
|
|
151
|
+
["judas", CardType.SOUL_JUDAS], // 84
|
|
152
|
+
["soulOf???", CardType.SOUL_BLUE_BABY], // 85
|
|
153
|
+
["soul???", CardType.SOUL_BLUE_BABY], // 85
|
|
154
|
+
["???", CardType.SOUL_BLUE_BABY], // 85
|
|
155
|
+
["soulOfBlueBaby", CardType.SOUL_BLUE_BABY], // 85
|
|
156
|
+
["soulBlueBaby", CardType.SOUL_BLUE_BABY], // 85
|
|
157
|
+
["blueBaby", CardType.SOUL_BLUE_BABY], // 85
|
|
158
|
+
["soulOfEve", CardType.SOUL_EVE], // 86
|
|
159
|
+
["soulEve", CardType.SOUL_EVE], // 86
|
|
160
|
+
["eve", CardType.SOUL_EVE], // 86
|
|
161
|
+
["soulOfSamson", CardType.SOUL_SAMSON], // 87
|
|
162
|
+
["soulSamson", CardType.SOUL_SAMSON], // 87
|
|
163
|
+
["samson", CardType.SOUL_SAMSON], // 87
|
|
164
|
+
["soulOfAzazel", CardType.SOUL_AZAZEL], // 88
|
|
165
|
+
["soulAzazel", CardType.SOUL_AZAZEL], // 88
|
|
166
|
+
["azazel", CardType.SOUL_AZAZEL], // 88
|
|
167
|
+
["soulOfLazarus", CardType.SOUL_LAZARUS], // 89
|
|
168
|
+
["soulLazarus", CardType.SOUL_LAZARUS], // 89
|
|
169
|
+
["lazarus", CardType.SOUL_LAZARUS], // 89
|
|
170
|
+
["soulOfEden", CardType.SOUL_EDEN], // 90
|
|
171
|
+
["soulEden", CardType.SOUL_EDEN], // 90
|
|
172
|
+
["eden", CardType.SOUL_EDEN], // 90
|
|
173
|
+
["soulOfTheLost", CardType.SOUL_LOST], // 91
|
|
174
|
+
["soulTheLost", CardType.SOUL_LOST], // 91
|
|
175
|
+
["theLost", CardType.SOUL_LOST], // 91
|
|
176
|
+
["soulOfLost", CardType.SOUL_LOST], // 91
|
|
177
|
+
["soulLost", CardType.SOUL_LOST], // 91
|
|
178
|
+
["lost", CardType.SOUL_LOST], // 91
|
|
179
|
+
["soulOfLilith", CardType.SOUL_LILITH], // 92
|
|
180
|
+
["soulLilith", CardType.SOUL_LILITH], // 92
|
|
181
|
+
["lilith", CardType.SOUL_LILITH], // 92
|
|
182
|
+
["soulOfTheKeeper", CardType.SOUL_KEEPER], // 93
|
|
183
|
+
["soulTheKeeper", CardType.SOUL_KEEPER], // 93
|
|
184
|
+
["theKeeper", CardType.SOUL_KEEPER], // 93
|
|
185
|
+
["soulOfKeeper", CardType.SOUL_KEEPER], // 93
|
|
186
|
+
["soulKeeper", CardType.SOUL_KEEPER], // 93
|
|
187
|
+
["keeper", CardType.SOUL_KEEPER], // 93
|
|
188
|
+
["soulOfApollyon", CardType.SOUL_APOLLYON], // 94
|
|
189
|
+
["soulApollyon", CardType.SOUL_APOLLYON], // 94
|
|
190
|
+
["apollyon", CardType.SOUL_APOLLYON], // 94
|
|
191
|
+
["soulOfTheForgotten", CardType.SOUL_FORGOTTEN], // 95
|
|
192
|
+
["soulTheForgotten", CardType.SOUL_FORGOTTEN], // 95
|
|
193
|
+
["theForgotten", CardType.SOUL_FORGOTTEN], // 95
|
|
194
|
+
["soulOfForgotten", CardType.SOUL_FORGOTTEN], // 95
|
|
195
|
+
["soulForgotten", CardType.SOUL_FORGOTTEN], // 95
|
|
196
|
+
["forgotten", CardType.SOUL_FORGOTTEN], // 95
|
|
197
|
+
["soulOfBethany", CardType.SOUL_BETHANY], // 96
|
|
198
|
+
["soulBethany", CardType.SOUL_BETHANY], // 96
|
|
199
|
+
["bethany", CardType.SOUL_BETHANY], // 96
|
|
200
|
+
["soulOfJacobAndEsau", CardType.SOUL_JACOB], // 97
|
|
201
|
+
["soulJacobAndEsau", CardType.SOUL_JACOB], // 97
|
|
202
|
+
["jacobAndEsau", CardType.SOUL_JACOB], // 97
|
|
203
|
+
["soulOfJacob&Esau", CardType.SOUL_JACOB], // 97
|
|
204
|
+
["soulJacob&Esau", CardType.SOUL_JACOB], // 97
|
|
205
|
+
["jacob&Esau", CardType.SOUL_JACOB], // 97
|
|
206
|
+
["soulOfJacob", CardType.SOUL_JACOB], // 97
|
|
207
|
+
["soulJacob", CardType.SOUL_JACOB], // 97
|
|
208
|
+
["jacob", CardType.SOUL_JACOB], // 97
|
|
209
209
|
]);
|