isaacscript-common 31.4.0 → 31.6.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 +38 -4
- package/dist/isaacscript-common.lua +722 -684
- package/dist/src/classes/ModFeature.d.ts.map +1 -1
- package/dist/src/classes/ModFeature.lua +5 -9
- package/dist/src/classes/ModUpgraded.d.ts.map +1 -1
- package/dist/src/classes/ModUpgraded.lua +8 -14
- package/dist/src/classes/callbacks/PostNewRoomEarly.lua +2 -2
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.lua +3 -3
- package/dist/src/classes/features/other/CharacterHealthConversion.lua +1 -1
- package/dist/src/classes/features/other/CustomItemPools.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomItemPools.lua +12 -6
- package/dist/src/classes/features/other/CustomStages.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomStages.lua +12 -14
- package/dist/src/classes/features/other/CustomTrapdoors.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomTrapdoors.lua +6 -8
- package/dist/src/classes/features/other/DeployJSONRoom.d.ts.map +1 -1
- package/dist/src/classes/features/other/DeployJSONRoom.lua +15 -15
- package/dist/src/classes/features/other/ModdedElementSets.d.ts.map +1 -1
- package/dist/src/classes/features/other/ModdedElementSets.lua +21 -12
- package/dist/src/classes/features/other/Pause.d.ts.map +1 -1
- package/dist/src/classes/features/other/Pause.lua +4 -6
- package/dist/src/classes/features/other/SaveDataManager.d.ts.map +1 -1
- package/dist/src/classes/features/other/SaveDataManager.lua +5 -9
- package/dist/src/classes/features/other/customStages/backdrop.lua +9 -10
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayBomb.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayBomb.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayDoor.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayDoor.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayEffect.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayEffect.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayKnife.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayKnife.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayLaser.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayLaser.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayNPC.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayNPC.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPickup.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPickup.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPit.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPit.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPlayer.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPlayer.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPoop.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPoop.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayProjectile.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayProjectile.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayRock.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayRock.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplaySlot.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplaySlot.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplaySpikes.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplaySpikes.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayTNT.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayTNT.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayTear.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/DebugDisplayTear.lua +2 -1
- package/dist/src/classes/features/other/debugDisplay/utils.d.ts +0 -1
- package/dist/src/classes/features/other/debugDisplay/utils.d.ts.map +1 -1
- package/dist/src/classes/features/other/debugDisplay/utils.lua +0 -17
- package/dist/src/classes/features/other/saveDataManager/restoreDefaults.lua +1 -1
- package/dist/src/functions/array.d.ts +3 -0
- package/dist/src/functions/array.d.ts.map +1 -1
- package/dist/src/functions/array.lua +9 -3
- package/dist/src/functions/bitSet128.d.ts.map +1 -1
- package/dist/src/functions/bitSet128.lua +4 -6
- package/dist/src/functions/bitwise.d.ts.map +1 -1
- package/dist/src/functions/bitwise.lua +7 -3
- package/dist/src/functions/color.d.ts.map +1 -1
- package/dist/src/functions/color.lua +5 -9
- package/dist/src/functions/deepCopy.lua +23 -31
- package/dist/src/functions/entities.d.ts.map +1 -1
- package/dist/src/functions/entities.lua +20 -18
- package/dist/src/functions/entitiesSpecific.d.ts.map +1 -1
- package/dist/src/functions/entitiesSpecific.lua +11 -27
- package/dist/src/functions/enums.d.ts +6 -4
- package/dist/src/functions/enums.d.ts.map +1 -1
- package/dist/src/functions/enums.lua +13 -9
- package/dist/src/functions/gridEntities.d.ts.map +1 -1
- package/dist/src/functions/gridEntities.lua +18 -11
- package/dist/src/functions/gridEntitiesSpecific.d.ts.map +1 -1
- package/dist/src/functions/gridEntitiesSpecific.lua +16 -28
- package/dist/src/functions/input.d.ts +3 -0
- package/dist/src/functions/input.d.ts.map +1 -1
- package/dist/src/functions/input.lua +14 -14
- package/dist/src/functions/jsonRoom.d.ts.map +1 -1
- package/dist/src/functions/jsonRoom.lua +35 -23
- package/dist/src/functions/kColor.d.ts.map +1 -1
- package/dist/src/functions/kColor.lua +6 -12
- package/dist/src/functions/map.d.ts.map +1 -1
- package/dist/src/functions/map.lua +3 -3
- package/dist/src/functions/minimap.d.ts.map +1 -1
- package/dist/src/functions/minimap.lua +17 -9
- package/dist/src/functions/players.d.ts.map +1 -1
- package/dist/src/functions/players.lua +17 -22
- package/dist/src/functions/render.d.ts +16 -0
- package/dist/src/functions/render.d.ts.map +1 -0
- package/dist/src/functions/render.lua +50 -0
- package/dist/src/functions/rng.d.ts.map +1 -1
- package/dist/src/functions/rng.lua +3 -3
- package/dist/src/functions/roomShapeWalls.d.ts.map +1 -1
- package/dist/src/functions/roomShapeWalls.lua +7 -3
- package/dist/src/functions/roomTransition.d.ts.map +1 -1
- package/dist/src/functions/roomTransition.lua +7 -3
- package/dist/src/functions/rooms.d.ts.map +1 -1
- package/dist/src/functions/rooms.lua +8 -5
- package/dist/src/functions/serialization.d.ts.map +1 -1
- package/dist/src/functions/serialization.lua +8 -18
- package/dist/src/functions/table.d.ts.map +1 -1
- package/dist/src/functions/table.lua +6 -12
- package/dist/src/functions/tstlClass.d.ts.map +1 -1
- package/dist/src/functions/tstlClass.lua +3 -3
- package/dist/src/functions/utils.d.ts +9 -10
- package/dist/src/functions/utils.d.ts.map +1 -1
- package/dist/src/functions/utils.lua +14 -22
- package/dist/src/functions/vector.d.ts.map +1 -1
- package/dist/src/functions/vector.lua +4 -6
- package/dist/src/functions/weighted.d.ts.map +1 -1
- package/dist/src/functions/weighted.lua +7 -3
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.lua +8 -0
- package/dist/src/sets/bossSets.d.ts.map +1 -1
- package/dist/src/sets/bossSets.lua +3 -3
- package/dist/src/types/Expand.d.ts +8 -0
- package/dist/src/types/Expand.d.ts.map +1 -0
- package/dist/src/types/Expand.lua +2 -0
- package/package.json +2 -2
- package/src/classes/ModFeature.ts +16 -12
- package/src/classes/ModUpgraded.ts +18 -16
- package/src/classes/callbacks/PostNewRoomEarly.ts +2 -2
- package/src/classes/features/callbackLogic/CustomGridEntities.ts +2 -3
- package/src/classes/features/other/CharacterHealthConversion.ts +1 -1
- package/src/classes/features/other/CustomItemPools.ts +9 -8
- package/src/classes/features/other/CustomStages.ts +9 -10
- package/src/classes/features/other/CustomTrapdoors.ts +9 -10
- package/src/classes/features/other/DeployJSONRoom.ts +21 -21
- package/src/classes/features/other/ModdedElementSets.ts +18 -21
- package/src/classes/features/other/Pause.ts +9 -6
- package/src/classes/features/other/SaveDataManager.ts +14 -16
- package/src/classes/features/other/customStages/backdrop.ts +5 -6
- package/src/classes/features/other/debugDisplay/DebugDisplayBomb.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayDoor.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayEffect.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayFamiliar.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayKnife.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayLaser.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayNPC.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPickup.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPit.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPlayer.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPoop.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayProjectile.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayRock.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplaySlot.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplaySpikes.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayTNT.ts +2 -1
- package/src/classes/features/other/debugDisplay/DebugDisplayTear.ts +2 -1
- package/src/classes/features/other/debugDisplay/utils.ts +0 -13
- package/src/classes/features/other/saveDataManager/restoreDefaults.ts +1 -1
- package/src/functions/array.ts +8 -6
- package/src/functions/bitSet128.ts +9 -10
- package/src/functions/bitwise.ts +6 -3
- package/src/functions/color.ts +13 -15
- package/src/functions/deepCopy.ts +18 -24
- package/src/functions/deepCopyTests.ts +5 -6
- package/src/functions/entities.ts +22 -20
- package/src/functions/entitiesSpecific.ts +10 -27
- package/src/functions/enums.ts +29 -17
- package/src/functions/gridEntities.ts +14 -16
- package/src/functions/gridEntitiesSpecific.ts +15 -28
- package/src/functions/input.ts +3 -3
- package/src/functions/jsonRoom.ts +39 -27
- package/src/functions/kColor.ts +17 -20
- package/src/functions/map.ts +5 -5
- package/src/functions/minimap.ts +16 -15
- package/src/functions/players.ts +7 -10
- package/src/functions/render.ts +53 -0
- package/src/functions/rng.ts +5 -5
- package/src/functions/roomShapeWalls.ts +3 -4
- package/src/functions/roomTransition.ts +5 -5
- package/src/functions/rooms.ts +5 -6
- package/src/functions/serialization.ts +25 -30
- package/src/functions/table.ts +18 -20
- package/src/functions/tstlClass.ts +5 -5
- package/src/functions/utils.ts +27 -23
- package/src/functions/vector.ts +9 -10
- package/src/functions/weighted.ts +5 -5
- package/src/index.ts +2 -0
- package/src/sets/bossSets.ts +5 -5
- package/src/types/Expand.ts +5 -0
|
@@ -26,6 +26,7 @@ local ____string = require("src.functions.string")
|
|
|
26
26
|
local removeCharactersBefore = ____string.removeCharactersBefore
|
|
27
27
|
local trimPrefix = ____string.trimPrefix
|
|
28
28
|
local ____utils = require("src.functions.utils")
|
|
29
|
+
local assertDefined = ____utils.assertDefined
|
|
29
30
|
local eRange = ____utils.eRange
|
|
30
31
|
local iRange = ____utils.iRange
|
|
31
32
|
local ____ReadonlySet = require("src.types.ReadonlySet")
|
|
@@ -54,9 +55,7 @@ function spawnWallEntity(self, customStage, rng, isExtraWall)
|
|
|
54
55
|
sprite:Load(ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH .. "/wall-backdrop.anm2", false)
|
|
55
56
|
local wallLayersArray = isExtraWall and ROOM_SHAPE_WALL_EXTRA_ANM2_LAYERS or ROOM_SHAPE_WALL_ANM2_LAYERS
|
|
56
57
|
local numWallLayers = wallLayersArray[roomShape]
|
|
57
|
-
|
|
58
|
-
error("Failed to get the layers when creating the backdrop for custom stage: " .. customStage.name)
|
|
59
|
-
end
|
|
58
|
+
assertDefined(nil, numWallLayers, "Failed to get the layers when creating the backdrop for custom stage: " .. customStage.name)
|
|
60
59
|
if isLRoomShape(nil, roomShape) then
|
|
61
60
|
local cornerPNGPath = getBackdropPNGPath(nil, customStage, BackdropKind.CORNER, rng)
|
|
62
61
|
sprite:ReplaceSpritesheet(0, cornerPNGPath)
|
|
@@ -126,21 +125,21 @@ function spawnFloorEntity(self, customStage, rng)
|
|
|
126
125
|
end
|
|
127
126
|
function getNumFloorLayers(self, roomShape)
|
|
128
127
|
repeat
|
|
129
|
-
local
|
|
130
|
-
local
|
|
131
|
-
if
|
|
128
|
+
local ____switch22 = roomShape
|
|
129
|
+
local ____cond22 = ____switch22 == RoomShape.SHAPE_1x1
|
|
130
|
+
if ____cond22 then
|
|
132
131
|
do
|
|
133
132
|
return 4
|
|
134
133
|
end
|
|
135
134
|
end
|
|
136
|
-
|
|
137
|
-
if
|
|
135
|
+
____cond22 = ____cond22 or (____switch22 == RoomShape.SHAPE_1x2 or ____switch22 == RoomShape.SHAPE_2x1)
|
|
136
|
+
if ____cond22 then
|
|
138
137
|
do
|
|
139
138
|
return 8
|
|
140
139
|
end
|
|
141
140
|
end
|
|
142
|
-
|
|
143
|
-
if
|
|
141
|
+
____cond22 = ____cond22 or ____switch22 == RoomShape.SHAPE_2x2
|
|
142
|
+
if ____cond22 then
|
|
144
143
|
do
|
|
145
144
|
return 16
|
|
146
145
|
end
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayBomb.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayBomb.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayBomb.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayBomb.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,gBAAiB,SAAQ,OAAO;IACpC,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,MAAM,CAClB;;IAY/B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAG7B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayBomb = __TS__Class()
|
|
13
14
|
local DebugDisplayBomb = ____exports.DebugDisplayBomb
|
|
14
15
|
DebugDisplayBomb.name = "DebugDisplayBomb"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayDoor.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayDoor.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayDoor.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayDoor.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,gBAAiB,SAAQ,OAAO;IACpC,YAAY,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,MAAM,CAClB;;IAWnC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAG7B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultGridEntityDisplayCallback = ____utils.defaultGridEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayDoor = __TS__Class()
|
|
13
14
|
local DebugDisplayDoor = ____exports.DebugDisplayDoor
|
|
14
15
|
DebugDisplayDoor.name = "DebugDisplayDoor"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayEffect.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayEffect.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayEffect.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayEffect.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,kBAAmB,SAAQ,OAAO;IACtC,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,MAAM,CACtB;;IAY/B,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAG/B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayEffect = __TS__Class()
|
|
13
14
|
local DebugDisplayEffect = ____exports.DebugDisplayEffect
|
|
14
15
|
DebugDisplayEffect.name = "DebugDisplayEffect"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayFamiliar.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayFamiliar.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayFamiliar.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayFamiliar.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,oBAAqB,SAAQ,OAAO;IACxC,YAAY,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,MAAM,CAC1B;;IAY/B,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAGjC;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayFamiliar = __TS__Class()
|
|
13
14
|
local DebugDisplayFamiliar = ____exports.DebugDisplayFamiliar
|
|
14
15
|
DebugDisplayFamiliar.name = "DebugDisplayFamiliar"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayKnife.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayKnife.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayKnife.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayKnife.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,iBAAkB,SAAQ,OAAO;IACrC,YAAY,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,MAAM,CACpB;;IAY/B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAG9B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayKnife = __TS__Class()
|
|
13
14
|
local DebugDisplayKnife = ____exports.DebugDisplayKnife
|
|
14
15
|
DebugDisplayKnife.name = "DebugDisplayKnife"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayLaser.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayLaser.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayLaser.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayLaser.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,iBAAkB,SAAQ,OAAO;IACrC,YAAY,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,MAAM,CACpB;;IAY/B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAG9B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayLaser = __TS__Class()
|
|
13
14
|
local DebugDisplayLaser = ____exports.DebugDisplayLaser
|
|
14
15
|
DebugDisplayLaser.name = "DebugDisplayLaser"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayNPC.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayNPC.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayNPC.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayNPC.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,eAAgB,SAAQ,OAAO;IACnC,YAAY,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,MAAM,CAChB;;IAY/B,OAAO,CAAC,QAAQ,CAAC,aAAa,CAG5B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayNPC = __TS__Class()
|
|
13
14
|
local DebugDisplayNPC = ____exports.DebugDisplayNPC
|
|
14
15
|
DebugDisplayNPC.name = "DebugDisplayNPC"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayPickup.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPickup.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayPickup.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPickup.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,kBAAmB,SAAQ,OAAO;IACtC,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,MAAM,CACtB;;IAY/B,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAG/B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayPickup = __TS__Class()
|
|
13
14
|
local DebugDisplayPickup = ____exports.DebugDisplayPickup
|
|
14
15
|
DebugDisplayPickup.name = "DebugDisplayPickup"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayPit.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPit.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayPit.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPit.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,eAAgB,SAAQ,OAAO;IACnC,YAAY,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,MAAM,CAChB;;IAWnC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAG5B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultGridEntityDisplayCallback = ____utils.defaultGridEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayPit = __TS__Class()
|
|
13
14
|
local DebugDisplayPit = ____exports.DebugDisplayPit
|
|
14
15
|
DebugDisplayPit.name = "DebugDisplayPit"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayPlayer.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPlayer.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayPlayer.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPlayer.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,kBAAmB,SAAQ,OAAO;IACtC,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,MAAM,CACtB;;IAc/B,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAGxC;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayPlayer = __TS__Class()
|
|
13
14
|
local DebugDisplayPlayer = ____exports.DebugDisplayPlayer
|
|
14
15
|
DebugDisplayPlayer.name = "DebugDisplayPlayer"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayPoop.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPoop.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayPoop.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPoop.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,gBAAiB,SAAQ,OAAO;IACpC,YAAY,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,MAAM,CAClB;;IAWnC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAG7B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultGridEntityDisplayCallback = ____utils.defaultGridEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayPoop = __TS__Class()
|
|
13
14
|
local DebugDisplayPoop = ____exports.DebugDisplayPoop
|
|
14
15
|
DebugDisplayPoop.name = "DebugDisplayPoop"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayPressurePlate.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayPressurePlate.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayPressurePlate.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,yBAA0B,SAAQ,OAAO;IAC7C,YAAY,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,MAAM,CACpC;;IAcnC,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAKtC;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultGridEntityDisplayCallback = ____utils.defaultGridEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayPressurePlate = __TS__Class()
|
|
13
14
|
local DebugDisplayPressurePlate = ____exports.DebugDisplayPressurePlate
|
|
14
15
|
DebugDisplayPressurePlate.name = "DebugDisplayPressurePlate"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayProjectile.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayProjectile.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayProjectile.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayProjectile.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,sBAAuB,SAAQ,OAAO;IAC1C,YAAY,EAAE,CAAC,UAAU,EAAE,gBAAgB,KAAK,MAAM,CAC9B;;IAY/B,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAGnC;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayProjectile = __TS__Class()
|
|
13
14
|
local DebugDisplayProjectile = ____exports.DebugDisplayProjectile
|
|
14
15
|
DebugDisplayProjectile.name = "DebugDisplayProjectile"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayRock.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayRock.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayRock.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayRock.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,gBAAiB,SAAQ,OAAO;IACpC,YAAY,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,MAAM,CAClB;;IAWnC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAG7B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultGridEntityDisplayCallback = ____utils.defaultGridEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayRock = __TS__Class()
|
|
13
14
|
local DebugDisplayRock = ____exports.DebugDisplayRock
|
|
14
15
|
DebugDisplayRock.name = "DebugDisplayRock"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplaySlot.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplaySlot.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplaySlot.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplaySlot.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,gBAAiB,SAAQ,OAAO;IACpC,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,MAAM,CAClB;;IAW/B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAG7B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplaySlot = __TS__Class()
|
|
13
14
|
local DebugDisplaySlot = ____exports.DebugDisplaySlot
|
|
14
15
|
DebugDisplaySlot.name = "DebugDisplaySlot"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplaySpikes.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplaySpikes.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplaySpikes.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplaySpikes.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,kBAAmB,SAAQ,OAAO;IACtC,YAAY,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,MAAM,CACtB;;IAWnC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAG/B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultGridEntityDisplayCallback = ____utils.defaultGridEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplaySpikes = __TS__Class()
|
|
13
14
|
local DebugDisplaySpikes = ____exports.DebugDisplaySpikes
|
|
14
15
|
DebugDisplaySpikes.name = "DebugDisplaySpikes"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayTNT.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayTNT.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayTNT.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayTNT.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,eAAgB,SAAQ,OAAO;IACnC,YAAY,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,MAAM,CAChB;;IAWnC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAG5B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultGridEntityDisplayCallback = ____utils.defaultGridEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayTNT = __TS__Class()
|
|
13
14
|
local DebugDisplayTNT = ____exports.DebugDisplayTNT
|
|
14
15
|
DebugDisplayTNT.name = "DebugDisplayTNT"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplayTear.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayTear.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DebugDisplayTear.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/DebugDisplayTear.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAGnD,qBAAa,gBAAiB,SAAQ,OAAO;IACpC,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,MAAM,CAClB;;IAY/B,OAAO,CAAC,QAAQ,CAAC,cAAc,CAG7B;CACH"}
|
|
@@ -4,11 +4,12 @@ local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
+
local ____render = require("src.functions.render")
|
|
8
|
+
local renderTextOnEntity = ____render.renderTextOnEntity
|
|
7
9
|
local ____Feature = require("src.classes.private.Feature")
|
|
8
10
|
local Feature = ____Feature.Feature
|
|
9
11
|
local ____utils = require("src.classes.features.other.debugDisplay.utils")
|
|
10
12
|
local defaultEntityDisplayCallback = ____utils.defaultEntityDisplayCallback
|
|
11
|
-
local renderTextOnEntity = ____utils.renderTextOnEntity
|
|
12
13
|
____exports.DebugDisplayTear = __TS__Class()
|
|
13
14
|
local DebugDisplayTear = ____exports.DebugDisplayTear
|
|
14
15
|
DebugDisplayTear.name = "DebugDisplayTear"
|
|
@@ -2,5 +2,4 @@
|
|
|
2
2
|
/// <reference types="isaac-typescript-definitions" />
|
|
3
3
|
export declare function defaultEntityDisplayCallback(entity: Entity): string;
|
|
4
4
|
export declare function defaultGridEntityDisplayCallback(gridEntity: GridEntity): string;
|
|
5
|
-
export declare function renderTextOnEntity(entity: Entity | GridEntity, text: string): void;
|
|
6
5
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/utils.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/classes/features/other/debugDisplay/utils.ts"],"names":[],"mappings":";;AAGA,wBAAgB,4BAA4B,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,UAAU,GACrB,MAAM,CAER"}
|
|
@@ -3,27 +3,10 @@ local ____entities = require("src.functions.entities")
|
|
|
3
3
|
local getEntityID = ____entities.getEntityID
|
|
4
4
|
local ____gridEntities = require("src.functions.gridEntities")
|
|
5
5
|
local getGridEntityID = ____gridEntities.getGridEntityID
|
|
6
|
-
local ____utils = require("src.functions.utils")
|
|
7
|
-
local isReflectionRender = ____utils.isReflectionRender
|
|
8
6
|
function ____exports.defaultEntityDisplayCallback(self, entity)
|
|
9
7
|
return getEntityID(nil, entity)
|
|
10
8
|
end
|
|
11
9
|
function ____exports.defaultGridEntityDisplayCallback(self, gridEntity)
|
|
12
10
|
return getGridEntityID(nil, gridEntity)
|
|
13
11
|
end
|
|
14
|
-
function ____exports.renderTextOnEntity(self, entity, text)
|
|
15
|
-
if isReflectionRender(nil) then
|
|
16
|
-
return
|
|
17
|
-
end
|
|
18
|
-
local position = Isaac.WorldToScreen(entity.Position)
|
|
19
|
-
Isaac.RenderText(
|
|
20
|
-
text,
|
|
21
|
-
position.X,
|
|
22
|
-
position.Y,
|
|
23
|
-
1,
|
|
24
|
-
1,
|
|
25
|
-
1,
|
|
26
|
-
1
|
|
27
|
-
)
|
|
28
|
-
end
|
|
29
12
|
return ____exports
|
|
@@ -49,7 +49,7 @@ function ____exports.restoreDefaultForFeatureKey(self, saveDataDefaultsMap, subs
|
|
|
49
49
|
end
|
|
50
50
|
local childTableDefaults = saveDataDefaults[saveDataKey]
|
|
51
51
|
if childTableDefaults == nil then
|
|
52
|
-
logError(((("Failed to find the default copy of the child table \"" .. saveDataKey) .. "\" for subscriber \"") .. subscriberName) .. "\". This error usually means that your save data is out of date. You can try purging all of your save data by deleting the following directory: C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\data")
|
|
52
|
+
logError(((("Failed to find the default copy of the child table \"" .. saveDataKey) .. "\" for subscriber \"") .. subscriberName) .. "\". This error usually means that your mod-specific save data is out of date. You can try purging all of your mod-specific save data by deleting the following directory: C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\data")
|
|
53
53
|
return
|
|
54
54
|
end
|
|
55
55
|
local childTableDefaultsCopy = deepCopy(nil, childTableDefaults, SerializationType.NONE, (subscriberName .. " --> ") .. saveDataKey)
|
|
@@ -140,6 +140,9 @@ export declare function getArrayIndexes<T>(array: T[] | readonly T[]): int[];
|
|
|
140
140
|
* Helper function to return the last element of an array.
|
|
141
141
|
*
|
|
142
142
|
* If the array is empty, this will return undefined.
|
|
143
|
+
*
|
|
144
|
+
* (Note that TSTL does not support `Array.at(-1)`, which would make this helper function largely
|
|
145
|
+
* unnecessary.)
|
|
143
146
|
*/
|
|
144
147
|
export declare function getLastElement<T>(array: T[]): T | undefined;
|
|
145
148
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../src/functions/array.ts"],"names":[],"mappings":";;;AAMA;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAC3B,MAAM,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,EAC1B,MAAM,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,GACzB,OAAO,CAST;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAC3B,aAAa,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,EACjC,GAAG,gBAAgB,EAAE,CAAC,EAAE,GACvB,CAAC,EAAE,CAIL;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAC9B,aAAa,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,EACjC,GAAG,gBAAgB,EA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AgB,cAAc,CAAC,CAAC,EAC9B,YAAY,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,EAChC,WAAW,EAAE,KAAK,CAAC,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,CAAC,GACrC,OAAO,CAET;AAED,4EAA4E;AAC5E,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAIjE;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAC5B,aAAa,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,EACjC,SAAS,GAAE,IAAI,GAAG,GAAqB,GACtC,CAAC,EAAE,CAKL;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,KAAK,EAAE,CAAC,EAAE,EACV,SAAS,GAAE,IAAI,GAAG,GAAqB,GACtC,IAAI,CAWN;AAED,+DAA+D;AAC/D,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,GAAG,MAAM,CAEpE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAM3E"}
|
|
@@ -30,6 +30,7 @@ local ____types = require("src.functions.types")
|
|
|
30
30
|
local isNumber = ____types.isNumber
|
|
31
31
|
local isTable = ____types.isTable
|
|
32
32
|
local ____utils = require("src.functions.utils")
|
|
33
|
+
local assertDefined = ____utils.assertDefined
|
|
33
34
|
local eRange = ____utils.eRange
|
|
34
35
|
--- Removes all of the specified element(s) from the array. If the specified element(s) are not found
|
|
35
36
|
-- in the array, this function will do nothing.
|
|
@@ -369,6 +370,9 @@ end
|
|
|
369
370
|
--- Helper function to return the last element of an array.
|
|
370
371
|
--
|
|
371
372
|
-- If the array is empty, this will return undefined.
|
|
373
|
+
--
|
|
374
|
+
-- (Note that TSTL does not support `Array.at(-1)`, which would make this helper function largely
|
|
375
|
+
-- unnecessary.)
|
|
372
376
|
function ____exports.getLastElement(self, array)
|
|
373
377
|
return array[#array]
|
|
374
378
|
end
|
|
@@ -395,9 +399,11 @@ function ____exports.getRandomArrayElement(self, array, seedOrRNG, exceptions)
|
|
|
395
399
|
) or array
|
|
396
400
|
local randomIndex = ____exports.getRandomArrayIndex(nil, arrayToUse, seedOrRNG)
|
|
397
401
|
local randomElement = arrayToUse[randomIndex + 1]
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
402
|
+
assertDefined(
|
|
403
|
+
nil,
|
|
404
|
+
randomElement,
|
|
405
|
+
("Failed to get a random array element since the random index of " .. tostring(randomIndex)) .. " was not valid."
|
|
406
|
+
)
|
|
401
407
|
return randomElement
|
|
402
408
|
end
|
|
403
409
|
--- Helper function to get a random element from the provided array. Once the random element is
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitSet128.d.ts","sourceRoot":"","sources":["../../../src/functions/bitSet128.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"bitSet128.d.ts","sourceRoot":"","sources":["../../../src/functions/bitSet128.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAW9E,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAC1D,QAAQ,CAAC,0BAA0B,EAAE,MAAM,CAAC;IAC5C,QAAQ,CAAC,MAAM,EAAE,yBAAyB,CAAC,WAAW,CAAC;CACxD,CAAC;AAKF,6DAA6D;AAC7D,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,CAW7D;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,mBAAmB,GAC7B,SAAS,CAmBX;AAED,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,SAAS,CAEhE;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,OAAO,GACd,MAAM,IAAI,mBAAmB,CAQ/B;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,mBAAmB,CAW5E"}
|
|
@@ -10,6 +10,8 @@ local getNumbersFromTable = ____table.getNumbersFromTable
|
|
|
10
10
|
local tableHasKeys = ____table.tableHasKeys
|
|
11
11
|
local ____types = require("src.functions.types")
|
|
12
12
|
local isTable = ____types.isTable
|
|
13
|
+
local ____utils = require("src.functions.utils")
|
|
14
|
+
local assertDefined = ____utils.assertDefined
|
|
13
15
|
--- Helper function to check if something is an instantiated `BitSet128` object.
|
|
14
16
|
function ____exports.isBitSet128(self, object)
|
|
15
17
|
return isIsaacAPIClassOfType(nil, object, OBJECT_NAME)
|
|
@@ -37,12 +39,8 @@ function ____exports.deserializeBitSet128(self, bitSet128)
|
|
|
37
39
|
OBJECT_NAME,
|
|
38
40
|
table.unpack(KEYS)
|
|
39
41
|
))
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
end
|
|
43
|
-
if h == nil then
|
|
44
|
-
error(("Failed to deserialize a " .. OBJECT_NAME) .. " object since the provided object did not have a value for: h")
|
|
45
|
-
end
|
|
42
|
+
assertDefined(nil, l, ("Failed to deserialize a " .. OBJECT_NAME) .. " object since the provided object did not have a value for: l")
|
|
43
|
+
assertDefined(nil, h, ("Failed to deserialize a " .. OBJECT_NAME) .. " object since the provided object did not have a value for: h")
|
|
46
44
|
return BitSet128(l, h)
|
|
47
45
|
end
|
|
48
46
|
--- Used to determine is the given table is a serialized `BitSet128` object created by the `deepCopy`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitwise.d.ts","sourceRoot":"","sources":["../../../src/functions/bitwise.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"bitwise.d.ts","sourceRoot":"","sources":["../../../src/functions/bitwise.ts"],"names":[],"mappings":";;;;AAGA,+EAA+E;AAC/E,wBAAgB,eAAe,CAAC,CAAC,SAAS,OAAO,GAAG,UAAU,EAC5D,KAAK,EAAE,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,GACxB,QAAQ,CAAC,CAAC,CAAC,CAOb;AAED,mFAAmF;AACnF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,MAAM,CAG1D;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,GAAG,GAAG,GAAG,EAAE,CAqB7E;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,GAAG,GAAG,GAAG,CASxC;AAED,iGAAiG;AACjG,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,GAAG,GAAG,CAE9C;AAED,wFAAwF;AACxF,wBAAgB,aAAa,CAAC,CAAC,EAAE,GAAG,GAAG,GAAG,CAQzC;AAED,+EAA+E;AAC/E,wBAAgB,aAAa,CAAC,CAAC,SAAS,OAAO,GAAG,UAAU,EAC1D,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,GAC3B,QAAQ,CAAC,CAAC,CAAC,CAOb"}
|