isaacscript-common 1.0.498 → 1.0.499

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.
Files changed (120) hide show
  1. package/dist/callbacks/customRevive.lua +9 -5
  2. package/dist/callbacks/itemPickup.lua +9 -5
  3. package/dist/callbacks/postBombInitLate.lua +5 -3
  4. package/dist/callbacks/postCursedTeleport.lua +5 -3
  5. package/dist/callbacks/postEffectInitLate.lua +5 -3
  6. package/dist/callbacks/postEsauJr.lua +9 -5
  7. package/dist/callbacks/postFamiliarInitLate.lua +5 -3
  8. package/dist/callbacks/postFlip.lua +9 -5
  9. package/dist/callbacks/postGridEntity.lua +13 -7
  10. package/dist/callbacks/postKnifeInitLate.lua +5 -3
  11. package/dist/callbacks/postLaserInitLate.lua +5 -3
  12. package/dist/callbacks/postNPCInitLate.lua +5 -3
  13. package/dist/callbacks/postPickupCollect.lua +5 -3
  14. package/dist/callbacks/postPickupInitLate.lua +5 -3
  15. package/dist/callbacks/postPlayerChangeHealth.lua +5 -3
  16. package/dist/callbacks/postPlayerChangeType.lua +5 -3
  17. package/dist/callbacks/postPlayerFatalDamage.lua +5 -3
  18. package/dist/callbacks/postPlayerInitLate.lua +5 -3
  19. package/dist/callbacks/postPlayerReordered.lua +16 -10
  20. package/dist/callbacks/postProjectileInitLate.lua +5 -3
  21. package/dist/callbacks/postPurchase.lua +11 -3
  22. package/dist/callbacks/postSacrifice.lua +5 -3
  23. package/dist/callbacks/postSlotInitUpdate.lua +9 -5
  24. package/dist/callbacks/postSlotRenderBroken.lua +9 -5
  25. package/dist/callbacks/postTearInitLate.lua +5 -3
  26. package/dist/callbacks/postTransformation.lua +5 -3
  27. package/dist/callbacks/reorderedCallbacks.lua +18 -12
  28. package/dist/callbacks/subscriptions/postBombInitLate.d.ts +3 -3
  29. package/dist/callbacks/subscriptions/postBombInitLate.lua +3 -3
  30. package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +3 -3
  31. package/dist/callbacks/subscriptions/postCursedTeleport.lua +3 -3
  32. package/dist/callbacks/subscriptions/postCustomRevive.d.ts +3 -3
  33. package/dist/callbacks/subscriptions/postCustomRevive.lua +3 -3
  34. package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +3 -3
  35. package/dist/callbacks/subscriptions/postEffectInitLate.lua +3 -3
  36. package/dist/callbacks/subscriptions/postEsauJr.d.ts +3 -3
  37. package/dist/callbacks/subscriptions/postEsauJr.lua +3 -3
  38. package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +3 -3
  39. package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +3 -3
  40. package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +3 -3
  41. package/dist/callbacks/subscriptions/postFirstEsauJr.lua +3 -3
  42. package/dist/callbacks/subscriptions/postFirstFlip.d.ts +3 -3
  43. package/dist/callbacks/subscriptions/postFirstFlip.lua +3 -3
  44. package/dist/callbacks/subscriptions/postFlip.d.ts +3 -3
  45. package/dist/callbacks/subscriptions/postFlip.lua +3 -3
  46. package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +3 -3
  47. package/dist/callbacks/subscriptions/postGameStartedReordered.lua +3 -3
  48. package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +3 -3
  49. package/dist/callbacks/subscriptions/postGridEntityInit.lua +3 -3
  50. package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +3 -3
  51. package/dist/callbacks/subscriptions/postGridEntityRemove.lua +3 -3
  52. package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +3 -3
  53. package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +3 -3
  54. package/dist/callbacks/subscriptions/postItemPickup.d.ts +3 -3
  55. package/dist/callbacks/subscriptions/postItemPickup.lua +3 -3
  56. package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +3 -3
  57. package/dist/callbacks/subscriptions/postKnifeInitLate.lua +3 -3
  58. package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +3 -3
  59. package/dist/callbacks/subscriptions/postLaserInitLate.lua +3 -3
  60. package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +3 -3
  61. package/dist/callbacks/subscriptions/postNPCInitLate.lua +3 -3
  62. package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +3 -3
  63. package/dist/callbacks/subscriptions/postNewLevelReordered.lua +3 -3
  64. package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +3 -3
  65. package/dist/callbacks/subscriptions/postNewRoomReordered.lua +3 -3
  66. package/dist/callbacks/subscriptions/postPickupCollect.d.ts +3 -3
  67. package/dist/callbacks/subscriptions/postPickupCollect.lua +3 -3
  68. package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +3 -3
  69. package/dist/callbacks/subscriptions/postPickupInitLate.lua +3 -3
  70. package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +3 -3
  71. package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +3 -3
  72. package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +3 -3
  73. package/dist/callbacks/subscriptions/postPlayerChangeType.lua +3 -3
  74. package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +3 -3
  75. package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +3 -3
  76. package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +3 -3
  77. package/dist/callbacks/subscriptions/postPlayerInitLate.lua +3 -3
  78. package/dist/callbacks/subscriptions/postPlayerInitReordered.d.ts +3 -3
  79. package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +3 -3
  80. package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +3 -3
  81. package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +3 -3
  82. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +3 -3
  83. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +3 -3
  84. package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +3 -3
  85. package/dist/callbacks/subscriptions/postProjectileInitLate.lua +3 -3
  86. package/dist/callbacks/subscriptions/postPurchase.d.ts +3 -3
  87. package/dist/callbacks/subscriptions/postPurchase.lua +3 -3
  88. package/dist/callbacks/subscriptions/postSacrifice.d.ts +3 -3
  89. package/dist/callbacks/subscriptions/postSacrifice.lua +3 -3
  90. package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +3 -3
  91. package/dist/callbacks/subscriptions/postSlotDestroyed.lua +3 -3
  92. package/dist/callbacks/subscriptions/postSlotInit.d.ts +3 -3
  93. package/dist/callbacks/subscriptions/postSlotInit.lua +3 -3
  94. package/dist/callbacks/subscriptions/postSlotRender.d.ts +3 -3
  95. package/dist/callbacks/subscriptions/postSlotRender.lua +3 -3
  96. package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +3 -3
  97. package/dist/callbacks/subscriptions/postSlotUpdate.lua +3 -3
  98. package/dist/callbacks/subscriptions/postTearInitLate.d.ts +3 -3
  99. package/dist/callbacks/subscriptions/postTearInitLate.lua +3 -3
  100. package/dist/callbacks/subscriptions/postTransformation.d.ts +3 -3
  101. package/dist/callbacks/subscriptions/postTransformation.lua +3 -3
  102. package/dist/callbacks/subscriptions/preCustomRevive.d.ts +3 -3
  103. package/dist/callbacks/subscriptions/preCustomRevive.lua +3 -3
  104. package/dist/callbacks/subscriptions/preItemPickup.d.ts +3 -3
  105. package/dist/callbacks/subscriptions/preItemPickup.lua +3 -3
  106. package/dist/constants.d.ts +18 -8
  107. package/dist/constants.lua +10 -8
  108. package/dist/features/getCollectibleItemPoolType.lua +5 -22
  109. package/dist/functions/collectibles.d.ts +20 -1
  110. package/dist/functions/collectibles.lua +18 -4
  111. package/dist/functions/gridEntity.d.ts +2 -3
  112. package/dist/functions/gridEntity.lua +3 -1
  113. package/dist/functions/rooms.d.ts +1 -2
  114. package/dist/functions/rooms.lua +3 -5
  115. package/dist/functions/sprite.d.ts +11 -0
  116. package/dist/functions/sprite.lua +9 -0
  117. package/dist/index.d.ts +0 -1
  118. package/dist/index.lua +0 -8
  119. package/dist/types/ModUpgraded.lua +234 -78
  120. package/package.json +2 -2
