isaacscript-common 18.0.0 → 18.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +121 -99
- package/dist/isaacscript-common.lua +148 -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/core/constants.d.ts +4 -0
- package/dist/src/core/constants.d.ts.map +1 -1
- package/dist/src/core/constants.lua +4 -0
- package/dist/src/enums/ModCallbackCustom.d.ts +110 -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/core/constants.ts +6 -0
- package/src/enums/ModCallbackCustom.ts +12 -0
- package/src/interfaces/private/AddCallbackParametersCustom.ts +12 -0
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,11 @@ declare interface AddCallbackParametersCustom {
|
|
|
91
91
|
variant?: number,
|
|
92
92
|
subType?: number
|
|
93
93
|
];
|
|
94
|
+
[ModCallbackCustom.ENTITY_TAKE_DMG_PLAYER]: [
|
|
95
|
+
callback: (player: EntityPlayer, amount: float, damageFlags: BitFlags<DamageFlag>, source: EntityRef, countdownFrames: int) => boolean | undefined,
|
|
96
|
+
playerVariant?: PlayerVariant,
|
|
97
|
+
character?: PlayerType
|
|
98
|
+
];
|
|
94
99
|
[ModCallbackCustom.POST_AMBUSH_FINISHED]: [
|
|
95
100
|
callback: (ambushType: AmbushType) => void,
|
|
96
101
|
ambushType?: AmbushType
|
|
@@ -3836,6 +3841,9 @@ export declare type FunctionTuple = [name: string, func: AnyFunction];
|
|
|
3836
3841
|
*/
|
|
3837
3842
|
export declare const game: Game;
|
|
3838
3843
|
|
|
3844
|
+
/** Game frames are what is returned by the `Game.GetFrameCount` method. */
|
|
3845
|
+
export declare const GAME_FRAMES_PER_MINUTE: number;
|
|
3846
|
+
|
|
3839
3847
|
/** Game frames are what is returned by the `Game.GetFrameCount` method. */
|
|
3840
3848
|
export declare const GAME_FRAMES_PER_SECOND = 30;
|
|
3841
3849
|
|
|
@@ -8620,6 +8628,17 @@ export declare enum ModCallbackCustom {
|
|
|
8620
8628
|
* matches the sub-type provided.
|
|
8621
8629
|
*/
|
|
8622
8630
|
ENTITY_TAKE_DMG_FILTER = 0,
|
|
8631
|
+
/**
|
|
8632
|
+
* The exact same thing as the vanilla `ENTITY_TAKE_DMG` callback, except this callback
|
|
8633
|
+
* automatically filters for `EntityType.ENTITY_PLAYER` and casts the `Entity` object to a
|
|
8634
|
+
* `EntityPlayer`.
|
|
8635
|
+
*
|
|
8636
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
8637
|
+
* matches the `PlayerVariant` provided.
|
|
8638
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
8639
|
+
* matches the `PlayerType` provided.
|
|
8640
|
+
*/
|
|
8641
|
+
ENTITY_TAKE_DMG_PLAYER = 1,
|
|
8623
8642
|
/**
|
|
8624
8643
|
* Fires from the `POST_UPDATE` callback when a Challenge Room or Boss Rush is started.
|
|
8625
8644
|
* Specifically, this happens on the first frame that `Room.IsAmbushDone` is true.
|
|
@@ -8632,7 +8651,7 @@ export declare enum ModCallbackCustom {
|
|
|
8632
8651
|
* function postAmbushFinished(ambushType: AmbushType): void {}
|
|
8633
8652
|
* ```
|
|
8634
8653
|
*/
|
|
8635
|
-
POST_AMBUSH_FINISHED =
|
|
8654
|
+
POST_AMBUSH_FINISHED = 2,
|
|
8636
8655
|
/**
|
|
8637
8656
|
* Fires from the `POST_UPDATE` callback when a Challenge Room or Boss Rush is completed.
|
|
8638
8657
|
* Specifically, this happens on the first frame that `Room.IsAmbushActive` is true.
|
|
@@ -8645,7 +8664,7 @@ export declare enum ModCallbackCustom {
|
|
|
8645
8664
|
* function postAmbushStarted(ambushType: AmbushType): void {}
|
|
8646
8665
|
* ```
|
|
8647
8666
|
*/
|
|
8648
|
-
POST_AMBUSH_STARTED =
|
|
8667
|
+
POST_AMBUSH_STARTED = 3,
|
|
8649
8668
|
/**
|
|
8650
8669
|
* Fires on the `POST_BOMB_UPDATE` callback that it explodes.
|
|
8651
8670
|
*
|
|
@@ -8659,7 +8678,7 @@ export declare enum ModCallbackCustom {
|
|
|
8659
8678
|
* function postBombDetonated(bomb: EntityBomb): void {}
|
|
8660
8679
|
* ```
|
|
8661
8680
|
*/
|
|
8662
|
-
POST_BOMB_EXPLODED =
|
|
8681
|
+
POST_BOMB_EXPLODED = 4,
|
|
8663
8682
|
/**
|
|
8664
8683
|
* Fires on the first `POST_BOMB_UPDATE` frame for each bomb.
|
|
8665
8684
|
*
|
|
@@ -8676,7 +8695,7 @@ export declare enum ModCallbackCustom {
|
|
|
8676
8695
|
* function postBombInitLate(bomb: EntityBomb): void {}
|
|
8677
8696
|
* ```
|
|
8678
8697
|
*/
|
|
8679
|
-
POST_BOMB_INIT_LATE =
|
|
8698
|
+
POST_BOMB_INIT_LATE = 5,
|
|
8680
8699
|
/**
|
|
8681
8700
|
* Fires from the `POST_RENDER` callback when one of Forgotten's bone clubs is swung or thrown.
|
|
8682
8701
|
*
|
|
@@ -8684,7 +8703,7 @@ export declare enum ModCallbackCustom {
|
|
|
8684
8703
|
* function postBoneSwing(boneClub: EntityKnife): void {}
|
|
8685
8704
|
* ```
|
|
8686
8705
|
*/
|
|
8687
|
-
POST_BONE_SWING =
|
|
8706
|
+
POST_BONE_SWING = 6,
|
|
8688
8707
|
/**
|
|
8689
8708
|
* Fires from the `POST_PICKUP_UPDATE` callback when a collectible goes from a non-zero sub-type
|
|
8690
8709
|
* to `CollectibleType.NULL` (i.e. an "empty" pedestal).
|
|
@@ -8700,7 +8719,7 @@ export declare enum ModCallbackCustom {
|
|
|
8700
8719
|
* ): void {}
|
|
8701
8720
|
* ```
|
|
8702
8721
|
*/
|
|
8703
|
-
POST_COLLECTIBLE_EMPTY =
|
|
8722
|
+
POST_COLLECTIBLE_EMPTY = 7,
|
|
8704
8723
|
/**
|
|
8705
8724
|
* Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
|
|
8706
8725
|
* respective collectible on the run. For more details on how this is calculated, see the
|
|
@@ -8718,7 +8737,7 @@ export declare enum ModCallbackCustom {
|
|
|
8718
8737
|
* function postCollectibleInitLate(collectible: EntityPickupCollectible): void {}
|
|
8719
8738
|
* ```
|
|
8720
8739
|
*/
|
|
8721
|
-
POST_COLLECTIBLE_INIT_FIRST =
|
|
8740
|
+
POST_COLLECTIBLE_INIT_FIRST = 8,
|
|
8722
8741
|
/**
|
|
8723
8742
|
* Fires from the `POST_PLAYER_RENDER` callback on the first frame that the "TeleportUp" animation
|
|
8724
8743
|
* begins playing after a player triggers a Cursed Eye teleport or a Cursed Skull teleport. (Both
|
|
@@ -8734,7 +8753,7 @@ export declare enum ModCallbackCustom {
|
|
|
8734
8753
|
* function postCursedTeleport(player: EntityPlayer): void {}
|
|
8735
8754
|
* ```
|
|
8736
8755
|
*/
|
|
8737
|
-
POST_CURSED_TELEPORT =
|
|
8756
|
+
POST_CURSED_TELEPORT = 9,
|
|
8738
8757
|
/**
|
|
8739
8758
|
* Fires from the `POST_PLAYER_UPDATE` callback after the player has finished the death animation,
|
|
8740
8759
|
* has teleported to the previous room, and is ready to play the animation for the modded revival
|
|
@@ -8752,7 +8771,7 @@ export declare enum ModCallbackCustom {
|
|
|
8752
8771
|
* function postCustomRevive(player: EntityPlayer, revivalType: int): void {}
|
|
8753
8772
|
* ```
|
|
8754
8773
|
*/
|
|
8755
|
-
POST_CUSTOM_REVIVE =
|
|
8774
|
+
POST_CUSTOM_REVIVE = 10,
|
|
8756
8775
|
/**
|
|
8757
8776
|
* Fires from the `EFFECT_POST_UPDATE` callback after a player has entered the range of a Dice
|
|
8758
8777
|
* Room floor.
|
|
@@ -8768,7 +8787,7 @@ export declare enum ModCallbackCustom {
|
|
|
8768
8787
|
* ): void {}
|
|
8769
8788
|
* ```
|
|
8770
8789
|
*/
|
|
8771
|
-
POST_DICE_ROOM_ACTIVATED =
|
|
8790
|
+
POST_DICE_ROOM_ACTIVATED = 11,
|
|
8772
8791
|
/**
|
|
8773
8792
|
* Fires from the `POST_RENDER` callback on every frame that a door exists.
|
|
8774
8793
|
*
|
|
@@ -8780,7 +8799,7 @@ export declare enum ModCallbackCustom {
|
|
|
8780
8799
|
* function postDoorRender(door: GridEntityDoor): void {}
|
|
8781
8800
|
* ```
|
|
8782
8801
|
*/
|
|
8783
|
-
POST_DOOR_RENDER =
|
|
8802
|
+
POST_DOOR_RENDER = 12,
|
|
8784
8803
|
/**
|
|
8785
8804
|
* Fires from the `POST_UPDATE` callback on every frame that a door exists.
|
|
8786
8805
|
*
|
|
@@ -8792,7 +8811,7 @@ export declare enum ModCallbackCustom {
|
|
|
8792
8811
|
* function postDoorUpdate(door: GridEntityDoor): void {}
|
|
8793
8812
|
* ```
|
|
8794
8813
|
*/
|
|
8795
|
-
POST_DOOR_UPDATE =
|
|
8814
|
+
POST_DOOR_UPDATE = 13,
|
|
8796
8815
|
/**
|
|
8797
8816
|
* Fires on the first `POST_EFFECT_UPDATE` frame for each effect.
|
|
8798
8817
|
*
|
|
@@ -8809,7 +8828,7 @@ export declare enum ModCallbackCustom {
|
|
|
8809
8828
|
* function postEffectInitLate(effect: EntityEffect): void {}
|
|
8810
8829
|
* ```
|
|
8811
8830
|
*/
|
|
8812
|
-
POST_EFFECT_INIT_LATE =
|
|
8831
|
+
POST_EFFECT_INIT_LATE = 14,
|
|
8813
8832
|
/**
|
|
8814
8833
|
* Fires from the `POST_EFFECT_UPDATE` callback when an effect's state has changed from what it
|
|
8815
8834
|
* was on the previous frame. (In this context, "state" refers to the `EntityEffect.State` field.)
|
|
@@ -8828,7 +8847,7 @@ export declare enum ModCallbackCustom {
|
|
|
8828
8847
|
* ): void {}
|
|
8829
8848
|
* ```
|
|
8830
8849
|
*/
|
|
8831
|
-
POST_EFFECT_STATE_CHANGED =
|
|
8850
|
+
POST_EFFECT_STATE_CHANGED = 15,
|
|
8832
8851
|
/**
|
|
8833
8852
|
* Fires one `POST_UPDATE` frame after the player has used the Esau Jr. item. (The player is not
|
|
8834
8853
|
* updated to the new character until a game frame has passed.)
|
|
@@ -8837,7 +8856,7 @@ export declare enum ModCallbackCustom {
|
|
|
8837
8856
|
* function postEsauJr(player: EntityPlayer): void {}
|
|
8838
8857
|
* ```
|
|
8839
8858
|
*/
|
|
8840
|
-
POST_ESAU_JR =
|
|
8859
|
+
POST_ESAU_JR = 16,
|
|
8841
8860
|
/**
|
|
8842
8861
|
* Fires on the first `FAMILIAR_UPDATE` frame for each familiar.
|
|
8843
8862
|
*
|
|
@@ -8854,7 +8873,7 @@ export declare enum ModCallbackCustom {
|
|
|
8854
8873
|
* function postFamiliarInitLate(familiar: EntityFamiliar): void {}
|
|
8855
8874
|
* ```
|
|
8856
8875
|
*/
|
|
8857
|
-
POST_FAMILIAR_INIT_LATE =
|
|
8876
|
+
POST_FAMILIAR_INIT_LATE = 17,
|
|
8858
8877
|
/**
|
|
8859
8878
|
* Fires from the `POST_FAMILIAR_UPDATE` callback when a familiar's state has changed from what it
|
|
8860
8879
|
* was on the previous frame. (In this context, "state" refers to the `EntityFamiliar.State`
|
|
@@ -8874,7 +8893,7 @@ export declare enum ModCallbackCustom {
|
|
|
8874
8893
|
* ): void {}
|
|
8875
8894
|
* ```
|
|
8876
8895
|
*/
|
|
8877
|
-
POST_FAMILIAR_STATE_CHANGED =
|
|
8896
|
+
POST_FAMILIAR_STATE_CHANGED = 18,
|
|
8878
8897
|
/**
|
|
8879
8898
|
* Fires one `POST_UPDATE` frame after the player has first used the Esau Jr. item. (The player is
|
|
8880
8899
|
* not updated to the new character until a game frame has passed.)
|
|
@@ -8886,7 +8905,7 @@ export declare enum ModCallbackCustom {
|
|
|
8886
8905
|
* function postFirstEsauJr(player: EntityPlayer): void {}
|
|
8887
8906
|
* ```
|
|
8888
8907
|
*/
|
|
8889
|
-
POST_FIRST_ESAU_JR =
|
|
8908
|
+
POST_FIRST_ESAU_JR = 19,
|
|
8890
8909
|
/**
|
|
8891
8910
|
* Fires after the player has used the Flip item for the first time. Unlike the vanilla `USE_ITEM`
|
|
8892
8911
|
* callback, this callback will return the player object for the new Lazarus (not the one who used
|
|
@@ -8899,7 +8918,7 @@ export declare enum ModCallbackCustom {
|
|
|
8899
8918
|
* function postFirstFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
|
|
8900
8919
|
* ```
|
|
8901
8920
|
*/
|
|
8902
|
-
POST_FIRST_FLIP =
|
|
8921
|
+
POST_FIRST_FLIP = 20,
|
|
8903
8922
|
/**
|
|
8904
8923
|
* Fires after the player has used the Flip item. Unlike the vanilla `USE_ITEM` callback, this
|
|
8905
8924
|
* callback will return the player object for the new Lazarus (not the one who used the Flip
|
|
@@ -8912,7 +8931,7 @@ export declare enum ModCallbackCustom {
|
|
|
8912
8931
|
* function postFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
|
|
8913
8932
|
* ```
|
|
8914
8933
|
*/
|
|
8915
|
-
POST_FLIP =
|
|
8934
|
+
POST_FLIP = 21,
|
|
8916
8935
|
/**
|
|
8917
8936
|
* Similar to the vanilla callback of the same name, but fires in the correct order with respect
|
|
8918
8937
|
* to the `POST_NEW_LEVEL` and the `POST_NEW_ROOM` callbacks:
|
|
@@ -8923,7 +8942,7 @@ export declare enum ModCallbackCustom {
|
|
|
8923
8942
|
* function postGameStartedReordered(isContinued: boolean): void {}
|
|
8924
8943
|
* ```
|
|
8925
8944
|
*/
|
|
8926
|
-
POST_GAME_STARTED_REORDERED =
|
|
8945
|
+
POST_GAME_STARTED_REORDERED = 22,
|
|
8927
8946
|
/**
|
|
8928
8947
|
* Similar to the `POST_GAME_STARTED_REORDERED` callback, but fires after all of the subscribed
|
|
8929
8948
|
* callbacks have finished firing. Thus, you can use this callback to do perform things after a
|
|
@@ -8934,7 +8953,7 @@ export declare enum ModCallbackCustom {
|
|
|
8934
8953
|
* function postGameStartedReorderedLast(isContinued: boolean): void {}
|
|
8935
8954
|
* ```
|
|
8936
8955
|
*/
|
|
8937
|
-
POST_GAME_STARTED_REORDERED_LAST =
|
|
8956
|
+
POST_GAME_STARTED_REORDERED_LAST = 23,
|
|
8938
8957
|
/**
|
|
8939
8958
|
* Fires from the `POST_UPDATE` callback when the Greed Mode wave increases.
|
|
8940
8959
|
*
|
|
@@ -8942,7 +8961,7 @@ export declare enum ModCallbackCustom {
|
|
|
8942
8961
|
* function postGreedModeWave(oldWave: int, newWave: int): void {}
|
|
8943
8962
|
* ```
|
|
8944
8963
|
*/
|
|
8945
|
-
POST_GREED_MODE_WAVE =
|
|
8964
|
+
POST_GREED_MODE_WAVE = 24,
|
|
8946
8965
|
/**
|
|
8947
8966
|
* Fires from the `POST_UPDATE` callback when a grid entity changes to a state that corresponds to
|
|
8948
8967
|
* the broken state for the respective grid entity type. (For example, this will fire for a
|
|
@@ -8961,7 +8980,7 @@ export declare enum ModCallbackCustom {
|
|
|
8961
8980
|
* function postGridEntityBroken(gridEntity: GridEntity): void {}
|
|
8962
8981
|
* ```
|
|
8963
8982
|
*/
|
|
8964
|
-
POST_GRID_ENTITY_BROKEN =
|
|
8983
|
+
POST_GRID_ENTITY_BROKEN = 25,
|
|
8965
8984
|
/**
|
|
8966
8985
|
* Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity. (After
|
|
8967
8986
|
* this, the callback will not continue to fire. It will only fire again once the entity moves out
|
|
@@ -8989,7 +9008,7 @@ export declare enum ModCallbackCustom {
|
|
|
8989
9008
|
* ): void {}
|
|
8990
9009
|
* ```
|
|
8991
9010
|
*/
|
|
8992
|
-
POST_GRID_ENTITY_COLLISION =
|
|
9011
|
+
POST_GRID_ENTITY_COLLISION = 26,
|
|
8993
9012
|
/**
|
|
8994
9013
|
* The same as the `POST_GRID_ENTITY_BROKEN` callback, but only fires for grid entities created
|
|
8995
9014
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9006,7 +9025,7 @@ export declare enum ModCallbackCustom {
|
|
|
9006
9025
|
* ): void {}
|
|
9007
9026
|
* ```
|
|
9008
9027
|
*/
|
|
9009
|
-
POST_GRID_ENTITY_CUSTOM_BROKEN =
|
|
9028
|
+
POST_GRID_ENTITY_CUSTOM_BROKEN = 27,
|
|
9010
9029
|
/**
|
|
9011
9030
|
* The same as the `POST_GRID_ENTITY_COLLISION` callback, but only fires for grid entities created
|
|
9012
9031
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9030,7 +9049,7 @@ export declare enum ModCallbackCustom {
|
|
|
9030
9049
|
* ): void {}
|
|
9031
9050
|
* ```
|
|
9032
9051
|
*/
|
|
9033
|
-
POST_GRID_ENTITY_CUSTOM_COLLISION =
|
|
9052
|
+
POST_GRID_ENTITY_CUSTOM_COLLISION = 28,
|
|
9034
9053
|
/**
|
|
9035
9054
|
* The same as the `POST_GRID_ENTITY_INIT` callback, but only fires for grid entities created with
|
|
9036
9055
|
* the `spawnCustomGridEntity` helper function.
|
|
@@ -9047,7 +9066,7 @@ export declare enum ModCallbackCustom {
|
|
|
9047
9066
|
* ): void {}
|
|
9048
9067
|
* ```
|
|
9049
9068
|
*/
|
|
9050
|
-
POST_GRID_ENTITY_CUSTOM_INIT =
|
|
9069
|
+
POST_GRID_ENTITY_CUSTOM_INIT = 29,
|
|
9051
9070
|
/**
|
|
9052
9071
|
* The same as the `POST_GRID_ENTITY_REMOVE` callback, but only fires for grid entities created
|
|
9053
9072
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9064,7 +9083,7 @@ export declare enum ModCallbackCustom {
|
|
|
9064
9083
|
* ): void {}
|
|
9065
9084
|
* ```
|
|
9066
9085
|
*/
|
|
9067
|
-
POST_GRID_ENTITY_CUSTOM_REMOVE =
|
|
9086
|
+
POST_GRID_ENTITY_CUSTOM_REMOVE = 30,
|
|
9068
9087
|
/**
|
|
9069
9088
|
* The same as the `POST_GRID_ENTITY_RENDER` callback, but only fires for grid entities created
|
|
9070
9089
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9081,7 +9100,7 @@ export declare enum ModCallbackCustom {
|
|
|
9081
9100
|
* ): void {}
|
|
9082
9101
|
* ```
|
|
9083
9102
|
*/
|
|
9084
|
-
POST_GRID_ENTITY_CUSTOM_RENDER =
|
|
9103
|
+
POST_GRID_ENTITY_CUSTOM_RENDER = 31,
|
|
9085
9104
|
/**
|
|
9086
9105
|
* The same as the `POST_GRID_ENTITY_STATE_CHANGED` callback, but only fires for grid entities
|
|
9087
9106
|
* created with the `spawnCustomGridEntity` helper function.
|
|
@@ -9100,7 +9119,7 @@ export declare enum ModCallbackCustom {
|
|
|
9100
9119
|
* ): void {}
|
|
9101
9120
|
* ```
|
|
9102
9121
|
*/
|
|
9103
|
-
POST_GRID_ENTITY_CUSTOM_STATE_CHANGED =
|
|
9122
|
+
POST_GRID_ENTITY_CUSTOM_STATE_CHANGED = 32,
|
|
9104
9123
|
/**
|
|
9105
9124
|
* The same as the `POST_GRID_ENTITY_UPDATE` callback, but only fires for grid entities created
|
|
9106
9125
|
* with the `spawnCustomGridEntity` helper function.
|
|
@@ -9117,7 +9136,7 @@ export declare enum ModCallbackCustom {
|
|
|
9117
9136
|
* ): void {}
|
|
9118
9137
|
* ```
|
|
9119
9138
|
*/
|
|
9120
|
-
POST_GRID_ENTITY_CUSTOM_UPDATE =
|
|
9139
|
+
POST_GRID_ENTITY_CUSTOM_UPDATE = 33,
|
|
9121
9140
|
/**
|
|
9122
9141
|
* Fires when a new grid entity is initialized. Specifically, this is either:
|
|
9123
9142
|
*
|
|
@@ -9139,7 +9158,7 @@ export declare enum ModCallbackCustom {
|
|
|
9139
9158
|
* function postGridEntityInit(gridEntity: GridEntity): void {}
|
|
9140
9159
|
* ```
|
|
9141
9160
|
*/
|
|
9142
|
-
POST_GRID_ENTITY_INIT =
|
|
9161
|
+
POST_GRID_ENTITY_INIT = 34,
|
|
9143
9162
|
/**
|
|
9144
9163
|
* Fires from the `POST_UPDATE` callback when a new grid entity is removed. Specifically, this on
|
|
9145
9164
|
* the frame after it no longer exists (where it did exist a frame ago).
|
|
@@ -9164,7 +9183,7 @@ export declare enum ModCallbackCustom {
|
|
|
9164
9183
|
* ): void {}
|
|
9165
9184
|
* ```
|
|
9166
9185
|
*/
|
|
9167
|
-
POST_GRID_ENTITY_REMOVE =
|
|
9186
|
+
POST_GRID_ENTITY_REMOVE = 35,
|
|
9168
9187
|
/**
|
|
9169
9188
|
* Fires from the `POST_RENDER` callback on every frame that a grid entity exists.
|
|
9170
9189
|
*
|
|
@@ -9181,7 +9200,7 @@ export declare enum ModCallbackCustom {
|
|
|
9181
9200
|
* function postGridEntityRender(gridEntity: GridEntity): void {}
|
|
9182
9201
|
* ```
|
|
9183
9202
|
*/
|
|
9184
|
-
POST_GRID_ENTITY_RENDER =
|
|
9203
|
+
POST_GRID_ENTITY_RENDER = 36,
|
|
9185
9204
|
/**
|
|
9186
9205
|
* Fires from the `POST_UPDATE` callback when a grid entity changes its state. (In this context,
|
|
9187
9206
|
* "state" refers to the `GridEntity.State` field.)
|
|
@@ -9203,7 +9222,7 @@ export declare enum ModCallbackCustom {
|
|
|
9203
9222
|
* ): void {}
|
|
9204
9223
|
* ```
|
|
9205
9224
|
*/
|
|
9206
|
-
POST_GRID_ENTITY_STATE_CHANGED =
|
|
9225
|
+
POST_GRID_ENTITY_STATE_CHANGED = 37,
|
|
9207
9226
|
/**
|
|
9208
9227
|
* Fires from the `POST_UPDATE` callback on every frame that a grid entity exists.
|
|
9209
9228
|
*
|
|
@@ -9220,7 +9239,7 @@ export declare enum ModCallbackCustom {
|
|
|
9220
9239
|
* function postGridEntityUpdate(gridEntity: GridEntity): void {}
|
|
9221
9240
|
* ```
|
|
9222
9241
|
*/
|
|
9223
|
-
POST_GRID_ENTITY_UPDATE =
|
|
9242
|
+
POST_GRID_ENTITY_UPDATE = 38,
|
|
9224
9243
|
/**
|
|
9225
9244
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses a Holy Mantle
|
|
9226
9245
|
* temporary collectible effect.
|
|
@@ -9243,7 +9262,7 @@ export declare enum ModCallbackCustom {
|
|
|
9243
9262
|
* ): void {}
|
|
9244
9263
|
* ```
|
|
9245
9264
|
*/
|
|
9246
|
-
POST_HOLY_MANTLE_REMOVED =
|
|
9265
|
+
POST_HOLY_MANTLE_REMOVED = 39,
|
|
9247
9266
|
/**
|
|
9248
9267
|
* Fires from `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses charge on their
|
|
9249
9268
|
* active collectible item, implying that the item was just used.
|
|
@@ -9266,7 +9285,7 @@ export declare enum ModCallbackCustom {
|
|
|
9266
9285
|
* ): void {}
|
|
9267
9286
|
* ```
|
|
9268
9287
|
*/
|
|
9269
|
-
POST_ITEM_DISCHARGE =
|
|
9288
|
+
POST_ITEM_DISCHARGE = 40,
|
|
9270
9289
|
/**
|
|
9271
9290
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item is no longer queued (i.e.
|
|
9272
9291
|
* when the animation of the player holding the item above their head is finished and the item is
|
|
@@ -9287,7 +9306,7 @@ export declare enum ModCallbackCustom {
|
|
|
9287
9306
|
* ): void {}
|
|
9288
9307
|
* ```
|
|
9289
9308
|
*/
|
|
9290
|
-
POST_ITEM_PICKUP =
|
|
9309
|
+
POST_ITEM_PICKUP = 41,
|
|
9291
9310
|
/**
|
|
9292
9311
|
* Fires on the first `POST_KNIFE_UPDATE` frame for each knife.
|
|
9293
9312
|
*
|
|
@@ -9304,7 +9323,7 @@ export declare enum ModCallbackCustom {
|
|
|
9304
9323
|
* function postKnifeInitLate(knife: EntityKnife): void {}
|
|
9305
9324
|
* ```
|
|
9306
9325
|
*/
|
|
9307
|
-
POST_KNIFE_INIT_LATE =
|
|
9326
|
+
POST_KNIFE_INIT_LATE = 42,
|
|
9308
9327
|
/**
|
|
9309
9328
|
* Fires on the first `POST_LASER_UPDATE` frame for each laser.
|
|
9310
9329
|
*
|
|
@@ -9321,7 +9340,7 @@ export declare enum ModCallbackCustom {
|
|
|
9321
9340
|
* function postLaserInitLate(laser: EntityLaser): void {}
|
|
9322
9341
|
* ```
|
|
9323
9342
|
*/
|
|
9324
|
-
POST_LASER_INIT_LATE =
|
|
9343
|
+
POST_LASER_INIT_LATE = 43,
|
|
9325
9344
|
/**
|
|
9326
9345
|
* The same as the vanilla callback of the same name, but fires in the correct order with respect
|
|
9327
9346
|
* to the `POST_GAME_STARTED` and the `POST_NEW_ROOM` callbacks:
|
|
@@ -9338,7 +9357,7 @@ export declare enum ModCallbackCustom {
|
|
|
9338
9357
|
* function postNewLevelReordered(): void {}
|
|
9339
9358
|
* ```
|
|
9340
9359
|
*/
|
|
9341
|
-
POST_NEW_LEVEL_REORDERED =
|
|
9360
|
+
POST_NEW_LEVEL_REORDERED = 44,
|
|
9342
9361
|
/**
|
|
9343
9362
|
* Fires on the first `POST_NEW_ROOM` or `PRE_ENTITY_SPAWN` callback where being in a new room is
|
|
9344
9363
|
* detected. This is useful because the vanilla `POST_NEW_ROOM` callback fires only after entities
|
|
@@ -9349,7 +9368,7 @@ export declare enum ModCallbackCustom {
|
|
|
9349
9368
|
* function postNewRoomEarly(): void {}
|
|
9350
9369
|
* ```
|
|
9351
9370
|
*/
|
|
9352
|
-
POST_NEW_ROOM_EARLY =
|
|
9371
|
+
POST_NEW_ROOM_EARLY = 45,
|
|
9353
9372
|
/**
|
|
9354
9373
|
* The same as the vanilla callback of the same name, but fires in the correct order with respect
|
|
9355
9374
|
* to the `POST_GAME_STARTED` and the `POST_NEW_LEVEL` callbacks:
|
|
@@ -9366,7 +9385,7 @@ export declare enum ModCallbackCustom {
|
|
|
9366
9385
|
* function postNewRoomReordered(): void {}
|
|
9367
9386
|
* ```
|
|
9368
9387
|
*/
|
|
9369
|
-
POST_NEW_ROOM_REORDERED =
|
|
9388
|
+
POST_NEW_ROOM_REORDERED = 46,
|
|
9370
9389
|
/**
|
|
9371
9390
|
* The exact same thing as the vanilla `POST_NPC_DEATH` callback, except this callback allows you
|
|
9372
9391
|
* to specify extra arguments for additional filtration.
|
|
@@ -9379,7 +9398,7 @@ export declare enum ModCallbackCustom {
|
|
|
9379
9398
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
9380
9399
|
* matches the sub-type provided.
|
|
9381
9400
|
*/
|
|
9382
|
-
POST_NPC_DEATH_FILTER =
|
|
9401
|
+
POST_NPC_DEATH_FILTER = 47,
|
|
9383
9402
|
/**
|
|
9384
9403
|
* The exact same thing as the vanilla `POST_NPC_INIT` callback, except this callback allows you
|
|
9385
9404
|
* to specify extra arguments for additional filtration.
|
|
@@ -9392,7 +9411,7 @@ export declare enum ModCallbackCustom {
|
|
|
9392
9411
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
9393
9412
|
* matches the sub-type provided.
|
|
9394
9413
|
*/
|
|
9395
|
-
POST_NPC_INIT_FILTER =
|
|
9414
|
+
POST_NPC_INIT_FILTER = 48,
|
|
9396
9415
|
/**
|
|
9397
9416
|
* Fires on the first `NPC_UPDATE` frame for each NPC.
|
|
9398
9417
|
*
|
|
@@ -9411,7 +9430,7 @@ export declare enum ModCallbackCustom {
|
|
|
9411
9430
|
* function postNPCInitLate(npc: EntityNPC): void {}
|
|
9412
9431
|
* ```
|
|
9413
9432
|
*/
|
|
9414
|
-
POST_NPC_INIT_LATE =
|
|
9433
|
+
POST_NPC_INIT_LATE = 49,
|
|
9415
9434
|
/**
|
|
9416
9435
|
* The exact same thing as the vanilla `POST_NPC_RENDER` callback, except this callback allows you
|
|
9417
9436
|
* to specify extra arguments for additional filtration.
|
|
@@ -9424,7 +9443,7 @@ export declare enum ModCallbackCustom {
|
|
|
9424
9443
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
9425
9444
|
* matches the sub-type provided.
|
|
9426
9445
|
*/
|
|
9427
|
-
POST_NPC_RENDER_FILTER =
|
|
9446
|
+
POST_NPC_RENDER_FILTER = 50,
|
|
9428
9447
|
/**
|
|
9429
9448
|
* Fires from the `POST_NPC_UPDATE` callback when an NPC's state has changed from what it was on
|
|
9430
9449
|
* the previous frame. (In this context, "state" refers to the `EntityNPC.State` field.)
|
|
@@ -9445,7 +9464,7 @@ export declare enum ModCallbackCustom {
|
|
|
9445
9464
|
* ): void {}
|
|
9446
9465
|
* ```
|
|
9447
9466
|
*/
|
|
9448
|
-
POST_NPC_STATE_CHANGED =
|
|
9467
|
+
POST_NPC_STATE_CHANGED = 51,
|
|
9449
9468
|
/**
|
|
9450
9469
|
* The exact same thing as the vanilla `POST_NPC_UPDATE` callback, except this callback allows you
|
|
9451
9470
|
* to specify extra arguments for additional filtration.
|
|
@@ -9458,7 +9477,7 @@ export declare enum ModCallbackCustom {
|
|
|
9458
9477
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
9459
9478
|
* matches the sub-type provided.
|
|
9460
9479
|
*/
|
|
9461
|
-
POST_NPC_UPDATE_FILTER =
|
|
9480
|
+
POST_NPC_UPDATE_FILTER = 52,
|
|
9462
9481
|
/**
|
|
9463
9482
|
* Similar to the vanilla callback of the same name, but fires after the
|
|
9464
9483
|
* `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
|
|
@@ -9483,7 +9502,7 @@ export declare enum ModCallbackCustom {
|
|
|
9483
9502
|
* function postPEffectUpdateReordered(player: EntityPlayer): void {}
|
|
9484
9503
|
* ```
|
|
9485
9504
|
*/
|
|
9486
|
-
POST_PEFFECT_UPDATE_REORDERED =
|
|
9505
|
+
POST_PEFFECT_UPDATE_REORDERED = 53,
|
|
9487
9506
|
/**
|
|
9488
9507
|
* Fires on the first `POST_RENDER` frame that a pickup plays the "Collect" animation.
|
|
9489
9508
|
*
|
|
@@ -9502,7 +9521,7 @@ export declare enum ModCallbackCustom {
|
|
|
9502
9521
|
* function postPickupCollect(pickup: EntityPickup, player: EntityPlayer): void {}
|
|
9503
9522
|
* ```
|
|
9504
9523
|
*/
|
|
9505
|
-
POST_PICKUP_COLLECT =
|
|
9524
|
+
POST_PICKUP_COLLECT = 54,
|
|
9506
9525
|
/**
|
|
9507
9526
|
* Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
|
|
9508
9527
|
* respective pickup on the run.
|
|
@@ -9520,7 +9539,7 @@ export declare enum ModCallbackCustom {
|
|
|
9520
9539
|
* function postPickupInitFirst(pickup: EntityPickup): void {}
|
|
9521
9540
|
* ```
|
|
9522
9541
|
*/
|
|
9523
|
-
POST_PICKUP_INIT_FIRST =
|
|
9542
|
+
POST_PICKUP_INIT_FIRST = 55,
|
|
9524
9543
|
/**
|
|
9525
9544
|
* Fires on the first `POST_PICKUP_UPDATE` frame for each pickup.
|
|
9526
9545
|
*
|
|
@@ -9537,7 +9556,7 @@ export declare enum ModCallbackCustom {
|
|
|
9537
9556
|
* function postPickupInitLate(pickup: EntityPickup): void {}
|
|
9538
9557
|
* ```
|
|
9539
9558
|
*/
|
|
9540
|
-
POST_PICKUP_INIT_LATE =
|
|
9559
|
+
POST_PICKUP_INIT_LATE = 56,
|
|
9541
9560
|
/**
|
|
9542
9561
|
* Fires from the `POST_PICKUP_UPDATE` callback when a pickup's state has changed from what it was
|
|
9543
9562
|
* on the previous frame. (In this context, "state" refers to the `EntityPickup.State` field.)
|
|
@@ -9556,7 +9575,7 @@ export declare enum ModCallbackCustom {
|
|
|
9556
9575
|
* ): void {}
|
|
9557
9576
|
* ```
|
|
9558
9577
|
*/
|
|
9559
|
-
POST_PICKUP_STATE_CHANGED =
|
|
9578
|
+
POST_PICKUP_STATE_CHANGED = 57,
|
|
9560
9579
|
/**
|
|
9561
9580
|
* Fires from the `POST_RENDER` callback on every frame that a pit exists.
|
|
9562
9581
|
*
|
|
@@ -9568,7 +9587,7 @@ export declare enum ModCallbackCustom {
|
|
|
9568
9587
|
* function postPitRender(pit: GridEntityPit): void {}
|
|
9569
9588
|
* ```
|
|
9570
9589
|
*/
|
|
9571
|
-
POST_PIT_RENDER =
|
|
9590
|
+
POST_PIT_RENDER = 58,
|
|
9572
9591
|
/**
|
|
9573
9592
|
* Fires from the `POST_UPDATE` callback on every frame that a pit exists.
|
|
9574
9593
|
*
|
|
@@ -9580,7 +9599,7 @@ export declare enum ModCallbackCustom {
|
|
|
9580
9599
|
* function postPitUpdate(pit: GridEntityPit): void {}
|
|
9581
9600
|
* ```
|
|
9582
9601
|
*/
|
|
9583
|
-
POST_PIT_UPDATE =
|
|
9602
|
+
POST_PIT_UPDATE = 59,
|
|
9584
9603
|
/**
|
|
9585
9604
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's health (i.e. hearts) is
|
|
9586
9605
|
* different than what it was on the previous frame. For more information, see the `PlayerHealth`
|
|
@@ -9602,7 +9621,7 @@ export declare enum ModCallbackCustom {
|
|
|
9602
9621
|
* ): void {}
|
|
9603
9622
|
* ```
|
|
9604
9623
|
*/
|
|
9605
|
-
POST_PLAYER_CHANGE_HEALTH =
|
|
9624
|
+
POST_PLAYER_CHANGE_HEALTH = 60,
|
|
9606
9625
|
/**
|
|
9607
9626
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when one of the player's stats change
|
|
9608
9627
|
* from what they were on the previous frame.
|
|
@@ -9632,7 +9651,7 @@ export declare enum ModCallbackCustom {
|
|
|
9632
9651
|
* ) => void {}
|
|
9633
9652
|
* ```
|
|
9634
9653
|
*/
|
|
9635
|
-
POST_PLAYER_CHANGE_STAT =
|
|
9654
|
+
POST_PLAYER_CHANGE_STAT = 61,
|
|
9636
9655
|
/**
|
|
9637
9656
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player entity changes its player
|
|
9638
9657
|
* type
|
|
@@ -9655,7 +9674,7 @@ export declare enum ModCallbackCustom {
|
|
|
9655
9674
|
* ): void {}
|
|
9656
9675
|
* ```
|
|
9657
9676
|
*/
|
|
9658
|
-
POST_PLAYER_CHANGE_TYPE =
|
|
9677
|
+
POST_PLAYER_CHANGE_TYPE = 62,
|
|
9659
9678
|
/**
|
|
9660
9679
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
|
|
9661
9680
|
* higher than what it was on the previous frame, or when the active items change, or when the
|
|
@@ -9672,7 +9691,7 @@ export declare enum ModCallbackCustom {
|
|
|
9672
9691
|
* ): void {}
|
|
9673
9692
|
* ```
|
|
9674
9693
|
*/
|
|
9675
|
-
POST_PLAYER_COLLECTIBLE_ADDED =
|
|
9694
|
+
POST_PLAYER_COLLECTIBLE_ADDED = 63,
|
|
9676
9695
|
/**
|
|
9677
9696
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
|
|
9678
9697
|
* lower than what it was on the previous frame, or when the active items change, or when the
|
|
@@ -9689,7 +9708,7 @@ export declare enum ModCallbackCustom {
|
|
|
9689
9708
|
* ): void {}
|
|
9690
9709
|
* ```
|
|
9691
9710
|
*/
|
|
9692
|
-
POST_PLAYER_COLLECTIBLE_REMOVED =
|
|
9711
|
+
POST_PLAYER_COLLECTIBLE_REMOVED = 64,
|
|
9693
9712
|
/**
|
|
9694
9713
|
* Fires from the `ENTITY_TAKE_DMG` callback when a player takes fatal damage. Return false to
|
|
9695
9714
|
* prevent the fatal damage.
|
|
@@ -9707,7 +9726,7 @@ export declare enum ModCallbackCustom {
|
|
|
9707
9726
|
* function postPlayerFatalDamage(player: EntityPlayer): boolean | undefined {}
|
|
9708
9727
|
* ```
|
|
9709
9728
|
*/
|
|
9710
|
-
POST_PLAYER_FATAL_DAMAGE =
|
|
9729
|
+
POST_PLAYER_FATAL_DAMAGE = 65,
|
|
9711
9730
|
/**
|
|
9712
9731
|
* Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player, similar to the
|
|
9713
9732
|
* `POST_PLAYER_INIT_LATE` callback, with two changes:
|
|
@@ -9729,7 +9748,7 @@ export declare enum ModCallbackCustom {
|
|
|
9729
9748
|
* function postPlayerInitFirst(player: EntityPlayer): void {}
|
|
9730
9749
|
* ```
|
|
9731
9750
|
*/
|
|
9732
|
-
POST_PLAYER_INIT_FIRST =
|
|
9751
|
+
POST_PLAYER_INIT_FIRST = 66,
|
|
9733
9752
|
/**
|
|
9734
9753
|
* Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player.
|
|
9735
9754
|
*
|
|
@@ -9749,7 +9768,7 @@ export declare enum ModCallbackCustom {
|
|
|
9749
9768
|
* function postPlayerInitLate(pickup: EntityPickup): void {}
|
|
9750
9769
|
* ```
|
|
9751
9770
|
*/
|
|
9752
|
-
POST_PLAYER_INIT_LATE =
|
|
9771
|
+
POST_PLAYER_INIT_LATE = 67,
|
|
9753
9772
|
/**
|
|
9754
9773
|
* Similar to the vanilla callback of the same name, but fires after the `POST_GAME_STARTED`
|
|
9755
9774
|
* callback fires (if the player is spawning on the 0th game frame of the run).
|
|
@@ -9773,7 +9792,7 @@ export declare enum ModCallbackCustom {
|
|
|
9773
9792
|
* function postPlayerRenderReordered(player: EntityPlayer): void {}
|
|
9774
9793
|
* ```
|
|
9775
9794
|
*/
|
|
9776
|
-
POST_PLAYER_RENDER_REORDERED =
|
|
9795
|
+
POST_PLAYER_RENDER_REORDERED = 68,
|
|
9777
9796
|
/**
|
|
9778
9797
|
* Similar to the vanilla callback of the same name, but fires after the
|
|
9779
9798
|
* `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
|
|
@@ -9798,7 +9817,7 @@ export declare enum ModCallbackCustom {
|
|
|
9798
9817
|
* function postPlayerUpdateReordered(player: EntityPlayer): void {}
|
|
9799
9818
|
* ```
|
|
9800
9819
|
*/
|
|
9801
|
-
POST_PLAYER_UPDATE_REORDERED =
|
|
9820
|
+
POST_PLAYER_UPDATE_REORDERED = 69,
|
|
9802
9821
|
/**
|
|
9803
9822
|
* Fires from the `POST_RENDER` callback on every frame that a poop exists.
|
|
9804
9823
|
*
|
|
@@ -9810,7 +9829,7 @@ export declare enum ModCallbackCustom {
|
|
|
9810
9829
|
* function postPoopRender(poop: GridEntityPoop): void {}
|
|
9811
9830
|
* ```
|
|
9812
9831
|
*/
|
|
9813
|
-
POST_POOP_RENDER =
|
|
9832
|
+
POST_POOP_RENDER = 70,
|
|
9814
9833
|
/**
|
|
9815
9834
|
* Fires from the `POST_UPDATE` callback on every frame that a poop exists.
|
|
9816
9835
|
*
|
|
@@ -9822,7 +9841,7 @@ export declare enum ModCallbackCustom {
|
|
|
9822
9841
|
* function postPoopUpdate(poop: GridEntityPoop): void {}
|
|
9823
9842
|
* ```
|
|
9824
9843
|
*/
|
|
9825
|
-
POST_POOP_UPDATE =
|
|
9844
|
+
POST_POOP_UPDATE = 71,
|
|
9826
9845
|
/**
|
|
9827
9846
|
* Fires from the `POST_RENDER` callback on every frame that a pressure plate exists.
|
|
9828
9847
|
*
|
|
@@ -9834,7 +9853,7 @@ export declare enum ModCallbackCustom {
|
|
|
9834
9853
|
* function postPressurePlateRender(pressurePlate: GridEntityPressurePlate): void {}
|
|
9835
9854
|
* ```
|
|
9836
9855
|
*/
|
|
9837
|
-
POST_PRESSURE_PLATE_RENDER =
|
|
9856
|
+
POST_PRESSURE_PLATE_RENDER = 72,
|
|
9838
9857
|
/**
|
|
9839
9858
|
* Fires from the `POST_UPDATE` callback on every frame that a pressure plate exists.
|
|
9840
9859
|
*
|
|
@@ -9846,7 +9865,7 @@ export declare enum ModCallbackCustom {
|
|
|
9846
9865
|
* function postPressurePlateUpdate(pressurePlate: GridEntityPressurePlate): void {}
|
|
9847
9866
|
* ```
|
|
9848
9867
|
*/
|
|
9849
|
-
POST_PRESSURE_PLATE_UPDATE =
|
|
9868
|
+
POST_PRESSURE_PLATE_UPDATE = 73,
|
|
9850
9869
|
/**
|
|
9851
9870
|
* Fires on the first `POST_PROJECTILE_UPDATE` frame for each projectile.
|
|
9852
9871
|
*
|
|
@@ -9863,7 +9882,7 @@ export declare enum ModCallbackCustom {
|
|
|
9863
9882
|
* function postProjectileInitLate(projectile: EntityProjectile): void {}
|
|
9864
9883
|
* ```
|
|
9865
9884
|
*/
|
|
9866
|
-
POST_PROJECTILE_INIT_LATE =
|
|
9885
|
+
POST_PROJECTILE_INIT_LATE = 74,
|
|
9867
9886
|
/**
|
|
9868
9887
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player first picks up a new
|
|
9869
9888
|
* item. The pickup returned in the callback is assumed to be the first pickup that no longer
|
|
@@ -9879,7 +9898,7 @@ export declare enum ModCallbackCustom {
|
|
|
9879
9898
|
* function postPurchase(player: EntityPlayer, pickup: EntityPickup): void {}
|
|
9880
9899
|
* ```
|
|
9881
9900
|
*/
|
|
9882
|
-
POST_PURCHASE =
|
|
9901
|
+
POST_PURCHASE = 75,
|
|
9883
9902
|
/**
|
|
9884
9903
|
* Fires from the `POST_RENDER` callback on every frame that a rock exists.
|
|
9885
9904
|
*
|
|
@@ -9893,7 +9912,7 @@ export declare enum ModCallbackCustom {
|
|
|
9893
9912
|
* function postRockRender(rock: GridEntityRock): void {}
|
|
9894
9913
|
* ```
|
|
9895
9914
|
*/
|
|
9896
|
-
POST_ROCK_RENDER =
|
|
9915
|
+
POST_ROCK_RENDER = 76,
|
|
9897
9916
|
/**
|
|
9898
9917
|
* Fires from the `POST_UPDATE` callback on every frame that a rock exists.
|
|
9899
9918
|
*
|
|
@@ -9907,7 +9926,7 @@ export declare enum ModCallbackCustom {
|
|
|
9907
9926
|
* function postRockUpdate(rock: GridEntityRock): void {}
|
|
9908
9927
|
* ```
|
|
9909
9928
|
*/
|
|
9910
|
-
POST_ROCK_UPDATE =
|
|
9929
|
+
POST_ROCK_UPDATE = 77,
|
|
9911
9930
|
/**
|
|
9912
9931
|
* Fires from the `POST_UPDATE` callback when the clear state of a room changes (as according to
|
|
9913
9932
|
* the `Room.IsClear` method).
|
|
@@ -9924,7 +9943,7 @@ export declare enum ModCallbackCustom {
|
|
|
9924
9943
|
* function postRoomClearChanged(roomClear: boolean): void {}
|
|
9925
9944
|
* ```
|
|
9926
9945
|
*/
|
|
9927
|
-
POST_ROOM_CLEAR_CHANGED =
|
|
9946
|
+
POST_ROOM_CLEAR_CHANGED = 78,
|
|
9928
9947
|
/**
|
|
9929
9948
|
* Fires from the `ENTITY_TAKE_DMG` callback when a player takes damage from spikes in a Sacrifice
|
|
9930
9949
|
* Room.
|
|
@@ -9939,7 +9958,7 @@ export declare enum ModCallbackCustom {
|
|
|
9939
9958
|
* function postSacrifice(player: EntityPlayer, numSacrifices: int): void {}
|
|
9940
9959
|
* ```
|
|
9941
9960
|
*/
|
|
9942
|
-
POST_SACRIFICE =
|
|
9961
|
+
POST_SACRIFICE = 79,
|
|
9943
9962
|
/**
|
|
9944
9963
|
* Fires from the `POST_RENDER` callback when a slot entity's animation changes.
|
|
9945
9964
|
*
|
|
@@ -9953,7 +9972,7 @@ export declare enum ModCallbackCustom {
|
|
|
9953
9972
|
* function postSlotAnimationChanged(slot: Entity): void {}
|
|
9954
9973
|
* ```
|
|
9955
9974
|
*/
|
|
9956
|
-
POST_SLOT_ANIMATION_CHANGED =
|
|
9975
|
+
POST_SLOT_ANIMATION_CHANGED = 80,
|
|
9957
9976
|
/**
|
|
9958
9977
|
* Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
|
|
9959
9978
|
* (It will not fire if any other type of entity collides with the slot entity.)
|
|
@@ -9977,7 +9996,7 @@ export declare enum ModCallbackCustom {
|
|
|
9977
9996
|
* ): void {}
|
|
9978
9997
|
* ```
|
|
9979
9998
|
*/
|
|
9980
|
-
POST_SLOT_COLLISION =
|
|
9999
|
+
POST_SLOT_COLLISION = 81,
|
|
9981
10000
|
/**
|
|
9982
10001
|
* Fires from the `POST_RENDER` callback when a slot plays the animation that indicates that it
|
|
9983
10002
|
* has broken.
|
|
@@ -9992,7 +10011,7 @@ export declare enum ModCallbackCustom {
|
|
|
9992
10011
|
* function postSlotDestroyed(slot: Entity, slotDestructionType: SlotDestructionType): void {}
|
|
9993
10012
|
* ```
|
|
9994
10013
|
*/
|
|
9995
|
-
POST_SLOT_DESTROYED =
|
|
10014
|
+
POST_SLOT_DESTROYED = 82,
|
|
9996
10015
|
/**
|
|
9997
10016
|
* Fires when a new slot entity is initialized. Specifically, this is either:
|
|
9998
10017
|
*
|
|
@@ -10011,7 +10030,7 @@ export declare enum ModCallbackCustom {
|
|
|
10011
10030
|
* function postSlotInit(slot: Entity): void {}
|
|
10012
10031
|
* ```
|
|
10013
10032
|
*/
|
|
10014
|
-
POST_SLOT_INIT =
|
|
10033
|
+
POST_SLOT_INIT = 83,
|
|
10015
10034
|
/**
|
|
10016
10035
|
* Fires from the `POST_RENDER` callback on every frame that a slot entity exists.
|
|
10017
10036
|
*
|
|
@@ -10025,7 +10044,7 @@ export declare enum ModCallbackCustom {
|
|
|
10025
10044
|
* function postSlotRender(slot: Entity): void {}
|
|
10026
10045
|
* ```
|
|
10027
10046
|
*/
|
|
10028
|
-
POST_SLOT_RENDER =
|
|
10047
|
+
POST_SLOT_RENDER = 84,
|
|
10029
10048
|
/**
|
|
10030
10049
|
* Fires from the `POST_UPDATE` callback on every frame that a slot entity exists.
|
|
10031
10050
|
*
|
|
@@ -10039,7 +10058,7 @@ export declare enum ModCallbackCustom {
|
|
|
10039
10058
|
* function postSlotUpdate(slot: Entity): void {}
|
|
10040
10059
|
* ```
|
|
10041
10060
|
*/
|
|
10042
|
-
POST_SLOT_UPDATE =
|
|
10061
|
+
POST_SLOT_UPDATE = 85,
|
|
10043
10062
|
/**
|
|
10044
10063
|
* Fires from the `POST_RENDER` callback on every frame that spikes exist.
|
|
10045
10064
|
*
|
|
@@ -10051,7 +10070,7 @@ export declare enum ModCallbackCustom {
|
|
|
10051
10070
|
* function postSpikesRender(spikes: GridEntitySpikes): void {}
|
|
10052
10071
|
* ```
|
|
10053
10072
|
*/
|
|
10054
|
-
POST_SPIKES_RENDER =
|
|
10073
|
+
POST_SPIKES_RENDER = 86,
|
|
10055
10074
|
/**
|
|
10056
10075
|
* Fires from the `POST_UPDATE` callback on every frame that spikes exist.
|
|
10057
10076
|
*
|
|
@@ -10063,7 +10082,7 @@ export declare enum ModCallbackCustom {
|
|
|
10063
10082
|
* function postSpikesUpdate(spikes: GridEntitySpikes): void {}
|
|
10064
10083
|
* ```
|
|
10065
10084
|
*/
|
|
10066
|
-
POST_SPIKES_UPDATE =
|
|
10085
|
+
POST_SPIKES_UPDATE = 87,
|
|
10067
10086
|
/**
|
|
10068
10087
|
* Fires on the first `POST_TEAR_UPDATE` frame for each tear (which is when
|
|
10069
10088
|
* `EntityTear.FrameCount` is equal to 0).
|
|
@@ -10081,7 +10100,7 @@ export declare enum ModCallbackCustom {
|
|
|
10081
10100
|
* function postTearInitLate(tear: EntityTear): void {}
|
|
10082
10101
|
* ```
|
|
10083
10102
|
*/
|
|
10084
|
-
POST_TEAR_INIT_LATE =
|
|
10103
|
+
POST_TEAR_INIT_LATE = 88,
|
|
10085
10104
|
/**
|
|
10086
10105
|
* Fires on the second `POST_TEAR_UPDATE` frame for each tear (which is when
|
|
10087
10106
|
* `EntityTear.FrameCount` is equal to 1).
|
|
@@ -10098,7 +10117,7 @@ export declare enum ModCallbackCustom {
|
|
|
10098
10117
|
* function postTearInitVeryLate(tear: EntityTear): void {}
|
|
10099
10118
|
* ```
|
|
10100
10119
|
*/
|
|
10101
|
-
POST_TEAR_INIT_VERY_LATE =
|
|
10120
|
+
POST_TEAR_INIT_VERY_LATE = 89,
|
|
10102
10121
|
/**
|
|
10103
10122
|
* Fires from the `POST_RENDER` callback on every frame that a TNT exists.
|
|
10104
10123
|
*
|
|
@@ -10110,7 +10129,7 @@ export declare enum ModCallbackCustom {
|
|
|
10110
10129
|
* function postTNTRender(tnt: GridEntityTNT): void {}
|
|
10111
10130
|
* ```
|
|
10112
10131
|
*/
|
|
10113
|
-
POST_TNT_RENDER =
|
|
10132
|
+
POST_TNT_RENDER = 90,
|
|
10114
10133
|
/**
|
|
10115
10134
|
* Fires from the `POST_UPDATE` callback on every frame that a TNT exists.
|
|
10116
10135
|
*
|
|
@@ -10122,7 +10141,7 @@ export declare enum ModCallbackCustom {
|
|
|
10122
10141
|
* function postTNTUpdate(tnt: GridEntityTNT): void {}
|
|
10123
10142
|
* ```
|
|
10124
10143
|
*/
|
|
10125
|
-
POST_TNT_UPDATE =
|
|
10144
|
+
POST_TNT_UPDATE = 91,
|
|
10126
10145
|
/**
|
|
10127
10146
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player gains or loses a new
|
|
10128
10147
|
* transformation.
|
|
@@ -10141,7 +10160,7 @@ export declare enum ModCallbackCustom {
|
|
|
10141
10160
|
* ): void {}
|
|
10142
10161
|
* ```
|
|
10143
10162
|
*/
|
|
10144
|
-
POST_TRANSFORMATION =
|
|
10163
|
+
POST_TRANSFORMATION = 92,
|
|
10145
10164
|
/**
|
|
10146
10165
|
* Fires from `ENTITY_TAKE_DMG` callback when a Wishbone or a Walnut breaks.
|
|
10147
10166
|
*
|
|
@@ -10156,7 +10175,7 @@ export declare enum ModCallbackCustom {
|
|
|
10156
10175
|
* ): void {}
|
|
10157
10176
|
* ```
|
|
10158
10177
|
*/
|
|
10159
|
-
POST_TRINKET_BREAK =
|
|
10178
|
+
POST_TRINKET_BREAK = 93,
|
|
10160
10179
|
/**
|
|
10161
10180
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback on the frame before a Berserk effect
|
|
10162
10181
|
* ends when the player is predicted to die (e.g. they currently have no health left or they took
|
|
@@ -10172,7 +10191,7 @@ export declare enum ModCallbackCustom {
|
|
|
10172
10191
|
* function preBerserkDeath(player: EntityPlayer): void {}
|
|
10173
10192
|
* ```
|
|
10174
10193
|
*/
|
|
10175
|
-
PRE_BERSERK_DEATH =
|
|
10194
|
+
PRE_BERSERK_DEATH = 94,
|
|
10176
10195
|
/**
|
|
10177
10196
|
* Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
|
|
10178
10197
|
* to initiate a custom revival, return an integer that corresponds to the item or type of revival
|
|
@@ -10191,7 +10210,7 @@ export declare enum ModCallbackCustom {
|
|
|
10191
10210
|
* function preCustomRevive(player: EntityPlayer): int | undefined {}
|
|
10192
10211
|
* ```
|
|
10193
10212
|
*/
|
|
10194
|
-
PRE_CUSTOM_REVIVE =
|
|
10213
|
+
PRE_CUSTOM_REVIVE = 95,
|
|
10195
10214
|
/**
|
|
10196
10215
|
* Fires from the `PRE_PICKUP_COLLISION` callback when a player touches a collectible pedestal and
|
|
10197
10216
|
* meets all of the conditions to pick it up.
|
|
@@ -10211,7 +10230,7 @@ export declare enum ModCallbackCustom {
|
|
|
10211
10230
|
* function preGetPedestal(player: EntityPlayer, collectible: EntityPickupCollectible): void {}
|
|
10212
10231
|
* ```
|
|
10213
10232
|
*/
|
|
10214
|
-
PRE_GET_PEDESTAL =
|
|
10233
|
+
PRE_GET_PEDESTAL = 96,
|
|
10215
10234
|
/**
|
|
10216
10235
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item becomes queued (i.e. when
|
|
10217
10236
|
* the player begins to hold the item above their head).
|
|
@@ -10231,7 +10250,7 @@ export declare enum ModCallbackCustom {
|
|
|
10231
10250
|
* ): void {}
|
|
10232
10251
|
* ```
|
|
10233
10252
|
*/
|
|
10234
|
-
PRE_ITEM_PICKUP =
|
|
10253
|
+
PRE_ITEM_PICKUP = 97,
|
|
10235
10254
|
/**
|
|
10236
10255
|
* Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
|
|
10237
10256
|
* player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
|
|
@@ -10245,7 +10264,7 @@ export declare enum ModCallbackCustom {
|
|
|
10245
10264
|
* function preNewLevel(player: EntityPlayer): void {}
|
|
10246
10265
|
* ```
|
|
10247
10266
|
*/
|
|
10248
|
-
PRE_NEW_LEVEL =
|
|
10267
|
+
PRE_NEW_LEVEL = 98,
|
|
10249
10268
|
/**
|
|
10250
10269
|
* The exact same thing as the vanilla `PRE_NPC_COLLISION` callback, except this callback allows
|
|
10251
10270
|
* you to specify extra arguments for additional filtration.
|
|
@@ -10258,7 +10277,7 @@ export declare enum ModCallbackCustom {
|
|
|
10258
10277
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
10259
10278
|
* matches the sub-type provided.
|
|
10260
10279
|
*/
|
|
10261
|
-
PRE_NPC_COLLISION_FILTER =
|
|
10280
|
+
PRE_NPC_COLLISION_FILTER = 99,
|
|
10262
10281
|
/**
|
|
10263
10282
|
* The exact same thing as the vanilla `PRE_NPC_UPDATE` callback, except this callback allows you
|
|
10264
10283
|
* to specify extra arguments for additional filtration.
|
|
@@ -10271,7 +10290,7 @@ export declare enum ModCallbackCustom {
|
|
|
10271
10290
|
* - You can provide an optional fifth argument that will make the callback only fire if it
|
|
10272
10291
|
* matches the sub-type provided.
|
|
10273
10292
|
*/
|
|
10274
|
-
PRE_NPC_UPDATE_FILTER =
|
|
10293
|
+
PRE_NPC_UPDATE_FILTER = 100
|
|
10275
10294
|
}
|
|
10276
10295
|
|
|
10277
10296
|
/**
|
|
@@ -12667,6 +12686,9 @@ export declare function removeTrinketCostume(player: EntityPlayer, trinketType:
|
|
|
12667
12686
|
*/
|
|
12668
12687
|
export declare function removeUrnRewards(gridEntity: GridEntity): void;
|
|
12669
12688
|
|
|
12689
|
+
/** Render frames are what is returned by the `Isaac.GetFrameCount` method. */
|
|
12690
|
+
export declare const RENDER_FRAMES_PER_MINUTE: number;
|
|
12691
|
+
|
|
12670
12692
|
/** Render frames are what is returned by the `Isaac.GetFrameCount` method. */
|
|
12671
12693
|
export declare const RENDER_FRAMES_PER_SECOND = 60;
|
|
12672
12694
|
|