isaacscript-common 3.11.0 → 3.12.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.
Files changed (55) hide show
  1. package/callbacks/postBombInitLate.lua +1 -1
  2. package/callbacks/postBoneSwing.lua +1 -1
  3. package/callbacks/postCollectibleInitFirst.lua +1 -1
  4. package/callbacks/postCursedTeleport.lua +1 -1
  5. package/callbacks/postCustomDoorEnter.lua +1 -1
  6. package/callbacks/postDiceRoomActivated.d.ts +1 -0
  7. package/callbacks/postDiceRoomActivated.lua +39 -0
  8. package/callbacks/postEffectInitLate.lua +1 -1
  9. package/callbacks/postEffectStateChanged.lua +1 -1
  10. package/callbacks/postFamiliarInitLate.lua +1 -1
  11. package/callbacks/postFamiliarStateChanged.lua +1 -1
  12. package/callbacks/postGreedModeWave.lua +1 -1
  13. package/callbacks/postHolyMantleRemoved.lua +1 -1
  14. package/callbacks/postItemDischarged.d.ts +1 -1
  15. package/callbacks/postItemDischarged.lua +1 -1
  16. package/callbacks/postKnifeInitLate.lua +1 -1
  17. package/callbacks/postLaserInitLate.lua +1 -1
  18. package/callbacks/postNPCInitLate.lua +1 -1
  19. package/callbacks/postNPCStateChanged.lua +1 -1
  20. package/callbacks/postPickupCollect.lua +1 -1
  21. package/callbacks/postPickupInitFirst.lua +1 -1
  22. package/callbacks/postPickupInitLate.lua +1 -1
  23. package/callbacks/postPickupStateChanged.lua +1 -1
  24. package/callbacks/postPlayerChangeHealth.lua +1 -1
  25. package/callbacks/postPlayerChangeType.lua +1 -1
  26. package/callbacks/postPlayerCollectible.lua +1 -1
  27. package/callbacks/postPlayerFatalDamage.lua +1 -1
  28. package/callbacks/postPlayerInitLate.lua +1 -1
  29. package/callbacks/postProjectileInitLate.lua +1 -1
  30. package/callbacks/postPurchase.lua +1 -1
  31. package/callbacks/postRoomClearChanged.lua +1 -1
  32. package/callbacks/postSacrifice.lua +1 -1
  33. package/callbacks/postSlotDestroyed.lua +1 -1
  34. package/callbacks/postTearInitLate.lua +1 -1
  35. package/callbacks/postTearInitVeryLate.lua +1 -1
  36. package/callbacks/postTransformation.lua +1 -1
  37. package/callbacks/postTrinketBreak.lua +1 -1
  38. package/callbacks/preBerserkDeath.lua +1 -1
  39. package/callbacks/preNewLevel.lua +1 -1
  40. package/callbacks/subscriptions/postDiceRoomActivated.d.ts +5 -0
  41. package/callbacks/subscriptions/postDiceRoomActivated.lua +29 -0
  42. package/constants.d.ts +2 -0
  43. package/constants.lua +2 -0
  44. package/enums/ModCallbackCustom.d.ts +84 -72
  45. package/enums/ModCallbackCustom.lua +74 -72
  46. package/functions/entity.d.ts +6 -0
  47. package/functions/entity.lua +44 -0
  48. package/functions/log.d.ts +5 -0
  49. package/functions/log.lua +40 -10
  50. package/functions/utils.d.ts +1 -0
  51. package/functions/utils.lua +1 -0
  52. package/initCustomCallbacks.lua +75 -72
  53. package/interfaces/AddCallbackParameterCustom.d.ts +2 -0
  54. package/objects/callbackRegisterFunctions.lua +3 -0
  55. package/package.json +2 -2
@@ -8,33 +8,35 @@ local postAmbushCallbacksInit = ____postAmbush.postAmbushCallbacksInit
8
8
  local ____postBombExploded = require("callbacks.postBombExploded")
9
9
  local postBombExplodedInit = ____postBombExploded.postBombExplodedInit
10
10
  local ____postBombInitLate = require("callbacks.postBombInitLate")