@@ -2,45 +2,84 @@
2
2
  require("lualib_bundle");
3
3
  local ____exports = {}
4
4
  local getCallbackName
5
- local postBombInitLate = require("callbacks.subscriptions.postBombInitLate")
6
- local postCursedTeleport = require("callbacks.subscriptions.postCursedTeleport")
7
- local postCustomRevive = require("callbacks.subscriptions.postCustomRevive")
8
- local postEffectInitLate = require("callbacks.subscriptions.postEffectInitLate")
9
- local postEsauJr = require("callbacks.subscriptions.postEsauJr")
10
- local postFamiliarInitLate = require("callbacks.subscriptions.postFamiliarInitLate")
11
- local postFirstEsauJr = require("callbacks.subscriptions.postFirstEsauJr")
12
- local postFirstFlip = require("callbacks.subscriptions.postFirstFlip")
13
- local postFlip = require("callbacks.subscriptions.postFlip")
14
- local postGameStartedReordered = require("callbacks.subscriptions.postGameStartedReordered")
15
- local postGridEntityInit = require("callbacks.subscriptions.postGridEntityInit")
16
- local postGridEntityRemove = require("callbacks.subscriptions.postGridEntityRemove")
17
- local postGridEntityUpdate = require("callbacks.subscriptions.postGridEntityUpdate")
18
- local postItemPickup = require("callbacks.subscriptions.postItemPickup")
19
- local postKnifeInitLate = require("callbacks.subscriptions.postKnifeInitLate")
20
- local postLaserInitLate = require("callbacks.subscriptions.postLaserInitLate")
21
- local postNewLevelReordered = require("callbacks.subscriptions.postNewLevelReordered")
22
- local postNewRoomReordered = require("callbacks.subscriptions.postNewRoomReordered")
23
- local postNPCInitLate = require("callbacks.subscriptions.postNPCInitLate")
24
- local postPickupCollect = require("callbacks.subscriptions.postPickupCollect")
25
- local postPickupInitLate = require("callbacks.subscriptions.postPickupInitLate")
26
- local postPlayerChangeHealth = require("callbacks.subscriptions.postPlayerChangeHealth")
27
- local postPlayerChangeType = require("callbacks.subscriptions.postPlayerChangeType")
28
- local postPlayerFatalDamage = require("callbacks.subscriptions.postPlayerFatalDamage")
29
- local postPlayerInitLate = require("callbacks.subscriptions.postPlayerInitLate")
30
- local postPlayerInitReordered = require("callbacks.subscriptions.postPlayerInitReordered")
31
- local postPlayerRenderReordered = require("callbacks.subscriptions.postPlayerRenderReordered")
32
- local postPlayerUpdateReordered = require("callbacks.subscriptions.postPlayerUpdateReordered")
33
- local postProjectileInitLate = require("callbacks.subscriptions.postProjectileInitLate")
34
- local postPurchase = require("callbacks.subscriptions.postPurchase")
35
- local postSacrifice = require("callbacks.subscriptions.postSacrifice")
36
- local postSlotDestroyed = require("callbacks.subscriptions.postSlotDestroyed")
37
- local postSlotInit = require("callbacks.subscriptions.postSlotInit")
38
- local postSlotRender = require("callbacks.subscriptions.postSlotRender")
39
- local postSlotUpdate = require("callbacks.subscriptions.postSlotUpdate")
40
- local postTearInitLate = require("callbacks.subscriptions.postTearInitLate")
41
- local postTransformation = require("callbacks.subscriptions.postTransformation")
42
- local preCustomRevive = require("callbacks.subscriptions.preCustomRevive")
43
- local preItemPickup = require("callbacks.subscriptions.preItemPickup")
5
+ local ____postBombInitLate = require("callbacks.subscriptions.postBombInitLate")
6
+ local postBombInitLateRegister = ____postBombInitLate.postBombInitLateRegister
7
+ local ____postCursedTeleport = require("callbacks.subscriptions.postCursedTeleport")
8
+ local postCursedTeleportRegister = ____postCursedTeleport.postCursedTeleportRegister
9
+ local ____postCustomRevive = require("callbacks.subscriptions.postCustomRevive")
10
+ local postCustomReviveRegister = ____postCustomRevive.postCustomReviveRegister
11
+ local ____postEffectInitLate = require("callbacks.subscriptions.postEffectInitLate")
12
+ local postEffectInitLateRegister = ____postEffectInitLate.postEffectInitLateRegister
13
+ local ____postEsauJr = require("callbacks.subscriptions.postEsauJr")
14
+ local postEsauJrRegister = ____postEsauJr.postEsauJrRegister
15
+ local ____postFamiliarInitLate = require("callbacks.subscriptions.postFamiliarInitLate")
16
+ local postFamiliarInitLateRegister = ____postFamiliarInitLate.postFamiliarInitLateRegister
17
+ local ____postFirstEsauJr = require("callbacks.subscriptions.postFirstEsauJr")
18
+ local postFirstEsauJrRegister = ____postFirstEsauJr.postFirstEsauJrRegister
19
+ local ____postFirstFlip = require("callbacks.subscriptions.postFirstFlip")
20
+ local postFirstFlipRegister = ____postFirstFlip.postFirstFlipRegister
21
+ local ____postFlip = require("callbacks.subscriptions.postFlip")
22
+ local postFlipRegister = ____postFlip.postFlipRegister
23
+ local ____postGameStartedReordered = require("callbacks.subscriptions.postGameStartedReordered")
24
+ local postGameStartedReorderedRegister = ____postGameStartedReordered.postGameStartedReorderedRegister
25
+ local ____postGridEntityInit = require("callbacks.subscriptions.postGridEntityInit")
26
+ local postGridEntityInitRegister = ____postGridEntityInit.postGridEntityInitRegister
27
+ local ____postGridEntityRemove = require("callbacks.subscriptions.postGridEntityRemove")
28
+ local postGridEntityRemoveRegister = ____postGridEntityRemove.postGridEntityRemoveRegister
29
+ local ____postGridEntityUpdate = require("callbacks.subscriptions.postGridEntityUpdate")
30
+ local postGridEntityUpdateRegister = ____postGridEntityUpdate.postGridEntityUpdateRegister
31
+ local ____postItemPickup = require("callbacks.subscriptions.postItemPickup")
32
+ local postItemPickupRegister = ____postItemPickup.postItemPickupRegister
33
+ local ____postKnifeInitLate = require("callbacks.subscriptions.postKnifeInitLate")
34
+ local postKnifeInitLateRegister = ____postKnifeInitLate.postKnifeInitLateRegister
35
+ local ____postLaserInitLate = require("callbacks.subscriptions.postLaserInitLate")
36
+ local postLaserInitLateRegister = ____postLaserInitLate.postLaserInitLateRegister
37
+ local ____postNewLevelReordered = require("callbacks.subscriptions.postNewLevelReordered")
38
+ local postNewLevelReorderedRegister = ____postNewLevelReordered.postNewLevelReorderedRegister
39
+ local ____postNewRoomReordered = require("callbacks.subscriptions.postNewRoomReordered")
40
+ local postNewRoomReorderedRegister = ____postNewRoomReordered.postNewRoomReorderedRegister
41
+ local ____postNPCInitLate = require("callbacks.subscriptions.postNPCInitLate")
42
+ local postNPCInitLateRegister = ____postNPCInitLate.postNPCInitLateRegister
43
+ local ____postPickupCollect = require("callbacks.subscriptions.postPickupCollect")
44
+ local postPickupCollectRegister = ____postPickupCollect.postPickupCollectRegister
45
+ local ____postPickupInitLate = require("callbacks.subscriptions.postPickupInitLate")
46
+ local postPickupInitLateRegister = ____postPickupInitLate.postPickupInitLateRegister
47
+ local ____postPlayerChangeHealth = require("callbacks.subscriptions.postPlayerChangeHealth")
48
+ local postPlayerChangeHealthRegister = ____postPlayerChangeHealth.postPlayerChangeHealthRegister
49
+ local ____postPlayerChangeType = require("callbacks.subscriptions.postPlayerChangeType")
50
+ local postPlayerChangeTypeRegister = ____postPlayerChangeType.postPlayerChangeTypeRegister
51
+ local ____postPlayerFatalDamage = require("callbacks.subscriptions.postPlayerFatalDamage")
52
+ local postPlayerFatalDamageRegister = ____postPlayerFatalDamage.postPlayerFatalDamageRegister
53
+ local ____postPlayerInitLate = require("callbacks.subscriptions.postPlayerInitLate")
54
+ local postPlayerInitLateRegister = ____postPlayerInitLate.postPlayerInitLateRegister
55
+ local ____postPlayerInitReordered = require("callbacks.subscriptions.postPlayerInitReordered")
56
+ local postPlayerInitReorderedRegister = ____postPlayerInitReordered.postPlayerInitReorderedRegister
57
+ local ____postPlayerRenderReordered = require("callbacks.subscriptions.postPlayerRenderReordered")
58
+ local postPlayerRenderReorderedRegister = ____postPlayerRenderReordered.postPlayerRenderReorderedRegister
59
+ local ____postPlayerUpdateReordered = require("callbacks.subscriptions.postPlayerUpdateReordered")
60
+ local postPlayerUpdateReorderedRegister = ____postPlayerUpdateReordered.postPlayerUpdateReorderedRegister
61
+ local ____postProjectileInitLate = require("callbacks.subscriptions.postProjectileInitLate")
62
+ local postProjectileInitLateRegister = ____postProjectileInitLate.postProjectileInitLateRegister
63
+ local ____postPurchase = require("callbacks.subscriptions.postPurchase")
64
+ local postPurchaseRegister = ____postPurchase.postPurchaseRegister
65
+ local ____postSacrifice = require("callbacks.subscriptions.postSacrifice")
66
+ local postSacrificeRegister = ____postSacrifice.postSacrificeRegister
67
+ local ____postSlotDestroyed = require("callbacks.subscriptions.postSlotDestroyed")
68
+ local postSlotDestroyedRegister = ____postSlotDestroyed.postSlotDestroyedRegister
69
+ local ____postSlotInit = require("callbacks.subscriptions.postSlotInit")
70
+ local postSlotInitRegister = ____postSlotInit.postSlotInitRegister
71
+ local ____postSlotRender = require("callbacks.subscriptions.postSlotRender")
72
+ local postSlotRenderRegister = ____postSlotRender.postSlotRenderRegister
73
+ local ____postSlotUpdate = require("callbacks.subscriptions.postSlotUpdate")
74
+ local postSlotUpdateRegister = ____postSlotUpdate.postSlotUpdateRegister
75
+ local ____postTearInitLate = require("callbacks.subscriptions.postTearInitLate")
76
+ local postTearInitLateRegister = ____postTearInitLate.postTearInitLateRegister
77
+ local ____postTransformation = require("callbacks.subscriptions.postTransformation")
78
+ local postTransformationRegister = ____postTransformation.postTransformationRegister
79
+ local ____preCustomRevive = require("callbacks.subscriptions.preCustomRevive")
80
+ local preCustomReviveRegister = ____preCustomRevive.preCustomReviveRegister
81
+ local ____preItemPickup = require("callbacks.subscriptions.preItemPickup")
82
+ local preItemPickupRegister = ____preItemPickup.preItemPickupRegister
44
83
  local ____log = require("functions.log")
