isaacscript-common 18.1.0 → 18.2.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/index.d.ts +163 -99
- package/dist/isaacscript-common.lua +146 -102
- package/dist/src/callbackClasses.d.ts +1 -0
- package/dist/src/callbackClasses.d.ts.map +1 -1
- package/dist/src/callbackClasses.lua +5 -0
- package/dist/src/callbacks.d.ts +100 -99
- package/dist/src/callbacks.d.ts.map +1 -1
- package/dist/src/callbacks.lua +1 -0
- package/dist/src/classes/callbacks/EntityTakeDmgFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/EntityTakeDmgPlayer.d.ts +9 -0
- package/dist/src/classes/callbacks/EntityTakeDmgPlayer.d.ts.map +1 -0
- package/dist/src/classes/callbacks/EntityTakeDmgPlayer.lua +34 -0
- package/dist/src/classes/callbacks/PostAmbushFinished.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostAmbushStarted.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostBombExploded.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostBombInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostBoneSwing.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostCollectibleEmpty.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostCollectibleInitFirst.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostCursedTeleport.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostDiceRoomActivated.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostDoorRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostDoorUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostEffectInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostEffectStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFamiliarInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostFamiliarStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostGreedModeWave.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostItemDischarge.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostKnifeInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostLaserInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCDeathFilter.d.ts +1 -1
- package/dist/src/classes/callbacks/PostNPCDeathFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCDeathFilter.lua +2 -2
- package/dist/src/classes/callbacks/PostNPCInitFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCRenderFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNPCUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostNewRoomEarly.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupCollect.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupInitFirst.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPickupStateChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPitRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPitUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerFatalDamage.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPoopRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPoopUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPressurePlateRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPressurePlateUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostProjectileInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostRockRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostRockUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostRoomClearChanged.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSacrifice.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSlotCollision.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSlotDestroyed.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSpikesRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostSpikesUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTNTRender.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTNTUpdate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTearInitLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTearInitVeryLate.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostTrinketBreak.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreGetPedestal.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreNPCCollisionFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreNPCUpdateFilter.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PreNewLevel.d.ts.map +1 -1
- package/dist/src/enums/ModCallbackCustom.d.ts +158 -99
- package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/src/enums/ModCallbackCustom.lua +101 -99
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +5 -0
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/callbackClasses.ts +1 -0
- package/src/callbacks.ts +1 -0
- package/src/classes/callbacks/EntityTakeDmgFilter.ts +2 -1
- package/src/classes/callbacks/EntityTakeDmgPlayer.ts +40 -0
- package/src/classes/callbacks/PostAmbushFinished.ts +2 -1
- package/src/classes/callbacks/PostAmbushStarted.ts +2 -1
- package/src/classes/callbacks/PostBombExploded.ts +2 -1
- package/src/classes/callbacks/PostBombInitLate.ts +2 -1
- package/src/classes/callbacks/PostBoneSwing.ts +2 -1
- package/src/classes/callbacks/PostCollectibleEmpty.ts +2 -1
- package/src/classes/callbacks/PostCollectibleInitFirst.ts +2 -1
- package/src/classes/callbacks/PostCursedTeleport.ts +5 -2
- package/src/classes/callbacks/PostDiceRoomActivated.ts +2 -1
- package/src/classes/callbacks/PostDoorRender.ts +4 -1
- package/src/classes/callbacks/PostDoorUpdate.ts +4 -1
- package/src/classes/callbacks/PostEffectInitLate.ts +2 -1
- package/src/classes/callbacks/PostEffectStateChanged.ts +2 -1
- package/src/classes/callbacks/PostFamiliarInitLate.ts +2 -1
- package/src/classes/callbacks/PostFamiliarStateChanged.ts +2 -1
- package/src/classes/callbacks/PostGreedModeWave.ts +2 -1
- package/src/classes/callbacks/PostItemDischarge.ts +2 -1
- package/src/classes/callbacks/PostKnifeInitLate.ts +2 -1
- package/src/classes/callbacks/PostLaserInitLate.ts +2 -1
- package/src/classes/callbacks/PostNPCDeathFilter.ts +3 -2
- package/src/classes/callbacks/PostNPCInitFilter.ts +2 -1
- package/src/classes/callbacks/PostNPCInitLate.ts +2 -1
- package/src/classes/callbacks/PostNPCRenderFilter.ts +2 -1
- package/src/classes/callbacks/PostNPCStateChanged.ts +2 -1
- package/src/classes/callbacks/PostNPCUpdateFilter.ts +2 -1
- package/src/classes/callbacks/PostNewRoomEarly.ts +5 -2
- package/src/classes/callbacks/PostPickupCollect.ts +2 -1
- package/src/classes/callbacks/PostPickupInitFirst.ts +2 -1
- package/src/classes/callbacks/PostPickupInitLate.ts +2 -1
- package/src/classes/callbacks/PostPickupStateChanged.ts +2 -1
- package/src/classes/callbacks/PostPitRender.ts +2 -1
- package/src/classes/callbacks/PostPitUpdate.ts +2 -1
- package/src/classes/callbacks/PostPlayerFatalDamage.ts +5 -2
- package/src/classes/callbacks/PostPoopRender.ts +2 -1
- package/src/classes/callbacks/PostPoopUpdate.ts +2 -1
- package/src/classes/callbacks/PostPressurePlateRender.ts +2 -1
- package/src/classes/callbacks/PostPressurePlateUpdate.ts +2 -1
- package/src/classes/callbacks/PostProjectileInitLate.ts +2 -1
- package/src/classes/callbacks/PostRockRender.ts +2 -1
- package/src/classes/callbacks/PostRockUpdate.ts +2 -1
- package/src/classes/callbacks/PostRoomClearChanged.ts +2 -1
- package/src/classes/callbacks/PostSacrifice.ts +2 -1
- package/src/classes/callbacks/PostSlotCollision.ts +2 -1
- package/src/classes/callbacks/PostSlotDestroyed.ts +1 -0
- package/src/classes/callbacks/PostSpikesRender.ts +2 -1
- package/src/classes/callbacks/PostSpikesUpdate.ts +2 -1
- package/src/classes/callbacks/PostTNTRender.ts +2 -1
- package/src/classes/callbacks/PostTNTUpdate.ts +2 -1
- package/src/classes/callbacks/PostTearInitLate.ts +2 -1
- package/src/classes/callbacks/PostTearInitVeryLate.ts +2 -1
- package/src/classes/callbacks/PostTrinketBreak.ts +2 -1
- package/src/classes/callbacks/PreGetPedestal.ts +2 -1
- package/src/classes/callbacks/PreNPCCollisionFilter.ts +2 -1
- package/src/classes/callbacks/PreNPCUpdateFilter.ts +2 -1
- package/src/classes/callbacks/PreNewLevel.ts +2 -1
- package/src/enums/ModCallbackCustom.ts +60 -0
- package/src/interfaces/private/AddCallbackParametersCustom.ts +12 -0
|
@@ -18,8 +18,39 @@ export declare enum ModCallbackCustom {
|
|
|
18
18
|
* matches the variant provided.
|
|
19
19
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
20
20
|
* matches the sub-type provided.
|
|
21
|
+
*
|
|
22
|
+
* ```ts
|
|
23
|
+
* function entityTakeDmgFilter(
|
|
24
|
+
* entity: Entity,
|
|
25
|
+
* amount: float,
|
|
26
|
+
* damageFlags: BitFlags<DamageFlag>,
|
|
27
|
+
* source: EntityRef,
|
|
28
|
+
* countdownFrames: int,
|
|
29
|
+
* ): boolean | undefined {}
|
|
30
|
+
* ```
|
|
21
31
|
*/
|
|
22
32
|
ENTITY_TAKE_DMG_FILTER = 0,
|
|
33
|
+
/**
|
|
34
|
+
* The exact same thing as the vanilla `ENTITY_TAKE_DMG` callback, except this callback
|
|
35
|
+
* automatically filters for `EntityType.ENTITY_PLAYER` and casts the `Entity` object to a
|
|
36
|
+
* `EntityPlayer`.
|
|
37
|
+
*
|
|
38
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
39
|
+
* matches the `PlayerVariant` provided.
|
|
40
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
41
|
+
* matches the `PlayerType` provided.
|
|
42
|
+
*
|
|
43
|
+
* ```ts
|
|
44
|
+
* function entityTakeDmgPlayer(
|
|
45
|
+
* player: EntityPlayer,
|
|
46
|
+
* amount: float,
|
|
47
|
+
* damageFlags: BitFlags<DamageFlag>,
|
|
48
|
+
* source: EntityRef,
|
|
49
|
+
* countdownFrames: int,
|
|
50
|
+
* ): boolean | undefined {}
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
ENTITY_TAKE_DMG_PLAYER = 1,
|
|
23
54
|
/**
|
|
24
55
|
* Fires from the `POST_UPDATE` callback when a Challenge Room or Boss Rush is started.
|
|
25
56
|
* Specifically, this happens on the first frame that `Room.IsAmbushDone` is true.
|
|
@@ -32,7 +63,7 @@ export declare enum ModCallbackCustom {
|
|
|
32
63
|
* function postAmbushFinished(ambushType: AmbushType): void {}
|
|
33
64
|
* ```
|
|
34
65
|
*/
|
|
35
|
-
POST_AMBUSH_FINISHED =
|
|
66
|
+
POST_AMBUSH_FINISHED = 2,
|
|
36
67
|
/**
|
|
37
68
|
* Fires from the `POST_UPDATE` callback when a Challenge Room or Boss Rush is completed.
|
|
38
69
|
* Specifically, this happens on the first frame that `Room.IsAmbushActive` is true.
|
|
@@ -45,7 +76,7 @@ export declare enum ModCallbackCustom {
|
|
|
45
76
|
* function postAmbushStarted(ambushType: AmbushType): void {}
|
|
46
77
|
* ```
|
|
47
78
|
*/
|
|
48
|
-
POST_AMBUSH_STARTED =
|
|
79
|
+
POST_AMBUSH_STARTED = 3,
|
|
49
80
|
/**
|
|
50
81
|
* Fires on the `POST_BOMB_UPDATE` callback that it explodes.
|
|
51
82
|
*
|
|
@@ -59,7 +90,7 @@ export declare enum ModCallbackCustom {
|
|
|
59
90
|
* function postBombDetonated(bomb: EntityBomb): void {}
|
|
60
91
|
* ```
|
|
61
92
|
*/
|
|
62
|
-
POST_BOMB_EXPLODED =
|
|
93
|
+
POST_BOMB_EXPLODED = 4,
|
|
63
94
|
/**
|
|
64
95
|
* Fires on the first `POST_BOMB_UPDATE` frame for each bomb.
|
|
65
96
|
*
|
|
@@ -76,7 +107,7 @@ export declare enum ModCallbackCustom {
|
|
|
76
107
|
* function postBombInitLate(bomb: EntityBomb): void {}
|
|
77
108
|
* ```
|
|
78
109
|
*/
|
|
79
|
-
POST_BOMB_INIT_LATE =
|
|
110
|
+
POST_BOMB_INIT_LATE = 5,
|
|
80
111
|
/**
|
|
81
112
|
* Fires from the `POST_RENDER` callback when one of Forgotten's bone clubs is swung or thrown.
|
|
82
113
|
*
|
|
@@ -84,7 +115,7 @@ export declare enum ModCallbackCustom {
|
|
|
84
115
|
* function postBoneSwing(boneClub: EntityKnife): void {}
|
|
85
116
|
* ```
|
|
86
117
|
*/
|
|
87
|
-
POST_BONE_SWING =
|
|
118
|
+
POST_BONE_SWING = 6,
|
|
88
119
|
/**
|
|
89
120
|
* Fires from the `POST_PICKUP_UPDATE` callback when a collectible goes from a non-zero sub-type
|
|
90
121
|
* to `CollectibleType.NULL` (i.e. an "empty" pedestal).
|
|
@@ -100,7 +131,7 @@ export declare enum ModCallbackCustom {
|
|
|
100
131
|
* ): void {}
|
|
101
132
|
* ```
|
|
102
133
|
*/
|
|
103
|
-
POST_COLLECTIBLE_EMPTY =
|
|
134
|
+
POST_COLLECTIBLE_EMPTY = 7,
|
|
104
135
|
/**
|
|
105
136
|
* Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
|
|
106
137
|
* respective collectible on the run. For more details on how this is calculated, see the
|
|
@@ -118,7 +149,7 @@ export declare enum ModCallbackCustom {
|
|
|
118
149
|
* function postCollectibleInitLate(collectible: EntityPickupCollectible): void {}
|
|
119
150
|
* ```
|
|
120
151
|
*/
|
|
121
|
-
POST_COLLECTIBLE_INIT_FIRST =
|
|
152
|
+
POST_COLLECTIBLE_INIT_FIRST = 8,
|
|
122
153
|
/**
|
|
123
154
|
* Fires from the `POST_PLAYER_RENDER` callback on the first frame that the "TeleportUp" animation
|
|
124
155
|
* begins playing after a player triggers a Cursed Eye teleport or a Cursed Skull teleport. (Both
|
|
@@ -134,7 +165,7 @@ export declare enum ModCallbackCustom {
|
|
|
134
165
|
* function postCursedTeleport(player: EntityPlayer): void {}
|
|
135
166
|
* ```
|
|
136
167
|
*/
|
|
137
|
-
POST_CURSED_TELEPORT =
|
|
168
|
+
POST_CURSED_TELEPORT = 9,
|
|
138
169
|
/**
|
|
139
170
|
* Fires from the `POST_PLAYER_UPDATE` callback after the player has finished the death animation,
|
|
140
171
|
* has teleported to the previous room, and is ready to play the animation for the modded revival
|
|
@@ -152,7 +183,7 @@ export declare enum ModCallbackCustom {
|
|
|
152
183
|
* function postCustomRevive(player: EntityPlayer, revivalType: int): void {}
|
|
153
184
|
* ```
|
|
154
185
|
*/
|
|
155
|
-
POST_CUSTOM_REVIVE =
|
|
186
|
+
POST_CUSTOM_REVIVE = 10,
|
|
156
187
|
/**
|
|
157
188
|
* Fires from the `EFFECT_POST_UPDATE` callback after a player has entered the range of a Dice
|
|
158
189
|
* Room floor.
|
|
@@ -168,7 +199,7 @@ export declare enum ModCallbackCustom {
|
|
|
168
199
|
* ): void {}
|
|
169
200
|
* ```
|
|
170
201
|
*/
|
|
171
|
-
POST_DICE_ROOM_ACTIVATED =
|
|
202
|
+
POST_DICE_ROOM_ACTIVATED = 11,
|
|
172
203
|
/**
|
|
173
204
|
* Fires from the `POST_RENDER` callback on every frame that a door exists.
|
|
174
205
|
*
|
|
@@ -180,7 +211,7 @@ export declare enum ModCallbackCustom {
|
|
|
180
211
|
* function postDoorRender(door: GridEntityDoor): void {}
|
|
181
212
|
* ```
|
|
182
213
|
*/
|
|
183
|
-
POST_DOOR_RENDER =
|
|
214
|
+
POST_DOOR_RENDER = 12,
|
|
184
215
|
/**
|
|
185
216
|
* Fires from the `POST_UPDATE` callback on every frame that a door exists.
|
|
186
217
|
*
|
|
@@ -192,7 +223,7 @@ export declare enum ModCallbackCustom {
|
|
|
192
223
|
* function postDoorUpdate(door: GridEntityDoor): void {}
|
|
193
224
|
* ```
|
|
194
225
|
*/
|
|
195
|
-
POST_DOOR_UPDATE =
|
|
226
|
+
POST_DOOR_UPDATE = 13,
|
|
196
227
|
/**
|
|
197
228
|
* Fires on the first `POST_EFFECT_UPDATE` frame for each effect.
|
|
198
229
|
*
|
|
@@ -209,7 +240,7 @@ export declare enum ModCallbackCustom {
|
|
|
209
240
|
* function postEffectInitLate(effect: EntityEffect): void {}
|
|
210
241
|
* ```
|
|
211
242
|
*/
|
|
212
|
-
POST_EFFECT_INIT_LATE =
|
|
243
|
+
POST_EFFECT_INIT_LATE = 14,
|
|
213
244
|
/**
|
|
214
245
|
* Fires from the `POST_EFFECT_UPDATE` callback when an effect's state has changed from what it
|
|
215
246
|
* was on the previous frame. (In this context, "state" refers to the `EntityEffect.State` field.)
|
|
@@ -228,7 +259,7 @@ export declare enum ModCallbackCustom {
|
|
|
228
259
|
* ): void {}
|
|
229
260
|
* ```
|
|
230
261
|
*/
|
|
231
|
-
POST_EFFECT_STATE_CHANGED =
|
|
262
|
+
POST_EFFECT_STATE_CHANGED = 15,
|
|
232
263
|
/**
|
|
233
264
|
* Fires one `POST_UPDATE` frame after the player has used the Esau Jr. item. (The player is not
|
|
234
265
|
* updated to the new character until a game frame has passed.)
|
|
@@ -237,7 +268,7 @@ export declare enum ModCallbackCustom {
|
|
|
237
268
|
* function postEsauJr(player: EntityPlayer): void {}
|
|
238
269
|
* ```
|
|
239
270
|
*/
|
|
240
|
-
POST_ESAU_JR =
|
|
271
|
+
POST_ESAU_JR = 16,
|
|
241
272
|
/**
|
|
242
273
|
* Fires on the first `FAMILIAR_UPDATE` frame for each familiar.
|
|
243
274
|
*
|
|
@@ -254,7 +285,7 @@ export declare enum ModCallbackCustom {
|
|
|
254
285
|
* function postFamiliarInitLate(familiar: EntityFamiliar): void {}
|
|
255
286
|
* ```
|
|
256
287
|
*/
|
|
257
|
-
POST_FAMILIAR_INIT_LATE =
|
|
288
|
+
POST_FAMILIAR_INIT_LATE = 17,
|
|
258
289
|
/**
|
|
259
290
|
* Fires from the `POST_FAMILIAR_UPDATE` callback when a familiar's state has changed from what it
|
|
260
291
|
* was on the previous frame. (In this context, "state" refers to the `EntityFamiliar.State`
|
|
@@ -274,7 +305,7 @@ export declare enum ModCallbackCustom {
|
|
|
274
305
|
* ): void {}
|
|
275
306
|
* ```
|
|
276
307
|
*/
|
|
277
|
-
POST_FAMILIAR_STATE_CHANGED =
|
|
308
|
+
POST_FAMILIAR_STATE_CHANGED = 18,
|
|
278
309
|
/**
|
|
279
310
|
* Fires one `POST_UPDATE` frame after the player has first used the Esau Jr. item. (The player is
|
|
280
311
|
* not updated to the new character until a game frame has passed.)
|
|
@@ -286,7 +317,7 @@ export declare enum ModCallbackCustom {
|
|
|
286
317
|
* function postFirstEsauJr(player: EntityPlayer): void {}
|
|
287
318
|
* ```
|
|
288
319
|
*/
|
|
289
|
-
POST_FIRST_ESAU_JR =
|
|
320
|
+
POST_FIRST_ESAU_JR = 19,
|
|
290
321
|
/**
|
|
291
322
|
* Fires after the player has used the Flip item for the first time. Unlike the vanilla `USE_ITEM`
|
|
292
323
|
* callback, this callback will return the player object for the new Lazarus (not the one who used
|
|
@@ -299,7 +330,7 @@ export declare enum ModCallbackCustom {
|
|
|
299
330
|
* function postFirstFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
|
|
300
331
|
* ```
|
|
301
332
|
*/
|
|
302
|
-
POST_FIRST_FLIP =
|
|
333
|
+
POST_FIRST_FLIP = 20,
|
|
303
334
|
/**
|
|
304
335
|
* Fires after the player has used the Flip item. Unlike the vanilla `USE_ITEM` callback, this
|
|
305
336
|
* callback will return the player object for the new Lazarus (not the one who used the Flip
|
|
@@ -312,7 +343,7 @@ export declare enum ModCallbackCustom {
|
|
|
312
343
|
* function postFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
|
|
313
344
|
* ```
|
|
314
345
|
*/
|
|
315
|
-
POST_FLIP =
|
|
346
|
+
POST_FLIP = 21,
|
|
316
347
|
/**
|
|
317
348
|
* Similar to the vanilla callback of the same name, but fires in the correct order with respect
|
|
318
349
|
* to the `POST_NEW_LEVEL` and the `POST_NEW_ROOM` callbacks:
|
|
@@ -323,7 +354,7 @@ export declare enum ModCallbackCustom {
|
|
|
323
354
|
* function postGameStartedReordered(isContinued: boolean): void {}
|
|
324
355
|
* ```
|
|
325
356
|
*/
|
|
326
|
-
POST_GAME_STARTED_REORDERED =
|
|
357
|
+
POST_GAME_STARTED_REORDERED = 22,
|
|
327
358
|
/**
|
|
328
359
|
* Similar to the `POST_GAME_STARTED_REORDERED` callback, but fires after all of the subscribed
|
|
329
360
|
* callbacks have finished firing. Thus, you can use this callback to do perform things after a
|
|
@@ -334,7 +365,7 @@ export declare enum ModCallbackCustom {
|
|
|
334
365
|
* function postGameStartedReorderedLast(isContinued: boolean): void {}
|
|
335
366
|
* ```
|
|
336
367
|
*/
|
|
337
|
-
POST_GAME_STARTED_REORDERED_LAST =
|
|
368
|
+
POST_GAME_STARTED_REORDERED_LAST = 23,
|
|
338
369
|
/**
|
|
339
370
|
* Fires from the `POST_UPDATE` callback when the Greed Mode wave increases.
|
|
340
371
|
*
|
|
@@ -342,7 +373,7 @@ export declare enum ModCallbackCustom {
|
|
|
342
373
|
* function postGreedModeWave(oldWave: int, newWave: int): void {}
|
|
343
374
|
* ```
|
|
344
375
|
*/
|
|
345
|
-
POST_GREED_MODE_WAVE =
|
|
376
|
+
POST_GREED_MODE_WAVE = 24,
|
|
346
377
|
/**
|
|
347
378
|
* Fires from the `POST_UPDATE` callback when a grid entity changes to a state that corresponds to
|
|
348
379
|
* the broken state for the respective grid entity type. (For example, this will fire for a
|
|
@@ -361,7 +392,7 @@ export declare enum ModCallbackCustom {
|
|
|
361
392
|
* function postGridEntityBroken(gridEntity: GridEntity): void {}
|
|
362
393
|
* ```
|
|
363
394
|
*/
|
|
364
|
-
POST_GRID_ENTITY_BROKEN =
|
|
395
|
+
POST_GRID_ENTITY_BROKEN = 25,
|
|
365
396
|
/**
|
|
366
397
|
* Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity. (After
|
|
367
398
|
* this, the callback will not continue to fire. It will only fire again once the entity moves out
|
|
@@ -389,7 +420,7 @@ export declare enum ModCallbackCustom {
|
|
|
389
420
|
* ): void {}
|
|
390
421
|
* ```
|
|
391
422
|
*/
|
|
392
|
-
POST_GRID_ENTITY_COLLISION =
|
|
423
|
+
POST_GRID_ENTITY_COLLISION = 26,
|
|
393
424
|
/**
|
|
394
425
|
* The same as the `POST_GRID_ENTITY_BROKEN` callback, but only fires for grid entities created
|
|
395
426
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -406,7 +437,7 @@ export declare enum ModCallbackCustom {
|
|
|
406
437
|
* ): void {}
|
|
407
438
|
* ```
|
|
408
439
|
*/
|
|
409
|
-
POST_GRID_ENTITY_CUSTOM_BROKEN =
|
|
440
|
+
POST_GRID_ENTITY_CUSTOM_BROKEN = 27,
|
|
410
441
|
/**
|
|
411
442
|
* The same as the `POST_GRID_ENTITY_COLLISION` callback, but only fires for grid entities created
|
|
412
443
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -430,7 +461,7 @@ export declare enum ModCallbackCustom {
|
|
|
430
461
|
* ): void {}
|
|
431
462
|
* ```
|
|
432
463
|
*/
|
|
433
|
-
POST_GRID_ENTITY_CUSTOM_COLLISION =
|
|
464
|
+
POST_GRID_ENTITY_CUSTOM_COLLISION = 28,
|
|
434
465
|
/**
|
|
435
466
|
* The same as the `POST_GRID_ENTITY_INIT` callback, but only fires for grid entities created with
|
|
436
467
|
* the `spawnCustomGridEntity` helper function.
|
|
@@ -447,7 +478,7 @@ export declare enum ModCallbackCustom {
|
|
|
447
478
|
* ): void {}
|
|
448
479
|
* ```
|
|
449
480
|
*/
|
|
450
|
-
POST_GRID_ENTITY_CUSTOM_INIT =
|
|
481
|
+
POST_GRID_ENTITY_CUSTOM_INIT = 29,
|
|
451
482
|
/**
|
|
452
483
|
* The same as the `POST_GRID_ENTITY_REMOVE` callback, but only fires for grid entities created
|
|
453
484
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -464,7 +495,7 @@ export declare enum ModCallbackCustom {
|
|
|
464
495
|
* ): void {}
|
|
465
496
|
* ```
|
|
466
497
|
*/
|
|
467
|
-
POST_GRID_ENTITY_CUSTOM_REMOVE =
|
|
498
|
+
POST_GRID_ENTITY_CUSTOM_REMOVE = 30,
|
|
468
499
|
/**
|
|
469
500
|
* The same as the `POST_GRID_ENTITY_RENDER` callback, but only fires for grid entities created
|
|
470
501
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -481,7 +512,7 @@ export declare enum ModCallbackCustom {
|
|
|
481
512
|
* ): void {}
|
|
482
513
|
* ```
|
|
483
514
|
*/
|
|
484
|
-
POST_GRID_ENTITY_CUSTOM_RENDER =
|
|
515
|
+
POST_GRID_ENTITY_CUSTOM_RENDER = 31,
|
|
485
516
|
/**
|
|
486
517
|
* The same as the `POST_GRID_ENTITY_STATE_CHANGED` callback, but only fires for grid entities
|
|
487
518
|
* created with the `spawnCustomGridEntity` helper function.
|
|
@@ -500,7 +531,7 @@ export declare enum ModCallbackCustom {
|
|
|
500
531
|
* ): void {}
|
|
501
532
|
* ```
|
|
502
533
|
*/
|
|
503
|
-
POST_GRID_ENTITY_CUSTOM_STATE_CHANGED =
|
|
534
|
+
POST_GRID_ENTITY_CUSTOM_STATE_CHANGED = 32,
|
|
504
535
|
/**
|
|
505
536
|
* The same as the `POST_GRID_ENTITY_UPDATE` callback, but only fires for grid entities created
|
|
506
537
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -517,7 +548,7 @@ export declare enum ModCallbackCustom {
|
|
|
517
548
|
* ): void {}
|
|
518
549
|
* ```
|
|
519
550
|
*/
|
|
520
|
-
POST_GRID_ENTITY_CUSTOM_UPDATE =
|
|
551
|
+
POST_GRID_ENTITY_CUSTOM_UPDATE = 33,
|
|
521
552
|
/**
|
|
522
553
|
* Fires when a new grid entity is initialized. Specifically, this is either:
|
|
523
554
|
*
|
|
@@ -539,7 +570,7 @@ export declare enum ModCallbackCustom {
|
|
|
539
570
|
* function postGridEntityInit(gridEntity: GridEntity): void {}
|
|
540
571
|
* ```
|
|
541
572
|
*/
|
|
542
|
-
POST_GRID_ENTITY_INIT =
|
|
573
|
+
POST_GRID_ENTITY_INIT = 34,
|
|
543
574
|
/**
|
|
544
575
|
* Fires from the `POST_UPDATE` callback when a new grid entity is removed. Specifically, this on
|
|
545
576
|
* the frame after it no longer exists (where it did exist a frame ago).
|
|
@@ -564,7 +595,7 @@ export declare enum ModCallbackCustom {
|
|
|
564
595
|
* ): void {}
|
|
565
596
|
* ```
|
|
566
597
|
*/
|
|
567
|
-
POST_GRID_ENTITY_REMOVE =
|
|
598
|
+
POST_GRID_ENTITY_REMOVE = 35,
|
|
568
599
|
/**
|
|
569
600
|
* Fires from the `POST_RENDER` callback on every frame that a grid entity exists.
|
|
570
601
|
*
|
|
@@ -581,7 +612,7 @@ export declare enum ModCallbackCustom {
|
|
|
581
612
|
* function postGridEntityRender(gridEntity: GridEntity): void {}
|
|
582
613
|
* ```
|
|
583
614
|
*/
|
|
584
|
-
POST_GRID_ENTITY_RENDER =
|
|
615
|
+
POST_GRID_ENTITY_RENDER = 36,
|
|
585
616
|
/**
|
|
586
617
|
* Fires from the `POST_UPDATE` callback when a grid entity changes its state. (In this context,
|
|
587
618
|
* "state" refers to the `GridEntity.State` field.)
|
|
@@ -603,7 +634,7 @@ export declare enum ModCallbackCustom {
|
|
|
603
634
|
* ): void {}
|
|
604
635
|
* ```
|
|
605
636
|
*/
|
|
606
|
-
POST_GRID_ENTITY_STATE_CHANGED =
|
|
637
|
+
POST_GRID_ENTITY_STATE_CHANGED = 37,
|
|
607
638
|
/**
|
|
608
639
|
* Fires from the `POST_UPDATE` callback on every frame that a grid entity exists.
|
|
609
640
|
*
|
|
@@ -620,7 +651,7 @@ export declare enum ModCallbackCustom {
|
|
|
620
651
|
* function postGridEntityUpdate(gridEntity: GridEntity): void {}
|
|
621
652
|
* ```
|
|
622
653
|
*/
|
|
623
|
-
POST_GRID_ENTITY_UPDATE =
|
|
654
|
+
POST_GRID_ENTITY_UPDATE = 38,
|
|
624
655
|
/**
|
|
625
656
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses a Holy Mantle
|
|
626
657
|
* temporary collectible effect.
|
|
@@ -643,7 +674,7 @@ export declare enum ModCallbackCustom {
|
|
|
643
674
|
* ): void {}
|
|
644
675
|
* ```
|
|
645
676
|
*/
|
|
646
|
-
POST_HOLY_MANTLE_REMOVED =
|
|
677
|
+
POST_HOLY_MANTLE_REMOVED = 39,
|
|
647
678
|
/**
|
|
648
679
|
* Fires from `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses charge on their
|
|
649
680
|
* active collectible item, implying that the item was just used.
|
|
@@ -666,7 +697,7 @@ export declare enum ModCallbackCustom {
|
|
|
666
697
|
* ): void {}
|
|
667
698
|
* ```
|
|
668
699
|
*/
|
|
669
|
-
POST_ITEM_DISCHARGE =
|
|
700
|
+
POST_ITEM_DISCHARGE = 40,
|
|
670
701
|
/**
|
|
671
702
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item is no longer queued (i.e.
|
|
672
703
|
* when the animation of the player holding the item above their head is finished and the item is
|
|
@@ -687,7 +718,7 @@ export declare enum ModCallbackCustom {
|
|
|
687
718
|
* ): void {}
|
|
688
719
|
* ```
|
|
689
720
|
*/
|
|
690
|
-
POST_ITEM_PICKUP =
|
|
721
|
+
POST_ITEM_PICKUP = 41,
|
|
691
722
|
/**
|
|
692
723
|
* Fires on the first `POST_KNIFE_UPDATE` frame for each knife.
|
|
693
724
|
*
|
|
@@ -704,7 +735,7 @@ export declare enum ModCallbackCustom {
|
|
|
704
735
|
* function postKnifeInitLate(knife: EntityKnife): void {}
|
|
705
736
|
* ```
|
|
706
737
|
*/
|
|
707
|
-
POST_KNIFE_INIT_LATE =
|
|
738
|
+
POST_KNIFE_INIT_LATE = 42,
|
|
708
739
|
/**
|
|
709
740
|
* Fires on the first `POST_LASER_UPDATE` frame for each laser.
|
|
710
741
|
*
|
|
@@ -721,7 +752,7 @@ export declare enum ModCallbackCustom {
|
|
|
721
752
|
* function postLaserInitLate(laser: EntityLaser): void {}
|
|
722
753
|
* ```
|
|
723
754
|
*/
|
|
724
|
-
POST_LASER_INIT_LATE =
|
|
755
|
+
POST_LASER_INIT_LATE = 43,
|
|
725
756
|
/**
|
|
726
757
|
* The same as the vanilla callback of the same name, but fires in the correct order with respect
|
|
727
758
|
* to the `POST_GAME_STARTED` and the `POST_NEW_ROOM` callbacks:
|
|
@@ -738,7 +769,7 @@ export declare enum ModCallbackCustom {
|
|
|
738
769
|
* function postNewLevelReordered(): void {}
|
|
739
770
|
* ```
|
|
740
771
|
*/
|
|
741
|
-
POST_NEW_LEVEL_REORDERED =
|
|
772
|
+
POST_NEW_LEVEL_REORDERED = 44,
|
|
742
773
|
/**
|
|
743
774
|
* Fires on the first `POST_NEW_ROOM` or `PRE_ENTITY_SPAWN` callback where being in a new room is
|
|
744
775
|
* detected. This is useful because the vanilla `POST_NEW_ROOM` callback fires only after entities
|
|
@@ -749,7 +780,7 @@ export declare enum ModCallbackCustom {
|
|
|
749
780
|
* function postNewRoomEarly(): void {}
|
|
750
781
|
* ```
|
|
751
782
|
*/
|
|
752
|
-
POST_NEW_ROOM_EARLY =
|
|
783
|
+
POST_NEW_ROOM_EARLY = 45,
|
|
753
784
|
/**
|
|
754
785
|
* The same as the vanilla callback of the same name, but fires in the correct order with respect
|
|
755
786
|
* to the `POST_GAME_STARTED` and the `POST_NEW_LEVEL` callbacks:
|
|
@@ -766,7 +797,7 @@ export declare enum ModCallbackCustom {
|
|
|
766
797
|
* function postNewRoomReordered(): void {}
|
|
767
798
|
* ```
|
|
768
799
|
*/
|
|
769
|
-
POST_NEW_ROOM_REORDERED =
|
|
800
|
+
POST_NEW_ROOM_REORDERED = 46,
|
|
770
801
|
/**
|
|
771
802
|
* The exact same thing as the vanilla `POST_NPC_DEATH` callback, except this callback allows you
|
|
772
803
|
* to specify extra arguments for additional filtration.
|
|
@@ -778,8 +809,12 @@ export declare enum ModCallbackCustom {
|
|
|
778
809
|
* matches the variant provided.
|
|
779
810
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
780
811
|
* matches the sub-type provided.
|
|
812
|
+
*
|
|
813
|
+
* ```ts
|
|
814
|
+
* function postNPCDeathFilter(npc: EntityNPC): void {}
|
|
815
|
+
* ```
|
|
781
816
|
*/
|
|
782
|
-
POST_NPC_DEATH_FILTER =
|
|
817
|
+
POST_NPC_DEATH_FILTER = 47,
|
|
783
818
|
/**
|
|
784
819
|
* The exact same thing as the vanilla `POST_NPC_INIT` callback, except this callback allows you
|
|
785
820
|
* to specify extra arguments for additional filtration.
|
|
@@ -791,8 +826,12 @@ export declare enum ModCallbackCustom {
|
|
|
791
826
|
* matches the variant provided.
|
|
792
827
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
793
828
|
* matches the sub-type provided.
|
|
829
|
+
*
|
|
830
|
+
* ```ts
|
|
831
|
+
* function postNPCInitFilter(npc: EntityNPC): void {}
|
|
832
|
+
* ```
|
|
794
833
|
*/
|
|
795
|
-
POST_NPC_INIT_FILTER =
|
|
834
|
+
POST_NPC_INIT_FILTER = 48,
|
|
796
835
|
/**
|
|
797
836
|
* Fires on the first `NPC_UPDATE` frame for each NPC.
|
|
798
837
|
*
|
|
@@ -811,7 +850,7 @@ export declare enum ModCallbackCustom {
|
|
|
811
850
|
* function postNPCInitLate(npc: EntityNPC): void {}
|
|
812
851
|
* ```
|
|
813
852
|
*/
|
|
814
|
-
POST_NPC_INIT_LATE =
|
|
853
|
+
POST_NPC_INIT_LATE = 49,
|
|
815
854
|
/**
|
|
816
855
|
* The exact same thing as the vanilla `POST_NPC_RENDER` callback, except this callback allows you
|
|
817
856
|
* to specify extra arguments for additional filtration.
|
|
@@ -823,8 +862,12 @@ export declare enum ModCallbackCustom {
|
|
|
823
862
|
* matches the variant provided.
|
|
824
863
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
825
864
|
* matches the sub-type provided.
|
|
865
|
+
*
|
|
866
|
+
* ```ts
|
|
867
|
+
* function postNPCRenderFilter(npc: EntityNPC, renderOffset: Vector): void {}
|
|
868
|
+
* ```
|
|
826
869
|
*/
|
|
827
|
-
POST_NPC_RENDER_FILTER =
|
|
870
|
+
POST_NPC_RENDER_FILTER = 50,
|
|
828
871
|
/**
|
|
829
872
|
* Fires from the `POST_NPC_UPDATE` callback when an NPC's state has changed from what it was on
|
|
830
873
|
* the previous frame. (In this context, "state" refers to the `EntityNPC.State` field.)
|
|
@@ -845,7 +888,7 @@ export declare enum ModCallbackCustom {
|
|
|
845
888
|
* ): void {}
|
|
846
889
|
* ```
|
|
847
890
|
*/
|
|
848
|
-
POST_NPC_STATE_CHANGED =
|
|
891
|
+
POST_NPC_STATE_CHANGED = 51,
|
|
849
892
|
/**
|
|
850
893
|
* The exact same thing as the vanilla `POST_NPC_UPDATE` callback, except this callback allows you
|
|
851
894
|
* to specify extra arguments for additional filtration.
|
|
@@ -857,8 +900,12 @@ export declare enum ModCallbackCustom {
|
|
|
857
900
|
* matches the variant provided.
|
|
858
901
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
859
902
|
* matches the sub-type provided.
|
|
903
|
+
*
|
|
904
|
+
* ```ts
|
|
905
|
+
* function postNPCUpdateFilter(npc: EntityNPC): void {}
|
|
906
|
+
* ```
|
|
860
907
|
*/
|
|
861
|
-
POST_NPC_UPDATE_FILTER =
|
|
908
|
+
POST_NPC_UPDATE_FILTER = 52,
|
|
862
909
|
/**
|
|
863
910
|
* Similar to the vanilla callback of the same name, but fires after the
|
|
864
911
|
* `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
|
|
@@ -883,7 +930,7 @@ export declare enum ModCallbackCustom {
|
|
|
883
930
|
* function postPEffectUpdateReordered(player: EntityPlayer): void {}
|
|
884
931
|
* ```
|
|
885
932
|
*/
|
|
886
|
-
POST_PEFFECT_UPDATE_REORDERED =
|
|
933
|
+
POST_PEFFECT_UPDATE_REORDERED = 53,
|
|
887
934
|
/**
|
|
888
935
|
* Fires on the first `POST_RENDER` frame that a pickup plays the "Collect" animation.
|
|
889
936
|
*
|
|
@@ -902,7 +949,7 @@ export declare enum ModCallbackCustom {
|
|
|
902
949
|
* function postPickupCollect(pickup: EntityPickup, player: EntityPlayer): void {}
|
|
903
950
|
* ```
|
|
904
951
|
*/
|
|
905
|
-
POST_PICKUP_COLLECT =
|
|
952
|
+
POST_PICKUP_COLLECT = 54,
|
|
906
953
|
/**
|
|
907
954
|
* Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
|
|
908
955
|
* respective pickup on the run.
|
|
@@ -920,7 +967,7 @@ export declare enum ModCallbackCustom {
|
|
|
920
967
|
* function postPickupInitFirst(pickup: EntityPickup): void {}
|
|
921
968
|
* ```
|
|
922
969
|
*/
|
|
923
|
-
POST_PICKUP_INIT_FIRST =
|
|
970
|
+
POST_PICKUP_INIT_FIRST = 55,
|
|
924
971
|
/**
|
|
925
972
|
* Fires on the first `POST_PICKUP_UPDATE` frame for each pickup.
|
|
926
973
|
*
|
|
@@ -937,7 +984,7 @@ export declare enum ModCallbackCustom {
|
|
|
937
984
|
* function postPickupInitLate(pickup: EntityPickup): void {}
|
|
938
985
|
* ```
|
|
939
986
|
*/
|
|
940
|
-
POST_PICKUP_INIT_LATE =
|
|
987
|
+
POST_PICKUP_INIT_LATE = 56,
|
|
941
988
|
/**
|
|
942
989
|
* Fires from the `POST_PICKUP_UPDATE` callback when a pickup's state has changed from what it was
|
|
943
990
|
* on the previous frame. (In this context, "state" refers to the `EntityPickup.State` field.)
|
|
@@ -956,7 +1003,7 @@ export declare enum ModCallbackCustom {
|
|
|
956
1003
|
* ): void {}
|
|
957
1004
|
* ```
|
|
958
1005
|
*/
|
|
959
|
-
POST_PICKUP_STATE_CHANGED =
|
|
1006
|
+
POST_PICKUP_STATE_CHANGED = 57,
|
|
960
1007
|
/**
|
|
961
1008
|
* Fires from the `POST_RENDER` callback on every frame that a pit exists.
|
|
962
1009
|
*
|
|
@@ -968,7 +1015,7 @@ export declare enum ModCallbackCustom {
|
|
|
968
1015
|
* function postPitRender(pit: GridEntityPit): void {}
|
|
969
1016
|
* ```
|
|
970
1017
|
*/
|
|
971
|
-
POST_PIT_RENDER =
|
|
1018
|
+
POST_PIT_RENDER = 58,
|
|
972
1019
|
/**
|
|
973
1020
|
* Fires from the `POST_UPDATE` callback on every frame that a pit exists.
|
|
974
1021
|
*
|
|
@@ -980,7 +1027,7 @@ export declare enum ModCallbackCustom {
|
|
|
980
1027
|
* function postPitUpdate(pit: GridEntityPit): void {}
|
|
981
1028
|
* ```
|
|
982
1029
|
*/
|
|
983
|
-
POST_PIT_UPDATE =
|
|
1030
|
+
POST_PIT_UPDATE = 59,
|
|
984
1031
|
/**
|
|
985
1032
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's health (i.e. hearts) is
|
|
986
1033
|
* different than what it was on the previous frame. For more information, see the `PlayerHealth`
|
|
@@ -1002,7 +1049,7 @@ export declare enum ModCallbackCustom {
|
|
|
1002
1049
|
* ): void {}
|
|
1003
1050
|
* ```
|
|
1004
1051
|
*/
|
|
1005
|
-
POST_PLAYER_CHANGE_HEALTH =
|
|
1052
|
+
POST_PLAYER_CHANGE_HEALTH = 60,
|
|
1006
1053
|
/**
|
|
1007
1054
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when one of the player's stats change
|
|
1008
1055
|
* from what they were on the previous frame.
|
|
@@ -1032,7 +1079,7 @@ export declare enum ModCallbackCustom {
|
|
|
1032
1079
|
* ) => void {}
|
|
1033
1080
|
* ```
|
|
1034
1081
|
*/
|
|
1035
|
-
POST_PLAYER_CHANGE_STAT =
|
|
1082
|
+
POST_PLAYER_CHANGE_STAT = 61,
|
|
1036
1083
|
/**
|
|
1037
1084
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player entity changes its player
|
|
1038
1085
|
* type
|
|
@@ -1055,7 +1102,7 @@ export declare enum ModCallbackCustom {
|
|
|
1055
1102
|
* ): void {}
|
|
1056
1103
|
* ```
|
|
1057
1104
|
*/
|
|
1058
|
-
POST_PLAYER_CHANGE_TYPE =
|
|
1105
|
+
POST_PLAYER_CHANGE_TYPE = 62,
|
|
1059
1106
|
/**
|
|
1060
1107
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
|
|
1061
1108
|
* higher than what it was on the previous frame, or when the active items change, or when the
|
|
@@ -1072,7 +1119,7 @@ export declare enum ModCallbackCustom {
|
|
|
1072
1119
|
* ): void {}
|
|
1073
1120
|
* ```
|
|
1074
1121
|
*/
|
|
1075
|
-
POST_PLAYER_COLLECTIBLE_ADDED =
|
|
1122
|
+
POST_PLAYER_COLLECTIBLE_ADDED = 63,
|
|
1076
1123
|
/**
|
|
1077
1124
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
|
|
1078
1125
|
* lower than what it was on the previous frame, or when the active items change, or when the
|
|
@@ -1089,7 +1136,7 @@ export declare enum ModCallbackCustom {
|
|
|
1089
1136
|
* ): void {}
|
|
1090
1137
|
* ```
|
|
1091
1138
|
*/
|
|
1092
|
-
POST_PLAYER_COLLECTIBLE_REMOVED =
|
|
1139
|
+
POST_PLAYER_COLLECTIBLE_REMOVED = 64,
|
|
1093
1140
|
/**
|
|
1094
1141
|
* Fires from the `ENTITY_TAKE_DMG` callback when a player takes fatal damage. Return false to
|
|
1095
1142
|
* prevent the fatal damage.
|
|
@@ -1107,7 +1154,7 @@ export declare enum ModCallbackCustom {
|
|
|
1107
1154
|
* function postPlayerFatalDamage(player: EntityPlayer): boolean | undefined {}
|
|
1108
1155
|
* ```
|
|
1109
1156
|
*/
|
|
1110
|
-
POST_PLAYER_FATAL_DAMAGE =
|
|
1157
|
+
POST_PLAYER_FATAL_DAMAGE = 65,
|
|
1111
1158
|
/**
|
|
1112
1159
|
* Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player, similar to the
|
|
1113
1160
|
* `POST_PLAYER_INIT_LATE` callback, with two changes:
|
|
@@ -1129,7 +1176,7 @@ export declare enum ModCallbackCustom {
|
|
|
1129
1176
|
* function postPlayerInitFirst(player: EntityPlayer): void {}
|
|
1130
1177
|
* ```
|
|
1131
1178
|
*/
|
|
1132
|
-
POST_PLAYER_INIT_FIRST =
|
|
1179
|
+
POST_PLAYER_INIT_FIRST = 66,
|
|
1133
1180
|
/**
|
|
1134
1181
|
* Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player.
|
|
1135
1182
|
*
|
|
@@ -1149,7 +1196,7 @@ export declare enum ModCallbackCustom {
|
|
|
1149
1196
|
* function postPlayerInitLate(pickup: EntityPickup): void {}
|
|
1150
1197
|
* ```
|
|
1151
1198
|
*/
|
|
1152
|
-
POST_PLAYER_INIT_LATE =
|
|
1199
|
+
POST_PLAYER_INIT_LATE = 67,
|
|
1153
1200
|
/**
|
|
1154
1201
|
* Similar to the vanilla callback of the same name, but fires after the `POST_GAME_STARTED`
|
|
1155
1202
|
* callback fires (if the player is spawning on the 0th game frame of the run).
|
|
@@ -1173,7 +1220,7 @@ export declare enum ModCallbackCustom {
|
|
|
1173
1220
|
* function postPlayerRenderReordered(player: EntityPlayer): void {}
|
|
1174
1221
|
* ```
|
|
1175
1222
|
*/
|
|
1176
|
-
POST_PLAYER_RENDER_REORDERED =
|
|
1223
|
+
POST_PLAYER_RENDER_REORDERED = 68,
|
|
1177
1224
|
/**
|
|
1178
1225
|
* Similar to the vanilla callback of the same name, but fires after the
|
|
1179
1226
|
* `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
|
|
@@ -1198,7 +1245,7 @@ export declare enum ModCallbackCustom {
|
|
|
1198
1245
|
* function postPlayerUpdateReordered(player: EntityPlayer): void {}
|
|
1199
1246
|
* ```
|
|
1200
1247
|
*/
|
|
1201
|
-
POST_PLAYER_UPDATE_REORDERED =
|
|
1248
|
+
POST_PLAYER_UPDATE_REORDERED = 69,
|
|
1202
1249
|
/**
|
|
1203
1250
|
* Fires from the `POST_RENDER` callback on every frame that a poop exists.
|
|
1204
1251
|
*
|
|
@@ -1210,7 +1257,7 @@ export declare enum ModCallbackCustom {
|
|
|
1210
1257
|
* function postPoopRender(poop: GridEntityPoop): void {}
|
|
1211
1258
|
* ```
|
|
1212
1259
|
*/
|
|
1213
|
-
POST_POOP_RENDER =
|
|
1260
|
+
POST_POOP_RENDER = 70,
|
|
1214
1261
|
/**
|
|
1215
1262
|
* Fires from the `POST_UPDATE` callback on every frame that a poop exists.
|
|
1216
1263
|
*
|
|
@@ -1222,7 +1269,7 @@ export declare enum ModCallbackCustom {
|
|
|
1222
1269
|
* function postPoopUpdate(poop: GridEntityPoop): void {}
|
|
1223
1270
|
* ```
|
|
1224
1271
|
*/
|
|
1225
|
-
POST_POOP_UPDATE =
|
|
1272
|
+
POST_POOP_UPDATE = 71,
|
|
1226
1273
|
/**
|
|
1227
1274
|
* Fires from the `POST_RENDER` callback on every frame that a pressure plate exists.
|
|
1228
1275
|
*
|
|
@@ -1234,7 +1281,7 @@ export declare enum ModCallbackCustom {
|
|
|
1234
1281
|
* function postPressurePlateRender(pressurePlate: GridEntityPressurePlate): void {}
|
|
1235
1282
|
* ```
|
|
1236
1283
|
*/
|
|
1237
|
-
POST_PRESSURE_PLATE_RENDER =
|
|
1284
|
+
POST_PRESSURE_PLATE_RENDER = 72,
|
|
1238
1285
|
/**
|
|
1239
1286
|
* Fires from the `POST_UPDATE` callback on every frame that a pressure plate exists.
|
|
1240
1287
|
*
|
|
@@ -1246,7 +1293,7 @@ export declare enum ModCallbackCustom {
|
|
|
1246
1293
|
* function postPressurePlateUpdate(pressurePlate: GridEntityPressurePlate): void {}
|
|
1247
1294
|
* ```
|
|
1248
1295
|
*/
|
|
1249
|
-
POST_PRESSURE_PLATE_UPDATE =
|
|
1296
|
+
POST_PRESSURE_PLATE_UPDATE = 73,
|
|
1250
1297
|
/**
|
|
1251
1298
|
* Fires on the first `POST_PROJECTILE_UPDATE` frame for each projectile.
|
|
1252
1299
|
*
|
|
@@ -1263,7 +1310,7 @@ export declare enum ModCallbackCustom {
|
|
|
1263
1310
|
* function postProjectileInitLate(projectile: EntityProjectile): void {}
|
|
1264
1311
|
* ```
|
|
1265
1312
|
*/
|
|
1266
|
-
POST_PROJECTILE_INIT_LATE =
|
|
1313
|
+
POST_PROJECTILE_INIT_LATE = 74,
|
|
1267
1314
|
/**
|
|
1268
1315
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player first picks up a new
|
|
1269
1316
|
* item. The pickup returned in the callback is assumed to be the first pickup that no longer
|
|
@@ -1279,7 +1326,7 @@ export declare enum ModCallbackCustom {
|
|
|
1279
1326
|
* function postPurchase(player: EntityPlayer, pickup: EntityPickup): void {}
|
|
1280
1327
|
* ```
|
|
1281
1328
|
*/
|
|
1282
|
-
POST_PURCHASE =
|
|
1329
|
+
POST_PURCHASE = 75,
|
|
1283
1330
|
/**
|
|
1284
1331
|
* Fires from the `POST_RENDER` callback on every frame that a rock exists.
|
|
1285
1332
|
*
|
|
@@ -1293,7 +1340,7 @@ export declare enum ModCallbackCustom {
|
|
|
1293
1340
|
* function postRockRender(rock: GridEntityRock): void {}
|
|
1294
1341
|
* ```
|
|
1295
1342
|
*/
|
|
1296
|
-
POST_ROCK_RENDER =
|
|
1343
|
+
POST_ROCK_RENDER = 76,
|
|
1297
1344
|
/**
|
|
1298
1345
|
* Fires from the `POST_UPDATE` callback on every frame that a rock exists.
|
|
1299
1346
|
*
|
|
@@ -1307,7 +1354,7 @@ export declare enum ModCallbackCustom {
|
|
|
1307
1354
|
* function postRockUpdate(rock: GridEntityRock): void {}
|
|
1308
1355
|
* ```
|
|
1309
1356
|
*/
|
|
1310
|
-
POST_ROCK_UPDATE =
|
|
1357
|
+
POST_ROCK_UPDATE = 77,
|
|
1311
1358
|
/**
|
|
1312
1359
|
* Fires from the `POST_UPDATE` callback when the clear state of a room changes (as according to
|
|
1313
1360
|
* the `Room.IsClear` method).
|
|
@@ -1324,7 +1371,7 @@ export declare enum ModCallbackCustom {
|
|
|
1324
1371
|
* function postRoomClearChanged(roomClear: boolean): void {}
|
|
1325
1372
|
* ```
|
|
1326
1373
|
*/
|
|
1327
|
-
POST_ROOM_CLEAR_CHANGED =
|
|
1374
|
+
POST_ROOM_CLEAR_CHANGED = 78,
|
|
1328
1375
|
/**
|
|
1329
1376
|
* Fires from the `ENTITY_TAKE_DMG` callback when a player takes damage from spikes in a Sacrifice
|
|
1330
1377
|
* Room.
|
|
@@ -1339,7 +1386,7 @@ export declare enum ModCallbackCustom {
|
|
|
1339
1386
|
* function postSacrifice(player: EntityPlayer, numSacrifices: int): void {}
|
|
1340
1387
|
* ```
|
|
1341
1388
|
*/
|
|
1342
|
-
POST_SACRIFICE =
|
|
1389
|
+
POST_SACRIFICE = 79,
|
|
1343
1390
|
/**
|
|
1344
1391
|
* Fires from the `POST_RENDER` callback when a slot entity's animation changes.
|
|
1345
1392
|
*
|
|
@@ -1353,7 +1400,7 @@ export declare enum ModCallbackCustom {
|
|
|
1353
1400
|
* function postSlotAnimationChanged(slot: Entity): void {}
|
|
1354
1401
|
* ```
|
|
1355
1402
|
*/
|
|
1356
|
-
POST_SLOT_ANIMATION_CHANGED =
|
|
1403
|
+
POST_SLOT_ANIMATION_CHANGED = 80,
|
|
1357
1404
|
/**
|
|
1358
1405
|
* Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
|
|
1359
1406
|
* (It will not fire if any other type of entity collides with the slot entity.)
|
|
@@ -1377,7 +1424,7 @@ export declare enum ModCallbackCustom {
|
|
|
1377
1424
|
* ): void {}
|
|
1378
1425
|
* ```
|
|
1379
1426
|
*/
|
|
1380
|
-
POST_SLOT_COLLISION =
|
|
1427
|
+
POST_SLOT_COLLISION = 81,
|
|
1381
1428
|
/**
|
|
1382
1429
|
* Fires from the `POST_RENDER` callback when a slot plays the animation that indicates that it
|
|
1383
1430
|
* has broken.
|
|
@@ -1392,7 +1439,7 @@ export declare enum ModCallbackCustom {
|
|
|
1392
1439
|
* function postSlotDestroyed(slot: Entity, slotDestructionType: SlotDestructionType): void {}
|
|
1393
1440
|
* ```
|
|
1394
1441
|
*/
|
|
1395
|
-
POST_SLOT_DESTROYED =
|
|
1442
|
+
POST_SLOT_DESTROYED = 82,
|
|
1396
1443
|
/**
|
|
1397
1444
|
* Fires when a new slot entity is initialized. Specifically, this is either:
|
|
1398
1445
|
*
|
|
@@ -1411,7 +1458,7 @@ export declare enum ModCallbackCustom {
|
|
|
1411
1458
|
* function postSlotInit(slot: Entity): void {}
|
|
1412
1459
|
* ```
|
|
1413
1460
|
*/
|
|
1414
|
-
POST_SLOT_INIT =
|
|
1461
|
+
POST_SLOT_INIT = 83,
|
|
1415
1462
|
/**
|
|
1416
1463
|
* Fires from the `POST_RENDER` callback on every frame that a slot entity exists.
|
|
1417
1464
|
*
|
|
@@ -1425,7 +1472,7 @@ export declare enum ModCallbackCustom {
|
|
|
1425
1472
|
* function postSlotRender(slot: Entity): void {}
|
|
1426
1473
|
* ```
|
|
1427
1474
|
*/
|
|
1428
|
-
POST_SLOT_RENDER =
|
|
1475
|
+
POST_SLOT_RENDER = 84,
|
|
1429
1476
|
/**
|
|
1430
1477
|
* Fires from the `POST_UPDATE` callback on every frame that a slot entity exists.
|
|
1431
1478
|
*
|
|
@@ -1439,7 +1486,7 @@ export declare enum ModCallbackCustom {
|
|
|
1439
1486
|
* function postSlotUpdate(slot: Entity): void {}
|
|
1440
1487
|
* ```
|
|
1441
1488
|
*/
|
|
1442
|
-
POST_SLOT_UPDATE =
|
|
1489
|
+
POST_SLOT_UPDATE = 85,
|
|
1443
1490
|
/**
|
|
1444
1491
|
* Fires from the `POST_RENDER` callback on every frame that spikes exist.
|
|
1445
1492
|
*
|
|
@@ -1451,7 +1498,7 @@ export declare enum ModCallbackCustom {
|
|
|
1451
1498
|
* function postSpikesRender(spikes: GridEntitySpikes): void {}
|
|
1452
1499
|
* ```
|
|
1453
1500
|
*/
|
|
1454
|
-
POST_SPIKES_RENDER =
|
|
1501
|
+
POST_SPIKES_RENDER = 86,
|
|
1455
1502
|
/**
|
|
1456
1503
|
* Fires from the `POST_UPDATE` callback on every frame that spikes exist.
|
|
1457
1504
|
*
|
|
@@ -1463,7 +1510,7 @@ export declare enum ModCallbackCustom {
|
|
|
1463
1510
|
* function postSpikesUpdate(spikes: GridEntitySpikes): void {}
|
|
1464
1511
|
* ```
|
|
1465
1512
|
*/
|
|
1466
|
-
POST_SPIKES_UPDATE =
|
|
1513
|
+
POST_SPIKES_UPDATE = 87,
|
|
1467
1514
|
/**
|
|
1468
1515
|
* Fires on the first `POST_TEAR_UPDATE` frame for each tear (which is when
|
|
1469
1516
|
* `EntityTear.FrameCount` is equal to 0).
|
|
@@ -1481,7 +1528,7 @@ export declare enum ModCallbackCustom {
|
|
|
1481
1528
|
* function postTearInitLate(tear: EntityTear): void {}
|
|
1482
1529
|
* ```
|
|
1483
1530
|
*/
|
|
1484
|
-
POST_TEAR_INIT_LATE =
|
|
1531
|
+
POST_TEAR_INIT_LATE = 88,
|
|
1485
1532
|
/**
|
|
1486
1533
|
* Fires on the second `POST_TEAR_UPDATE` frame for each tear (which is when
|
|
1487
1534
|
* `EntityTear.FrameCount` is equal to 1).
|
|
@@ -1498,7 +1545,7 @@ export declare enum ModCallbackCustom {
|
|
|
1498
1545
|
* function postTearInitVeryLate(tear: EntityTear): void {}
|
|
1499
1546
|
* ```
|
|
1500
1547
|
*/
|
|
1501
|
-
POST_TEAR_INIT_VERY_LATE =
|
|
1548
|
+
POST_TEAR_INIT_VERY_LATE = 89,
|
|
1502
1549
|
/**
|
|
1503
1550
|
* Fires from the `POST_RENDER` callback on every frame that a TNT exists.
|
|
1504
1551
|
*
|
|
@@ -1510,7 +1557,7 @@ export declare enum ModCallbackCustom {
|
|
|
1510
1557
|
* function postTNTRender(tnt: GridEntityTNT): void {}
|
|
1511
1558
|
* ```
|
|
1512
1559
|
*/
|
|
1513
|
-
POST_TNT_RENDER =
|
|
1560
|
+
POST_TNT_RENDER = 90,
|
|
1514
1561
|
/**
|
|
1515
1562
|
* Fires from the `POST_UPDATE` callback on every frame that a TNT exists.
|
|
1516
1563
|
*
|
|
@@ -1522,7 +1569,7 @@ export declare enum ModCallbackCustom {
|
|
|
1522
1569
|
* function postTNTUpdate(tnt: GridEntityTNT): void {}
|
|
1523
1570
|
* ```
|
|
1524
1571
|
*/
|
|
1525
|
-
POST_TNT_UPDATE =
|
|
1572
|
+
POST_TNT_UPDATE = 91,
|
|
1526
1573
|
/**
|
|
1527
1574
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player gains or loses a new
|
|
1528
1575
|
* transformation.
|
|
@@ -1541,7 +1588,7 @@ export declare enum ModCallbackCustom {
|
|
|
1541
1588
|
* ): void {}
|
|
1542
1589
|
* ```
|
|
1543
1590
|
*/
|
|
1544
|
-
POST_TRANSFORMATION =
|
|
1591
|
+
POST_TRANSFORMATION = 92,
|
|
1545
1592
|
/**
|
|
1546
1593
|
* Fires from `ENTITY_TAKE_DMG` callback when a Wishbone or a Walnut breaks.
|
|
1547
1594
|
*
|
|
@@ -1556,7 +1603,7 @@ export declare enum ModCallbackCustom {
|
|
|
1556
1603
|
* ): void {}
|
|
1557
1604
|
* ```
|
|
1558
1605
|
*/
|
|
1559
|
-
POST_TRINKET_BREAK =
|
|
1606
|
+
POST_TRINKET_BREAK = 93,
|
|
1560
1607
|
/**
|
|
1561
1608
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback on the frame before a Berserk effect
|
|
1562
1609
|
* ends when the player is predicted to die (e.g. they currently have no health left or they took
|
|
@@ -1572,7 +1619,7 @@ export declare enum ModCallbackCustom {
|
|
|
1572
1619
|
* function preBerserkDeath(player: EntityPlayer): void {}
|
|
1573
1620
|
* ```
|
|
1574
1621
|
*/
|
|
1575
|
-
PRE_BERSERK_DEATH =
|
|
1622
|
+
PRE_BERSERK_DEATH = 94,
|
|
1576
1623
|
/**
|
|
1577
1624
|
* Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
|
|
1578
1625
|
* to initiate a custom revival, return an integer that corresponds to the item or type of revival
|
|
@@ -1591,7 +1638,7 @@ export declare enum ModCallbackCustom {
|
|
|
1591
1638
|
* function preCustomRevive(player: EntityPlayer): int | undefined {}
|
|
1592
1639
|
* ```
|
|
1593
1640
|
*/
|
|
1594
|
-
PRE_CUSTOM_REVIVE =
|
|
1641
|
+
PRE_CUSTOM_REVIVE = 95,
|
|
1595
1642
|
/**
|
|
1596
1643
|
* Fires from the `PRE_PICKUP_COLLISION` callback when a player touches a collectible pedestal and
|
|
1597
1644
|
* meets all of the conditions to pick it up.
|
|
@@ -1611,7 +1658,7 @@ export declare enum ModCallbackCustom {
|
|
|
1611
1658
|
* function preGetPedestal(player: EntityPlayer, collectible: EntityPickupCollectible): void {}
|
|
1612
1659
|
* ```
|
|
1613
1660
|
*/
|
|
1614
|
-
PRE_GET_PEDESTAL =
|
|
1661
|
+
PRE_GET_PEDESTAL = 96,
|
|
1615
1662
|
/**
|
|
1616
1663
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item becomes queued (i.e. when
|
|
1617
1664
|
* the player begins to hold the item above their head).
|
|
@@ -1631,7 +1678,7 @@ export declare enum ModCallbackCustom {
|
|
|
1631
1678
|
* ): void {}
|
|
1632
1679
|
* ```
|
|
1633
1680
|
*/
|
|
1634
|
-
PRE_ITEM_PICKUP =
|
|
1681
|
+
PRE_ITEM_PICKUP = 97,
|
|
1635
1682
|
/**
|
|
1636
1683
|
* Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
|
|
1637
1684
|
* player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
|
|
@@ -1645,7 +1692,7 @@ export declare enum ModCallbackCustom {
|
|
|
1645
1692
|
* function preNewLevel(player: EntityPlayer): void {}
|
|
1646
1693
|
* ```
|
|
1647
1694
|
*/
|
|
1648
|
-
PRE_NEW_LEVEL =
|
|
1695
|
+
PRE_NEW_LEVEL = 98,
|
|
1649
1696
|
/**
|
|
1650
1697
|
* The exact same thing as the vanilla `PRE_NPC_COLLISION` callback, except this callback allows
|
|
1651
1698
|
* you to specify extra arguments for additional filtration.
|
|
@@ -1657,8 +1704,16 @@ export declare enum ModCallbackCustom {
|
|
|
1657
1704
|
* matches the variant provided.
|
|
1658
1705
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
1659
1706
|
* matches the sub-type provided.
|
|
1707
|
+
*
|
|
1708
|
+
* ```ts
|
|
1709
|
+
* function preNPCCollisionFilter(
|
|
1710
|
+
* npc: EntityNPC,
|
|
1711
|
+
* collider: Entity,
|
|
1712
|
+
* low: boolean,
|
|
1713
|
+
* ): boolean | undefined {}
|
|
1714
|
+
* ```
|
|
1660
1715
|
*/
|
|
1661
|
-
PRE_NPC_COLLISION_FILTER =
|
|
1716
|
+
PRE_NPC_COLLISION_FILTER = 99,
|
|
1662
1717
|
/**
|
|
1663
1718
|
* The exact same thing as the vanilla `PRE_NPC_UPDATE` callback, except this callback allows you
|
|
1664
1719
|
* to specify extra arguments for additional filtration.
|
|
@@ -1670,7 +1725,11 @@ export declare enum ModCallbackCustom {
|
|
|
1670
1725
|
* matches the variant provided.
|
|
1671
1726
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
1672
1727
|
* matches the sub-type provided.
|
|
1728
|
+
*
|
|
1729
|
+
* ```ts
|
|
1730
|
+
* function preNPCUpdateFilter(entity: Entity): boolean | undefined {}
|
|
1731
|
+
* ```
|
|
1673
1732
|
*/
|
|
1674
|
-
PRE_NPC_UPDATE_FILTER =
|
|
1733
|
+
PRE_NPC_UPDATE_FILTER = 100
|
|
1675
1734
|
}
|
|
1676
1735
|
//# sourceMappingURL=ModCallbackCustom.d.ts.map
|