isaacscript-common 72.4.1 → 72.5.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 72.
|
|
3
|
+
isaacscript-common 72.5.0
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -49249,6 +49249,7 @@ local HeartSubType = ____isaac_2Dtypescript_2Ddefinitions.HeartSubType
|
|
|
49249
49249
|
local LevelStateFlag = ____isaac_2Dtypescript_2Ddefinitions.LevelStateFlag
|
|
49250
49250
|
local Music = ____isaac_2Dtypescript_2Ddefinitions.Music
|
|
49251
49251
|
local ProjectileFlag = ____isaac_2Dtypescript_2Ddefinitions.ProjectileFlag
|
|
49252
|
+
local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
|
|
49252
49253
|
local SeedEffect = ____isaac_2Dtypescript_2Ddefinitions.SeedEffect
|
|
49253
49254
|
local SoundEffect = ____isaac_2Dtypescript_2Ddefinitions.SoundEffect
|
|
49254
49255
|
local TearFlag = ____isaac_2Dtypescript_2Ddefinitions.TearFlag
|
|
@@ -49479,7 +49480,9 @@ function ____exports.logRoom()
|
|
|
49479
49480
|
local roomData = getRoomData(nil)
|
|
49480
49481
|
log("Logging room information:")
|
|
49481
49482
|
log("- Room stage ID: " .. tostring(roomData.StageID))
|
|
49482
|
-
log((((
|
|
49483
|
+
log(((("- Room type: " .. RoomType[roomData.Type]) .. " (") .. tostring(roomData.Type)) .. ")")
|
|
49484
|
+
log("- Variant: " .. tostring(roomData.Variant))
|
|
49485
|
+
log("- Sub-type: " .. tostring(roomData.Subtype))
|
|
49483
49486
|
log("- Name: " .. roomData.Name)
|
|
49484
49487
|
local roomGridIndexName = GridRoom[roomGridIndex]
|
|
49485
49488
|
if roomGridIndexName == nil then
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logMisc.d.ts","sourceRoot":"","sources":["../../../src/functions/logMisc.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,UAAU,EACV,WAAW,EACX,UAAU,EAMV,cAAc,
|
|
1
|
+
{"version":3,"file":"logMisc.d.ts","sourceRoot":"","sources":["../../../src/functions/logMisc.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,UAAU,EACV,WAAW,EACX,UAAU,EAMV,cAAc,EAId,QAAQ,EACR,OAAO,EACR,MAAM,8BAA8B,CAAC;AAsBtC;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EACxB,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,EACzB,IAAI,CAAC,EAAE,MAAM,GACZ,IAAI,CAaN;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,IAAI,EACV,gBAAgB,EAAE,eAAe,EAAE,GAAG,SAAS,eAAe,EAAE,EAChE,IAAI,CAAC,EAAE,MAAM,GACZ,IAAI,CAaN;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAQtE;AAED,yFAAyF;AACzF,wBAAgB,cAAc,CAC5B,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC,GAC7C,IAAI,CAEN;AAED,0FAA0F;AAC1F,wBAAgB,eAAe,CAC7B,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,WAAW,GAAG,QAAQ,CAAC,WAAW,CAAC,GAChD,IAAI,CAEN;AAED,yFAAyF;AACzF,wBAAgB,cAAc,CAC5B,IAAI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gG;AAChG,wBAAgB,WAAW,CACzB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,GACpC,IAAI,CAEN;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAG,IAAI,CAoB/D;AAED;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,MAAM,EACb,KAAK,UAAQ,GACZ,IAAI,CAON"}
|
|
@@ -19,6 +19,7 @@ local HeartSubType = ____isaac_2Dtypescript_2Ddefinitions.HeartSubType
|
|
|
19
19
|
local LevelStateFlag = ____isaac_2Dtypescript_2Ddefinitions.LevelStateFlag
|
|
20
20
|
local Music = ____isaac_2Dtypescript_2Ddefinitions.Music
|
|
21
21
|
local ProjectileFlag = ____isaac_2Dtypescript_2Ddefinitions.ProjectileFlag
|
|
22
|
+
local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
|
|
22
23
|
local SeedEffect = ____isaac_2Dtypescript_2Ddefinitions.SeedEffect
|
|
23
24
|
local SoundEffect = ____isaac_2Dtypescript_2Ddefinitions.SoundEffect
|
|
24
25
|
local TearFlag = ____isaac_2Dtypescript_2Ddefinitions.TearFlag
|
|
@@ -277,7 +278,9 @@ function ____exports.logRoom()
|
|
|
277
278
|
local roomData = getRoomData(nil)
|
|
278
279
|
log("Logging room information:")
|
|
279
280
|
log("- Room stage ID: " .. tostring(roomData.StageID))
|
|
280
|
-
log((((
|
|
281
|
+
log(((("- Room type: " .. RoomType[roomData.Type]) .. " (") .. tostring(roomData.Type)) .. ")")
|
|
282
|
+
log("- Variant: " .. tostring(roomData.Variant))
|
|
283
|
+
log("- Sub-type: " .. tostring(roomData.Subtype))
|
|
281
284
|
log("- Name: " .. roomData.Name)
|
|
282
285
|
local roomGridIndexName = GridRoom[roomGridIndex]
|
|
283
286
|
if roomGridIndexName == nil then
|
package/package.json
CHANGED
package/src/functions/logMisc.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
LevelStateFlag,
|
|
10
10
|
Music,
|
|
11
11
|
ProjectileFlag,
|
|
12
|
+
RoomType,
|
|
12
13
|
SeedEffect,
|
|
13
14
|
SoundEffect,
|
|
14
15
|
TearFlag,
|
|
@@ -319,9 +320,9 @@ export function logRoom(this: void): void {
|
|
|
319
320
|
|
|
320
321
|
log("Logging room information:");
|
|
321
322
|
log(`- Room stage ID: ${roomData.StageID}`);
|
|
322
|
-
log(
|
|
323
|
-
|
|
324
|
-
);
|
|
323
|
+
log(`- Room type: ${RoomType[roomData.Type]} (${roomData.Type})`);
|
|
324
|
+
log(`- Variant: ${roomData.Variant}`);
|
|
325
|
+
log(`- Sub-type: ${roomData.Subtype}`);
|
|
325
326
|
log(`- Name: ${roomData.Name}`);
|
|
326
327
|
|
|
327
328
|
const roomGridIndexName = GridRoom[roomGridIndex];
|