isaacscript-common 55.2.0 → 56.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/index.rollup.d.ts +26 -17
- package/dist/isaacscript-common.lua +336 -214
- package/dist/src/core/constants.d.ts +2 -2
- package/dist/src/core/constants.lua +2 -2
- package/dist/src/functions/bosses.d.ts +5 -0
- package/dist/src/functions/bosses.d.ts.map +1 -1
- package/dist/src/functions/bosses.lua +15 -7
- package/dist/src/functions/cards.d.ts +18 -15
- package/dist/src/functions/cards.d.ts.map +1 -1
- package/dist/src/functions/cards.lua +18 -15
- package/dist/src/objects/bossIDToEntityTypeVariant.d.ts +1 -0
- package/dist/src/objects/bossIDToEntityTypeVariant.d.ts.map +1 -1
- package/dist/src/objects/bossIDToEntityTypeVariant.lua +1 -0
- package/dist/src/objects/bossNamePNGFileNames.d.ts +106 -102
- package/dist/src/objects/bossNamePNGFileNames.d.ts.map +1 -1
- package/dist/src/objects/bossNamePNGFileNames.lua +104 -102
- package/dist/src/objects/bossNames.d.ts +111 -0
- package/dist/src/objects/bossNames.d.ts.map +1 -0
- package/dist/src/objects/bossNames.lua +112 -0
- package/dist/src/objects/bossPortraitPNGFileNames.d.ts +106 -102
- package/dist/src/objects/bossPortraitPNGFileNames.d.ts.map +1 -1
- package/dist/src/objects/bossPortraitPNGFileNames.lua +104 -102
- package/package.json +2 -2
- package/src/core/constants.ts +2 -2
- package/src/functions/bosses.ts +11 -0
- package/src/functions/cards.ts +18 -15
- package/src/functions/collectibles.ts +1 -1
- package/src/objects/bossIDToEntityTypeVariant.ts +5 -1
- package/src/objects/bossNamePNGFileNames.ts +112 -106
- package/src/objects/bossNames.ts +118 -0
- package/src/objects/bossPortraitPNGFileNames.ts +115 -109
- package/src/sets/itemConfigCardTypesForCardsSet.ts +4 -4
|
@@ -152,8 +152,8 @@ export declare const DIMENSIONS: readonly Dimension[];
|
|
|
152
152
|
export declare const NUM_PILL_COLORS_IN_POOL: number;
|
|
153
153
|
export declare const ONE_BY_ONE_ROOM_GRID_SIZE = 135;
|
|
154
154
|
/**
|
|
155
|
-
* An array representing every valid collectible type quality. Specifically, this is `[0, 1, 2, 3,
|
|
156
|
-
* 4]
|
|
155
|
+
* An array representing every valid collectible type quality. Specifically, this is: `[0, 1, 2, 3,
|
|
156
|
+
* 4]`
|
|
157
157
|
*/
|
|
158
158
|
export declare const QUALITIES: readonly Quality[];
|
|
159
159
|
export declare const SECOND_IN_MILLISECONDS = 1000;
|
|
@@ -201,8 +201,8 @@ ____exports.DIMENSIONS = eRange(nil, ____exports.NUM_DIMENSIONS)
|
|
|
201
201
|
-- horse pills.)
|
|
202
202
|
____exports.NUM_PILL_COLORS_IN_POOL = NUM_NORMAL_PILL_COLORS
|
|
203
203
|
____exports.ONE_BY_ONE_ROOM_GRID_SIZE = 135
|
|
204
|
-
--- An array representing every valid collectible type quality. Specifically, this is `[0, 1, 2, 3,
|
|
205
|
-
-- 4]
|
|
204
|
+
--- An array representing every valid collectible type quality. Specifically, this is: `[0, 1, 2, 3,
|
|
205
|
+
-- 4]`
|
|
206
206
|
____exports.QUALITIES = {
|
|
207
207
|
0,
|
|
208
208
|
1,
|
|
@@ -44,6 +44,11 @@ export declare function getAllBossesSet(includeStoryBosses?: boolean): ReadonlyS
|
|
|
44
44
|
*/
|
|
45
45
|
export declare function getBossID(): BossID | 0;
|
|
46
46
|
export declare function getBossIDFromEntityTypeVariant(entityType: EntityType, variant: int): BossID | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Helper function to get the proper English name for a boss. For example, the name for
|
|
49
|
+
* `BossID.WRETCHED` (36) is "The Wretched".
|
|
50
|
+
*/
|
|
51
|
+
export declare function getBossName(bossID: BossID): string;
|
|
47
52
|
/**
|
|
48
53
|
* Helper function to get the set of vanilla bosses for a particular stage and stage type
|
|
49
54
|
* combination.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bosses.d.ts","sourceRoot":"","sources":["../../../src/functions/bosses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,UAAU,EAAe,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"bosses.d.ts","sourceRoot":"","sources":["../../../src/functions/bosses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,UAAU,EAAe,MAAM,8BAA8B,CAAC;AAgC/E;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAC5B,UAAU,GAAE,UAAU,GAAG,CAAC,CAAM,EAChC,OAAO,SAAK,EACZ,OAAO,SAAK,EACZ,cAAc,UAAQ,GACrB,SAAS,EAAE,CAGb;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,eAAe,CAC7B,kBAAkB,UAAO,GACxB,WAAW,CAAC,MAAM,CAAC,CAIrB;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,IAAI,MAAM,GAAG,CAAC,CAWtC;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,GAAG,GACX,MAAM,GAAG,SAAS,CAGpB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAIlD;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,UAAU,EACjB,SAAS,EAAE,SAAS,GACnB,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAOjC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,SAAS,CACvB,UAAU,CAAC,EAAE,UAAU,EACvB,OAAO,CAAC,EAAE,GAAG,EACb,OAAO,CAAC,EAAE,GAAG,EACb,cAAc,UAAQ,GACrB,SAAS,EAAE,CAGb;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,UAAU,GAChB,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAEjC;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,MAAM,GACb,SAAS,CAAC,UAAU,EAAE,GAAG,CAAC,CAE5B;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAExD;AAmCD,6FAA6F;AAC7F,wBAAgB,KAAK,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAE7C;AAED;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CACvB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,GAAG,EACZ,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,EACvC,SAAS,GAAE,IAAI,GAAG,GAAG,GAAG,SAAqB,EAC7C,WAAW,CAAC,EAAE,GAAG,GAChB,SAAS,CAiCX;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,GAAG,EACZ,mBAAmB,EAAE,MAAM,GAAG,GAAG,EACjC,SAAS,EAAE,IAAI,GAAG,GAAG,EACrB,QAAQ,GAAE,MAAmB,EAC7B,OAAO,GAAE,MAAM,GAAG,SAAqB,EACvC,WAAW,CAAC,EAAE,GAAG,GAChB,SAAS,CAYX"}
|
|
@@ -14,6 +14,9 @@ local ____entityTypeVariantToBossIDMap = require("src.maps.entityTypeVariantToBo
|
|
|
14
14
|
local ENTITY_TYPE_VARIANT_TO_BOSS_ID_MAP = ____entityTypeVariantToBossIDMap.ENTITY_TYPE_VARIANT_TO_BOSS_ID_MAP
|
|
15
15
|
local ____bossIDToEntityTypeVariant = require("src.objects.bossIDToEntityTypeVariant")
|
|
16
16
|
local BOSS_ID_TO_ENTITY_TYPE_VARIANT = ____bossIDToEntityTypeVariant.BOSS_ID_TO_ENTITY_TYPE_VARIANT
|
|
17
|
+
local ____bossNames = require("src.objects.bossNames")
|
|
18
|
+
local BOSS_NAMES = ____bossNames.BOSS_NAMES
|
|
19
|
+
local DEFAULT_BOSS_NAME = ____bossNames.DEFAULT_BOSS_NAME
|
|
17
20
|
local ____bossSets = require("src.sets.bossSets")
|
|
18
21
|
local ALL_BOSSES_EXCLUDING_STORY_BOSSES_SET = ____bossSets.ALL_BOSSES_EXCLUDING_STORY_BOSSES_SET
|
|
19
22
|
local ALL_BOSSES_SET = ____bossSets.ALL_BOSSES_SET
|
|
@@ -126,6 +129,11 @@ function ____exports.getBossIDFromEntityTypeVariant(self, entityType, variant)
|
|
|
126
129
|
local entityTypeVariant = (tostring(entityType) .. ".") .. tostring(variant)
|
|
127
130
|
return ENTITY_TYPE_VARIANT_TO_BOSS_ID_MAP:get(entityTypeVariant)
|
|
128
131
|
end
|
|
132
|
+
--- Helper function to get the proper English name for a boss. For example, the name for
|
|
133
|
+
-- `BossID.WRETCHED` (36) is "The Wretched".
|
|
134
|
+
function ____exports.getBossName(self, bossID)
|
|
135
|
+
return BOSS_NAMES[bossID] or DEFAULT_BOSS_NAME
|
|
136
|
+
end
|
|
129
137
|
--- Helper function to get the set of vanilla bosses for a particular stage and stage type
|
|
130
138
|
-- combination.
|
|
131
139
|
--
|
|
@@ -186,21 +194,21 @@ local function getNumBossSegments(self, entityType, variant, numSegments)
|
|
|
186
194
|
return numSegments
|
|
187
195
|
end
|
|
188
196
|
repeat
|
|
189
|
-
local
|
|
190
|
-
local
|
|
191
|
-
if
|
|
197
|
+
local ____switch19 = entityType
|
|
198
|
+
local ____cond19 = ____switch19 == EntityType.CHUB
|
|
199
|
+
if ____cond19 then
|
|
192
200
|
do
|
|
193
201
|
return 3
|
|
194
202
|
end
|
|
195
203
|
end
|
|
196
|
-
|
|
197
|
-
if
|
|
204
|
+
____cond19 = ____cond19 or ____switch19 == EntityType.LOKI
|
|
205
|
+
if ____cond19 then
|
|
198
206
|
do
|
|
199
207
|
return variant == asNumber(nil, LokiVariant.LOKII) and 2 or 1
|
|
200
208
|
end
|
|
201
209
|
end
|
|
202
|
-
|
|
203
|
-
if
|
|
210
|
+
____cond19 = ____cond19 or ____switch19 == EntityType.GURGLING
|
|
211
|
+
if ____cond19 then
|
|
204
212
|
do
|
|
205
213
|
return 2
|
|
206
214
|
end
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { CardType } from "isaac-typescript-definitions";
|
|
2
2
|
import { ItemConfigCardType } from "isaac-typescript-definitions";
|
|
3
3
|
/**
|
|
4
|
-
* Helper function to get a card description from a
|
|
4
|
+
* Helper function to get a card description from a `CardType` value. Returns "Unknown" if the
|
|
5
|
+
* provided card type is not valid.
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
+
* This function works for both vanilla and modded trinkets.
|
|
8
|
+
*
|
|
9
|
+
* For example, `getCardDescription(CardType.FOOL)` would return "Where journey begins".
|
|
7
10
|
*/
|
|
8
11
|
export declare function getCardDescription(cardType: CardType): string;
|
|
9
12
|
/**
|
|
@@ -23,30 +26,30 @@ export declare function getCardName(cardType: CardType): string;
|
|
|
23
26
|
*/
|
|
24
27
|
export declare function getItemConfigCardType(cardType: CardType): ItemConfigCardType | undefined;
|
|
25
28
|
/**
|
|
26
|
-
* Returns true for
|
|
27
|
-
*
|
|
28
|
-
* -
|
|
29
|
-
* -
|
|
30
|
-
* -
|
|
29
|
+
* Returns true for card types that have the following item config card type:
|
|
30
|
+
*
|
|
31
|
+
* - `ItemConfigCardType.TAROT` (0)
|
|
32
|
+
* - `ItemConfigCardType.SUIT` (1)
|
|
33
|
+
* - `ItemConfigCardType.SPECIAL` (3)
|
|
34
|
+
* - `ItemConfigCardType.TAROT_REVERSE` (5)
|
|
31
35
|
*/
|
|
32
36
|
export declare function isCard(cardType: CardType): boolean;
|
|
33
37
|
/** Returns whether the given card type matches the specified item config card type. */
|
|
34
38
|
export declare function isCardType(cardType: CardType, itemConfigCardType: ItemConfigCardType): boolean;
|
|
35
|
-
/** Returns true for any card
|
|
39
|
+
/** Returns true for any card type added by a mod. */
|
|
36
40
|
export declare function isModdedCardType(cardType: CardType): boolean;
|
|
37
|
-
/** Returns true for
|
|
41
|
+
/** Returns true for card types that have `ItemConfigCardType.SPECIAL_OBJECT`. */
|
|
38
42
|
export declare function isPocketItemObject(cardType: CardType): boolean;
|
|
39
|
-
/** Returns true for
|
|
43
|
+
/** Returns true for card types that have `ItemConfigCardType.TAROT_REVERSE`. */
|
|
40
44
|
export declare function isReverseTarotCard(cardType: CardType): boolean;
|
|
41
|
-
/** Returns true for
|
|
45
|
+
/** Returns true for card types that have `ItemConfigCardType.RUNE`. */
|
|
42
46
|
export declare function isRune(cardType: CardType): boolean;
|
|
43
|
-
/** Returns true for
|
|
47
|
+
/** Returns true for card types that have `ItemConfigCardType.SPECIAL`. */
|
|
44
48
|
export declare function isSpecialCard(cardType: CardType): boolean;
|
|
45
|
-
/** Returns true for
|
|
49
|
+
/** Returns true for card types that have `ItemConfigCardType.SUIT`. */
|
|
46
50
|
export declare function isSuitCard(cardType: CardType): boolean;
|
|
47
|
-
/** Returns true for
|
|
51
|
+
/** Returns true for card types that have `ItemConfigCardType.TAROT`. */
|
|
48
52
|
export declare function isTarotCard(cardType: CardType): boolean;
|
|
49
|
-
/** Returns true for any vanilla card or rune. */
|
|
50
53
|
export declare function isVanillaCardType(cardType: CardType): boolean;
|
|
51
54
|
/**
|
|
52
55
|
* Helper function to use a card without showing an animation and without the announcer voice
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cards.d.ts","sourceRoot":"","sources":["../../../src/functions/cards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAW,MAAM,8BAA8B,CAAC;AAW3E
|
|
1
|
+
{"version":3,"file":"cards.d.ts","sourceRoot":"","sources":["../../../src/functions/cards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAW,MAAM,8BAA8B,CAAC;AAW3E;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAgB7D;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAgBtD;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,QAAQ,GACjB,kBAAkB,GAAG,SAAS,CAOhC;AAED;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAOlD;AAED,uFAAuF;AACvF,wBAAgB,UAAU,CACxB,QAAQ,EAAE,QAAQ,EAClB,kBAAkB,EAAE,kBAAkB,GACrC,OAAO,CAET;AAED,qDAAqD;AACrD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAE5D;AAED,iFAAiF;AACjF,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAE9D;AAED,gFAAgF;AAChF,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAE9D;AAED,uEAAuE;AACvE,wBAAgB,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAElD;AAED,0EAA0E;AAC1E,wBAAgB,aAAa,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAEzD;AAED,uEAAuE;AACvE,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAEtD;AAED,wEAAwE;AACxE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAEvD;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAE7D;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAG1E"}
|
|
@@ -16,13 +16,15 @@ local ____itemConfigCardTypesForCardsSet = require("src.sets.itemConfigCardTypes
|
|
|
16
16
|
local ITEM_CONFIG_CARD_TYPES_FOR_CARDS_SET = ____itemConfigCardTypesForCardsSet.ITEM_CONFIG_CARD_TYPES_FOR_CARDS_SET
|
|
17
17
|
local ____flag = require("src.functions.flag")
|
|
18
18
|
local addFlag = ____flag.addFlag
|
|
19
|
-
--- Returns true for any vanilla card or rune.
|
|
20
19
|
function ____exports.isVanillaCardType(self, cardType)
|
|
21
20
|
return cardType <= LAST_VANILLA_CARD_TYPE
|
|
22
21
|
end
|
|
23
|
-
--- Helper function to get a card description from a
|
|
22
|
+
--- Helper function to get a card description from a `CardType` value. Returns "Unknown" if the
|
|
23
|
+
-- provided card type is not valid.
|
|
24
24
|
--
|
|
25
|
-
--
|
|
25
|
+
-- This function works for both vanilla and modded trinkets.
|
|
26
|
+
--
|
|
27
|
+
-- For example, `getCardDescription(CardType.FOOL)` would return "Where journey begins".
|
|
26
28
|
function ____exports.getCardDescription(self, cardType)
|
|
27
29
|
local cardDescription = CARD_DESCRIPTIONS[cardType]
|
|
28
30
|
if cardDescription ~= nil then
|
|
@@ -62,11 +64,12 @@ function ____exports.getItemConfigCardType(self, cardType)
|
|
|
62
64
|
end
|
|
63
65
|
return itemConfigCard.CardType
|
|
64
66
|
end
|
|
65
|
-
--- Returns true for
|
|
66
|
-
--
|
|
67
|
-
-- -
|
|
68
|
-
-- -
|
|
69
|
-
-- -
|
|
67
|
+
--- Returns true for card types that have the following item config card type:
|
|
68
|
+
--
|
|
69
|
+
-- - `ItemConfigCardType.TAROT` (0)
|
|
70
|
+
-- - `ItemConfigCardType.SUIT` (1)
|
|
71
|
+
-- - `ItemConfigCardType.SPECIAL` (3)
|
|
72
|
+
-- - `ItemConfigCardType.TAROT_REVERSE` (5)
|
|
70
73
|
function ____exports.isCard(self, cardType)
|
|
71
74
|
local itemConfigCardType = ____exports.getItemConfigCardType(nil, cardType)
|
|
72
75
|
if itemConfigCardType == nil then
|
|
@@ -78,31 +81,31 @@ end
|
|
|
78
81
|
function ____exports.isCardType(self, cardType, itemConfigCardType)
|
|
79
82
|
return itemConfigCardType == ____exports.getItemConfigCardType(nil, cardType)
|
|
80
83
|
end
|
|
81
|
-
--- Returns true for any card
|
|
84
|
+
--- Returns true for any card type added by a mod.
|
|
82
85
|
function ____exports.isModdedCardType(self, cardType)
|
|
83
86
|
return not ____exports.isVanillaCardType(nil, cardType)
|
|
84
87
|
end
|
|
85
|
-
--- Returns true for
|
|
88
|
+
--- Returns true for card types that have `ItemConfigCardType.SPECIAL_OBJECT`.
|
|
86
89
|
function ____exports.isPocketItemObject(self, cardType)
|
|
87
90
|
return ____exports.isCardType(nil, cardType, ItemConfigCardType.SPECIAL_OBJECT)
|
|
88
91
|
end
|
|
89
|
-
--- Returns true for
|
|
92
|
+
--- Returns true for card types that have `ItemConfigCardType.TAROT_REVERSE`.
|
|
90
93
|
function ____exports.isReverseTarotCard(self, cardType)
|
|
91
94
|
return ____exports.isCardType(nil, cardType, ItemConfigCardType.TAROT_REVERSE)
|
|
92
95
|
end
|
|
93
|
-
--- Returns true for
|
|
96
|
+
--- Returns true for card types that have `ItemConfigCardType.RUNE`.
|
|
94
97
|
function ____exports.isRune(self, cardType)
|
|
95
98
|
return ____exports.isCardType(nil, cardType, ItemConfigCardType.RUNE)
|
|
96
99
|
end
|
|
97
|
-
--- Returns true for
|
|
100
|
+
--- Returns true for card types that have `ItemConfigCardType.SPECIAL`.
|
|
98
101
|
function ____exports.isSpecialCard(self, cardType)
|
|
99
102
|
return ____exports.isCardType(nil, cardType, ItemConfigCardType.SPECIAL)
|
|
100
103
|
end
|
|
101
|
-
--- Returns true for
|
|
104
|
+
--- Returns true for card types that have `ItemConfigCardType.SUIT`.
|
|
102
105
|
function ____exports.isSuitCard(self, cardType)
|
|
103
106
|
return ____exports.isCardType(nil, cardType, ItemConfigCardType.SUIT)
|
|
104
107
|
end
|
|
105
|
-
--- Returns true for
|
|
108
|
+
--- Returns true for card types that have `ItemConfigCardType.TAROT`.
|
|
106
109
|
function ____exports.isTarotCard(self, cardType)
|
|
107
110
|
return ____exports.isCardType(nil, cardType, ItemConfigCardType.TAROT)
|
|
108
111
|
end
|
|
@@ -70,6 +70,7 @@ export declare const BOSS_ID_TO_ENTITY_TYPE_VARIANT: {
|
|
|
70
70
|
readonly 68: readonly [EntityType.SISTERS_VIS, 0];
|
|
71
71
|
readonly 69: readonly [EntityType.BIG_HORN, BigHornVariant.BIG_HORN];
|
|
72
72
|
readonly 70: readonly [EntityType.DELIRIUM, 0];
|
|
73
|
+
readonly 71: readonly [EntityType.ULTRA_GREED, UltraGreedVariant.ULTRA_GREEDIER];
|
|
73
74
|
readonly 72: readonly [EntityType.MATRIARCH, 0];
|
|
74
75
|
readonly 73: readonly [EntityType.POLYCEPHALUS, PolycephalusVariant.PILE];
|
|
75
76
|
readonly 74: readonly [EntityType.REAP_CREEP, 0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bossIDToEntityTypeVariant.d.ts","sourceRoot":"","sources":["../../../src/objects/bossIDToEntityTypeVariant.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,cAAc,EAEd,WAAW,EACX,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,UAAU,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,WAAW,EACX,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,YAAY,EACb,MAAM,8BAA8B,CAAC;AAEtC,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"bossIDToEntityTypeVariant.d.ts","sourceRoot":"","sources":["../../../src/objects/bossIDToEntityTypeVariant.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,cAAc,EAEd,WAAW,EACX,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,UAAU,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,WAAW,EACX,UAAU,EACV,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,YAAY,EACb,MAAM,8BAA8B,CAAC;AAEtC,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoUoB,CAAC"}
|
|
@@ -106,6 +106,7 @@ ____exports.BOSS_ID_TO_ENTITY_TYPE_VARIANT = {
|
|
|
106
106
|
[BossID.SISTERS_VIS] = {EntityType.SISTERS_VIS, 0},
|
|
107
107
|
[BossID.BIG_HORN] = {EntityType.BIG_HORN, BigHornVariant.BIG_HORN},
|
|
108
108
|
[BossID.DELIRIUM] = {EntityType.DELIRIUM, 0},
|
|
109
|
+
[BossID.ULTRA_GREEDIER] = {EntityType.ULTRA_GREED, UltraGreedVariant.ULTRA_GREEDIER},
|
|
109
110
|
[BossID.MATRIARCH] = {EntityType.MATRIARCH, 0},
|
|
110
111
|
[BossID.PILE] = {EntityType.POLYCEPHALUS, PolycephalusVariant.PILE},
|
|
111
112
|
[BossID.REAP_CREEP] = {EntityType.REAP_CREEP, 0},
|
|
@@ -1,105 +1,109 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* From the "nameimage" attribute in the "bossportraits.xml" file. Used when rendering the
|
|
3
|
+
* "versusscreen.anm2" sprite.
|
|
4
|
+
*/
|
|
2
5
|
export declare const BOSS_NAME_PNG_FILE_NAMES: {
|
|
3
|
-
readonly 1: "
|
|
4
|
-
readonly 2: "
|
|
5
|
-
readonly 3: "
|
|
6
|
-
readonly 4: "
|
|
7
|
-
readonly 5: "
|
|
8
|
-
readonly 6: "
|
|
9
|
-
readonly 7: "
|
|
10
|
-
readonly 8: "
|
|
11
|
-
readonly 9: "
|
|
12
|
-
readonly 10: "
|
|
13
|
-
readonly 11: "
|
|
14
|
-
readonly 12: "
|
|
15
|
-
readonly 13: "
|
|
16
|
-
readonly 14: "
|
|
17
|
-
readonly 15: "
|
|
18
|
-
readonly 16: "
|
|
19
|
-
readonly 17: "
|
|
20
|
-
readonly 18: "
|
|
21
|
-
readonly 19: "
|
|
22
|
-
readonly 20: "
|
|
23
|
-
readonly 21: "
|
|
24
|
-
readonly 22: "
|
|
25
|
-
readonly 23: "
|
|
26
|
-
readonly 24: "
|
|
27
|
-
readonly 25: "
|
|
28
|
-
readonly 26: "
|
|
29
|
-
readonly 27: "
|
|
30
|
-
readonly 28: "
|
|
31
|
-
readonly 29: "
|
|
32
|
-
readonly 30: "
|
|
33
|
-
readonly 31: "
|
|
34
|
-
readonly 32: "
|
|
35
|
-
readonly 33: "
|
|
36
|
-
readonly 34: "
|
|
37
|
-
readonly 35: "
|
|
38
|
-
readonly 36: "
|
|
39
|
-
readonly 37: "
|
|
40
|
-
readonly 38: "
|
|
41
|
-
readonly 39: "
|
|
42
|
-
readonly 40: "
|
|
43
|
-
readonly 41: "
|
|
44
|
-
readonly 42: "
|
|
45
|
-
readonly 43: "
|
|
46
|
-
readonly 44: "
|
|
47
|
-
readonly 45: "
|
|
48
|
-
readonly 46: "
|
|
49
|
-
readonly 47: "
|
|
50
|
-
readonly 48: "
|
|
51
|
-
readonly 49: "
|
|
52
|
-
readonly 50: "
|
|
53
|
-
readonly 51: "
|
|
54
|
-
readonly 52: "
|
|
55
|
-
readonly 53: "
|
|
56
|
-
readonly 54: "
|
|
57
|
-
readonly 55: "
|
|
58
|
-
readonly 56: "
|
|
59
|
-
readonly 57: "
|
|
60
|
-
readonly 58: "
|
|
61
|
-
readonly 59: "
|
|
62
|
-
readonly 60: "
|
|
63
|
-
readonly 61: "
|
|
64
|
-
readonly 62: "
|
|
65
|
-
readonly 63: "
|
|
66
|
-
readonly 64: "
|
|
67
|
-
readonly 65: "
|
|
68
|
-
readonly 66: "
|
|
69
|
-
readonly 67: "
|
|
70
|
-
readonly 68: "
|
|
71
|
-
readonly 69: "
|
|
72
|
-
readonly 70: "
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
91
|
-
readonly
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
readonly
|
|
103
|
-
readonly
|
|
6
|
+
readonly 1: "BossName_20.0_Monstro.png";
|
|
7
|
+
readonly 2: "BossName_19.0_LarryJr.png";
|
|
8
|
+
readonly 3: "BossName_28.0_Chub.png";
|
|
9
|
+
readonly 4: "BossName_36.0_Gurdy.png";
|
|
10
|
+
readonly 5: "BossName_43.0_Monstro2.png";
|
|
11
|
+
readonly 6: "BossName_45.0_Mom.png";
|
|
12
|
+
readonly 7: "BossName_62.1_Scolex.png";
|
|
13
|
+
readonly 8: "BossName_78.0_MomsHeart.png";
|
|
14
|
+
readonly 9: "BossName_63.0_Famine.png";
|
|
15
|
+
readonly 10: "BossName_64.0_Pestilence.png";
|
|
16
|
+
readonly 11: "BossName_65.0_War.png";
|
|
17
|
+
readonly 12: "BossName_66.0_Death.png";
|
|
18
|
+
readonly 13: "BossName_67.0_DukeOfFlies.png";
|
|
19
|
+
readonly 14: "BossName_68.0_Peep.png";
|
|
20
|
+
readonly 15: "BossName_69.0_Loki.png";
|
|
21
|
+
readonly 16: "BossName_74.0_Blastocyst.png";
|
|
22
|
+
readonly 17: "BossName_79.0_Gemini.png";
|
|
23
|
+
readonly 18: "BossName_71.0_Fistula.png";
|
|
24
|
+
readonly 19: "BossName_43.1_Gish.png";
|
|
25
|
+
readonly 20: "BossName_79.1_Steven.png";
|
|
26
|
+
readonly 21: "BossName_28.1_CHAD.png";
|
|
27
|
+
readonly 22: "BossName_82.0_HeadlessHorseman.png";
|
|
28
|
+
readonly 23: "BossName_81.0_TheFallen.png";
|
|
29
|
+
readonly 24: "BossName_84.0_Satan.png";
|
|
30
|
+
readonly 25: "BossName_78.1_ItLives.png";
|
|
31
|
+
readonly 26: "BossName_19.1_TheHollow.png";
|
|
32
|
+
readonly 27: "BossName_28.2_CarrionQueen.png";
|
|
33
|
+
readonly 28: "BossName_99.0_GurdyJr.png";
|
|
34
|
+
readonly 29: "BossName_67.1_TheHusk.png";
|
|
35
|
+
readonly 30: "BossName_68.1_Bloat.png";
|
|
36
|
+
readonly 31: "BossName_69.1_Lokii.png";
|
|
37
|
+
readonly 32: "BossName_79.2_BlightedOvum.png";
|
|
38
|
+
readonly 33: "BossName_71.1_Teratoma.png";
|
|
39
|
+
readonly 34: "BossName_100.0_Widow.png";
|
|
40
|
+
readonly 35: "BossName_97.0_MaskOfInfamy.png";
|
|
41
|
+
readonly 36: "BossName_100.1_TheWretched.png";
|
|
42
|
+
readonly 37: "BossName_62.0_Pin.png";
|
|
43
|
+
readonly 38: "BossName_65.1_Conquest.png";
|
|
44
|
+
readonly 39: "PlayerName_01_Isaac.png";
|
|
45
|
+
readonly 40: "BossName_102.1_BlueBaby.png";
|
|
46
|
+
readonly 41: "BossName_101.0_DaddyLongLegs.png";
|
|
47
|
+
readonly 42: "BossName_101.1_Triachnid.png";
|
|
48
|
+
readonly 43: "BossName_260.0_TheHaunt.png";
|
|
49
|
+
readonly 44: "BossName_261.0_Dingle.png";
|
|
50
|
+
readonly 45: "Portrait_262.0_MegaMaw.png";
|
|
51
|
+
readonly 46: "BossName_263.0_MegaMaw2.png";
|
|
52
|
+
readonly 47: "BossName_264.0_MegaFatty.png";
|
|
53
|
+
readonly 48: "BossName_265.0_Fatty2.png";
|
|
54
|
+
readonly 49: "BossName_266.0_MamaGurdy.png";
|
|
55
|
+
readonly 50: "BossName_267.0_DarkOne.png";
|
|
56
|
+
readonly 51: "BossName_268.0_DarkOne2.png";
|
|
57
|
+
readonly 52: "BossName_269.0_Polycephalus.png";
|
|
58
|
+
readonly 53: "BossName_270.0_MegaFred.png";
|
|
59
|
+
readonly 54: "BossName_273.0_TheLamb.png";
|
|
60
|
+
readonly 55: "BossName_274.0_MegaSatan.png";
|
|
61
|
+
readonly 56: "BossName_276.0_Gurglings.png";
|
|
62
|
+
readonly 57: "BossName_401.0_TheStain.png";
|
|
63
|
+
readonly 58: "BossName_402.0_Brownie.png";
|
|
64
|
+
readonly 59: "BossName_403.0_TheForsaken.png";
|
|
65
|
+
readonly 60: "BossName_404.0_LittleHorn.png";
|
|
66
|
+
readonly 61: "BossName_405.0_RagMan.png";
|
|
67
|
+
readonly 62: "BossName_406.0_UltraGreed.png";
|
|
68
|
+
readonly 63: "BossName_407.0_Hush.png";
|
|
69
|
+
readonly 64: "BossName_Dangle.png";
|
|
70
|
+
readonly 65: "BossName_Turdlings.png";
|
|
71
|
+
readonly 66: "BossName_TheFrail.png";
|
|
72
|
+
readonly 67: "BossName_RagMega.png";
|
|
73
|
+
readonly 68: "BossName_SisterssVis.png";
|
|
74
|
+
readonly 69: "BossName_BigHorn.png";
|
|
75
|
+
readonly 70: "BossName_Delirium.png";
|
|
76
|
+
readonly 71: "BossName_406.0_UltraGreed.png";
|
|
77
|
+
readonly 72: "BossName_Matriarch.png";
|
|
78
|
+
readonly 73: "BossName_Polycephalus2.png";
|
|
79
|
+
readonly 74: "BossName_ReapCreep.png";
|
|
80
|
+
readonly 75: "BossName_Beelzeblub.png";
|
|
81
|
+
readonly 76: "BossName_Wormwood.png";
|
|
82
|
+
readonly 77: "BossName_Rainmaker.png";
|
|
83
|
+
readonly 78: "BossName_Visage.png";
|
|
84
|
+
readonly 79: "BossName_Siren.png";
|
|
85
|
+
readonly 80: "BossName_TuffTwins.png";
|
|
86
|
+
readonly 81: "BossName_Heretic.png";
|
|
87
|
+
readonly 82: "BossName_Hornfel.png";
|
|
88
|
+
readonly 83: "BossName_Gideon.png";
|
|
89
|
+
readonly 84: "BossName_BabyPlum.png";
|
|
90
|
+
readonly 85: "BossName_Scourge.png";
|
|
91
|
+
readonly 86: "BossName_Chimera.png";
|
|
92
|
+
readonly 87: "BossName_Rotgut.png";
|
|
93
|
+
readonly 88: "BossName_Mother.png";
|
|
94
|
+
readonly 89: "BossName_45.0_Mom.png";
|
|
95
|
+
readonly 90: "BossName_78.0_MomsHeart.png";
|
|
96
|
+
readonly 91: "BossName_MinMin.png";
|
|
97
|
+
readonly 92: "BossName_Clog.png";
|
|
98
|
+
readonly 93: "BossName_Singe.png";
|
|
99
|
+
readonly 94: "BossName_Bumbino.png";
|
|
100
|
+
readonly 95: "BossName_Colostomia.png";
|
|
101
|
+
readonly 96: "BossName_Shell.png";
|
|
102
|
+
readonly 97: "BossName_Turdlet.png";
|
|
103
|
+
readonly 98: "BossName_Raglich.png";
|
|
104
|
+
readonly 99: "BossName_Dogma.png";
|
|
105
|
+
readonly 100: "BossName_TheBeast.png";
|
|
106
|
+
readonly 101: "BossName_HornyBoys.png";
|
|
107
|
+
readonly 102: "BossName_Clutch.png";
|
|
104
108
|
};
|
|
105
109
|
//# sourceMappingURL=bossNamePNGFileNames.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bossNamePNGFileNames.d.ts","sourceRoot":"","sources":["../../../src/objects/bossNamePNGFileNames.ts"],"names":[],"mappings":"AAIA
|
|
1
|
+
{"version":3,"file":"bossNamePNGFileNames.d.ts","sourceRoot":"","sources":["../../../src/objects/bossNamePNGFileNames.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GM,CAAC"}
|