isaacscript-common 31.3.1 → 31.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.
- package/dist/index.rollup.d.ts +29 -0
- package/dist/isaacscript-common.lua +101 -40
- 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/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/utils.d.ts +0 -10
- package/dist/src/functions/utils.d.ts.map +1 -1
- package/dist/src/functions/utils.lua +0 -16
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.lua +8 -0
- package/dist/src/types/AddSubtract.d.ts +15 -0
- package/dist/src/types/AddSubtract.d.ts.map +1 -0
- package/dist/src/types/AddSubtract.lua +2 -0
- 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 +1 -1
- 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/functions/render.ts +53 -0
- package/src/functions/utils.ts +0 -17
- package/src/index.ts +3 -0
- package/src/types/AddSubtract.ts +19 -0
- package/src/types/Expand.ts +5 -0
|
@@ -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
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
3
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
4
|
+
/**
|
|
5
|
+
* Helper function to see if the current render callback is rendering a water reflection.
|
|
6
|
+
*
|
|
7
|
+
* When the player is in a room with water, things will be rendered twice: once for the normal
|
|
8
|
+
* rendering, and once for the reflecting rendering. Thus, any mod code in a render callback will
|
|
9
|
+
* run twice per frame in these situations, which may be unexpected or cause bugs.
|
|
10
|
+
*
|
|
11
|
+
* This function is typically used to early return from a render function if it returns true.
|
|
12
|
+
*/
|
|
13
|
+
export declare function isReflectionRender(): boolean;
|
|
14
|
+
export declare function renderScaledTextOnEntity(entity: Entity | GridEntity, text: string, scaleX: float, scaleY: float): void;
|
|
15
|
+
export declare function renderTextOnEntity(entity: Entity | GridEntity, text: string): void;
|
|
16
|
+
//# sourceMappingURL=render.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../../src/functions/render.ts"],"names":[],"mappings":";;;AAGA;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CAI5C;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,GAAG,UAAU,EAC3B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,KAAK,EACb,MAAM,EAAE,KAAK,GACZ,IAAI,CAiBN;AAED,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,GAAG,UAAU,EAC3B,IAAI,EAAE,MAAM,GACX,IAAI,CAON"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
local ____exports = {}
|
|
2
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
3
|
+
local RenderMode = ____isaac_2Dtypescript_2Ddefinitions.RenderMode
|
|
4
|
+
local ____cachedClasses = require("src.core.cachedClasses")
|
|
5
|
+
local game = ____cachedClasses.game
|
|
6
|
+
--- Helper function to see if the current render callback is rendering a water reflection.
|
|
7
|
+
--
|
|
8
|
+
-- When the player is in a room with water, things will be rendered twice: once for the normal
|
|
9
|
+
-- rendering, and once for the reflecting rendering. Thus, any mod code in a render callback will
|
|
10
|
+
-- run twice per frame in these situations, which may be unexpected or cause bugs.
|
|
11
|
+
--
|
|
12
|
+
-- This function is typically used to early return from a render function if it returns true.
|
|
13
|
+
function ____exports.isReflectionRender(self)
|
|
14
|
+
local room = game:GetRoom()
|
|
15
|
+
local renderMode = room:GetRenderMode()
|
|
16
|
+
return renderMode == RenderMode.WATER_REFLECT
|
|
17
|
+
end
|
|
18
|
+
function ____exports.renderScaledTextOnEntity(self, entity, text, scaleX, scaleY)
|
|
19
|
+
if ____exports.isReflectionRender(nil) then
|
|
20
|
+
return
|
|
21
|
+
end
|
|
22
|
+
local position = Isaac.WorldToScreen(entity.Position)
|
|
23
|
+
Isaac.RenderScaledText(
|
|
24
|
+
text,
|
|
25
|
+
position.X,
|
|
26
|
+
position.Y,
|
|
27
|
+
scaleX,
|
|
28
|
+
scaleY,
|
|
29
|
+
1,
|
|
30
|
+
1,
|
|
31
|
+
1,
|
|
32
|
+
1
|
|
33
|
+
)
|
|
34
|
+
end
|
|
35
|
+
function ____exports.renderTextOnEntity(self, entity, text)
|
|
36
|
+
if ____exports.isReflectionRender(nil) then
|
|
37
|
+
return
|
|
38
|
+
end
|
|
39
|
+
local position = Isaac.WorldToScreen(entity.Position)
|
|
40
|
+
Isaac.RenderText(
|
|
41
|
+
text,
|
|
42
|
+
position.X,
|
|
43
|
+
position.Y,
|
|
44
|
+
1,
|
|
45
|
+
1,
|
|
46
|
+
1,
|
|
47
|
+
1
|
|
48
|
+
)
|
|
49
|
+
end
|
|
50
|
+
return ____exports
|
|
@@ -68,16 +68,6 @@ export declare function inRange(num: int, start: int, end: int): boolean;
|
|
|
68
68
|
* `POST_PLAYER_INIT_FIRST` callback (or some other callback like `POST_UPDATE`).
|
|
69
69
|
*/
|
|
70
70
|
export declare function isMultiplayer(): boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Helper function to see if the current render callback is rendering a water reflection.
|
|
73
|
-
*
|
|
74
|
-
* When the player is in a room with water, things will be rendered twice: once for the normal
|
|
75
|
-
* rendering, and once for the reflecting rendering. Thus, any mod code in a render callback will
|
|
76
|
-
* run twice per frame in these situations, which may be unexpected or cause bugs.
|
|
77
|
-
*
|
|
78
|
-
* This function is typically used to early return from a render function if it returns true.
|
|
79
|
-
*/
|
|
80
|
-
export declare function isReflectionRender(): boolean;
|
|
81
71
|
/**
|
|
82
72
|
* Helper function to check if the player is using Afterbirth+ or Repentance.
|
|
83
73
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/functions/utils.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/functions/utils.ts"],"names":[],"mappings":";AAIA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,SAAS,SAAI,GAAG,GAAG,EAAE,CAkBlE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,OAAO,EACZ,oBAAoB,EAAE,MAAM,GAC3B,MAAM,CAQR;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,SAAS,SAAI,GAAG,GAAG,EAAE,CAQlE;AAED;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAE/D;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,IAAI,OAAO,CAMvC;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,OAAO,CAetC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI,CAI3D;AAED;;;;;;;;;;;;;;GAcG;AAEH,wBAAgB,IAAI,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAG"}
|
|
@@ -2,10 +2,6 @@ local ____lualib = require("lualib_bundle")
|
|
|
2
2
|
local __TS__ArrayMap = ____lualib.__TS__ArrayMap
|
|
3
3
|
local __TS__New = ____lualib.__TS__New
|
|
4
4
|
local ____exports = {}
|
|
5
|
-
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
6
|
-
local RenderMode = ____isaac_2Dtypescript_2Ddefinitions.RenderMode
|
|
7
|
-
local ____cachedClasses = require("src.core.cachedClasses")
|
|
8
|
-
local game = ____cachedClasses.game
|
|
9
5
|
local ____ReadonlySet = require("src.types.ReadonlySet")
|
|
10
6
|
local ReadonlySet = ____ReadonlySet.ReadonlySet
|
|
11
7
|
local ____playerIndex = require("src.functions.playerIndex")
|
|
@@ -123,18 +119,6 @@ function ____exports.isMultiplayer(self)
|
|
|
123
119
|
local controllerIndexesSet = __TS__New(ReadonlySet, controllerIndexes)
|
|
124
120
|
return controllerIndexesSet.size > 1
|
|
125
121
|
end
|
|
126
|
-
--- Helper function to see if the current render callback is rendering a water reflection.
|
|
127
|
-
--
|
|
128
|
-
-- When the player is in a room with water, things will be rendered twice: once for the normal
|
|
129
|
-
-- rendering, and once for the reflecting rendering. Thus, any mod code in a render callback will
|
|
130
|
-
-- run twice per frame in these situations, which may be unexpected or cause bugs.
|
|
131
|
-
--
|
|
132
|
-
-- This function is typically used to early return from a render function if it returns true.
|
|
133
|
-
function ____exports.isReflectionRender(self)
|
|
134
|
-
local room = game:GetRoom()
|
|
135
|
-
local renderMode = room:GetRenderMode()
|
|
136
|
-
return renderMode == RenderMode.WATER_REFLECT
|
|
137
|
-
end
|
|
138
122
|
--- Helper function to check if the player is using Afterbirth+ or Repentance.
|
|
139
123
|
--
|
|
140
124
|
-- This function should always be used over the `REPENTANCE` constant, since the latter is not safe.
|
package/dist/src/index.d.ts
CHANGED
|
@@ -95,6 +95,7 @@ export * from "./functions/pressurePlate";
|
|
|
95
95
|
export * from "./functions/projectiles";
|
|
96
96
|
export * from "./functions/random";
|
|
97
97
|
export * from "./functions/readOnly";
|
|
98
|
+
export * from "./functions/render";
|
|
98
99
|
export * from "./functions/revive";
|
|
99
100
|
export * from "./functions/rng";
|
|
100
101
|
export * from "./functions/rockAlt";
|
|
@@ -147,6 +148,7 @@ export * from "./maps/roomNameToTypeMap";
|
|
|
147
148
|
export * from "./maps/transformationNameToPlayerFormMap";
|
|
148
149
|
export * from "./objects/colors";
|
|
149
150
|
export * from "./objects/kColors";
|
|
151
|
+
export * from "./types/AddSubtract";
|
|
150
152
|
export * from "./types/AllButFirst";
|
|
151
153
|
export * from "./types/AllButLast";
|
|
152
154
|
export * from "./types/AnyClass";
|
|
@@ -156,6 +158,7 @@ export * from "./types/AnyGridEntity";
|
|
|
156
158
|
export * from "./types/ConversionHeartSubType";
|
|
157
159
|
export * from "./types/Decrement";
|
|
158
160
|
export * from "./types/EntityID";
|
|
161
|
+
export * from "./types/Expand";
|
|
159
162
|
export * from "./types/FunctionTuple";
|
|
160
163
|
export * from "./types/GridEntityID";
|
|
161
164
|
export * from "./types/HasFunction";
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C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c,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC"}
|
package/dist/src/index.lua
CHANGED
|
@@ -775,6 +775,14 @@ do
|
|
|
775
775
|
end
|
|
776
776
|
end
|
|
777
777
|
end
|
|
778
|
+
do
|
|
779
|
+
local ____export = require("src.functions.render")
|
|
780
|
+
for ____exportKey, ____exportValue in pairs(____export) do
|
|
781
|
+
if ____exportKey ~= "default" then
|
|
782
|
+
____exports[____exportKey] = ____exportValue
|
|
783
|
+
end
|
|
784
|
+
end
|
|
785
|
+
end
|
|
778
786
|
do
|
|
779
787
|
local ____export = require("src.functions.revive")
|
|
780
788
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** From: https://gist.github.com/ryandabler/8b4ff4f36aed47bc09acc03174638468 */
|
|
2
|
+
export type Add<A extends number, B extends number> = Length<[
|
|
3
|
+
...BuildTuple<A>,
|
|
4
|
+
...BuildTuple<B>
|
|
5
|
+
]>;
|
|
6
|
+
/** From: https://gist.github.com/ryandabler/8b4ff4f36aed47bc09acc03174638468 */
|
|
7
|
+
export type Subtract<A extends number, B extends number> = A extends A ? BuildTuple<A> extends [...infer U, ...BuildTuple<B>] ? Length<U> : never : never;
|
|
8
|
+
type BuildTuple<L extends number, T extends unknown[] = []> = T extends {
|
|
9
|
+
length: L;
|
|
10
|
+
} ? T : BuildTuple<L, [...T, unknown]>;
|
|
11
|
+
type Length<T extends unknown[]> = T extends {
|
|
12
|
+
length: infer L;
|
|
13
|
+
} ? L : never;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=AddSubtract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddSubtract.d.ts","sourceRoot":"","sources":["../../../src/types/AddSubtract.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,MAAM,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,IAAI,MAAM,CAC1D;IAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IAAE,GAAG,UAAU,CAAC,CAAC,CAAC;CAAC,CACrC,CAAC;AAEF,gFAAgF;AAChF,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,CAAC,GAClE,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,EAAE,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,GAClD,MAAM,CAAC,CAAC,CAAC,GACT,KAAK,GACP,KAAK,CAAC;AAEV,KAAK,UAAU,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,SAAS;IACtE,MAAM,EAAE,CAAC,CAAC;CACX,GACG,CAAC,GACD,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC;AAEnC,KAAK,MAAM,CAAC,CAAC,SAAS,OAAO,EAAE,IAAI,CAAC,SAAS;IAAE,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Expand.d.ts","sourceRoot":"","sources":["../../../src/types/Expand.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,CAAC,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG,KAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallback } from "isaac-typescript-definitions";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultEntityDisplayCallback
|
|
4
|
+
import { defaultEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayBomb extends Feature {
|
|
6
7
|
public textCallback: (bomb: EntityBomb) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallbackCustom } from "../../../../enums/ModCallbackCustom";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultGridEntityDisplayCallback
|
|
4
|
+
import { defaultGridEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayDoor extends Feature {
|
|
6
7
|
public textCallback: (door: GridEntityDoor) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallback } from "isaac-typescript-definitions";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultEntityDisplayCallback
|
|
4
|
+
import { defaultEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayEffect extends Feature {
|
|
6
7
|
public textCallback: (effect: EntityEffect) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallback } from "isaac-typescript-definitions";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultEntityDisplayCallback
|
|
4
|
+
import { defaultEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayFamiliar extends Feature {
|
|
6
7
|
public textCallback: (familiar: EntityFamiliar) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallback } from "isaac-typescript-definitions";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultEntityDisplayCallback
|
|
4
|
+
import { defaultEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayKnife extends Feature {
|
|
6
7
|
public textCallback: (knife: EntityKnife) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallback } from "isaac-typescript-definitions";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultEntityDisplayCallback
|
|
4
|
+
import { defaultEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayLaser extends Feature {
|
|
6
7
|
public textCallback: (laser: EntityLaser) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallback } from "isaac-typescript-definitions";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultEntityDisplayCallback
|
|
4
|
+
import { defaultEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayNPC extends Feature {
|
|
6
7
|
public textCallback: (npc: EntityNPC) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallback } from "isaac-typescript-definitions";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultEntityDisplayCallback
|
|
4
|
+
import { defaultEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayPickup extends Feature {
|
|
6
7
|
public textCallback: (pickup: EntityPickup) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallbackCustom } from "../../../../enums/ModCallbackCustom";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultGridEntityDisplayCallback
|
|
4
|
+
import { defaultGridEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayPit extends Feature {
|
|
6
7
|
public textCallback: (pit: GridEntityPit) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallbackCustom } from "../../../../enums/ModCallbackCustom";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultEntityDisplayCallback
|
|
4
|
+
import { defaultEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayPlayer extends Feature {
|
|
6
7
|
public textCallback: (player: EntityPlayer) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallbackCustom } from "../../../../enums/ModCallbackCustom";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultGridEntityDisplayCallback
|
|
4
|
+
import { defaultGridEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayPoop extends Feature {
|
|
6
7
|
public textCallback: (poop: GridEntityPoop) => string =
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModCallbackCustom } from "../../../../enums/ModCallbackCustom";
|
|
2
|
+
import { renderTextOnEntity } from "../../../../functions/render";
|
|
2
3
|
import { Feature } from "../../../private/Feature";
|
|
3
|
-
import { defaultGridEntityDisplayCallback
|
|
4
|
+
import { defaultGridEntityDisplayCallback } from "./utils";
|
|
4
5
|
|
|
5
6
|
export class DebugDisplayPressurePlate extends Feature {
|
|
6
7
|
public textCallback: (pressurePlate: GridEntityPressurePlate) => string =
|