isaacscript-common 56.0.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 +8 -2
- package/dist/isaacscript-common.lua +332 -210
- 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/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/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/dist/index.rollup.d.ts
CHANGED
|
@@ -4954,6 +4954,12 @@ export declare function getBossID(): BossID | 0;
|
|
|
4954
4954
|
|
|
4955
4955
|
export declare function getBossIDFromEntityTypeVariant(entityType: EntityType, variant: int): BossID | undefined;
|
|
4956
4956
|
|
|
4957
|
+
/**
|
|
4958
|
+
* Helper function to get the proper English name for a boss. For example, the name for
|
|
4959
|
+
* `BossID.WRETCHED` (36) is "The Wretched".
|
|
4960
|
+
*/
|
|
4961
|
+
export declare function getBossName(bossID: BossID): string;
|
|
4962
|
+
|
|
4957
4963
|
/**
|
|
4958
4964
|
* Helper function to get the path to the name file that corresponds to the graphic shown on the
|
|
4959
4965
|
* versus screen for the particular boss.
|
|
@@ -15172,8 +15178,8 @@ export declare function PriorityCallbackCustom<T extends ModCallbackCustom>(modC
|
|
|
15172
15178
|
export declare type PublicInterface<T> = Pick<T, keyof T>;
|
|
15173
15179
|
|
|
15174
15180
|
/**
|
|
15175
|
-
* An array representing every valid collectible type quality. Specifically, this is `[0, 1, 2, 3,
|
|
15176
|
-
* 4]
|
|
15181
|
+
* An array representing every valid collectible type quality. Specifically, this is: `[0, 1, 2, 3,
|
|
15182
|
+
* 4]`
|
|
15177
15183
|
*/
|
|
15178
15184
|
export declare const QUALITIES: readonly Quality[];
|
|
15179
15185
|
|