45
84
  local getDebugPrependString = ____log.getDebugPrependString
46
85
  local ____util = require("functions.util")
@@ -110,273 +149,390 @@ function ModUpgraded.prototype.AddCallbackCustom(self, callbackID, ...)
110
149
  local ____cond13 = ____switch13 == ModCallbacksCustom.MC_POST_GAME_STARTED_REORDERED
111
150
  if ____cond13 then
112
151
  do
113
- postGameStartedReordered:register(table.unpack(args))
152
+ postGameStartedReorderedRegister(
153
+ nil,
154
+ table.unpack(args)
155
+ )
114
156
  break
115
157
  end
116
158
  end
117
159
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_NEW_LEVEL_REORDERED
118
160
  if ____cond13 then
119
161
  do
120
- postNewLevelReordered:register(table.unpack(args))
162
+ postNewLevelReorderedRegister(
163
+ nil,
164
+ table.unpack(args)
165
+ )
121
166
  break
122
167
  end
123
168
  end
124
169
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_NEW_ROOM_REORDERED
125
170
  if ____cond13 then
126
171
  do
127
- postNewRoomReordered:register(table.unpack(args))
172
+ postNewRoomReorderedRegister(
173
+ nil,
174
+ table.unpack(args)
175
+ )
128
176
  break
