isaacscript-common 1.2.136 → 1.2.139
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/postCustomDoorEnter.d.ts +8 -0
- package/dist/callbacks/postCustomDoorEnter.lua +35 -0
- package/dist/callbacks/postPlayerChangeHealth.lua +4 -64
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +2 -0
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +25 -0
- package/dist/constants.d.ts +7 -0
- package/dist/constants.lua +1 -0
- package/dist/features/deployJSONRoom.lua +11 -22
- package/dist/features/disableInputs.lua +6 -20
- package/dist/features/disableSound.lua +4 -12
- package/dist/features/extraConsoleCommands/commands.d.ts +334 -0
- package/dist/features/extraConsoleCommands/commands.lua +930 -0
- package/dist/features/extraConsoleCommands/init.d.ts +25 -0
- package/dist/features/extraConsoleCommands/init.lua +194 -0
- package/dist/features/extraConsoleCommands/v.d.ts +13 -0
- package/dist/features/extraConsoleCommands/v.lua +11 -0
- package/dist/features/forgottenSwitch.lua +3 -8
- package/dist/features/getCollectibleItemPoolType.lua +4 -9
- package/dist/features/isPonyActive.lua +3 -8
- package/dist/features/preventCollectibleRotate.lua +3 -8
- package/dist/features/runInNFrames.lua +6 -20
- package/dist/features/saveDataManager/constants.d.ts +3 -0
- package/dist/features/saveDataManager/constants.lua +5 -0
- package/dist/features/saveDataManager/exports.lua +9 -18
- package/dist/features/saveDataManager/load.lua +4 -3
- package/dist/features/saveDataManager/main.lua +4 -10
- package/dist/features/saveDataManager/merge.lua +2 -2
- package/dist/features/saveDataManager/save.lua +3 -1
- package/dist/features/sirenHelpers.lua +4 -8
- package/dist/featuresInitialized.d.ts +1 -1
- package/dist/featuresInitialized.lua +5 -0
- package/dist/functions/deepCopy.lua +2 -2
- package/dist/functions/log.d.ts +5 -1
- package/dist/functions/log.lua +175 -2
- package/dist/functions/map.d.ts +16 -0
- package/dist/functions/map.lua +24 -0
- package/dist/functions/player.d.ts +2 -2
- package/dist/functions/playerHealth.d.ts +3 -0
- package/dist/functions/playerHealth.lua +142 -0
- package/dist/functions/rooms.lua +4 -5
- package/dist/functions/run.d.ts +12 -0
- package/dist/functions/run.lua +25 -0
- package/dist/functions/utils.d.ts +0 -6
- package/dist/functions/utils.lua +0 -8
- package/dist/functions/vector.lua +8 -8
- package/dist/index.d.ts +8 -0
- package/dist/index.lua +62 -0
- package/dist/maps/cardMap.d.ts +3 -0
- package/dist/maps/cardMap.lua +202 -0
- package/dist/maps/characterMap.d.ts +3 -0
- package/dist/maps/characterMap.lua +90 -0
- package/dist/maps/pillEffectMap.d.ts +3 -0
- package/dist/maps/pillEffectMap.lua +88 -0
- package/dist/maps/roomTypeMap.d.ts +3 -0
- package/dist/maps/roomTypeMap.lua +43 -0
- package/dist/maps/roomTypeNameMap.d.ts +2 -0
- package/dist/maps/roomTypeNameMap.lua +38 -0
- package/dist/types/CallbackParametersCustom.d.ts +4 -0
- package/dist/types/HealthType.d.ts +4 -2
- package/dist/types/HealthType.lua +3 -1
- package/dist/types/ModCallbacksCustom.d.ts +2 -1
- package/dist/types/ModCallbacksCustom.lua +2 -0
- package/dist/types/ModUpgraded.lua +8 -0
- package/dist/types/PlayerIndex.d.ts +2 -2
- package/dist/upgradeMod.lua +3 -0
- package/package.json +1 -1
|
@@ -99,4 +99,6 @@ ____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_COLLISION = 47
|
|
|
99
99
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_COLLISION] = "MC_POST_GRID_ENTITY_COLLISION"
|
|
100
100
|
____exports.ModCallbacksCustom.MC_POST_BONE_SWING = 48
|
|
101
101
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_BONE_SWING] = "MC_POST_BONE_SWING"
|
|
102
|
+
____exports.ModCallbacksCustom.MC_POST_CUSTOM_DOOR_ENTER = 49
|
|
103
|
+
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_CUSTOM_DOOR_ENTER] = "MC_POST_CUSTOM_DOOR_ENTER"
|
|
102
104
|
return ____exports
|
|
@@ -11,6 +11,8 @@ local ____postBoneSwing = require("callbacks.subscriptions.postBoneSwing")
|
|
|
11
11
|
local postBoneSwingRegister = ____postBoneSwing.postBoneSwingRegister
|
|
12
12
|
local ____postCursedTeleport = require("callbacks.subscriptions.postCursedTeleport")
|
|
13
13
|
local postCursedTeleportRegister = ____postCursedTeleport.postCursedTeleportRegister
|
|
14
|
+
local ____postCustomDoorEnter = require("callbacks.subscriptions.postCustomDoorEnter")
|
|
15
|
+
local postCustomDoorEnterRegister = ____postCustomDoorEnter.postCustomDoorEnterRegister
|
|
14
16
|
local ____postCustomRevive = require("callbacks.subscriptions.postCustomRevive")
|
|
15
17
|
local postCustomReviveRegister = ____postCustomRevive.postCustomReviveRegister
|
|
16
18
|
local ____postEffectInitLate = require("callbacks.subscriptions.postEffectInitLate")
|
|
@@ -416,6 +418,12 @@ function getCallbackRegisterFunction(self, callbackID)
|
|
|
416
418
|
return postBoneSwingRegister
|
|
417
419
|
end
|
|
418
420
|
end
|
|
421
|
+
____cond19 = ____cond19 or ____switch19 == ModCallbacksCustom.MC_POST_CUSTOM_DOOR_ENTER
|
|
422
|
+
if ____cond19 then
|
|
423
|
+
do
|
|
424
|
+
return postCustomDoorEnterRegister
|
|
425
|
+
end
|
|
426
|
+
end
|
|
419
427
|
do
|
|
420
428
|
do
|
|
421
429
|
return ensureAllCases(nil, callbackID)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
/**
|
|
3
3
|
* PlayerIndex is a specific type of string; see the documentation for the [[`getPlayerIndex`]]
|
|
4
|
-
* function. Mods can signify that data structures handle
|
|
4
|
+
* function. Mods can signify that data structures handle `EntityPlayer` by using this type.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Example:
|
|
7
7
|
* ```
|
|
8
8
|
* const playersNameMap = new Map<PlayerIndex, string>();
|
|
9
9
|
* ```
|
package/dist/upgradeMod.lua
CHANGED
|
@@ -13,6 +13,8 @@ local ____postBoneSwing = require("callbacks.postBoneSwing")
|
|
|
13
13
|
local postBoneSwingCallbackInit = ____postBoneSwing.postBoneSwingCallbackInit
|
|
14
14
|
local ____postCursedTeleport = require("callbacks.postCursedTeleport")
|
|
15
15
|
local postCursedTeleportCallbackInit = ____postCursedTeleport.postCursedTeleportCallbackInit
|
|
16
|
+
local ____postCustomDoorEnter = require("callbacks.postCustomDoorEnter")
|
|
17
|
+
local postCustomDoorEnterCallbackInit = ____postCustomDoorEnter.postCustomDoorEnterCallbackInit
|
|
16
18
|
local ____postEffectInitLate = require("callbacks.postEffectInitLate")
|
|
17
19
|
local postEffectInitLateCallbackInit = ____postEffectInitLate.postEffectInitLateCallbackInit
|
|
18
20
|
local ____postEsauJr = require("callbacks.postEsauJr")
|
|
@@ -132,6 +134,7 @@ function initCustomCallbacks(self, mod)
|
|
|
132
134
|
postGridEntityCallbacksInit(nil, mod)
|
|
133
135
|
postGridEntityCollisionInit(nil, mod)
|
|
134
136
|
postBoneSwingCallbackInit(nil, mod)
|
|
137
|
+
postCustomDoorEnterCallbackInit(nil, mod)
|
|
135
138
|
end
|
|
136
139
|
function initFeatures(self, mod)
|
|
137
140
|
deployJSONRoomInit(nil, mod)
|