isaacscript-common 6.6.4 → 6.7.1
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/callbacks/customRevive.lua +4 -4
- package/dist/callbacks/postCursedTeleport.lua +2 -2
- package/dist/callbacks/postCustomDoorEnter.d.ts +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +6 -6
- package/dist/callbacks/postDiceRoomActivated.lua +2 -2
- package/dist/callbacks/postFlip.lua +3 -3
- package/dist/callbacks/postGridEntity.lua +3 -3
- package/dist/callbacks/postGridEntityCollision.lua +3 -3
- package/dist/callbacks/postGridEntityRender.lua +2 -2
- package/dist/callbacks/postNewRoomEarly.lua +5 -5
- package/dist/callbacks/postPickupCollect.lua +2 -2
- package/dist/callbacks/postPitRender.lua +2 -2
- package/dist/callbacks/postPitUpdate.lua +2 -2
- package/dist/callbacks/postPlayerCollectible.lua +2 -2
- package/dist/callbacks/postPoopRender.lua +2 -2
- package/dist/callbacks/postPoopUpdate.lua +2 -2
- package/dist/callbacks/postPressurePlateRender.lua +2 -2
- package/dist/callbacks/postPressurePlateUpdate.lua +2 -2
- package/dist/callbacks/postPurchase.lua +2 -2
- package/dist/callbacks/postRockRender.lua +2 -2
- package/dist/callbacks/postRockUpdate.lua +2 -2
- package/dist/callbacks/postSlotInitUpdate.lua +2 -2
- package/dist/callbacks/postSlotRender.lua +2 -2
- package/dist/callbacks/postSpikesRender.lua +2 -2
- package/dist/callbacks/postSpikesUpdate.lua +2 -2
- package/dist/callbacks/postTNTRender.lua +2 -2
- package/dist/callbacks/postTNTUpdate.lua +2 -2
- package/dist/callbacks/preBerserkDeath.lua +2 -2
- package/dist/callbacks/preNewLevel.lua +2 -2
- package/dist/callbacks/subscriptions/postDoorRender.d.ts +2 -3
- package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorRender.lua +3 -3
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +2 -3
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postPitRender.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitRender.lua +3 -3
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postPoopRender.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopRender.lua +3 -3
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.lua +3 -3
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +3 -3
- package/dist/enums/private/SerializationBrand.d.ts +0 -4
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
- package/dist/features/characterStats.lua +2 -2
- package/dist/features/collectibleItemPoolType.lua +2 -2
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +5 -5
- package/dist/features/customStage/backdrop.lua +2 -2
- package/dist/features/customStage/{gridEntities.d.ts → customStageGridEntities.d.ts} +1 -1
- package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -0
- package/dist/features/customStage/{gridEntities.lua → customStageGridEntities.lua} +8 -8
- package/dist/features/customStage/{util.d.ts → customStageUtils.d.ts} +1 -1
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -0
- package/dist/features/customStage/{util.lua → customStageUtils.lua} +0 -0
- package/dist/features/customStage/exports.lua +4 -4
- package/dist/features/customStage/init.lua +6 -6
- package/dist/features/customStage/shadows.lua +2 -2
- package/dist/features/customStage/versusScreen.lua +4 -4
- package/dist/features/debugDisplay/v.lua +4 -4
- package/dist/features/deployJSONRoom.lua +20 -20
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +3 -3
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +14 -14
- package/dist/features/pause.lua +2 -2
- package/dist/features/persistentEntities.lua +2 -2
- package/dist/features/preventCollectibleRotation.lua +2 -2
- package/dist/features/saveDataManager/exports.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +2 -2
- package/dist/functions/ambush.lua +5 -5
- package/dist/functions/{boss.d.ts → bosses.d.ts} +22 -4
- package/dist/functions/bosses.d.ts.map +1 -0
- package/dist/functions/{boss.lua → bosses.lua} +38 -13
- package/dist/functions/collectibleTag.lua +2 -2
- package/dist/functions/collectibles.lua +5 -5
- package/dist/functions/deepCopy.d.ts +8 -5
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.lua +142 -38
- package/dist/functions/{entity.d.ts → entities.d.ts} +21 -19
- package/dist/functions/entities.d.ts.map +1 -0
- package/dist/functions/{entity.lua → entities.lua} +25 -20
- package/dist/functions/{entitySpecific.d.ts → entitiesSpecific.d.ts} +145 -68
- package/dist/functions/entitiesSpecific.d.ts.map +1 -0
- package/dist/functions/{entitySpecific.lua → entitiesSpecific.lua} +203 -65
- package/dist/functions/familiars.lua +2 -2
- package/dist/functions/{gridEntity.d.ts → gridEntities.d.ts} +48 -17
- package/dist/functions/gridEntities.d.ts.map +1 -0
- package/dist/functions/{gridEntity.lua → gridEntities.lua} +140 -90
- package/dist/functions/gridEntitiesSpecific.d.ts +141 -0
- package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -0
- package/dist/functions/gridEntitiesSpecific.lua +366 -0
- package/dist/functions/log.d.ts +1 -1
- package/dist/functions/log.lua +9 -9
- package/dist/functions/{npc.d.ts → npcs.d.ts} +24 -2
- package/dist/functions/npcs.d.ts.map +1 -0
- package/dist/functions/{npc.lua → npcs.lua} +44 -9
- package/dist/functions/pickups.d.ts +4 -119
- package/dist/functions/pickups.d.ts.map +1 -1
- package/dist/functions/pickups.lua +10 -439
- package/dist/functions/pickupsSpecific.d.ts +229 -0
- package/dist/functions/pickupsSpecific.d.ts.map +1 -0
- package/dist/functions/pickupsSpecific.lua +560 -0
- package/dist/functions/playerHealth.lua +6 -6
- package/dist/functions/{player.d.ts → players.d.ts} +1 -1
- package/dist/functions/players.d.ts.map +1 -0
- package/dist/functions/{player.lua → players.lua} +0 -0
- package/dist/functions/pocketItems.lua +2 -2
- package/dist/functions/positionVelocity.lua +6 -6
- package/dist/functions/pressurePlate.d.ts +10 -0
- package/dist/functions/pressurePlate.d.ts.map +1 -0
- package/dist/functions/pressurePlate.lua +29 -0
- package/dist/functions/revive.lua +7 -7
- package/dist/functions/rooms.lua +2 -2
- package/dist/functions/saveFile.lua +3 -3
- package/dist/functions/spawnCollectible.lua +4 -4
- package/dist/functions/{sprite.d.ts → sprites.d.ts} +1 -1
- package/dist/functions/sprites.d.ts.map +1 -0
- package/dist/functions/{sprite.lua → sprites.lua} +0 -0
- package/dist/functions/table.d.ts +1 -1
- package/dist/functions/table.lua +1 -1
- package/dist/functions/transformations.lua +2 -2
- package/dist/functions/trinketGive.lua +2 -2
- package/dist/functions/trinkets.lua +6 -6
- package/dist/functions/utils.d.ts +7 -0
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.lua +35 -22
- package/dist/index.d.ts +10 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.lua +26 -10
- package/dist/types/AnyGridEntity.d.ts +10 -0
- package/dist/types/AnyGridEntity.d.ts.map +1 -0
- package/dist/types/AnyGridEntity.lua +2 -0
- package/package.json +2 -2
- package/src/callbacks/customRevive.ts +2 -2
- package/src/callbacks/postCursedTeleport.ts +2 -2
- package/src/callbacks/postCustomDoorEnter.ts +3 -3
- package/src/callbacks/postDiceRoomActivated.ts +1 -1
- package/src/callbacks/postFlip.ts +1 -1
- package/src/callbacks/postGridEntity.ts +1 -1
- package/src/callbacks/postGridEntityCollision.ts +1 -1
- package/src/callbacks/postGridEntityRender.ts +1 -1
- package/src/callbacks/postNewRoomEarly.ts +9 -3
- package/src/callbacks/postPickupCollect.ts +1 -1
- package/src/callbacks/postPitRender.ts +1 -1
- package/src/callbacks/postPitUpdate.ts +1 -1
- package/src/callbacks/postPlayerCollectible.ts +2 -2
- package/src/callbacks/postPoopRender.ts +1 -1
- package/src/callbacks/postPoopUpdate.ts +1 -1
- package/src/callbacks/postPressurePlateRender.ts +1 -1
- package/src/callbacks/postPressurePlateUpdate.ts +1 -1
- package/src/callbacks/postPurchase.ts +1 -1
- package/src/callbacks/postRockRender.ts +1 -1
- package/src/callbacks/postRockUpdate.ts +1 -1
- package/src/callbacks/postSacrifice.ts +1 -1
- package/src/callbacks/postSlotInitUpdate.ts +1 -1
- package/src/callbacks/postSlotRender.ts +1 -1
- package/src/callbacks/postSpikesRender.ts +1 -1
- package/src/callbacks/postSpikesUpdate.ts +1 -1
- package/src/callbacks/postTNTRender.ts +1 -1
- package/src/callbacks/postTNTUpdate.ts +1 -1
- package/src/callbacks/preBerserkDeath.ts +1 -1
- package/src/callbacks/preNewLevel.ts +1 -1
- package/src/callbacks/subscriptions/postDoorRender.ts +7 -5
- package/src/callbacks/subscriptions/postDoorUpdate.ts +7 -5
- package/src/callbacks/subscriptions/postPitRender.ts +6 -7
- package/src/callbacks/subscriptions/postPitUpdate.ts +6 -7
- package/src/callbacks/subscriptions/postPoopRender.ts +7 -5
- package/src/callbacks/subscriptions/postPoopUpdate.ts +7 -5
- package/src/callbacks/subscriptions/postPressurePlateRender.ts +7 -5
- package/src/callbacks/subscriptions/postPressurePlateUpdate.ts +7 -5
- package/src/enums/private/SerializationBrand.ts +0 -4
- package/src/features/characterStats.ts +1 -1
- package/src/features/collectibleItemPoolType.ts +1 -1
- package/src/features/customGridEntity.ts +6 -3
- package/src/features/customStage/backdrop.ts +1 -1
- package/src/features/customStage/{gridEntities.ts → customStageGridEntities.ts} +3 -3
- package/src/features/customStage/{util.ts → customStageUtils.ts} +0 -0
- package/src/features/customStage/exports.ts +2 -2
- package/src/features/customStage/init.ts +1 -1
- package/src/features/customStage/shadows.ts +1 -1
- package/src/features/customStage/versusScreen.ts +2 -2
- package/src/features/debugDisplay/v.ts +2 -2
- package/src/features/deployJSONRoom.ts +11 -7
- package/src/features/extraConsoleCommands/commandsSubroutines.ts +2 -2
- package/src/features/extraConsoleCommands/listCommands.ts +13 -9
- package/src/features/pause.ts +1 -1
- package/src/features/persistentEntities.ts +2 -2
- package/src/features/preventCollectibleRotation.ts +1 -1
- package/src/features/saveDataManager/exports.ts +7 -4
- package/src/features/sirenHelpers.ts +1 -1
- package/src/functions/ambush.ts +2 -2
- package/src/functions/array.ts +1 -1
- package/src/functions/bitwise.ts +2 -2
- package/src/functions/{boss.ts → bosses.ts} +29 -21
- package/src/functions/collectibleTag.ts +1 -1
- package/src/functions/collectibles.ts +2 -2
- package/src/functions/deepCopy.ts +98 -19
- package/src/functions/deepCopyTests.ts +6 -4
- package/src/functions/{entity.ts → entities.ts} +23 -21
- package/src/functions/{entitySpecific.ts → entitiesSpecific.ts} +170 -99
- package/src/functions/familiars.ts +1 -1
- package/src/functions/{gridEntity.ts → gridEntities.ts} +110 -34
- package/src/functions/gridEntitiesSpecific.ts +490 -0
- package/src/functions/log.ts +6 -6
- package/src/functions/{npc.ts → npcs.ts} +42 -11
- package/src/functions/pickups.ts +8 -475
- package/src/functions/pickupsSpecific.ts +613 -0
- package/src/functions/playerHealth.ts +1 -1
- package/src/functions/{player.ts → players.ts} +0 -0
- package/src/functions/pocketItems.ts +1 -1
- package/src/functions/positionVelocity.ts +3 -3
- package/src/functions/pressurePlate.ts +29 -0
- package/src/functions/revive.ts +2 -2
- package/src/functions/rooms.ts +1 -1
- package/src/functions/saveFile.ts +1 -1
- package/src/functions/spawnCollectible.ts +2 -2
- package/src/functions/{sprite.ts → sprites.ts} +0 -0
- package/src/functions/table.ts +1 -1
- package/src/functions/transformations.ts +1 -1
- package/src/functions/trinketGive.ts +4 -4
- package/src/functions/trinkets.ts +3 -3
- package/src/functions/tstlClass.ts +1 -1
- package/src/functions/ui.ts +3 -3
- package/src/functions/utils.ts +32 -13
- package/src/index.ts +10 -8
- package/src/types/AnyGridEntity.ts +9 -0
- package/dist/features/customStage/gridEntities.d.ts.map +0 -1
- package/dist/features/customStage/util.d.ts.map +0 -1
- package/dist/functions/boss.d.ts.map +0 -1
- package/dist/functions/entity.d.ts.map +0 -1
- package/dist/functions/entitySpecific.d.ts.map +0 -1
- package/dist/functions/gridEntity.d.ts.map +0 -1
- package/dist/functions/gridEntitySpecific.d.ts +0 -29
- package/dist/functions/gridEntitySpecific.d.ts.map +0 -1
- package/dist/functions/gridEntitySpecific.lua +0 -114
- package/dist/functions/npc.d.ts.map +0 -1
- package/dist/functions/player.d.ts.map +0 -1
- package/dist/functions/sprite.d.ts.map +0 -1
- package/src/functions/gridEntitySpecific.ts +0 -143
|
@@ -16,16 +16,16 @@ local ____exports = require("features.saveDataManager.exports")
|
|
|
16
16
|
local saveDataManager = ____exports.saveDataManager
|
|
17
17
|
local ____collectibles = require("functions.collectibles")
|
|
18
18
|
local removeCollectibleFromItemTracker = ____collectibles.removeCollectibleFromItemTracker
|
|
19
|
-
local
|
|
20
|
-
local removeAllFamiliars =
|
|
19
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
20
|
+
local removeAllFamiliars = ____entitiesSpecific.removeAllFamiliars
|
|
21
21
|
local ____log = require("functions.log")
|
|
22
22
|
local log = ____log.log
|
|
23
23
|
local logError = ____log.logError
|
|
24
|
-
local ____player = require("functions.player")
|
|
25
|
-
local isCharacter = ____player.isCharacter
|
|
26
24
|
local ____playerIndex = require("functions.playerIndex")
|
|
27
25
|
local getPlayerFromIndex = ____playerIndex.getPlayerFromIndex
|
|
28
26
|
local getPlayerIndex = ____playerIndex.getPlayerIndex
|
|
27
|
+
local ____players = require("functions.players")
|
|
28
|
+
local isCharacter = ____players.isCharacter
|
|
29
29
|
local ____postCustomRevive = require("callbacks.subscriptions.postCustomRevive")
|
|
30
30
|
local postCustomReviveFire = ____postCustomRevive.postCustomReviveFire
|
|
31
31
|
local postCustomReviveHasSubscriptions = ____postCustomRevive.postCustomReviveHasSubscriptions
|
|
@@ -17,11 +17,11 @@ local ____exports = require("features.saveDataManager.exports")
|
|
|
17
17
|
local saveDataManager = ____exports.saveDataManager
|
|
18
18
|
local ____flag = require("functions.flag")
|
|
19
19
|
local hasFlag = ____flag.hasFlag
|
|
20
|
-
local ____player = require("functions.player")
|
|
21
|
-
local getPlayerNumHitsRemaining = ____player.getPlayerNumHitsRemaining
|
|
22
20
|
local ____playerDataStructures = require("functions.playerDataStructures")
|
|
23
21
|
local mapGetPlayer = ____playerDataStructures.mapGetPlayer
|
|
24
22
|
local mapSetPlayer = ____playerDataStructures.mapSetPlayer
|
|
23
|
+
local ____players = require("functions.players")
|
|
24
|
+
local getPlayerNumHitsRemaining = ____players.getPlayerNumHitsRemaining
|
|
25
25
|
local ____postCursedTeleport = require("callbacks.subscriptions.postCursedTeleport")
|
|
26
26
|
local postCursedTeleportFire = ____postCursedTeleport.postCursedTeleportFire
|
|
27
27
|
local postCursedTeleportHasSubscriptions = ____postCursedTeleport.postCursedTeleportHasSubscriptions
|
|
@@ -39,7 +39,7 @@ export declare function initCustomDoor(mod: ModUpgraded, effectVariant: EffectVa
|
|
|
39
39
|
* The custom door is an `EntityEffect`. You can manually open or close the door by modifying its
|
|
40
40
|
* state. (The values to use correspond to the `DoorState` enum.)
|
|
41
41
|
*
|
|
42
|
-
* This function will throw a
|
|
42
|
+
* This function will throw a run-time error if:
|
|
43
43
|
* - the door slot already has a vanilla door
|
|
44
44
|
* - the door slot already has a custom door
|
|
45
45
|
* - the tile at the door slot does not have a wall
|
|
@@ -20,11 +20,11 @@ local ____direction = require("functions.direction")
|
|
|
20
20
|
local directionToVector = ____direction.directionToVector
|
|
21
21
|
local ____doors = require("functions.doors")
|
|
22
22
|
local doorSlotToDirection = ____doors.doorSlotToDirection
|
|
23
|
-
local
|
|
24
|
-
local getEffects =
|
|
25
|
-
local spawnEffect =
|
|
26
|
-
local
|
|
27
|
-
local getClosestPlayer =
|
|
23
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
24
|
+
local getEffects = ____entitiesSpecific.getEffects
|
|
25
|
+
local spawnEffect = ____entitiesSpecific.spawnEffect
|
|
26
|
+
local ____players = require("functions.players")
|
|
27
|
+
local getClosestPlayer = ____players.getClosestPlayer
|
|
28
28
|
local ____postCustomDoorEnter = require("callbacks.subscriptions.postCustomDoorEnter")
|
|
29
29
|
local postCustomDoorEnterFire = ____postCustomDoorEnter.postCustomDoorEnterFire
|
|
30
30
|
local postCustomDoorEnterHasSubscriptions = ____postCustomDoorEnter.postCustomDoorEnterHasSubscriptions
|
|
@@ -199,7 +199,7 @@ end
|
|
|
199
199
|
-- The custom door is an `EntityEffect`. You can manually open or close the door by modifying its
|
|
200
200
|
-- state. (The values to use correspond to the `DoorState` enum.)
|
|
201
201
|
--
|
|
202
|
-
-- This function will throw a
|
|
202
|
+
-- This function will throw a run-time error if:
|
|
203
203
|
-- - the door slot already has a vanilla door
|
|
204
204
|
-- - the door slot already has a custom door
|
|
205
205
|
-- - the tile at the door slot does not have a wall
|
|
@@ -7,8 +7,8 @@ local ____exports = require("features.saveDataManager.exports")
|
|
|
7
7
|
local saveDataManager = ____exports.saveDataManager
|
|
8
8
|
local ____effects = require("functions.effects")
|
|
9
9
|
local isCloseEnoughToTriggerDiceFloor = ____effects.isCloseEnoughToTriggerDiceFloor
|
|
10
|
-
local
|
|
11
|
-
local getClosestPlayer =
|
|
10
|
+
local ____players = require("functions.players")
|
|
11
|
+
local getClosestPlayer = ____players.getClosestPlayer
|
|
12
12
|
local ____postDiceRoomActivated = require("callbacks.subscriptions.postDiceRoomActivated")
|
|
13
13
|
local postDiceRoomActivatedFire = ____postDiceRoomActivated.postDiceRoomActivatedFire
|
|
14
14
|
local postDiceRoomActivatedHasSubscriptions = ____postDiceRoomActivated.postDiceRoomActivatedHasSubscriptions
|
|
@@ -8,9 +8,9 @@ local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
|
8
8
|
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
9
9
|
local ____exports = require("features.saveDataManager.exports")
|
|
10
10
|
local saveDataManager = ____exports.saveDataManager
|
|
11
|
-
local
|
|
12
|
-
local getPlayersOfType =
|
|
13
|
-
local isTaintedLazarus =
|
|
11
|
+
local ____players = require("functions.players")
|
|
12
|
+
local getPlayersOfType = ____players.getPlayersOfType
|
|
13
|
+
local isTaintedLazarus = ____players.isTaintedLazarus
|
|
14
14
|
local ____postFirstFlip = require("callbacks.subscriptions.postFirstFlip")
|
|
15
15
|
local postFirstFlipFire = ____postFirstFlip.postFirstFlipFire
|
|
16
16
|
local postFirstFlipHasSubscriptions = ____postFirstFlip.postFirstFlipHasSubscriptions
|
|
@@ -10,9 +10,9 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
|
|
|
10
10
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
11
11
|
local ____exports = require("features.saveDataManager.exports")
|
|
12
12
|
local saveDataManager = ____exports.saveDataManager
|
|
13
|
-
local
|
|
14
|
-
local getGridEntitiesMap =
|
|
15
|
-
local isGridEntityBroken =
|
|
13
|
+
local ____gridEntities = require("functions.gridEntities")
|
|
14
|
+
local getGridEntitiesMap = ____gridEntities.getGridEntitiesMap
|
|
15
|
+
local isGridEntityBroken = ____gridEntities.isGridEntityBroken
|
|
16
16
|
local ____postGridEntityBroken = require("callbacks.subscriptions.postGridEntityBroken")
|
|
17
17
|
local postGridEntityBrokenFire = ____postGridEntityBroken.postGridEntityBrokenFire
|
|
18
18
|
local postGridEntityBrokenHasSubscriptions = ____postGridEntityBroken.postGridEntityBrokenHasSubscriptions
|
|
@@ -13,9 +13,9 @@ local ____DefaultMap = require("classes.DefaultMap")
|
|
|
13
13
|
local DefaultMap = ____DefaultMap.DefaultMap
|
|
14
14
|
local ____exports = require("features.saveDataManager.exports")
|
|
15
15
|
local saveDataManager = ____exports.saveDataManager
|
|
16
|
-
local
|
|
17
|
-
local getCollidingEntitiesWithGridEntity =
|
|
18
|
-
local getGridEntities =
|
|
16
|
+
local ____gridEntities = require("functions.gridEntities")
|
|
17
|
+
local getCollidingEntitiesWithGridEntity = ____gridEntities.getCollidingEntitiesWithGridEntity
|
|
18
|
+
local getGridEntities = ____gridEntities.getGridEntities
|
|
19
19
|
local ____postGridEntityCollision = require("callbacks.subscriptions.postGridEntityCollision")
|
|
20
20
|
local postGridEntityCollisionFire = ____postGridEntityCollision.postGridEntityCollisionFire
|
|
21
21
|
local postGridEntityCollisionHasSubscriptions = ____postGridEntityCollision.postGridEntityCollisionHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postRender
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getGridEntities =
|
|
5
|
+
local ____gridEntities = require("functions.gridEntities")
|
|
6
|
+
local getGridEntities = ____gridEntities.getGridEntities
|
|
7
7
|
local ____postGridEntityRender = require("callbacks.subscriptions.postGridEntityRender")
|
|
8
8
|
local postGridEntityRenderFire = ____postGridEntityRender.postGridEntityRenderFire
|
|
9
9
|
local postGridEntityRenderHasSubscriptions = ____postGridEntityRender.postGridEntityRenderHasSubscriptions
|
|
@@ -5,9 +5,9 @@ local GridEntityType = ____isaac_2Dtypescript_2Ddefinitions.GridEntityType
|
|
|
5
5
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
6
6
|
local ____cachedClasses = require("cachedClasses")
|
|
7
7
|
local game = ____cachedClasses.game
|
|
8
|
-
local
|
|
9
|
-
local getTopLeftWallGridIndex =
|
|
10
|
-
local
|
|
8
|
+
local ____gridEntities = require("functions.gridEntities")
|
|
9
|
+
local getTopLeftWallGridIndex = ____gridEntities.getTopLeftWallGridIndex
|
|
10
|
+
local spawnGridEntity = ____gridEntities.spawnGridEntity
|
|
11
11
|
local ____log = require("functions.log")
|
|
12
12
|
local logError = ____log.logError
|
|
13
13
|
local ____postNewRoomEarly = require("callbacks.subscriptions.postNewRoomEarly")
|
|
@@ -36,14 +36,14 @@ function checkRoomChanged(self)
|
|
|
36
36
|
local topLeftWall = room:GetGridEntity(topLeftWallGridIndex)
|
|
37
37
|
local topLeftWall2 = room:GetGridEntity(rightOfTopWallGridIndex)
|
|
38
38
|
if topLeftWall == nil then
|
|
39
|
-
topLeftWall =
|
|
39
|
+
topLeftWall = spawnGridEntity(nil, GridEntityType.WALL, topLeftWallGridIndex)
|
|
40
40
|
if topLeftWall == nil then
|
|
41
41
|
logError("Failed to spawn a new wall (1) for the PostNewRoomEarly callback.")
|
|
42
42
|
return
|
|
43
43
|
end
|
|
44
44
|
end
|
|
45
45
|
if topLeftWall2 == nil then
|
|
46
|
-
topLeftWall2 =
|
|
46
|
+
topLeftWall2 = spawnGridEntity(nil, GridEntityType.WALL, rightOfTopWallGridIndex)
|
|
47
47
|
if topLeftWall2 == nil then
|
|
48
48
|
logError("Failed to spawn a new wall (2) for the PostNewRoomEarly callback.")
|
|
49
49
|
return
|
|
@@ -7,8 +7,8 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
7
7
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
8
8
|
local ____exports = require("features.saveDataManager.exports")
|
|
9
9
|
local saveDataManager = ____exports.saveDataManager
|
|
10
|
-
local
|
|
11
|
-
local getClosestPlayer =
|
|
10
|
+
local ____players = require("functions.players")
|
|
11
|
+
local getClosestPlayer = ____players.getClosestPlayer
|
|
12
12
|
local ____postPickupCollect = require("callbacks.subscriptions.postPickupCollect")
|
|
13
13
|
local postPickupCollectFire = ____postPickupCollect.postPickupCollectFire
|
|
14
14
|
local postPickupCollectHasSubscriptions = ____postPickupCollect.postPickupCollectHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postRender
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getPits =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getPits = ____gridEntitiesSpecific.getPits
|
|
7
7
|
local ____postPitRender = require("callbacks.subscriptions.postPitRender")
|
|
8
8
|
local postPitRenderFire = ____postPitRender.postPitRenderFire
|
|
9
9
|
local postPitRenderHasSubscriptions = ____postPitRender.postPitRenderHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postUpdate
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getPits =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getPits = ____gridEntitiesSpecific.getPits
|
|
7
7
|
local ____postPitUpdate = require("callbacks.subscriptions.postPitUpdate")
|
|
8
8
|
local postPitUpdateFire = ____postPitUpdate.postPitUpdateFire
|
|
9
9
|
local postPitUpdateHasSubscriptions = ____postPitUpdate.postPitUpdateHasSubscriptions
|
|
@@ -14,12 +14,12 @@ local ____DefaultMap = require("classes.DefaultMap")
|
|
|
14
14
|
local DefaultMap = ____DefaultMap.DefaultMap
|
|
15
15
|
local ____exports = require("features.saveDataManager.exports")
|
|
16
16
|
local saveDataManager = ____exports.saveDataManager
|
|
17
|
-
local ____player = require("functions.player")
|
|
18
|
-
local getPlayerCollectibleMap = ____player.getPlayerCollectibleMap
|
|
19
17
|
local ____playerDataStructures = require("functions.playerDataStructures")
|
|
20
18
|
local defaultMapGetPlayer = ____playerDataStructures.defaultMapGetPlayer
|
|
21
19
|
local mapGetPlayer = ____playerDataStructures.mapGetPlayer
|
|
22
20
|
local mapSetPlayer = ____playerDataStructures.mapSetPlayer
|
|
21
|
+
local ____players = require("functions.players")
|
|
22
|
+
local getPlayerCollectibleMap = ____players.getPlayerCollectibleMap
|
|
23
23
|
local ____utils = require("functions.utils")
|
|
24
24
|
local ____repeat = ____utils["repeat"]
|
|
25
25
|
local ____postPlayerCollectibleAdded = require("callbacks.subscriptions.postPlayerCollectibleAdded")
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postRender
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getPoops =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getPoops = ____gridEntitiesSpecific.getPoops
|
|
7
7
|
local ____postPoopRender = require("callbacks.subscriptions.postPoopRender")
|
|
8
8
|
local postPoopRenderFire = ____postPoopRender.postPoopRenderFire
|
|
9
9
|
local postPoopRenderHasSubscriptions = ____postPoopRender.postPoopRenderHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postUpdate
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getPoops =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getPoops = ____gridEntitiesSpecific.getPoops
|
|
7
7
|
local ____postPoopUpdate = require("callbacks.subscriptions.postPoopUpdate")
|
|
8
8
|
local postPoopUpdateFire = ____postPoopUpdate.postPoopUpdateFire
|
|
9
9
|
local postPoopUpdateHasSubscriptions = ____postPoopUpdate.postPoopUpdateHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postRender
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getPressurePlates =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getPressurePlates = ____gridEntitiesSpecific.getPressurePlates
|
|
7
7
|
local ____postPressurePlateRender = require("callbacks.subscriptions.postPressurePlateRender")
|
|
8
8
|
local postPressurePlateRenderFire = ____postPressurePlateRender.postPressurePlateRenderFire
|
|
9
9
|
local postPressurePlateRenderHasSubscriptions = ____postPressurePlateRender.postPressurePlateRenderHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postUpdate
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getPressurePlates =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getPressurePlates = ____gridEntitiesSpecific.getPressurePlates
|
|
7
7
|
local ____postPressurePlateUpdate = require("callbacks.subscriptions.postPressurePlateUpdate")
|
|
8
8
|
local postPressurePlateUpdateFire = ____postPressurePlateUpdate.postPressurePlateUpdateFire
|
|
9
9
|
local postPressurePlateUpdateHasSubscriptions = ____postPressurePlateUpdate.postPressurePlateUpdateHasSubscriptions
|
|
@@ -9,8 +9,8 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
|
|
|
9
9
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
10
10
|
local ____exports = require("features.saveDataManager.exports")
|
|
11
11
|
local saveDataManager = ____exports.saveDataManager
|
|
12
|
-
local
|
|
13
|
-
local getPickups =
|
|
12
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
13
|
+
local getPickups = ____entitiesSpecific.getPickups
|
|
14
14
|
local ____playerDataStructures = require("functions.playerDataStructures")
|
|
15
15
|
local defaultMapGetPlayer = ____playerDataStructures.defaultMapGetPlayer
|
|
16
16
|
local mapSetPlayer = ____playerDataStructures.mapSetPlayer
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postRender
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getRocks =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getRocks = ____gridEntitiesSpecific.getRocks
|
|
7
7
|
local ____postRockRender = require("callbacks.subscriptions.postRockRender")
|
|
8
8
|
local postRockRenderFire = ____postRockRender.postRockRenderFire
|
|
9
9
|
local postRockRenderHasSubscriptions = ____postRockRender.postRockRenderHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postUpdate
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getRocks =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getRocks = ____gridEntitiesSpecific.getRocks
|
|
7
7
|
local ____postRockUpdate = require("callbacks.subscriptions.postRockUpdate")
|
|
8
8
|
local postRockUpdateFire = ____postRockUpdate.postRockUpdateFire
|
|
9
9
|
local postRockUpdateHasSubscriptions = ____postRockUpdate.postRockUpdateHasSubscriptions
|
|
@@ -9,8 +9,8 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
|
|
|
9
9
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
10
10
|
local ____exports = require("features.saveDataManager.exports")
|
|
11
11
|
local saveDataManager = ____exports.saveDataManager
|
|
12
|
-
local
|
|
13
|
-
local getSlots =
|
|
12
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
13
|
+
local getSlots = ____entitiesSpecific.getSlots
|
|
14
14
|
local ____postSlotInit = require("callbacks.subscriptions.postSlotInit")
|
|
15
15
|
local postSlotInitFire = ____postSlotInit.postSlotInitFire
|
|
16
16
|
local postSlotInitHasSubscriptions = ____postSlotInit.postSlotInitHasSubscriptions
|
|
@@ -9,8 +9,8 @@ local ____DefaultMap = require("classes.DefaultMap")
|
|
|
9
9
|
local DefaultMap = ____DefaultMap.DefaultMap
|
|
10
10
|
local ____exports = require("features.saveDataManager.exports")
|
|
11
11
|
local saveDataManager = ____exports.saveDataManager
|
|
12
|
-
local
|
|
13
|
-
local getSlots =
|
|
12
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
13
|
+
local getSlots = ____entitiesSpecific.getSlots
|
|
14
14
|
local ____postSlotAnimationChanged = require("callbacks.subscriptions.postSlotAnimationChanged")
|
|
15
15
|
local postSlotAnimationChangedFire = ____postSlotAnimationChanged.postSlotAnimationChangedFire
|
|
16
16
|
local postSlotAnimationChangedHasSubscriptions = ____postSlotAnimationChanged.postSlotAnimationChangedHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postRender
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getSpikes =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getSpikes = ____gridEntitiesSpecific.getSpikes
|
|
7
7
|
local ____postSpikesRender = require("callbacks.subscriptions.postSpikesRender")
|
|
8
8
|
local postSpikesRenderFire = ____postSpikesRender.postSpikesRenderFire
|
|
9
9
|
local postSpikesRenderHasSubscriptions = ____postSpikesRender.postSpikesRenderHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postUpdate
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getSpikes =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getSpikes = ____gridEntitiesSpecific.getSpikes
|
|
7
7
|
local ____postSpikesUpdate = require("callbacks.subscriptions.postSpikesUpdate")
|
|
8
8
|
local postSpikesUpdateFire = ____postSpikesUpdate.postSpikesUpdateFire
|
|
9
9
|
local postSpikesUpdateHasSubscriptions = ____postSpikesUpdate.postSpikesUpdateHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postRender
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getTNT =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getTNT = ____gridEntitiesSpecific.getTNT
|
|
7
7
|
local ____postTNTRender = require("callbacks.subscriptions.postTNTRender")
|
|
8
8
|
local postTNTRenderFire = ____postTNTRender.postTNTRenderFire
|
|
9
9
|
local postTNTRenderHasSubscriptions = ____postTNTRender.postTNTRenderHasSubscriptions
|
|
@@ -2,8 +2,8 @@ local ____exports = {}
|
|
|
2
2
|
local hasSubscriptions, postUpdate
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local
|
|
6
|
-
local getTNT =
|
|
5
|
+
local ____gridEntitiesSpecific = require("functions.gridEntitiesSpecific")
|
|
6
|
+
local getTNT = ____gridEntitiesSpecific.getTNT
|
|
7
7
|
local ____postTNTUpdate = require("callbacks.subscriptions.postTNTUpdate")
|
|
8
8
|
local postTNTUpdateFire = ____postTNTUpdate.postTNTUpdateFire
|
|
9
9
|
local postTNTUpdateHasSubscriptions = ____postTNTUpdate.postTNTUpdateHasSubscriptions
|
|
@@ -4,10 +4,10 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
4
4
|
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
5
5
|
local ____ModCallbackCustom = require("enums.ModCallbackCustom")
|
|
6
6
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
7
|
-
local ____player = require("functions.player")
|
|
8
|
-
local getPlayerNumHitsRemaining = ____player.getPlayerNumHitsRemaining
|
|
9
7
|
local ____playerIndex = require("functions.playerIndex")
|
|
10
8
|
local isChildPlayer = ____playerIndex.isChildPlayer
|
|
9
|
+
local ____players = require("functions.players")
|
|
10
|
+
local getPlayerNumHitsRemaining = ____players.getPlayerNumHitsRemaining
|
|
11
11
|
local ____revive = require("functions.revive")
|
|
12
12
|
local willPlayerRevive = ____revive.willPlayerRevive
|
|
13
13
|
local ____preBerserkDeath = require("callbacks.subscriptions.preBerserkDeath")
|
|
@@ -5,8 +5,8 @@ local ____exports = {}
|
|
|
5
5
|
local hasSubscriptions, postPlayerRender, TRAVELING_TO_NEXT_FLOOR_ANIMATIONS, firedOnStage
|
|
6
6
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
7
7
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
8
|
-
local
|
|
9
|
-
local getLastFrameOfAnimation =
|
|
8
|
+
local ____sprites = require("functions.sprites")
|
|
9
|
+
local getLastFrameOfAnimation = ____sprites.getLastFrameOfAnimation
|
|
10
10
|
local ____stage = require("functions.stage")
|
|
11
11
|
local getEffectiveStage = ____stage.getEffectiveStage
|
|
12
12
|
local ____preNewLevel = require("callbacks.subscriptions.preNewLevel")
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
1
|
+
import { DoorVariant } from "isaac-typescript-definitions";
|
|
3
2
|
export declare type PostDoorRenderRegisterParameters = [
|
|
4
3
|
callback: (door: GridEntityDoor) => void,
|
|
5
|
-
|
|
4
|
+
doorVariant?: DoorVariant
|
|
6
5
|
];
|
|
7
6
|
//# sourceMappingURL=postDoorRender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postDoorRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postDoorRender.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"postDoorRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postDoorRender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,WAAW,CAAC,EAAE,WAAW;CAC1B,CAAC"}
|
|
@@ -14,12 +14,12 @@ end
|
|
|
14
14
|
---
|
|
15
15
|
-- @internal
|
|
16
16
|
function ____exports.postDoorRenderFire(self, door)
|
|
17
|
-
local
|
|
17
|
+
local doorVariant = door:GetVariant()
|
|
18
18
|
for ____, ____value in ipairs(subscriptions) do
|
|
19
19
|
local callback = ____value[1]
|
|
20
|
-
local
|
|
20
|
+
local callbackDoorVariant = ____value[2]
|
|
21
21
|
do
|
|
22
|
-
if
|
|
22
|
+
if callbackDoorVariant ~= nil and callbackDoorVariant ~= doorVariant then
|
|
23
23
|
goto __continue5
|
|
24
24
|
end
|
|
25
25
|
callback(nil, door)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
1
|
+
import { DoorVariant } from "isaac-typescript-definitions";
|
|
3
2
|
export declare type PostDoorUpdateRegisterParameters = [
|
|
4
3
|
callback: (door: GridEntityDoor) => void,
|
|
5
|
-
|
|
4
|
+
doorVariant?: DoorVariant
|
|
6
5
|
];
|
|
7
6
|
//# sourceMappingURL=postDoorUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postDoorUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postDoorUpdate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"postDoorUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postDoorUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,WAAW,CAAC,EAAE,WAAW;CAC1B,CAAC"}
|
|
@@ -14,12 +14,12 @@ end
|
|
|
14
14
|
---
|
|
15
15
|
-- @internal
|
|
16
16
|
function ____exports.postDoorUpdateFire(self, door)
|
|
17
|
-
local
|
|
17
|
+
local doorVariant = door:GetVariant()
|
|
18
18
|
for ____, ____value in ipairs(subscriptions) do
|
|
19
19
|
local callback = ____value[1]
|
|
20
|
-
local
|
|
20
|
+
local callbackDoorVariant = ____value[2]
|
|
21
21
|
do
|
|
22
|
-
if
|
|
22
|
+
if callbackDoorVariant ~= nil and callbackDoorVariant ~= doorVariant then
|
|
23
23
|
goto __continue5
|
|
24
24
|
end
|
|
25
25
|
callback(nil, door)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
1
|
+
import { PitVariant } from "isaac-typescript-definitions";
|
|
3
2
|
export declare type PostPitRenderRegisterParameters = [
|
|
4
3
|
callback: (pit: GridEntityPit) => void,
|
|
5
|
-
|
|
4
|
+
pitVariant?: PitVariant
|
|
6
5
|
];
|
|
7
6
|
//# sourceMappingURL=postPitRender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postPitRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPitRender.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"postPitRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPitRender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,oBAAY,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI;IACtC,UAAU,CAAC,EAAE,UAAU;CACxB,CAAC"}
|
|
@@ -14,12 +14,12 @@ end
|
|
|
14
14
|
---
|
|
15
15
|
-- @internal
|
|
16
16
|
function ____exports.postPitRenderFire(self, pit)
|
|
17
|
-
local
|
|
17
|
+
local pitVariant = pit:GetVariant()
|
|
18
18
|
for ____, ____value in ipairs(subscriptions) do
|
|
19
19
|
local callback = ____value[1]
|
|
20
|
-
local
|
|
20
|
+
local callbackPitVariant = ____value[2]
|
|
21
21
|
do
|
|
22
|
-
if
|
|
22
|
+
if callbackPitVariant ~= nil and callbackPitVariant ~= pitVariant then
|
|
23
23
|
goto __continue5
|
|
24
24
|
end
|
|
25
25
|
callback(nil, pit)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
1
|
+
import { PitVariant } from "isaac-typescript-definitions";
|
|
3
2
|
export declare type PostPitUpdateRegisterParameters = [
|
|
4
3
|
callback: (pit: GridEntityPit) => void,
|
|
5
|
-
|
|
4
|
+
pitVariant?: PitVariant
|
|
6
5
|
];
|
|
7
6
|
//# sourceMappingURL=postPitUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postPitUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPitUpdate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"postPitUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPitUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE1D,oBAAY,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI;IACtC,UAAU,CAAC,EAAE,UAAU;CACxB,CAAC"}
|
|
@@ -14,12 +14,12 @@ end
|
|
|
14
14
|
---
|
|
15
15
|
-- @internal
|
|
16
16
|
function ____exports.postPitUpdateFire(self, pit)
|
|
17
|
-
local
|
|
17
|
+
local pitVariant = pit:GetVariant()
|
|
18
18
|
for ____, ____value in ipairs(subscriptions) do
|
|
19
19
|
local callback = ____value[1]
|
|
20
|
-
local
|
|
20
|
+
local callbackPitVariant = ____value[2]
|
|
21
21
|
do
|
|
22
|
-
if
|
|
22
|
+
if callbackPitVariant ~= nil and callbackPitVariant ~= pitVariant then
|
|
23
23
|
goto __continue5
|
|
24
24
|
end
|
|
25
25
|
callback(nil, pit)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
1
|
+
import { PoopGridEntityVariant } from "isaac-typescript-definitions";
|
|
3
2
|
export declare type PostPoopRenderRegisterParameters = [
|
|
4
3
|
callback: (poop: GridEntityPoop) => void,
|
|
5
|
-
|
|
4
|
+
poopVariant?: PoopGridEntityVariant
|
|
6
5
|
];
|
|
7
6
|
//# sourceMappingURL=postPoopRender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postPoopRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPoopRender.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"postPoopRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPoopRender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,WAAW,CAAC,EAAE,qBAAqB;CACpC,CAAC"}
|
|
@@ -14,12 +14,12 @@ end
|
|
|
14
14
|
---
|
|
15
15
|
-- @internal
|
|
16
16
|
function ____exports.postPoopRenderFire(self, poop)
|
|
17
|
-
local
|
|
17
|
+
local poopVariant = poop:GetVariant()
|
|
18
18
|
for ____, ____value in ipairs(subscriptions) do
|
|
19
19
|
local callback = ____value[1]
|
|
20
|
-
local
|
|
20
|
+
local callbackPoopVariant = ____value[2]
|
|
21
21
|
do
|
|
22
|
-
if
|
|
22
|
+
if callbackPoopVariant ~= nil and callbackPoopVariant ~= poopVariant then
|
|
23
23
|
goto __continue5
|
|
24
24
|
end
|
|
25
25
|
callback(nil, poop)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
1
|
+
import { PoopGridEntityVariant } from "isaac-typescript-definitions";
|
|
3
2
|
export declare type PostPoopUpdateRegisterParameters = [
|
|
4
3
|
callback: (poop: GridEntityPoop) => void,
|
|
5
|
-
|
|
4
|
+
poopVariant?: PoopGridEntityVariant
|
|
6
5
|
];
|
|
7
6
|
//# sourceMappingURL=postPoopUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postPoopUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPoopUpdate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"postPoopUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPoopUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,oBAAY,gCAAgC,GAAG;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI;IACxC,WAAW,CAAC,EAAE,qBAAqB;CACpC,CAAC"}
|