isaacscript-common 82.0.1 → 83.0.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.
@@ -16,8 +16,8 @@ import { BossID, EntityType } from "isaac-typescript-definitions";
16
16
  */
17
17
  export declare function getAliveBosses(entityType?: EntityType | -1, variant?: number, subType?: number, ignoreFriendly?: boolean): readonly EntityNPC[];
18
18
  /**
19
- * Helper function to get the set of every boss in the game (which is derived from the `BossID`
20
- * enum).
19
+ * Helper function to get an array with every boss in the game. This is derived from the `BossID`
20
+ * enum.
21
21
  *
22
22
  * This includes:
23
23
  * - Ultra Greed
@@ -30,12 +30,15 @@ export declare function getAliveBosses(entityType?: EntityType | -1, variant?: n
30
30
  * - sub-bosses of The Beast fight (e.g. Ultra Famine, Ultra Pestilence, Ultra War, Ultra Death)
31
31
  * - bosses that do not have any Boss Rooms defined due to being unfinished (e.g. Raglich)
32
32
  *
33
- * Also see the `getBossSet` and `getCombinedBossSet` functions.
34
- *
35
- * @param includeStoryBosses Optional. Whether to include "story" bosses like Mom and It Lives.
36
- * Default is true.
33
+ * Also see the `getAllNonStoryBosses` function.
34
+ */
35
+ export declare function getAllBosses(): readonly BossID[];
36
+ /**
37
+ * Helper function to get an array with every boss in the game. This is derived from the `BossID`
38
+ * enum. This is the same thing as the `getAllBosses` helper function, but with story bosses
39
+ * filtered out.
37
40
  */
38
- export declare function getAllBossesSet(includeStoryBosses?: boolean): ReadonlySet<BossID>;
41
+ export declare function getAllNonStoryBosses(): readonly BossID[];
39
42
  /**
40
43
  * Helper function to get the boss ID corresponding to the current room. Returns undefined if the
41
44
  * current room is not a Boss Room.
@@ -46,17 +49,25 @@ export declare function getAllBossesSet(includeStoryBosses?: boolean): ReadonlyS
46
49
  export declare function getBossID(): BossID | undefined;
47
50
  export declare function getBossIDFromEntityTypeVariant(entityType: EntityType, variant: int): BossID | undefined;
48
51
  /**
49
- * Helper function to get the proper English name for a boss. For example, the name for
50
- * `BossID.WRETCHED` (36) is "The Wretched".
52
+ * Helper function to get the set of vanilla bosses for a particular stage across all of the stage
53
+ * types. For example, specifying `LevelStage.BASEMENT_2` will return a set with all of the bosses
54
+ * for Basement, Cellar, Burning Basement, Downpour, and Dross.
55
+ *
56
+ * Also see the `getAllBossesSet` and `getBossIDsForStageID` functions.
51
57
  */
52
- export declare function getBossName(bossID: BossID): string;
58
+ export declare function getBossIDsForStage(stage: LevelStage): ReadonlySet<BossID> | undefined;
53
59
  /**
54
- * Helper function to get the set of vanilla bosses for a particular stage and stage type
55
- * combination.
60
+ * Helper function to get the set of vanilla bosses that can randomly appear on a particular stage
61
+ * ID.
56
62
  *
57
- * Also see the `getAllBossesSet` and `getCombinedBossSet` functions.
63
+ * Also see the `getAllBossesSet` and `getBossIDsForStage` functions.
58
64
  */
59
- export declare function getBossSet(stageID: StageID): ReadonlySet<BossID> | undefined;
65
+ export declare function getBossIDsForStageID(stageID: StageID): readonly BossID[] | undefined;
66
+ /**
67
+ * Helper function to get the proper English name for a boss. For example, the name for
68
+ * `BossID.WRETCHED` (36) is "The Wretched".
69
+ */
70
+ export declare function getBossName(bossID: BossID): string;
60
71
  /** Helper function to get the set of stage IDs that a particular boss naturally appears in. */