11
- local postBombInitLateCallbackInit = ____postBombInitLate.postBombInitLateCallbackInit
11
+ local postBombInitLateInit = ____postBombInitLate.postBombInitLateInit
12
12
  local ____postBoneSwing = require("callbacks.postBoneSwing")
13
- local postBoneSwingCallbackInit = ____postBoneSwing.postBoneSwingCallbackInit
13
+ local postBoneSwingInit = ____postBoneSwing.postBoneSwingInit
14
14
  local ____postCollectibleInitFirst = require("callbacks.postCollectibleInitFirst")
15
- local postCollectibleInitFirstCallbackInit = ____postCollectibleInitFirst.postCollectibleInitFirstCallbackInit
15
+ local postCollectibleInitFirstInit = ____postCollectibleInitFirst.postCollectibleInitFirstInit
16
16
  local ____postCursedTeleport = require("callbacks.postCursedTeleport")
17
- local postCursedTeleportCallbackInit = ____postCursedTeleport.postCursedTeleportCallbackInit
17
+ local postCursedTeleportInit = ____postCursedTeleport.postCursedTeleportInit
18
18
  local ____postCustomDoorEnter = require("callbacks.postCustomDoorEnter")
19
- local postCustomDoorEnterCallbackInit = ____postCustomDoorEnter.postCustomDoorEnterCallbackInit
19
+ local postCustomDoorEnterInit = ____postCustomDoorEnter.postCustomDoorEnterInit
20
+ local ____postDiceRoomActivated = require("callbacks.postDiceRoomActivated")
21
+ local postDiceRoomActivatedInit = ____postDiceRoomActivated.postDiceRoomActivatedInit
20
22
  local ____postDoorRender = require("callbacks.postDoorRender")
21
23
  local postDoorRenderInit = ____postDoorRender.postDoorRenderInit
22
24
  local ____postDoorUpdate = require("callbacks.postDoorUpdate")
23
25
  local postDoorUpdateInit = ____postDoorUpdate.postDoorUpdateInit
24
26
  local ____postEffectInitLate = require("callbacks.postEffectInitLate")
25
- local postEffectInitLateCallbackInit = ____postEffectInitLate.postEffectInitLateCallbackInit
27
+ local postEffectInitLateInit = ____postEffectInitLate.postEffectInitLateInit
26
28
  local ____postEffectStateChanged = require("callbacks.postEffectStateChanged")
27
- local postEffectStateChangedCallbackInit = ____postEffectStateChanged.postEffectStateChangedCallbackInit
29
+ local postEffectStateChangedInit = ____postEffectStateChanged.postEffectStateChangedInit
28
30
  local ____postEsauJr = require("callbacks.postEsauJr")
29
31
  local postEsauJrCallbacksInit = ____postEsauJr.postEsauJrCallbacksInit
30
32
  local ____postFamiliarInitLate = require("callbacks.postFamiliarInitLate")
31
- local postFamiliarInitLateCallbackInit = ____postFamiliarInitLate.postFamiliarInitLateCallbackInit
33
+ local postFamiliarInitLateInit = ____postFamiliarInitLate.postFamiliarInitLateInit
32
34
  local ____postFamiliarStateChanged = require("callbacks.postFamiliarStateChanged")
33
- local postFamiliarStateChangedCallbackInit = ____postFamiliarStateChanged.postFamiliarStateChangedCallbackInit
35
+ local postFamiliarStateChangedInit = ____postFamiliarStateChanged.postFamiliarStateChangedInit
34
36
  local ____postFlip = require("callbacks.postFlip")
35
37
  local postFlipCallbacksInit = ____postFlip.postFlipCallbacksInit
36
38
  local ____postGreedModeWave = require("callbacks.postGreedModeWave")
37
- local postGreedModeWaveCallbackInit = ____postGreedModeWave.postGreedModeWaveCallbackInit
39
+ local postGreedModeWaveInit = ____postGreedModeWave.postGreedModeWaveInit
38
40
  local ____postGridEntity = require("callbacks.postGridEntity")
39
41
  local postGridEntityCallbacksInit = ____postGridEntity.postGridEntityCallbacksInit
40
42
  local ____postGridEntityCollision = require("callbacks.postGridEntityCollision")
