isaacscript-common 3.1.1 → 3.4.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/callbacks/customRevive.lua +3 -3
- package/callbacks/postGridEntity.lua +5 -3
- package/callbacks/postHolyMantleRemoved.lua +2 -2
- package/callbacks/postPlayerCollectible.d.ts +1 -0
- package/callbacks/postPlayerCollectible.lua +95 -0
- package/callbacks/postRoomClearChanged.lua +5 -3
- package/callbacks/postSlotInitUpdate.lua +5 -3
- package/callbacks/subscriptions/postPlayerCollectibleAdded.d.ts +6 -0
- package/callbacks/subscriptions/postPlayerCollectibleAdded.lua +34 -0
- package/callbacks/subscriptions/postPlayerCollectibleRemoved.d.ts +6 -0
- package/callbacks/subscriptions/postPlayerCollectibleRemoved.lua +34 -0
- package/classes/DefaultMap.d.ts +1 -2
- package/classes/DefaultMap.lua +1 -4
- package/constants.d.ts +5 -0
- package/constants.lua +5 -0
- package/enums/ModCallbackCustom.d.ts +427 -177
- package/enums/ModCallbackCustom.lua +36 -32
- package/features/deployJSONRoom.lua +5 -4
- package/features/extraConsoleCommands/listCommands.lua +1 -0
- package/features/persistentEntities.d.ts +28 -0
- package/features/persistentEntities.lua +150 -0
- package/features/playerInventory.d.ts +1 -10
- package/features/playerInventory.lua +23 -60
- package/functions/array.d.ts +3 -3
- package/functions/array.lua +3 -3
- package/functions/collectibleSet.d.ts +3 -3
- package/functions/collectibleSet.lua +3 -5
- package/functions/color.d.ts +2 -16
- package/functions/color.lua +0 -9
- package/functions/entity.d.ts +10 -0
- package/functions/entity.lua +29 -0
- package/functions/log.lua +2 -2
- package/functions/pills.d.ts +10 -0
- package/functions/pills.lua +16 -0
- package/functions/roomData.d.ts +5 -5
- package/functions/roomData.lua +7 -7
- package/functions/rooms.d.ts +1 -4
- package/functions/rooms.lua +19 -25
- package/functions/saveFile.d.ts +15 -0
- package/functions/saveFile.lua +105 -0
- package/index.d.ts +3 -1
- package/index.lua +15 -2
- package/initCustomCallbacks.lua +3 -0
- package/initFeatures.lua +3 -0
- package/interfaces/AddCallbackParameterCustom.d.ts +4 -0
- package/maps/PHDPillConversions.d.ts +2 -0
- package/maps/PHDPillConversions.lua +25 -0
- package/maps/falsePHDPillConversions.d.ts +2 -0
- package/maps/falsePHDPillConversions.lua +39 -0
- package/objects/callbackRegisterFunctions.lua +6 -0
- package/package.json +2 -2
|
@@ -87,6 +87,10 @@ local ____postPlayerChangeHealth = require("callbacks.subscriptions.postPlayerCh
|
|
|
87
87
|
local postPlayerChangeHealthRegister = ____postPlayerChangeHealth.postPlayerChangeHealthRegister
|
|
88
88
|
local ____postPlayerChangeType = require("callbacks.subscriptions.postPlayerChangeType")
|
|
89
89
|
local postPlayerChangeTypeRegister = ____postPlayerChangeType.postPlayerChangeTypeRegister
|
|
90
|
+
local ____postPlayerCollectibleAdded = require("callbacks.subscriptions.postPlayerCollectibleAdded")
|
|
91
|
+
local postPlayerCollectibleAddedRegister = ____postPlayerCollectibleAdded.postPlayerCollectibleAddedRegister
|
|
92
|
+
local ____postPlayerCollectibleRemoved = require("callbacks.subscriptions.postPlayerCollectibleRemoved")
|
|
93
|
+
local postPlayerCollectibleRemovedRegister = ____postPlayerCollectibleRemoved.postPlayerCollectibleRemovedRegister
|
|
90
94
|
local ____postPlayerFatalDamage = require("callbacks.subscriptions.postPlayerFatalDamage")
|
|
91
95
|
local postPlayerFatalDamageRegister = ____postPlayerFatalDamage.postPlayerFatalDamageRegister
|
|
92
96
|
local ____postPlayerInitLate = require("callbacks.subscriptions.postPlayerInitLate")
|
|
@@ -198,6 +202,8 @@ ____exports.CALLBACK_REGISTER_FUNCTIONS = {
|
|
|
198
202
|
[ModCallbackCustom.POST_PIT_UPDATE] = postPitUpdateRegister,
|
|
199
203
|
[ModCallbackCustom.POST_PLAYER_CHANGE_HEALTH] = postPlayerChangeHealthRegister,
|
|
200
204
|
[ModCallbackCustom.POST_PLAYER_CHANGE_TYPE] = postPlayerChangeTypeRegister,
|
|
205
|
+
[ModCallbackCustom.POST_PLAYER_COLLECTIBLE_ADDED] = postPlayerCollectibleAddedRegister,
|
|
206
|
+
[ModCallbackCustom.POST_PLAYER_COLLECTIBLE_REMOVED] = postPlayerCollectibleRemovedRegister,
|
|
201
207
|
[ModCallbackCustom.POST_PLAYER_FATAL_DAMAGE] = postPlayerFatalDamageRegister,
|
|
202
208
|
[ModCallbackCustom.POST_PLAYER_INIT_LATE] = postPlayerInitLateRegister,
|
|
203
209
|
[ModCallbackCustom.POST_PLAYER_INIT_REORDERED] = postPlayerInitReorderedRegister,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Helper functions and features for IsaacScript mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"main": "index",
|
|
23
23
|
"types": "index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"isaac-typescript-definitions": "^2.0.
|
|
25
|
+
"isaac-typescript-definitions": "^2.0.56"
|
|
26
26
|
}
|
|
27
27
|
}
|