129
177
  end
130
178
  end
131
179
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PLAYER_INIT_REORDERED
132
180
  if ____cond13 then
133
181
  do
134
- postPlayerInitReordered:register(table.unpack(args))
182
+ postPlayerInitReorderedRegister(
183
+ nil,
184
+ table.unpack(args)
185
+ )
135
186
  break
136
187
  end
137
188
  end
138
189
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PLAYER_UPDATE_REORDERED
139
190
  if ____cond13 then
140
191
  do
141
- postPlayerUpdateReordered:register(table.unpack(args))
192
+ postPlayerUpdateReorderedRegister(
193
+ nil,
194
+ table.unpack(args)
195
+ )
142
196
  break
143
197
  end
144
198
  end
145
199
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PLAYER_RENDER_REORDERED
146
200
  if ____cond13 then
147
201
  do
148
- postPlayerRenderReordered:register(table.unpack(args))
202
+ postPlayerRenderReorderedRegister(
203
+ nil,
204
+ table.unpack(args)
205
+ )
149
206
  break
150
207
  end
151
208
  end
152
209
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PLAYER_INIT_LATE
153
210
  if ____cond13 then
154
211
  do
155
- postPlayerInitLate:register(table.unpack(args))
212
+ postPlayerInitLateRegister(
213
+ nil,
214
+ table.unpack(args)
215
+ )
156
216
  break