@@ -42,39 +44,39 @@ local postGridEntityCollisionInit = ____postGridEntityCollision.postGridEntityCo
42
44
  local ____postGridEntityRender = require("callbacks.postGridEntityRender")
43
45
  local postGridEntityRenderInit = ____postGridEntityRender.postGridEntityRenderInit
44
46
  local ____postHolyMantleRemoved = require("callbacks.postHolyMantleRemoved")
45
- local postHolyMantleRemovedCallbackInit = ____postHolyMantleRemoved.postHolyMantleRemovedCallbackInit
47
+ local postHolyMantleRemovedInit = ____postHolyMantleRemoved.postHolyMantleRemovedInit
46
48
  local ____postItemDischarged = require("callbacks.postItemDischarged")
47
- local postItemDischargeCallbackInit = ____postItemDischarged.postItemDischargeCallbackInit
49
+ local postItemDischargeInit = ____postItemDischarged.postItemDischargeInit
48
50
  local ____postKnifeInitLate = require("callbacks.postKnifeInitLate")
49
- local postKnifeInitLateCallbackInit = ____postKnifeInitLate.postKnifeInitLateCallbackInit
51
+ local postKnifeInitLateInit = ____postKnifeInitLate.postKnifeInitLateInit
50
52
  local ____postLaserInitLate = require("callbacks.postLaserInitLate")
51
- local postLaserInitLateCallbackInit = ____postLaserInitLate.postLaserInitLateCallbackInit
53
+ local postLaserInitLateInit = ____postLaserInitLate.postLaserInitLateInit
52
54
  local ____postNPCInitLate = require("callbacks.postNPCInitLate")
53
- local postNPCInitLateCallbackInit = ____postNPCInitLate.postNPCInitLateCallbackInit
55
+ local postNPCInitLateInit = ____postNPCInitLate.postNPCInitLateInit
54
56
  local ____postNPCStateChanged = require("callbacks.postNPCStateChanged")
55
- local postNPCStateChangedCallbackInit = ____postNPCStateChanged.postNPCStateChangedCallbackInit
57
+ local postNPCStateChangedInit = ____postNPCStateChanged.postNPCStateChangedInit
56
58
  local ____postPickupCollect = require("callbacks.postPickupCollect")
57
- local postPickupCollectCallbackInit = ____postPickupCollect.postPickupCollectCallbackInit
59
+ local postPickupCollectInit = ____postPickupCollect.postPickupCollectInit
58
60
  local ____postPickupInitFirst = require("callbacks.postPickupInitFirst")
59
- local postPickupInitFirstCallbackInit = ____postPickupInitFirst.postPickupInitFirstCallbackInit
61
+ local postPickupInitFirstInit = ____postPickupInitFirst.postPickupInitFirstInit
60
62
  local ____postPickupInitLate = require("callbacks.postPickupInitLate")
61
- local postPickupInitLateCallbackInit = ____postPickupInitLate.postPickupInitLateCallbackInit
63
+ local postPickupInitLateInit = ____postPickupInitLate.postPickupInitLateInit
62
64
  local ____postPickupStateChanged = require("callbacks.postPickupStateChanged")
63
- local postPickupStateChangedCallbackInit = ____postPickupStateChanged.postPickupStateChangedCallbackInit
65
+ local postPickupStateChangedInit = ____postPickupStateChanged.postPickupStateChangedInit
64
66
  local ____postPitRender = require("callbacks.postPitRender")
65
67
  local postPitRenderInit = ____postPitRender.postPitRenderInit
66
68
  local ____postPitUpdate = require("callbacks.postPitUpdate")
67
69
  local postPitUpdateInit = ____postPitUpdate.postPitUpdateInit
68
70
  local ____postPlayerChangeHealth = require("callbacks.postPlayerChangeHealth")
69
- local postPlayerChangeHealthCallbackInit = ____postPlayerChangeHealth.postPlayerChangeHealthCallbackInit
71
+ local postPlayerChangeHealthInit = ____postPlayerChangeHealth.postPlayerChangeHealthInit
70
72
  local ____postPlayerChangeType = require("callbacks.postPlayerChangeType")