61
72
  export declare function getBossStageIDs(bossID: BossID): ReadonlySet<StageID>;
62
73
  /**
@@ -71,14 +82,6 @@ export declare function getBossStageIDs(bossID: BossID): ReadonlySet<StageID>;
71
82
  * @param ignoreFriendly Optional. Default is false.
72
83
  */
73
84
  export declare function getBosses(entityType?: EntityType, variant?: int, subType?: int, ignoreFriendly?: boolean): readonly EntityNPC[];
74
- /**
75
- * Helper function to get the set of vanilla bosses for a particular stage across all of the stage
76
- * types. For example, specifying `LevelStage.BASEMENT_2` will return a set with all of the bosses
77
- * for Basement, Cellar, Burning Basement, Downpour, and Dross.
78
- *
79
- * Also see the `getAllBossesSet` and `getBossSet` functions.
80
- */
81
- export declare function getCombinedBossSet(stage: LevelStage): ReadonlySet<BossID> | undefined;
82
85
  export declare function getEntityTypeVariantFromBossID(bossID: BossID): readonly [EntityType, int];
83
86
  /**
84
87
  * Helper function to check if a boss is only found on a Repentance floor such as Dross, Mines, and
@@ -1 +1 @@
1
- {"version":3,"file":"bosses.d.ts","sourceRoot":"","sources":["../../src/functions/bosses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EACL,MAAM,EACN,UAAU,EAGX,MAAM,8BAA8B,CAAC;AAiCtC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAC5B,UAAU,GAAE,UAAU,GAAG,CAAC,CAAM,EAChC,OAAO,SAAK,EACZ,OAAO,SAAK,EACZ,cAAc,UAAQ,GACrB,SAAS,SAAS,EAAE,CAGtB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,eAAe,CAC7B,kBAAkB,UAAO,GACxB,WAAW,CAAC,MAAM,CAAC,CAIrB;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,IAAI,MAAM,GAAG,SAAS,CA0B9C;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,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAE5E;AAED,+FAA+F;AAC/F,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAEpE;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,SAAS,EAAE,CAG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C,GAAG,EAAE,SAAS,GAAG,OAAO,CAE7C;AAmCD;;;;;;;;;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"}
@@ -19,10 +19,10 @@ local ____bossNames = require("objects.bossNames")
19
19
  local BOSS_NAMES = ____bossNames.BOSS_NAMES
20
20
  local DEFAULT_BOSS_NAME = ____bossNames.DEFAULT_BOSS_NAME
21
21
  local ____bossSets = require("sets.bossSets")
22
- local ALL_BOSSES_EXCLUDING_STORY_BOSSES_SET = ____bossSets.ALL_BOSSES_EXCLUDING_STORY_BOSSES_SET
23
- local ALL_BOSSES_SET = ____bossSets.ALL_BOSSES_SET
22
+ local ALL_BOSSES = ____bossSets.ALL_BOSSES
24
23
  local BOSS_ID_TO_STAGE_IDS = ____bossSets.BOSS_ID_TO_STAGE_IDS
25
- local STAGE_ID_TO_BOSS_SET_MAP = ____bossSets.STAGE_ID_TO_BOSS_SET_MAP
24
+ local NON_STORY_BOSSES = ____bossSets.NON_STORY_BOSSES
25
+ local STAGE_ID_TO_BOSS_IDS = ____bossSets.STAGE_ID_TO_BOSS_IDS
26
26
  local STAGE_TO_COMBINED_BOSS_SET_MAP = ____bossSets.STAGE_TO_COMBINED_BOSS_SET_MAP
27
27
  local ____repentanceBossIDsSet = require("sets.repentanceBossIDsSet")
28
28
  local REPENTANCE_ONLY_BOSS_IDS_SET = ____repentanceBossIDsSet.REPENTANCE_ONLY_BOSS_IDS_SET
@@ -89,8 +89,8 @@ function ____exports.getAliveBosses(self, entityType, variant, subType, ignoreFr
89
89
  function(____, aliveNPC) return aliveNPC:IsBoss() end
90
90
  )
91
91
  end
92
- --- Helper function to get the set of every boss in the game (which is derived from the `BossID`
93
- -- enum).
92
+ --- Helper function to get an array with every boss in the game. This is derived from the `BossID`
93
+ -- enum.
94
94
  --
95
95
  -- This includes:
96
96
  -- - Ultra Greed
@@ -103,15 +103,15 @@ end
103
103
  -- - sub-bosses of The Beast fight (e.g. Ultra Famine, Ultra Pestilence, Ultra War, Ultra Death)
104
104
  -- - bosses that do not have any Boss Rooms defined due to being unfinished (e.g. Raglich)
105
105
  --
106
- -- Also see the `getBossSet` and `getCombinedBossSet` functions.
107
- --
108
- -- @param includeStoryBosses Optional. Whether to include "story" bosses like Mom and It Lives.
109
- -- Default is true.
110
- function ____exports.getAllBossesSet(self, includeStoryBosses)
111
- if includeStoryBosses == nil then
112
- includeStoryBosses = true
113
- end
114
- return includeStoryBosses and ALL_BOSSES_SET or ALL_BOSSES_EXCLUDING_STORY_BOSSES_SET
106
+ -- Also see the `getAllNonStoryBosses` function.
107
+ function ____exports.getAllBosses(self)
108
+ return ALL_BOSSES
109
+ end
110
+ --- Helper function to get an array with every boss in the game. This is derived from the `BossID`
111
+ -- enum. This is the same thing as the `getAllBosses` helper function, but with story bosses
112
+ -- filtered out.
113
+ function ____exports.getAllNonStoryBosses(self)
114
+ return NON_STORY_BOSSES
115
115
  end
116
116
  --- Helper function to get the boss ID corresponding to the current room. Returns undefined if the
117
117
  -- current room is not a Boss Room.
@@ -139,18 +139,26 @@ function ____exports.getBossIDFromEntityTypeVariant(self, entityType, variant)
139
139
  local entityTypeVariant = (tostring(entityType) .. ".") .. tostring(variant)
140
140
  return ENTITY_TYPE_VARIANT_TO_BOSS_ID_MAP:get(entityTypeVariant)
141
141
  end
142
+ --- Helper function to get the set of vanilla bosses for a particular stage across all of the stage
143
+ -- types. For example, specifying `LevelStage.BASEMENT_2` will return a set with all of the bosses
144
+ -- for Basement, Cellar, Burning Basement, Downpour, and Dross.
145
+ --
146
+ -- Also see the `getAllBossesSet` and `getBossIDsForStageID` functions.
147
+ function ____exports.getBossIDsForStage(self, stage)
148
+ return STAGE_TO_COMBINED_BOSS_SET_MAP:get(stage)
149
+ end
150
+ --- Helper function to get the set of vanilla bosses that can randomly appear on a particular stage
151
+ -- ID.
152
+ --
153
+ -- Also see the `getAllBossesSet` and `getBossIDsForStage` functions.
154
+ function ____exports.getBossIDsForStageID(self, stageID)
155
+ return STAGE_ID_TO_BOSS_IDS:get(stageID)
156
+ end
142
157
  --- Helper function to get the proper English name for a boss. For example, the name for
143
158
  -- `BossID.WRETCHED` (36) is "The Wretched".
144
159
  function ____exports.getBossName(self, bossID)
145
160
  return BOSS_NAMES[bossID] or DEFAULT_BOSS_NAME
146
161
  end
147
- --- Helper function to get the set of vanilla bosses for a particular stage and stage type
148
- -- combination.
149
- --
150
- -- Also see the `getAllBossesSet` and `getCombinedBossSet` functions.
151
- function ____exports.getBossSet(self, stageID)
152
- return STAGE_ID_TO_BOSS_SET_MAP:get(stageID)
153
- end
154
162
  --- Helper function to get the set of stage IDs that a particular boss naturally appears in.
155
163
  function ____exports.getBossStageIDs(self, bossID)
156
164
  return BOSS_ID_TO_STAGE_IDS[bossID]
@@ -180,14 +188,6 @@ function ____exports.getBosses(self, entityType, variant, subType, ignoreFriendl
180
188
  function(____, npc) return npc:IsBoss() end
181
189
  )
182
190
  end
183
- --- Helper function to get the set of vanilla bosses for a particular stage across all of the stage
184
- -- types. For example, specifying `LevelStage.BASEMENT_2` will return a set with all of the bosses
185
- -- for Basement, Cellar, Burning Basement, Downpour, and Dross.
186
- --
187
- -- Also see the `getAllBossesSet` and `getBossSet` functions.
188
- function ____exports.getCombinedBossSet(self, stage)
189
- return STAGE_TO_COMBINED_BOSS_SET_MAP:get(stage)
190
- end
191
191
  function ____exports.getEntityTypeVariantFromBossID(self, bossID)
192
192
  return BOSS_ID_TO_ENTITY_TYPE_VARIANT[bossID]
193
193
  end
@@ -208,21 +208,21 @@ local function getNumBossSegments(self, entityType, variant, numSegments)
208
208
  return numSegments
209
209
  end
210
210
  repeat
211
- local ____switch22 = entityType
212
- local ____cond22 = ____switch22 == EntityType.CHUB
213
- if ____cond22 then
211
+ local ____switch23 = entityType
212
+ local ____cond23 = ____switch23 == EntityType.CHUB
213
+ if ____cond23 then
214
214
  do
215
215
  return 3
216
216
  end
217
217
  end
218
- ____cond22 = ____cond22 or ____switch22 == EntityType.LOKI
219
- if ____cond22 then
218
+ ____cond23 = ____cond23 or ____switch23 == EntityType.LOKI
219
+ if ____cond23 then
220
220
  do
221
221
  return variant == LokiVariant.LOKII and 2 or 1
222
222
  end
223
223
  end
224
- ____cond22 = ____cond22 or ____switch22 == EntityType.GURGLING
225
- if ____cond22 then
224
+ ____cond23 = ____cond23 or ____switch23 == EntityType.GURGLING
225
+ if ____cond23 then
226
226
  do
227
227
  return 2
228
228
  end
@@ -4912,8 +4912,8 @@ export declare function getAliveBosses(entityType?: EntityType | -1, variant?: n
4912
4912
  export declare function getAliveNPCs(entityType?: EntityType | -1, variant?: number, subType?: number, ignoreFriendly?: boolean): readonly EntityNPC[];
4913
4913
 
4914
4914
  /**
4915
- * Helper function to get the set of every boss in the game (which is derived from the `BossID`
4916
- * enum).
4915
+ * Helper function to get an array with every boss in the game. This is derived from the `BossID`
4916
+ * enum.
4917
4917
  *
4918
4918
  * This includes:
4919
4919
  * - Ultra Greed
@@ -4926,12 +4926,9 @@ export declare function getAliveNPCs(entityType?: EntityType | -1, variant?: num
4926
4926
  * - sub-bosses of The Beast fight (e.g. Ultra Famine, Ultra Pestilence, Ultra War, Ultra Death)
4927
4927
  * - bosses that do not have any Boss Rooms defined due to being unfinished (e.g. Raglich)
4928
4928
  *
4929
- * Also see the `getBossSet` and `getCombinedBossSet` functions.
4930
- *
4931
- * @param includeStoryBosses Optional. Whether to include "story" bosses like Mom and It Lives.
4932
- * Default is true.
4929
+ * Also see the `getAllNonStoryBosses` function.
4933
4930
  */