157
217
  end
158
218
  end
159
219
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_TEAR_INIT_LATE
160
220
  if ____cond13 then
161
221
  do
162
- postTearInitLate:register(table.unpack(args))
222
+ postTearInitLateRegister(
223
+ nil,
224
+ table.unpack(args)
225
+ )
163
226
  break
164
227
  end
165
228
  end
166
229
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_FAMILIAR_INIT_LATE
167
230
  if ____cond13 then
168
231
  do
169
- postFamiliarInitLate:register(table.unpack(args))
232
+ postFamiliarInitLateRegister(
233
+ nil,
234
+ table.unpack(args)
235
+ )
170
236
  break
171
237
  end
172
238
  end
173
239
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_BOMB_INIT_LATE
174
240
  if ____cond13 then
175
241
  do
176
- postBombInitLate:register(table.unpack(args))
242
+ postBombInitLateRegister(
243
+ nil,
244
+ table.unpack(args)
245
+ )
177
246
  break
178
247
  end
179
248
  end
180
249
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PICKUP_INIT_LATE
181
250
  if ____cond13 then
182
251
  do
183
- postPickupInitLate:register(table.unpack(args))
252
+ postPickupInitLateRegister(
253
+ nil,
254
+ table.unpack(args)
255
+ )
184
256
  break