71
- local postPlayerChangeTypeCallbackInit = ____postPlayerChangeType.postPlayerChangeTypeCallbackInit
73
+ local postPlayerChangeTypeInit = ____postPlayerChangeType.postPlayerChangeTypeInit
72
74
  local ____postPlayerCollectible = require("callbacks.postPlayerCollectible")
73
- local postPlayerCollectibleCallbackInit = ____postPlayerCollectible.postPlayerCollectibleCallbackInit
75
+ local postPlayerCollectibleCallbacksInit = ____postPlayerCollectible.postPlayerCollectibleCallbacksInit
74
76
  local ____postPlayerFatalDamage = require("callbacks.postPlayerFatalDamage")
75
- local postPlayerFatalDamageCallbackInit = ____postPlayerFatalDamage.postPlayerFatalDamageCallbackInit
77
+ local postPlayerFatalDamageInit = ____postPlayerFatalDamage.postPlayerFatalDamageInit
76
78
  local ____postPlayerInitLate = require("callbacks.postPlayerInitLate")
77
- local postPlayerInitLateCallbackInit = ____postPlayerInitLate.postPlayerInitLateCallbackInit
79
+ local postPlayerInitLateInit = ____postPlayerInitLate.postPlayerInitLateInit
78
80
  local ____postPlayerReordered = require("callbacks.postPlayerReordered")
79
81
  local postPlayerReorderedCallbacksInit = ____postPlayerReordered.postPlayerReorderedCallbacksInit
80
82
  local ____postPoopRender = require("callbacks.postPoopRender")
@@ -86,19 +88,19 @@ local postPressurePlateRenderInit = ____postPressurePlateRender.postPressurePlat
86
88
  local ____postPressurePlateUpdate = require("callbacks.postPressurePlateUpdate")
87
89
  local postPressurePlateUpdateInit = ____postPressurePlateUpdate.postPressurePlateUpdateInit
88
90
  local ____postProjectileInitLate = require("callbacks.postProjectileInitLate")
89
- local postProjectileInitLateCallbackInit = ____postProjectileInitLate.postProjectileInitLateCallbackInit
91
+ local postProjectileInitLateInit = ____postProjectileInitLate.postProjectileInitLateInit
90
92
  local ____postPurchase = require("callbacks.postPurchase")
91
- local postPurchaseCallbackInit = ____postPurchase.postPurchaseCallbackInit
93
+ local postPurchaseInit = ____postPurchase.postPurchaseInit
92
94
  local ____postRockRender = require("callbacks.postRockRender")
93
95
  local postRockRenderInit = ____postRockRender.postRockRenderInit
94
96
  local ____postRockUpdate = require("callbacks.postRockUpdate")
95
97
  local postRockUpdateInit = ____postRockUpdate.postRockUpdateInit
96
98
  local ____postRoomClearChanged = require("callbacks.postRoomClearChanged")
97
- local postRoomClearChangedCallbackInit = ____postRoomClearChanged.postRoomClearChangedCallbackInit
99
+ local postRoomClearChangedInit = ____postRoomClearChanged.postRoomClearChangedInit
98
100
  local ____postSacrifice = require("callbacks.postSacrifice")
99
- local postSacrificeCallbackInit = ____postSacrifice.postSacrificeCallbackInit
101
+ local postSacrificeInit = ____postSacrifice.postSacrificeInit
100
102
  local ____postSlotDestroyed = require("callbacks.postSlotDestroyed")
101
- local postSlotDestroyedCallbacksInit = ____postSlotDestroyed.postSlotDestroyedCallbacksInit
103
+ local postSlotDestroyedInit = ____postSlotDestroyed.postSlotDestroyedInit
102
104
  local ____postSlotInitUpdate = require("callbacks.postSlotInitUpdate")
103
105
  local postSlotInitUpdateCallbacksInit = ____postSlotInitUpdate.postSlotInitUpdateCallbacksInit
104
106
  local ____postSlotRender = require("callbacks.postSlotRender")
@@ -108,21 +110,21 @@ local postSpikesRenderInit = ____postSpikesRender.postSpikesRenderInit
108
110
  local ____postSpikesUpdate = require("callbacks.postSpikesUpdate")
