isaacscript-common 87.9.3 → 87.9.4
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.
|
@@ -56,8 +56,8 @@ export declare function getRoomDataForTypeVariant(roomType: RoomType, roomVarian
|
|
|
56
56
|
*
|
|
57
57
|
* Note that `ItemPool.GetPoolForRoom` will return -1 in `RoomType.DEFAULT` (1) rooms, but this
|
|
58
58
|
* function will convert -1 to `ItemPoolType.TREASURE` (0) for convenience purposes (since the game
|
|
59
|
-
* is "supposed" to use the Treasure Room pool for
|
|
60
|
-
* to distinguish between real Treasure Rooms and default rooms, then use the
|
|
59
|
+
* is "supposed" to use the Treasure Room pool for collectibles spawned in normal rooms). If you
|
|
60
|
+
* need to distinguish between real Treasure Rooms and default rooms, then use the
|
|
61
61
|
* `ItemPool.GetPoolForRoom` method directly.
|
|
62
62
|
*/
|
|
63
63
|
export declare function getRoomItemPoolType(): ItemPoolType;
|
package/dist/functions/rooms.js
CHANGED
|
@@ -171,8 +171,8 @@ function getRoomDataForTypeVariant(roomType, roomVariant, cancelRoomTransition =
|
|
|
171
171
|
*
|
|
172
172
|
* Note that `ItemPool.GetPoolForRoom` will return -1 in `RoomType.DEFAULT` (1) rooms, but this
|
|
173
173
|
* function will convert -1 to `ItemPoolType.TREASURE` (0) for convenience purposes (since the game
|
|
174
|
-
* is "supposed" to use the Treasure Room pool for
|
|
175
|
-
* to distinguish between real Treasure Rooms and default rooms, then use the
|
|
174
|
+
* is "supposed" to use the Treasure Room pool for collectibles spawned in normal rooms). If you
|
|
175
|
+
* need to distinguish between real Treasure Rooms and default rooms, then use the
|
|
176
176
|
* `ItemPool.GetPoolForRoom` method directly.
|
|
177
177
|
*/
|
|
178
178
|
function getRoomItemPoolType() {
|
package/dist/functions/rooms.lua
CHANGED
|
@@ -340,8 +340,8 @@ end
|
|
|
340
340
|
--
|
|
341
341
|
-- Note that `ItemPool.GetPoolForRoom` will return -1 in `RoomType.DEFAULT` (1) rooms, but this
|
|
342
342
|
-- function will convert -1 to `ItemPoolType.TREASURE` (0) for convenience purposes (since the game
|
|
343
|
-
-- is "supposed" to use the Treasure Room pool for
|
|
344
|
-
-- to distinguish between real Treasure Rooms and default rooms, then use the
|
|
343
|
+
-- is "supposed" to use the Treasure Room pool for collectibles spawned in normal rooms). If you
|
|
344
|
+
-- need to distinguish between real Treasure Rooms and default rooms, then use the
|
|
345
345
|
-- `ItemPool.GetPoolForRoom` method directly.
|
|
346
346
|
function ____exports.getRoomItemPoolType(self)
|
|
347
347
|
local itemPool = game:GetItemPool()
|
package/dist/index.rollup.d.ts
CHANGED
|
@@ -7516,8 +7516,8 @@ export declare function getRoomGridIndexesForType(...roomTypes: readonly RoomTyp
|
|
|
7516
7516
|
*
|
|
7517
7517
|
* Note that `ItemPool.GetPoolForRoom` will return -1 in `RoomType.DEFAULT` (1) rooms, but this
|
|
7518
7518
|
* function will convert -1 to `ItemPoolType.TREASURE` (0) for convenience purposes (since the game
|
|
7519
|
-
* is "supposed" to use the Treasure Room pool for
|
|
7520
|
-
* to distinguish between real Treasure Rooms and default rooms, then use the
|
|
7519
|
+
* is "supposed" to use the Treasure Room pool for collectibles spawned in normal rooms). If you
|
|
7520
|
+
* need to distinguish between real Treasure Rooms and default rooms, then use the
|
|
7521
7521
|
* `ItemPool.GetPoolForRoom` method directly.
|
|
7522
7522
|
*/
|
|
7523
7523
|
export declare function getRoomItemPoolType(): ItemPoolType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 87.9.
|
|
3
|
+
isaacscript-common 87.9.3
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -33684,8 +33684,8 @@ end
|
|
|
33684
33684
|
--
|
|
33685
33685
|
-- Note that `ItemPool.GetPoolForRoom` will return -1 in `RoomType.DEFAULT` (1) rooms, but this
|
|
33686
33686
|
-- function will convert -1 to `ItemPoolType.TREASURE` (0) for convenience purposes (since the game
|
|
33687
|
-
-- is "supposed" to use the Treasure Room pool for
|
|
33688
|
-
-- to distinguish between real Treasure Rooms and default rooms, then use the
|
|
33687
|
+
-- is "supposed" to use the Treasure Room pool for collectibles spawned in normal rooms). If you
|
|
33688
|
+
-- need to distinguish between real Treasure Rooms and default rooms, then use the
|
|
33689
33689
|
-- `ItemPool.GetPoolForRoom` method directly.
|
|
33690
33690
|
function ____exports.getRoomItemPoolType(self)
|
|
33691
33691
|
local itemPool = game:GetItemPool()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "87.9.
|
|
3
|
+
"version": "87.9.4",
|
|
4
4
|
"description": "Helper functions and features for IsaacScript mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@microsoft/api-extractor": "7.57.7",
|
|
41
|
-
"complete-node": "16.3.
|
|
41
|
+
"complete-node": "16.3.1",
|
|
42
42
|
"eslint-plugin-sort-exports": "0.9.1",
|
|
43
43
|
"typescript-eslint": "8.57.0",
|
|
44
44
|
"typescript-to-lua": "1.34.0"
|
package/src/functions/rooms.ts
CHANGED
|
@@ -171,8 +171,8 @@ export function getRoomDataForTypeVariant(
|
|
|
171
171
|
*
|
|
172
172
|
* Note that `ItemPool.GetPoolForRoom` will return -1 in `RoomType.DEFAULT` (1) rooms, but this
|
|
173
173
|
* function will convert -1 to `ItemPoolType.TREASURE` (0) for convenience purposes (since the game
|
|
174
|
-
* is "supposed" to use the Treasure Room pool for
|
|
175
|
-
* to distinguish between real Treasure Rooms and default rooms, then use the
|
|
174
|
+
* is "supposed" to use the Treasure Room pool for collectibles spawned in normal rooms). If you
|
|
175
|
+
* need to distinguish between real Treasure Rooms and default rooms, then use the
|
|
176
176
|
* `ItemPool.GetPoolForRoom` method directly.
|
|
177
177
|
*/
|
|
178
178
|
export function getRoomItemPoolType(): ItemPoolType {
|