isaacscript-common 55.1.0 → 55.2.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 -1
- package/dist/isaacscript-common.lua +2607 -2575
- package/dist/src/classes/callbacks/PostNewRoomEarly.lua +2 -2
- package/dist/src/classes/features/callbackLogic/CustomRevive.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/CustomRevive.lua +1 -2
- package/dist/src/classes/features/other/CustomStages.lua +2 -2
- package/dist/src/classes/features/other/ExtraConsoleCommands.lua +2 -2
- package/dist/src/classes/features/other/Pause.lua +2 -2
- package/dist/src/classes/features/other/TaintedLazarusPlayers.lua +2 -2
- package/dist/src/classes/features/other/saveDataManager/loadFromDisk.d.ts.map +1 -1
- package/dist/src/classes/features/other/saveDataManager/loadFromDisk.lua +1 -2
- package/dist/src/classes/features/other/saveDataManager/restoreDefaults.lua +2 -2
- package/dist/src/functions/hex.lua +2 -2
- package/dist/src/functions/jsonHelpers.lua +2 -2
- package/dist/src/functions/log.d.ts +7 -0
- package/dist/src/functions/log.d.ts.map +1 -1
- package/dist/src/functions/log.lua +8 -0
- package/dist/src/functions/logMisc.d.ts +0 -7
- package/dist/src/functions/logMisc.d.ts.map +1 -1
- package/dist/src/functions/logMisc.lua +0 -9
- package/dist/src/functions/rng.d.ts.map +1 -1
- package/dist/src/functions/rng.lua +4 -1
- package/dist/src/functions/roomShape.d.ts +5 -0
- package/dist/src/functions/roomShape.d.ts.map +1 -1
- package/dist/src/functions/roomShape.lua +7 -0
- package/dist/src/functions/rooms.d.ts +10 -0
- package/dist/src/functions/rooms.d.ts.map +1 -1
- package/dist/src/functions/rooms.lua +14 -2
- package/dist/src/functions/stage.d.ts +8 -1
- package/dist/src/functions/stage.d.ts.map +1 -1
- package/dist/src/functions/stage.lua +5 -0
- package/dist/src/sets/bigRoomShapesSet.d.ts +3 -0
- package/dist/src/sets/bigRoomShapesSet.d.ts.map +1 -0
- package/dist/src/sets/bigRoomShapesSet.lua +17 -0
- package/package.json +1 -1
- package/src/classes/callbacks/PostNewRoomEarly.ts +1 -1
- package/src/classes/features/callbackLogic/CustomRevive.ts +1 -2
- package/src/classes/features/other/CustomStages.ts +1 -1
- package/src/classes/features/other/ExtraConsoleCommands.ts +1 -1
- package/src/classes/features/other/Pause.ts +1 -1
- package/src/classes/features/other/TaintedLazarusPlayers.ts +1 -1
- package/src/classes/features/other/saveDataManager/loadFromDisk.ts +1 -2
- package/src/classes/features/other/saveDataManager/restoreDefaults.ts +1 -1
- package/src/functions/hex.ts +1 -1
- package/src/functions/jsonHelpers.ts +1 -1
- package/src/functions/log.ts +11 -0
- package/src/functions/logMisc.ts +1 -12
- package/src/functions/rng.ts +4 -2
- package/src/functions/roomShape.ts +9 -0
- package/src/functions/rooms.ts +18 -1
- package/src/functions/stage.ts +8 -1
- package/src/sets/bigRoomShapesSet.ts +12 -0
package/dist/index.rollup.d.ts
CHANGED
|
@@ -7842,7 +7842,14 @@ export declare function getVoidDoor(): GridEntityDoor | undefined;
|
|
|
7842
7842
|
*/
|
|
7843
7843
|
export declare function giveTrinketsBack(player: EntityPlayer, trinketSituation: TrinketSituation | undefined): void;
|
|
7844
7844
|
|
|
7845
|
-
/**
|
|
7845
|
+
/**
|
|
7846
|
+
* Helper function to directly warp to a specific stage using the "stage" console command.
|
|
7847
|
+
*
|
|
7848
|
+
* Note that if you use this function on game frame 0, it will confuse the
|
|
7849
|
+
* `POST_GAME_STARTED_REORDERED`, `POST_NEW_LEVEL_REORDERED`, and `POST_NEW_ROOM_REORDERED` custom
|
|
7850
|
+
* callbacks. If you are using the function in this situation, remember to call the
|
|
7851
|
+
* `reorderedCallbacksSetStage` function.
|
|
7852
|
+
*/
|
|
7846
7853
|
export declare function goToStage(stage: LevelStage, stageType: StageType): void;
|
|
7847
7854
|
|
|
7848
7855
|
export declare const GRID_INDEX_CENTER_OF_1X1_ROOM = 67;
|
|
@@ -8189,6 +8196,12 @@ export declare function inAngelShop(): boolean;
|
|
|
8189
8196
|
*/
|
|
8190
8197
|
export declare function inBeastRoom(): boolean;
|
|
8191
8198
|
|
|
8199
|
+
/**
|
|
8200
|
+
* Helper function to detect if the current room is big. Specifically, this is all 1x2 rooms, 2x2
|
|
8201
|
+
* rooms, and L rooms.
|
|
8202
|
+
*/
|
|
8203
|
+
export declare function inBigRoom(): boolean;
|
|
8204
|
+
|
|
8192
8205
|
/**
|
|
8193
8206
|
* Helper function to check if the current room is the Boss Room for a particular boss. This will
|
|
8194
8207
|
* only work for bosses that have dedicated boss rooms in the "00.special rooms.stb" file.
|
|
@@ -8595,6 +8608,18 @@ export declare function isBeastRoom(roomData: RoomConfig): boolean;
|
|
|
8595
8608
|
*/
|
|
8596
8609
|
export declare function isBethany(player: EntityPlayer): boolean;
|
|
8597
8610
|
|
|
8611
|
+
/**
|
|
8612
|
+
* Helper function to detect if the provided room is big. Specifically, this is all 1x2 rooms, 2x2
|
|
8613
|
+
* rooms, and L rooms.
|
|
8614
|
+
*/
|
|
8615
|
+
export declare function isBigRoom(roomData: RoomConfig): boolean;
|
|
8616
|
+
|
|
8617
|
+
/**
|
|
8618
|
+
* Helper function to detect if the provided room shape is big. Specifically, this is all 1x2 rooms,
|
|
8619
|
+
* 2x2 rooms, and L rooms.
|
|
8620
|
+
*/
|
|
8621
|
+
export declare function isBigRoomShape(roomShape: RoomShape): boolean;
|
|
8622
|
+
|
|
8598
8623
|
/** Helper function to check if something is an instantiated `BitSet128` object. */
|
|
8599
8624
|
export declare function isBitSet128(object: unknown): object is BitSet128;
|
|
8600
8625
|
|