109
111
  local postSpikesUpdateInit = ____postSpikesUpdate.postSpikesUpdateInit
110
112
  local ____postTearInitLate = require("callbacks.postTearInitLate")
111
- local postTearInitLateCallbackInit = ____postTearInitLate.postTearInitLateCallbackInit
113
+ local postTearInitLateInit = ____postTearInitLate.postTearInitLateInit
112
114
  local ____postTearInitVeryLate = require("callbacks.postTearInitVeryLate")
113
- local postTearInitVeryLateCallbackInit = ____postTearInitVeryLate.postTearInitVeryLateCallbackInit
115
+ local postTearInitVeryLateInit = ____postTearInitVeryLate.postTearInitVeryLateInit
114
116
  local ____postTNTRender = require("callbacks.postTNTRender")
115
117
  local postTNTRenderInit = ____postTNTRender.postTNTRenderInit
116
118
  local ____postTNTUpdate = require("callbacks.postTNTUpdate")
117
119
  local postTNTUpdateInit = ____postTNTUpdate.postTNTUpdateInit
118
120
  local ____postTransformation = require("callbacks.postTransformation")
119
- local postTransformationCallbackInit = ____postTransformation.postTransformationCallbackInit
121
+ local postTransformationInit = ____postTransformation.postTransformationInit
120
122
  local ____postTrinketBreak = require("callbacks.postTrinketBreak")
121
- local postTrinketBreakCallbackInit = ____postTrinketBreak.postTrinketBreakCallbackInit
123
+ local postTrinketBreakInit = ____postTrinketBreak.postTrinketBreakInit
122
124
  local ____preBerserkDeath = require("callbacks.preBerserkDeath")
123
- local preBerserkDeathCallbackInit = ____preBerserkDeath.preBerserkDeathCallbackInit
125
+ local preBerserkDeathInit = ____preBerserkDeath.preBerserkDeathInit
124
126
  local ____preNewLevel = require("callbacks.preNewLevel")
125
- local preNewLevelCallbackInit = ____preNewLevel.preNewLevelCallbackInit
127
+ local preNewLevelInit = ____preNewLevel.preNewLevelInit
126
128
  local ____reorderedCallbacks = require("callbacks.reorderedCallbacks")
127
129
  local reorderedCallbacksInit = ____reorderedCallbacks.reorderedCallbacksInit
128
130
  function ____exports.initCustomCallbacks(self, mod)
@@ -130,64 +132,65 @@ function ____exports.initCustomCallbacks(self, mod)
130
132
  itemPickupCallbacksInit(nil, mod)
131
133
  postAmbushCallbacksInit(nil, mod)
132
134
  postBombExplodedInit(nil, mod)
133
- postBombInitLateCallbackInit(nil, mod)
134
- postBoneSwingCallbackInit(nil, mod)
135
- postCollectibleInitFirstCallbackInit(nil, mod)
136
- postCursedTeleportCallbackInit(nil, mod)
137
- postCustomDoorEnterCallbackInit(nil)
135
+ postBombInitLateInit(nil, mod)
136
+ postBoneSwingInit(nil, mod)
137
+ postCollectibleInitFirstInit(nil, mod)
138
+ postCursedTeleportInit(nil, mod)
139
+ postCustomDoorEnterInit(nil)
140
+ postDiceRoomActivatedInit(nil, mod)
138
141
  postDoorRenderInit(nil, mod)
139
142
  postDoorUpdateInit(nil, mod)
140
- postEffectInitLateCallbackInit(nil, mod)
141
- postEffectStateChangedCallbackInit(nil, mod)
143
+ postEffectInitLateInit(nil, mod)
144
+ postEffectStateChangedInit(nil, mod)
142
145
  postEsauJrCallbacksInit(nil, mod)
143
- postFamiliarInitLateCallbackInit(nil, mod)
144
- postFamiliarStateChangedCallbackInit(nil, mod)
146
+ postFamiliarInitLateInit(nil, mod)
147
+ postFamiliarStateChangedInit(nil, mod)
145
148
  postFlipCallbacksInit(nil, mod)
146
- postGreedModeWaveCallbackInit(nil, mod)
149
+ postGreedModeWaveInit(nil, mod)
147
150
  postGridEntityCallbacksInit(nil, mod)