4934
- export declare function getAllBossesSet(includeStoryBosses?: boolean): ReadonlySet<BossID>;
4931
+ export declare function getAllBosses(): readonly BossID[];
4935
4932
 
4936
4933
  /**
4937
4934
  * Helper function to get every legal grid index for the current room.
@@ -4940,6 +4937,13 @@ export declare function getAllBossesSet(includeStoryBosses?: boolean): ReadonlyS
4940
4937
  */
4941
4938
  export declare function getAllGridIndexes(): readonly int[];
4942
4939
 
4940
+ /**
4941
+ * Helper function to get an array with every boss in the game. This is derived from the `BossID`
4942
+ * enum. This is the same thing as the `getAllBosses` helper function, but with story bosses
4943
+ * filtered out.
4944
+ */
4945
+ export declare function getAllNonStoryBosses(): readonly BossID[];
4946
+
4943
4947
  /**
4944
4948
  * Helper function to get an array with every non-null pill color. This includes all gold colors and
4945
4949
  * all horse colors.
@@ -5118,6 +5122,23 @@ export declare function getBossID(): BossID | undefined;
5118
5122
 
5119
5123
  export declare function getBossIDFromEntityTypeVariant(entityType: EntityType, variant: int): BossID | undefined;
5120
5124
 
5125
+ /**
5126
+ * Helper function to get the set of vanilla bosses for a particular stage across all of the stage
5127
+ * types. For example, specifying `LevelStage.BASEMENT_2` will return a set with all of the bosses
5128
+ * for Basement, Cellar, Burning Basement, Downpour, and Dross.
5129
+ *
5130
+ * Also see the `getAllBossesSet` and `getBossIDsForStageID` functions.
5131
+ */
5132
+ export declare function getBossIDsForStage(stage: LevelStage): ReadonlySet<BossID> | undefined;
5133
+
5134
+ /**
5135
+ * Helper function to get the set of vanilla bosses that can randomly appear on a particular stage
5136
+ * ID.
5137
+ *
5138
+ * Also see the `getAllBossesSet` and `getBossIDsForStage` functions.
5139
+ */
5140
+ export declare function getBossIDsForStageID(stageID: StageID): readonly BossID[] | undefined;
5141
+
5121
5142
  /**
5122
5143
  * Helper function to get the proper English name for a boss. For example, the name for
5123
5144
  * `BossID.WRETCHED` (36) is "The Wretched".
@@ -5148,14 +5169,6 @@ export declare function getBossPortraitPNGFilePath(bossID: BossID): string;
5148
5169
  */