185
257
  end
186
258
  end
187
259
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_LASER_INIT_LATE
188
260
  if ____cond13 then
189
261
  do
190
- postLaserInitLate:register(table.unpack(args))
262
+ postLaserInitLateRegister(
263
+ nil,
264
+ table.unpack(args)
265
+ )
191
266
  break
192
267
  end
193
268
  end
194
269
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_KNIFE_INIT_LATE
195
270
  if ____cond13 then
196
271
  do
197
- postKnifeInitLate:register(table.unpack(args))
272
+ postKnifeInitLateRegister(
273
+ nil,
274
+ table.unpack(args)
275
+ )
198
276
  break
199
277
  end
200
278
  end
201
279
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PROJECTILE_INIT_LATE
202
280
  if ____cond13 then
203
281
  do
204
- postProjectileInitLate:register(table.unpack(args))
282
+ postProjectileInitLateRegister(
283
+ nil,
284
+ table.unpack(args)
285
+ )
205
286
  break
206
287
  end
207
288
  end
208
289
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_NPC_INIT_LATE
209
290
  if ____cond13 then
210
291
  do
211
- postNPCInitLate:register(table.unpack(args))
292
+ postNPCInitLateRegister(
293
+ nil,
294
+ table.unpack(args)
295
+ )
212
296
  break