148
151
  postGridEntityCollisionInit(nil, mod)
149
152
  postGridEntityRenderInit(nil, mod)
150
- postHolyMantleRemovedCallbackInit(nil, mod)
151
- postItemDischargeCallbackInit(nil, mod)
152
- postLaserInitLateCallbackInit(nil, mod)
153
- postKnifeInitLateCallbackInit(nil, mod)
154
- postNPCInitLateCallbackInit(nil, mod)
155
- postNPCStateChangedCallbackInit(nil, mod)
156
- postPickupCollectCallbackInit(nil, mod)
157
- postPickupInitFirstCallbackInit(nil, mod)
158
- postPickupInitLateCallbackInit(nil, mod)
159
- postPickupStateChangedCallbackInit(nil, mod)
153
+ postHolyMantleRemovedInit(nil, mod)
154
+ postItemDischargeInit(nil, mod)
155
+ postLaserInitLateInit(nil, mod)
156
+ postKnifeInitLateInit(nil, mod)
157
+ postNPCInitLateInit(nil, mod)
158
+ postNPCStateChangedInit(nil, mod)
159
+ postPickupCollectInit(nil, mod)
160
+ postPickupInitFirstInit(nil, mod)
161
+ postPickupInitLateInit(nil, mod)
162
+ postPickupStateChangedInit(nil, mod)
160
163
  postPitRenderInit(nil, mod)
161
164
  postPitUpdateInit(nil, mod)
162
- postPlayerChangeHealthCallbackInit(nil, mod)
163
- postPlayerChangeTypeCallbackInit(nil, mod)
164
- postPlayerCollectibleCallbackInit(nil, mod)
165
- postPlayerFatalDamageCallbackInit(nil, mod)
166
- postPlayerInitLateCallbackInit(nil, mod)
165
+ postPlayerChangeHealthInit(nil, mod)
166
+ postPlayerChangeTypeInit(nil, mod)
167
+ postPlayerCollectibleCallbacksInit(nil, mod)
168
+ postPlayerFatalDamageInit(nil, mod)
169
+ postPlayerInitLateInit(nil, mod)
167
170
  postPlayerReorderedCallbacksInit(nil, mod)
168
171
  postPoopRenderInit(nil, mod)
169
172
  postPoopUpdateInit(nil, mod)
170
173
  postPressurePlateRenderInit(nil, mod)
171
174
  postPressurePlateUpdateInit(nil, mod)
172
- postProjectileInitLateCallbackInit(nil, mod)
173
- postPurchaseCallbackInit(nil, mod)
175
+ postProjectileInitLateInit(nil, mod)
176
+ postPurchaseInit(nil, mod)
174
177
  postRockRenderInit(nil, mod)
175
178
  postRockUpdateInit(nil, mod)
176
- postRoomClearChangedCallbackInit(nil, mod)
177
- postSacrificeCallbackInit(nil, mod)
178
- postSlotDestroyedCallbacksInit(nil, mod)
179
+ postRoomClearChangedInit(nil, mod)
180
+ postSacrificeInit(nil, mod)
181
+ postSlotDestroyedInit(nil, mod)
179
182
  postSlotInitUpdateCallbacksInit(nil, mod)
180
183
  postSlotRenderCallbacksInit(nil, mod)
181
184
  postSpikesRenderInit(nil, mod)
182
185
  postSpikesUpdateInit(nil, mod)
183
- postTearInitLateCallbackInit(nil, mod)
184
- postTearInitVeryLateCallbackInit(nil, mod)
186
+ postTearInitLateInit(nil, mod)
187
+ postTearInitVeryLateInit(nil, mod)
185
188
  postTNTRenderInit(nil, mod)
186
189
  postTNTUpdateInit(nil, mod)
187
- postTransformationCallbackInit(nil, mod)
188
- postTrinketBreakCallbackInit(nil, mod)
189
- preBerserkDeathCallbackInit(nil, mod)
190
- preNewLevelCallbackInit(nil, mod)
190
+ postTransformationInit(nil, mod)
191
+ postTrinketBreakInit(nil, mod)
192
+ preBerserkDeathInit(nil, mod)
193
+ preNewLevelInit(nil, mod)
191
194
  reorderedCallbacksInit(nil, mod)