5149
5170
  export declare function getBossRushDoor(): GridEntityDoor | undefined;
5150
5171
 
5151
- /**
5152
- * Helper function to get the set of vanilla bosses for a particular stage and stage type
5153
- * combination.
5154
- *
5155
- * Also see the `getAllBossesSet` and `getCombinedBossSet` functions.
5156
- */
5157
- export declare function getBossSet(stageID: StageID): ReadonlySet<BossID> | undefined;
5158
-
5159
5172
  /** Helper function to get the set of stage IDs that a particular boss naturally appears in. */
5160
5173
  export declare function getBossStageIDs(bossID: BossID): ReadonlySet<StageID>;
5161
5174
 
@@ -5520,15 +5533,6 @@ export declare function getCollectibleTags(collectibleOrCollectibleType: EntityP
5520
5533
  */
5521
5534
  export declare function getCollidingEntitiesWithGridEntity(gridEntity: GridEntity): readonly Entity[];
5522
5535
 
5523
- /**
5524
- * Helper function to get the set of vanilla bosses for a particular stage across all of the stage
5525
- * types. For example, specifying `LevelStage.BASEMENT_2` will return a set with all of the bosses
5526
- * for Basement, Cellar, Burning Basement, Downpour, and Dross.
5527
- *
5528
- * Also see the `getAllBossesSet` and `getBossSet` functions.
5529
- */
5530
- export declare function getCombinedBossSet(stage: LevelStage): ReadonlySet<BossID> | undefined;
5531
-
5532
5536
  /** Helper function to get the entity type, variant, and sub-type from an `EntityID`. */
5533
5537
  export declare function getConstituentsFromEntityID(entityID: EntityID): [entityType: EntityType, variant: int, subType: int];
5534
5538