213
297
  end
214
298
  end
215
299
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_EFFECT_INIT_LATE
216
300
  if ____cond13 then
217
301
  do
218
- postEffectInitLate:register(table.unpack(args))
302
+ postEffectInitLateRegister(
303
+ nil,
304
+ table.unpack(args)
305
+ )
219
306
  break
220
307
  end
221
308
  end
222
309
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PICKUP_COLLECT
223
310
  if ____cond13 then
224
311
  do
225
- postPickupCollect:register(table.unpack(args))
312
+ postPickupCollectRegister(
313
+ nil,
314
+ table.unpack(args)
315
+ )
226
316
  break
227
317
  end
228
318
  end
229
319
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_PRE_ITEM_PICKUP
230
320
  if ____cond13 then
231
321
  do
232
- preItemPickup:register(table.unpack(args))
322
+ preItemPickupRegister(
323
+ nil,
324
+ table.unpack(args)
325
+ )
233
326
  break
234
327
  end
235
328
  end
236
329
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_ITEM_PICKUP
237
330
  if ____cond13 then
238
331
  do
239
- postItemPickup:register(table.unpack(args))
332
+ postItemPickupRegister(
333
+ nil,
334
+ table.unpack(args)
335
+ )
240
336
  break
241
337
  end
242
338
  end
243
339
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PLAYER_CHANGE_TYPE
244
340
  if ____cond13 then
245
341
  do
246
- postPlayerChangeType:register(table.unpack(args))
342
+ postPlayerChangeTypeRegister(
343
+ nil,
344
+ table.unpack(args)
345
+ )
247
346
  break
248
347
  end
249
348
  end
250
349
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PLAYER_CHANGE_HEALTH
251
350
  if ____cond13 then
252
351
  do
253
- postPlayerChangeHealth:register(table.unpack(args))
352
+ postPlayerChangeHealthRegister(
353
+ nil,
354
+ table.unpack(args)
355
+ )
254
356
  break
255
357
  end
256
358
  end
257
359
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PLAYER_FATAL_DAMAGE
258
360
  if ____cond13 then
259
361
  do
260
- postPlayerFatalDamage:register(table.unpack(args))
362
+ postPlayerFatalDamageRegister(
363
+ nil,
364
+ table.unpack(args)
365
+ )
261
366
  break
262
367
  end
263
368
  end
264
369
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_PRE_CUSTOM_REVIVE
265
370
  if ____cond13 then
266
371
  do
267
- preCustomRevive:register(table.unpack(args))
372
+ preCustomReviveRegister(
373
+ nil,
374
+ table.unpack(args)
375
+ )
268
376
  break
269
377
  end
270
378
  end
271
379
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_CUSTOM_REVIVE
272
380
  if ____cond13 then
273
381
  do
274
- postCustomRevive:register(table.unpack(args))
382
+ postCustomReviveRegister(
383
+ nil,
384
+ table.unpack(args)
385
+ )
275
386
  break
276
387
  end
277
388
  end
278
389
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_FLIP
279
390
  if ____cond13 then
280
391
  do
281
- postFlip:register(table.unpack(args))
392
+ postFlipRegister(
393
+ nil,
394
+ table.unpack(args)
395
+ )
282
396
  break
283
397
  end
284
398
  end
285
399
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_FIRST_FLIP
286
400
  if ____cond13 then
287
401
  do
288
- postFirstFlip:register(table.unpack(args))
402
+ postFirstFlipRegister(
403
+ nil,
404
+ table.unpack(args)
405
+ )
289
406
  break
290
407
  end
291
408
  end
292
409
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_ESAU_JR
293
410
  if ____cond13 then
294
411
  do
295
- postEsauJr:register(table.unpack(args))
412
+ postEsauJrRegister(
413
+ nil,
414
+ table.unpack(args)
415
+ )
296
416
  break
297
417
  end
298
418
  end
299
419
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_FIRST_ESAU_JR
300
420
  if ____cond13 then
301
421
  do
302
- postFirstEsauJr:register(table.unpack(args))
422
+ postFirstEsauJrRegister(
423
+ nil,
424
+ table.unpack(args)
425
+ )
303
426
  break