192
195
  end
193
196
  return ____exports
@@ -7,6 +7,7 @@ import { PostCollectibleInitFirstRegisterParameters } from "../callbacks/subscri
7
7
  import { PostCursedTeleportRegisterParameters } from "../callbacks/subscriptions/postCursedTeleport";
8
8
  import { PostCustomDoorEnterRegisterParameters } from "../callbacks/subscriptions/postCustomDoorEnter";
9
9
  import { PostCustomReviveRegisterParameters } from "../callbacks/subscriptions/postCustomRevive";
10
+ import { PostDiceRoomActivatedRegisterParameters } from "../callbacks/subscriptions/postDiceRoomActivated";
10
11
  import { PostDoorRenderRegisterParameters } from "../callbacks/subscriptions/postDoorRender";
11
12
  import { PostDoorUpdateRegisterParameters } from "../callbacks/subscriptions/postDoorUpdate";
12
13
  import { PostEffectInitLateRegisterParameters } from "../callbacks/subscriptions/postEffectInitLate";
@@ -90,6 +91,7 @@ export interface AddCallbackParameterCustom {
90
91
  [ModCallbackCustom.POST_CURSED_TELEPORT]: PostCursedTeleportRegisterParameters;
91
92
  [ModCallbackCustom.POST_CUSTOM_DOOR_ENTER]: PostCustomDoorEnterRegisterParameters;
92
93
  [ModCallbackCustom.POST_CUSTOM_REVIVE]: PostCustomReviveRegisterParameters;
94
+ [ModCallbackCustom.POST_DICE_ROOM_ACTIVATED]: PostDiceRoomActivatedRegisterParameters;
93
95
  [ModCallbackCustom.POST_DOOR_RENDER]: PostDoorRenderRegisterParameters;
94
96
  [ModCallbackCustom.POST_DOOR_UPDATE]: PostDoorUpdateRegisterParameters;
95
97
  [ModCallbackCustom.POST_EFFECT_INIT_LATE]: PostEffectInitLateRegisterParameters;
@@ -17,6 +17,8 @@ local ____postCustomDoorEnter = require("callbacks.subscriptions.postCustomDoorE
17
17
  local postCustomDoorEnterRegister = ____postCustomDoorEnter.postCustomDoorEnterRegister
18
18
  local ____postCustomRevive = require("callbacks.subscriptions.postCustomRevive")
19
19
  local postCustomReviveRegister = ____postCustomRevive.postCustomReviveRegister
20
+ local ____postDiceRoomActivated = require("callbacks.subscriptions.postDiceRoomActivated")
21
+ local postDiceRoomActivatedRegister = ____postDiceRoomActivated.postDiceRoomActivatedRegister
20
22
  local ____postDoorRender = require("callbacks.subscriptions.postDoorRender")
21
23
  local postDoorRenderRegister = ____postDoorRender.postDoorRenderRegister
22
24
  local ____postDoorUpdate = require("callbacks.subscriptions.postDoorUpdate")
@@ -173,6 +175,7 @@ ____exports.CALLBACK_REGISTER_FUNCTIONS = {
173
175
  [ModCallbackCustom.POST_CURSED_TELEPORT] = postCursedTeleportRegister,
174
176
  [ModCallbackCustom.POST_CUSTOM_DOOR_ENTER] = postCustomDoorEnterRegister,
175
177
  [ModCallbackCustom.POST_CUSTOM_REVIVE] = postCustomReviveRegister,
178
+ [ModCallbackCustom.POST_DICE_ROOM_ACTIVATED] = postDiceRoomActivatedRegister,
176
179
  [ModCallbackCustom.POST_DOOR_RENDER] = postDoorRenderRegister,
177
180
  [ModCallbackCustom.POST_DOOR_UPDATE] = postDoorUpdateRegister,
178
181
  [ModCallbackCustom.POST_EFFECT_INIT_LATE] = postEffectInitLateRegister,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "3.11.0",
3
+ "version": "3.12.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.1.1"
25
+ "isaac-typescript-definitions": "^2.2.2"
26
26
  }
27
27
  }