304
427
  end
305
428
  end
306
429
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_TRANSFORMATION
307
430
  if ____cond13 then
308
431
  do
309
- postTransformation:register(table.unpack(args))
432
+ postTransformationRegister(
433
+ nil,
434
+ table.unpack(args)
435
+ )
310
436
  break
311
437
  end
312
438
  end
313
439
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_PURCHASE
314
440
  if ____cond13 then
315
441
  do
316
- postPurchase:register(table.unpack(args))
442
+ postPurchaseRegister(
443
+ nil,
444
+ table.unpack(args)
445
+ )
317
446
  break
318
447
  end
319
448
  end
320
449
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_SACRIFICE
321
450
  if ____cond13 then
322
451
  do
323
- postSacrifice:register(table.unpack(args))
452
+ postSacrificeRegister(
453
+ nil,
454
+ table.unpack(args)
455
+ )
324
456
  break
325
457
  end
326
458
  end
327
459
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_CURSED_TELEPORT
328
460
  if ____cond13 then
329
461
  do
330
- postCursedTeleport:register(table.unpack(args))
462
+ postCursedTeleportRegister(
463
+ nil,
464
+ table.unpack(args)
465
+ )
331
466
  break
332
467
  end
333
468
  end
334
469
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_SLOT_INIT
335
470
  if ____cond13 then
336
471
  do
337
- postSlotInit:register(table.unpack(args))
472
+ postSlotInitRegister(
473
+ nil,
474
+ table.unpack(args)
475
+ )
338
476
  break
339
477
  end
340
478
  end
341
479
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_SLOT_UPDATE
342
480
  if ____cond13 then
343
481
  do
344
- postSlotUpdate:register(table.unpack(args))
482
+ postSlotUpdateRegister(
483
+ nil,
484
+ table.unpack(args)
485
+ )
345
486
  break
346
487
  end
347
488
  end
348
489
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_SLOT_RENDER
349
490
  if ____cond13 then
350
491
  do
351
- postSlotRender:register(table.unpack(args))
492
+ postSlotRenderRegister(
493
+ nil,
494
+ table.unpack(args)
495
+ )
352
496
  break
353
497
  end
354
498
  end
355
499
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_SLOT_DESTROYED
356
500
  if ____cond13 then
357
501
  do
358
- postSlotDestroyed:register(table.unpack(args))
502
+ postSlotDestroyedRegister(
503
+ nil,
504
+ table.unpack(args)
505
+ )
359
506
  break
360
507
  end
361
508
  end
362
509
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_GRID_ENTITY_INIT
363
510
  if ____cond13 then
364
511
  do
365
- postGridEntityInit:register(table.unpack(args))
512
+ postGridEntityInitRegister(
513
+ nil,
514
+ table.unpack(args)
515
+ )
366
516
  break
367
517
  end
368
518
  end
369
519
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_GRID_ENTITY_UPDATE
370
520
  if ____cond13 then
371
521
  do
372
- postGridEntityUpdate:register(table.unpack(args))
522
+ postGridEntityUpdateRegister(
523
+ nil,
524
+ table.unpack(args)
525
+ )
373
526
  break
374
527
  end
375
528
  end
376
529
  ____cond13 = ____cond13 or ____switch13 == ModCallbacksCustom.MC_POST_GRID_ENTITY_REMOVE
377
530
  if ____cond13 then
378
531
  do
379
- postGridEntityRemove:register(table.unpack(args))
532
+ postGridEntityRemoveRegister(
533
+ nil,
534
+ table.unpack(args)
535
+ )
380
536
  break
381
537
  end
382
538
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.498",
3
+ "version": "1.0.499",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",
@@ -25,7 +25,7 @@
25
25
  "dist/**/*.d.ts"
26
26
  ],
27
27
  "devDependencies": {
28
- "isaac-typescript-definitions": "^1.0.286",
28
+ "isaac-typescript-definitions": "^1.0.288",
29
29
  "isaacscript-lint": "^1.0.68",
30
30
  "typedoc": "^0.22.10",
31
31
  "typescript": "4.5.2",