isaacscript-common 29.1.0 → 29.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.rollup.d.ts +58 -14
- package/dist/isaacscript-common.lua +199 -124
- 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 +15 -14
- package/dist/src/callbacks.d.ts.map +1 -1
- package/dist/src/callbacks.lua +1 -0
- package/dist/src/classes/callbacks/PostUsePillFilter.d.ts +20 -0
- package/dist/src/classes/callbacks/PostUsePillFilter.d.ts.map +1 -0
- package/dist/src/classes/callbacks/PostUsePillFilter.lua +49 -0
- package/dist/src/enums/ModCallbackCustom.d.ts +37 -14
- package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/src/enums/ModCallbackCustom.lua +16 -14
- package/dist/src/functions/doors.d.ts +1 -0
- package/dist/src/functions/doors.d.ts.map +1 -1
- package/dist/src/functions/doors.lua +1 -0
- package/dist/src/functions/playerDataStructures.d.ts +5 -0
- package/dist/src/functions/playerDataStructures.d.ts.map +1 -1
- package/dist/src/functions/playerDataStructures.lua +6 -0
- package/dist/src/functions/pocketItems.d.ts +7 -0
- package/dist/src/functions/pocketItems.d.ts.map +1 -1
- package/dist/src/functions/pocketItems.lua +17 -0
- package/dist/src/indexLua.d.ts +186 -0
- package/dist/src/indexLua.d.ts.map +1 -0
- package/dist/src/indexLua.lua +1114 -0
- package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +6 -1
- 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/PostUsePillFilter.ts +75 -0
- package/src/enums/ModCallbackCustom.ts +24 -0
- package/src/functions/doors.ts +1 -0
- package/src/functions/playerDataStructures.ts +12 -0
- package/src/functions/pocketItems.ts +23 -0
- package/src/interfaces/private/AddCallbackParametersCustom.ts +14 -0
package/dist/index.rollup.d.ts
CHANGED
|
@@ -670,6 +670,11 @@ declare interface AddCallbackParametersCustom {
|
|
|
670
670
|
callback: (player: EntityPlayer, trinketType: TrinketType) => void,
|
|
671
671
|
trinketType?: TrinketType
|
|
672
672
|
];
|
|
673
|
+
[ModCallbackCustom.POST_USE_PILL_FILTER]: [
|
|
674
|
+
callback: (pillEffect: PillEffect, pillColor: PillColor, player: EntityPlayer, useFlags: BitFlags<UseFlag>) => void,
|
|
675
|
+
pillEffect?: PillEffect,
|
|
676
|
+
pillColor?: PillColor
|
|
677
|
+
];
|
|
673
678
|
[ModCallbackCustom.PRE_BERSERK_DEATH]: [
|
|
674
679
|
callback: (player: EntityPlayer) => void,
|
|
675
680
|
playerVariant?: PlayerVariant,
|
|
@@ -5133,8 +5138,17 @@ export declare function getFinalPlayer(): EntityPlayer;
|
|
|
5133
5138
|
*/
|
|
5134
5139
|
export declare function getFireDelay(tearsStat: float): float;
|
|
5135
5140
|
|
|
5141
|
+
/** Helper item to get the first card that a player is holding in their pocket item slots. */
|
|
5142
|
+
export declare function getFirstCard(player: EntityPlayer): PocketItemDescription | undefined;
|
|
5143
|
+
|
|
5144
|
+
/**
|
|
5145
|
+
* Helper item to get the first card or pill that a player is holding in their pocket item slots.
|
|
5146
|
+
*/
|
|
5136
5147
|
export declare function getFirstCardOrPill(player: EntityPlayer): PocketItemDescription | undefined;
|
|
5137
5148
|
|
|
5149
|
+
/** Helper item to get the first pill that a player is holding in their pocket item slots. */
|
|
5150
|
+
export declare function getFirstPill(player: EntityPlayer): PocketItemDescription | undefined;
|
|
5151
|
+
|
|
5138
5152
|
/**
|
|
5139
5153
|
* Helper function to get the key associated with a particular flag.
|
|
5140
5154
|
*
|
|
@@ -9102,6 +9116,12 @@ export declare type LowercaseKeys<T> = StartsWithLowercase<keyof T>;
|
|
|
9102
9116
|
*/
|
|
9103
9117
|
export declare function map<T, U>(array: T[], func: (value: T, index: number, array: T[]) => U): U[];
|
|
9104
9118
|
|
|
9119
|
+
/**
|
|
9120
|
+
* Helper function to make using maps with an type of `PlayerIndex` easier. Use this instead of the
|
|
9121
|
+
* `Map.delete` method if you have a set of this type.
|
|
9122
|
+
*/
|
|
9123
|
+
export declare function mapDeletePlayer(map: Map<PlayerIndex, unknown>, player: EntityPlayer): boolean;
|
|
9124
|
+
|
|
9105
9125
|
/**
|
|
9106
9126
|
* Helper function to make using maps with an index of `PlayerIndex` easier. Use this instead of the
|
|
9107
9127
|
* `Map.get` method if you have a map of this type.
|
|
@@ -11409,6 +11429,29 @@ export declare enum ModCallbackCustom {
|
|
|
11409
11429
|
* ```
|
|
11410
11430
|
*/
|
|
11411
11431
|
POST_TRINKET_BREAK = 123,
|
|
11432
|
+
/**
|
|
11433
|
+
* The same thing as the vanilla `POST_USE_PILL` callback, except this callback passes the
|
|
11434
|
+
* `PillColor` of the used pill as the final argument. It allows you to filter by the `PillColor`.
|
|
11435
|
+
*
|
|
11436
|
+
* In order to accomplish this, this callback tracks the held pills of the player on every frame.
|
|
11437
|
+
* If a matching `PillColor` could not be found, this callback passes `PillColor.NULL` (0).
|
|
11438
|
+
*
|
|
11439
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
11440
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
11441
|
+
* matches the `PillEffect` provided.
|
|
11442
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
11443
|
+
* matches the `PillColor` provided.
|
|
11444
|
+
*
|
|
11445
|
+
* ```ts
|
|
11446
|
+
* function postUsePillFilter(
|
|
11447
|
+
* pillEffect: PillEffect,
|
|
11448
|
+
* pillColor: PillColor,
|
|
11449
|
+
* player: EntityPlayer,
|
|
11450
|
+
* useFlags: BitFlags<UseFlag>,
|
|
11451
|
+
* ): void {}
|
|
11452
|
+
* ```
|
|
11453
|
+
*/
|
|
11454
|
+
POST_USE_PILL_FILTER = 124,
|
|
11412
11455
|
/**
|
|
11413
11456
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback on the frame before a Berserk effect
|
|
11414
11457
|
* ends when the player is predicted to die (e.g. they currently have no health left or they took
|
|
@@ -11424,7 +11467,7 @@ export declare enum ModCallbackCustom {
|
|
|
11424
11467
|
* function preBerserkDeath(player: EntityPlayer): void {}
|
|
11425
11468
|
* ```
|
|
11426
11469
|
*/
|
|
11427
|
-
PRE_BERSERK_DEATH =
|
|
11470
|
+
PRE_BERSERK_DEATH = 125,
|
|
11428
11471
|
/**
|
|
11429
11472
|
* The exact same thing as the vanilla `PRE_BOMB_COLLISION` callback, except this callback allows
|
|
11430
11473
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11443,7 +11486,7 @@ export declare enum ModCallbackCustom {
|
|
|
11443
11486
|
* ): void {}
|
|
11444
11487
|
* ```
|
|
11445
11488
|
*/
|
|
11446
|
-
PRE_BOMB_COLLISION_FILTER =
|
|
11489
|
+
PRE_BOMB_COLLISION_FILTER = 126,
|
|
11447
11490
|
/**
|
|
11448
11491
|
* Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
|
|
11449
11492
|
* to initiate a custom revival, return an integer that corresponds to the item or type of revival
|
|
@@ -11462,7 +11505,7 @@ export declare enum ModCallbackCustom {
|
|
|
11462
11505
|
* function preCustomRevive(player: EntityPlayer): int | undefined {}
|
|
11463
11506
|
* ```
|
|
11464
11507
|
*/
|
|
11465
|
-
PRE_CUSTOM_REVIVE =
|
|
11508
|
+
PRE_CUSTOM_REVIVE = 127,
|
|
11466
11509
|
/**
|
|
11467
11510
|
* The exact same thing as the vanilla `PRE_ENTITY_SPAWN` callback, except this callback allows
|
|
11468
11511
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11487,7 +11530,7 @@ export declare enum ModCallbackCustom {
|
|
|
11487
11530
|
* ): [EntityType, int, int, int] | undefined {}
|
|
11488
11531
|
* ```
|
|
11489
11532
|
*/
|
|
11490
|
-
PRE_ENTITY_SPAWN_FILTER =
|
|
11533
|
+
PRE_ENTITY_SPAWN_FILTER = 128,
|
|
11491
11534
|
/**
|
|
11492
11535
|
* The exact same thing as the vanilla `PRE_FAMILIAR_COLLISION` callback, except this callback
|
|
11493
11536
|
* allows you to specify extra arguments for additional filtration.
|
|
@@ -11506,7 +11549,7 @@ export declare enum ModCallbackCustom {
|
|
|
11506
11549
|
* ): void {}
|
|
11507
11550
|
* ```
|
|
11508
11551
|
*/
|
|
11509
|
-
PRE_FAMILIAR_COLLISION_FILTER =
|
|
11552
|
+
PRE_FAMILIAR_COLLISION_FILTER = 129,
|
|
11510
11553
|
/**
|
|
11511
11554
|
* Fires from the `PRE_PICKUP_COLLISION` callback when a player touches a collectible pedestal and
|
|
11512
11555
|
* meets all of the conditions to pick it up.
|
|
@@ -11526,7 +11569,7 @@ export declare enum ModCallbackCustom {
|
|
|
11526
11569
|
* function preGetPedestal(player: EntityPlayer, collectible: EntityPickupCollectible): void {}
|
|
11527
11570
|
* ```
|
|
11528
11571
|
*/
|
|
11529
|
-
PRE_GET_PEDESTAL =
|
|
11572
|
+
PRE_GET_PEDESTAL = 130,
|
|
11530
11573
|
/**
|
|
11531
11574
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item becomes queued (i.e. when
|
|
11532
11575
|
* the player begins to hold the item above their head).
|
|
@@ -11546,7 +11589,7 @@ export declare enum ModCallbackCustom {
|
|
|
11546
11589
|
* ): void {}
|
|
11547
11590
|
* ```
|
|
11548
11591
|
*/
|
|
11549
|
-
PRE_ITEM_PICKUP =
|
|
11592
|
+
PRE_ITEM_PICKUP = 131,
|
|
11550
11593
|
/**
|
|
11551
11594
|
* The exact same thing as the vanilla `PRE_KNIFE_COLLISION` callback, except this callback allows
|
|
11552
11595
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11565,7 +11608,7 @@ export declare enum ModCallbackCustom {
|
|
|
11565
11608
|
* ): void {}
|
|
11566
11609
|
* ```
|
|
11567
11610
|
*/
|
|
11568
|
-
PRE_KNIFE_COLLISION_FILTER =
|
|
11611
|
+
PRE_KNIFE_COLLISION_FILTER = 132,
|
|
11569
11612
|
/**
|
|
11570
11613
|
* Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
|
|
11571
11614
|
* player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
|
|
@@ -11579,7 +11622,7 @@ export declare enum ModCallbackCustom {
|
|
|
11579
11622
|
* function preNewLevel(player: EntityPlayer): void {}
|
|
11580
11623
|
* ```
|
|
11581
11624
|
*/
|
|
11582
|
-
PRE_NEW_LEVEL =
|
|
11625
|
+
PRE_NEW_LEVEL = 133,
|
|
11583
11626
|
/**
|
|
11584
11627
|
* The exact same thing as the vanilla `PRE_NPC_COLLISION` callback, except this callback allows
|
|
11585
11628
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11600,7 +11643,7 @@ export declare enum ModCallbackCustom {
|
|
|
11600
11643
|
* ): boolean | undefined {}
|
|
11601
11644
|
* ```
|
|
11602
11645
|
*/
|
|
11603
|
-
PRE_NPC_COLLISION_FILTER =
|
|
11646
|
+
PRE_NPC_COLLISION_FILTER = 134,
|
|
11604
11647
|
/**
|
|
11605
11648
|
* The exact same thing as the vanilla `PRE_NPC_UPDATE` callback, except this callback allows you
|
|
11606
11649
|
* to specify extra arguments for additional filtration.
|
|
@@ -11617,7 +11660,7 @@ export declare enum ModCallbackCustom {
|
|
|
11617
11660
|
* function preNPCUpdateFilter(entity: Entity): boolean | undefined {}
|
|
11618
11661
|
* ```
|
|
11619
11662
|
*/
|
|
11620
|
-
PRE_NPC_UPDATE_FILTER =
|
|
11663
|
+
PRE_NPC_UPDATE_FILTER = 135,
|
|
11621
11664
|
/**
|
|
11622
11665
|
* The exact same thing as the vanilla `PRE_PROJECTILE_COLLISION` callback, except this callback
|
|
11623
11666
|
* allows you to specify extra arguments for additional filtration.
|
|
@@ -11636,7 +11679,7 @@ export declare enum ModCallbackCustom {
|
|
|
11636
11679
|
* ): void {}
|
|
11637
11680
|
* ```
|
|
11638
11681
|
*/
|
|
11639
|
-
PRE_PROJECTILE_COLLISION_FILTER =
|
|
11682
|
+
PRE_PROJECTILE_COLLISION_FILTER = 136,
|
|
11640
11683
|
/**
|
|
11641
11684
|
* The exact same thing as the vanilla `PRE_ROOM_ENTITY_SPAWN` callback, except this callback
|
|
11642
11685
|
* allows you to specify extra arguments for additional filtration.
|
|
@@ -11659,7 +11702,7 @@ export declare enum ModCallbackCustom {
|
|
|
11659
11702
|
* ): [EntityType | GridEntityXMLType, int, int] | undefined {}
|
|
11660
11703
|
* ```
|
|
11661
11704
|
*/
|
|
11662
|
-
PRE_ROOM_ENTITY_SPAWN_FILTER =
|
|
11705
|
+
PRE_ROOM_ENTITY_SPAWN_FILTER = 137,
|
|
11663
11706
|
/**
|
|
11664
11707
|
* The exact same thing as the vanilla `PRE_TEAR_COLLISION` callback, except this callback allows
|
|
11665
11708
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11678,7 +11721,7 @@ export declare enum ModCallbackCustom {
|
|
|
11678
11721
|
* ): void {}
|
|
11679
11722
|
* ```
|
|
11680
11723
|
*/
|
|
11681
|
-
PRE_TEAR_COLLISION_FILTER =
|
|
11724
|
+
PRE_TEAR_COLLISION_FILTER = 138
|
|
11682
11725
|
}
|
|
11683
11726
|
|
|
11684
11727
|
/**
|
|
@@ -13748,6 +13791,7 @@ export declare function removeAllCrawlSpaces(crawlSpaceVariant?: CrawlSpaceVaria
|
|
|
13748
13791
|
* specified room types.
|
|
13749
13792
|
*
|
|
13750
13793
|
* @returns The number of doors removed.
|
|
13794
|
+
* @allowEmptyVariadic
|
|
13751
13795
|
*/
|
|
13752
13796
|
export declare function removeAllDoors(...roomTypes: RoomType[]): int;
|
|
13753
13797
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 29.
|
|
3
|
+
isaacscript-common 29.2.0
|
|
4
4
|
|
|
5
5
|
This is the "isaacscript-common" library, which was created with the IsaacScript tool.
|
|
6
6
|
|
|
@@ -2764,33 +2764,35 @@ ____exports.ModCallbackCustom.POST_TRANSFORMATION = 122
|
|
|
2764
2764
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_TRANSFORMATION] = "POST_TRANSFORMATION"
|
|
2765
2765
|
____exports.ModCallbackCustom.POST_TRINKET_BREAK = 123
|
|
2766
2766
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_TRINKET_BREAK] = "POST_TRINKET_BREAK"
|
|
2767
|
-
____exports.ModCallbackCustom.
|
|
2767
|
+
____exports.ModCallbackCustom.POST_USE_PILL_FILTER = 124
|
|
2768
|
+
____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_USE_PILL_FILTER] = "POST_USE_PILL_FILTER"
|
|
2769
|
+
____exports.ModCallbackCustom.PRE_BERSERK_DEATH = 125
|
|
2768
2770
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_BERSERK_DEATH] = "PRE_BERSERK_DEATH"
|
|
2769
|
-
____exports.ModCallbackCustom.PRE_BOMB_COLLISION_FILTER =
|
|
2771
|
+
____exports.ModCallbackCustom.PRE_BOMB_COLLISION_FILTER = 126
|
|
2770
2772
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_BOMB_COLLISION_FILTER] = "PRE_BOMB_COLLISION_FILTER"
|
|
2771
|
-
____exports.ModCallbackCustom.PRE_CUSTOM_REVIVE =
|
|
2773
|
+
____exports.ModCallbackCustom.PRE_CUSTOM_REVIVE = 127
|
|
2772
2774
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_CUSTOM_REVIVE] = "PRE_CUSTOM_REVIVE"
|
|
2773
|
-
____exports.ModCallbackCustom.PRE_ENTITY_SPAWN_FILTER =
|
|
2775
|
+
____exports.ModCallbackCustom.PRE_ENTITY_SPAWN_FILTER = 128
|
|
2774
2776
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_ENTITY_SPAWN_FILTER] = "PRE_ENTITY_SPAWN_FILTER"
|
|
2775
|
-
____exports.ModCallbackCustom.PRE_FAMILIAR_COLLISION_FILTER =
|
|
2777
|
+
____exports.ModCallbackCustom.PRE_FAMILIAR_COLLISION_FILTER = 129
|
|
2776
2778
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_FAMILIAR_COLLISION_FILTER] = "PRE_FAMILIAR_COLLISION_FILTER"
|
|
2777
|
-
____exports.ModCallbackCustom.PRE_GET_PEDESTAL =
|
|
2779
|
+
____exports.ModCallbackCustom.PRE_GET_PEDESTAL = 130
|
|
2778
2780
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_GET_PEDESTAL] = "PRE_GET_PEDESTAL"
|
|
2779
|
-
____exports.ModCallbackCustom.PRE_ITEM_PICKUP =
|
|
2781
|
+
____exports.ModCallbackCustom.PRE_ITEM_PICKUP = 131
|
|
2780
2782
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_ITEM_PICKUP] = "PRE_ITEM_PICKUP"
|
|
2781
|
-
____exports.ModCallbackCustom.PRE_KNIFE_COLLISION_FILTER =
|
|
2783
|
+
____exports.ModCallbackCustom.PRE_KNIFE_COLLISION_FILTER = 132
|
|
2782
2784
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_KNIFE_COLLISION_FILTER] = "PRE_KNIFE_COLLISION_FILTER"
|
|
2783
|
-
____exports.ModCallbackCustom.PRE_NEW_LEVEL =
|
|
2785
|
+
____exports.ModCallbackCustom.PRE_NEW_LEVEL = 133
|
|
2784
2786
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_NEW_LEVEL] = "PRE_NEW_LEVEL"
|
|
2785
|
-
____exports.ModCallbackCustom.PRE_NPC_COLLISION_FILTER =
|
|
2787
|
+
____exports.ModCallbackCustom.PRE_NPC_COLLISION_FILTER = 134
|
|
2786
2788
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_NPC_COLLISION_FILTER] = "PRE_NPC_COLLISION_FILTER"
|
|
2787
|
-
____exports.ModCallbackCustom.PRE_NPC_UPDATE_FILTER =
|
|
2789
|
+
____exports.ModCallbackCustom.PRE_NPC_UPDATE_FILTER = 135
|
|
2788
2790
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_NPC_UPDATE_FILTER] = "PRE_NPC_UPDATE_FILTER"
|
|
2789
|
-
____exports.ModCallbackCustom.PRE_PROJECTILE_COLLISION_FILTER =
|
|
2791
|
+
____exports.ModCallbackCustom.PRE_PROJECTILE_COLLISION_FILTER = 136
|
|
2790
2792
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_PROJECTILE_COLLISION_FILTER] = "PRE_PROJECTILE_COLLISION_FILTER"
|
|
2791
|
-
____exports.ModCallbackCustom.PRE_ROOM_ENTITY_SPAWN_FILTER =
|
|
2793
|
+
____exports.ModCallbackCustom.PRE_ROOM_ENTITY_SPAWN_FILTER = 137
|
|
2792
2794
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_ROOM_ENTITY_SPAWN_FILTER] = "PRE_ROOM_ENTITY_SPAWN_FILTER"
|
|
2793
|
-
____exports.ModCallbackCustom.PRE_TEAR_COLLISION_FILTER =
|
|
2795
|
+
____exports.ModCallbackCustom.PRE_TEAR_COLLISION_FILTER = 138
|
|
2794
2796
|
____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_TEAR_COLLISION_FILTER] = "PRE_TEAR_COLLISION_FILTER"
|
|
2795
2797
|
return ____exports
|
|
2796
2798
|
end,
|
|
@@ -21894,6 +21896,10 @@ end
|
|
|
21894
21896
|
function ____exports.defaultMapSetPlayer(self, map, player, value)
|
|
21895
21897
|
____exports.mapSetPlayer(nil, map, player, value)
|
|
21896
21898
|
end
|
|
21899
|
+
function ____exports.mapDeletePlayer(self, map, player)
|
|
21900
|
+
local playerIndex = getPlayerIndex(nil, player)
|
|
21901
|
+
return map:delete(playerIndex)
|
|
21902
|
+
end
|
|
21897
21903
|
function ____exports.mapGetPlayer(self, map, player)
|
|
21898
21904
|
local playerIndex = getPlayerIndex(nil, player)
|
|
21899
21905
|
return map:get(playerIndex)
|
|
@@ -32080,6 +32086,178 @@ function PostTrinketBreak.prototype.____constructor(self)
|
|
|
32080
32086
|
end
|
|
32081
32087
|
self.customCallbacksUsed = {{ModCallbackCustom.ENTITY_TAKE_DMG_PLAYER, self.entityTakeDmgPlayer}, {ModCallbackCustom.POST_PEFFECT_UPDATE_REORDERED, self.postPEffectUpdateReordered}}
|
|
32082
32088
|
end
|
|
32089
|
+
return ____exports
|
|
32090
|
+
end,
|
|
32091
|
+
["src.enums.PocketItemType"] = function(...)
|
|
32092
|
+
local ____exports = {}
|
|
32093
|
+
____exports.PocketItemType = {}
|
|
32094
|
+
____exports.PocketItemType.EMPTY = 0
|
|
32095
|
+
____exports.PocketItemType[____exports.PocketItemType.EMPTY] = "EMPTY"
|
|
32096
|
+
____exports.PocketItemType.CARD = 1
|
|
32097
|
+
____exports.PocketItemType[____exports.PocketItemType.CARD] = "CARD"
|
|
32098
|
+
____exports.PocketItemType.PILL = 2
|
|
32099
|
+
____exports.PocketItemType[____exports.PocketItemType.PILL] = "PILL"
|
|
32100
|
+
____exports.PocketItemType.ACTIVE_ITEM = 3
|
|
32101
|
+
____exports.PocketItemType[____exports.PocketItemType.ACTIVE_ITEM] = "ACTIVE_ITEM"
|
|
32102
|
+
____exports.PocketItemType.DICE_BAG_DICE = 4
|
|
32103
|
+
____exports.PocketItemType[____exports.PocketItemType.DICE_BAG_DICE] = "DICE_BAG_DICE"
|
|
32104
|
+
____exports.PocketItemType.UNDETERMINABLE = 5
|
|
32105
|
+
____exports.PocketItemType[____exports.PocketItemType.UNDETERMINABLE] = "UNDETERMINABLE"
|
|
32106
|
+
return ____exports
|
|
32107
|
+
end,
|
|
32108
|
+
["src.interfaces.PocketItemDescription"] = function(...)
|
|
32109
|
+
local ____exports = {}
|
|
32110
|
+
return ____exports
|
|
32111
|
+
end,
|
|
32112
|
+
["src.functions.pocketItems"] = function(...)
|
|
32113
|
+
local ____lualib = require("lualib_bundle")
|
|
32114
|
+
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
32115
|
+
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
32116
|
+
local ____exports = {}
|
|
32117
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
32118
|
+
local ActiveSlot = ____isaac_2Dtypescript_2Ddefinitions.ActiveSlot
|
|
32119
|
+
local CardType = ____isaac_2Dtypescript_2Ddefinitions.CardType
|
|
32120
|
+
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
32121
|
+
local PillColor = ____isaac_2Dtypescript_2Ddefinitions.PillColor
|
|
32122
|
+
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
32123
|
+
local ____cachedEnumValues = require("src.arrays.cachedEnumValues")
|
|
32124
|
+
local POCKET_ITEM_SLOT_VALUES = ____cachedEnumValues.POCKET_ITEM_SLOT_VALUES
|
|
32125
|
+
local ____PocketItemType = require("src.enums.PocketItemType")
|
|
32126
|
+
local PocketItemType = ____PocketItemType.PocketItemType
|
|
32127
|
+
local ____players = require("src.functions.players")
|
|
32128
|
+
local isCharacter = ____players.isCharacter
|
|
32129
|
+
local ____types = require("src.functions.types")
|
|
32130
|
+
local asNumber = ____types.asNumber
|
|
32131
|
+
function ____exports.getPocketItems(self, player)
|
|
32132
|
+
local pocketItem = player:GetActiveItem(ActiveSlot.POCKET)
|
|
32133
|
+
local hasPocketItem = pocketItem ~= CollectibleType.NULL
|
|
32134
|
+
local pocketItem2 = player:GetActiveItem(ActiveSlot.POCKET_SINGLE_USE)
|
|
32135
|
+
local hasPocketItem2 = pocketItem2 ~= CollectibleType.NULL
|
|
32136
|
+
local maxPocketItems = player:GetMaxPocketItems()
|
|
32137
|
+
local pocketItems = {}
|
|
32138
|
+
local pocketItemIdentified = false
|
|
32139
|
+
local pocketItem2Identified = false
|
|
32140
|
+
for ____, slot in ipairs(POCKET_ITEM_SLOT_VALUES) do
|
|
32141
|
+
local cardType = player:GetCard(slot)
|
|
32142
|
+
local pillColor = player:GetPill(slot)
|
|
32143
|
+
if cardType ~= CardType.NULL then
|
|
32144
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.CARD, subType = cardType}
|
|
32145
|
+
elseif pillColor ~= PillColor.NULL then
|
|
32146
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.PILL, subType = pillColor}
|
|
32147
|
+
elseif hasPocketItem and not hasPocketItem2 and not pocketItemIdentified then
|
|
32148
|
+
pocketItemIdentified = true
|
|
32149
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.ACTIVE_ITEM, subType = pocketItem}
|
|
32150
|
+
elseif not hasPocketItem and hasPocketItem2 and not pocketItem2Identified then
|
|
32151
|
+
pocketItem2Identified = true
|
|
32152
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.DICE_BAG_DICE, subType = pocketItem2}
|
|
32153
|
+
elseif hasPocketItem and hasPocketItem2 then
|
|
32154
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.UNDETERMINABLE, subType = 0}
|
|
32155
|
+
else
|
|
32156
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.EMPTY, subType = 0}
|
|
32157
|
+
end
|
|
32158
|
+
if asNumber(nil, slot) + 1 == maxPocketItems then
|
|
32159
|
+
break
|
|
32160
|
+
end
|
|
32161
|
+
end
|
|
32162
|
+
return pocketItems
|
|
32163
|
+
end
|
|
32164
|
+
function ____exports.getActivePocketItemSlot(self, player)
|
|
32165
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32166
|
+
for ____, pocketItem in ipairs(pocketItems) do
|
|
32167
|
+
if pocketItem.type == PocketItemType.ACTIVE_ITEM then
|
|
32168
|
+
return pocketItem.slot
|
|
32169
|
+
end
|
|
32170
|
+
end
|
|
32171
|
+
return nil
|
|
32172
|
+
end
|
|
32173
|
+
function ____exports.getFirstCard(self, player)
|
|
32174
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32175
|
+
return __TS__ArrayFind(
|
|
32176
|
+
pocketItems,
|
|
32177
|
+
function(____, pocketItem) return pocketItem.type == PocketItemType.CARD end
|
|
32178
|
+
)
|
|
32179
|
+
end
|
|
32180
|
+
function ____exports.getFirstCardOrPill(self, player)
|
|
32181
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32182
|
+
return __TS__ArrayFind(
|
|
32183
|
+
pocketItems,
|
|
32184
|
+
function(____, pocketItem) return pocketItem.type == PocketItemType.CARD or pocketItem.type == PocketItemType.PILL end
|
|
32185
|
+
)
|
|
32186
|
+
end
|
|
32187
|
+
function ____exports.getFirstPill(self, player)
|
|
32188
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32189
|
+
return __TS__ArrayFind(
|
|
32190
|
+
pocketItems,
|
|
32191
|
+
function(____, pocketItem) return pocketItem.type == PocketItemType.PILL end
|
|
32192
|
+
)
|
|
32193
|
+
end
|
|
32194
|
+
function ____exports.hasOpenPocketItemSlot(self, player)
|
|
32195
|
+
if isCharacter(nil, player, PlayerType.SOUL_B) then
|
|
32196
|
+
return false
|
|
32197
|
+
end
|
|
32198
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32199
|
+
return __TS__ArraySome(
|
|
32200
|
+
pocketItems,
|
|
32201
|
+
function(____, pocketItem) return pocketItem.type == PocketItemType.EMPTY end
|
|
32202
|
+
)
|
|
32203
|
+
end
|
|
32204
|
+
function ____exports.isFirstSlotPocketActiveItem(self, player)
|
|
32205
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32206
|
+
local firstPocketItem = pocketItems[1]
|
|
32207
|
+
if firstPocketItem == nil then
|
|
32208
|
+
return false
|
|
32209
|
+
end
|
|
32210
|
+
return firstPocketItem.type == PocketItemType.ACTIVE_ITEM
|
|
32211
|
+
end
|
|
32212
|
+
return ____exports
|
|
32213
|
+
end,
|
|
32214
|
+
["src.classes.callbacks.PostUsePillFilter"] = function(...)
|
|
32215
|
+
local ____lualib = require("lualib_bundle")
|
|
32216
|
+
local Map = ____lualib.Map
|
|
32217
|
+
local __TS__New = ____lualib.__TS__New
|
|
32218
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
32219
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
32220
|
+
local ____exports = {}
|
|
32221
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
32222
|
+
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
32223
|
+
local PillColor = ____isaac_2Dtypescript_2Ddefinitions.PillColor
|
|
32224
|
+
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
32225
|
+
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
32226
|
+
local ____playerDataStructures = require("src.functions.playerDataStructures")
|
|
32227
|
+
local mapDeletePlayer = ____playerDataStructures.mapDeletePlayer
|
|
32228
|
+
local mapGetPlayer = ____playerDataStructures.mapGetPlayer
|
|
32229
|
+
local mapSetPlayer = ____playerDataStructures.mapSetPlayer
|
|
32230
|
+
local ____pocketItems = require("src.functions.pocketItems")
|
|
32231
|
+
local getFirstPill = ____pocketItems.getFirstPill
|
|
32232
|
+
local ____CustomCallback = require("src.classes.private.CustomCallback")
|
|
32233
|
+
local CustomCallback = ____CustomCallback.CustomCallback
|
|
32234
|
+
local v = {run = {playerFirstPill = __TS__New(Map)}}
|
|
32235
|
+
____exports.PostUsePillFilter = __TS__Class()
|
|
32236
|
+
local PostUsePillFilter = ____exports.PostUsePillFilter
|
|
32237
|
+
PostUsePillFilter.name = "PostUsePillFilter"
|
|
32238
|
+
__TS__ClassExtends(PostUsePillFilter, CustomCallback)
|
|
32239
|
+
function PostUsePillFilter.prototype.____constructor(self)
|
|
32240
|
+
CustomCallback.prototype.____constructor(self)
|
|
32241
|
+
self.v = v
|
|
32242
|
+
self.postUsePill = function(____, pillEffect, player, useFlags)
|
|
32243
|
+
local firstPill = mapGetPlayer(nil, v.run.playerFirstPill, player)
|
|
32244
|
+
local pillColor = firstPill == nil and PillColor.NULL or firstPill.subType
|
|
32245
|
+
self:fire(pillEffect, pillColor, player, useFlags)
|
|
32246
|
+
end
|
|
32247
|
+
self.postPEffectUpdateReordered = function(____, player)
|
|
32248
|
+
self:updateCurrentHeldPills(player)
|
|
32249
|
+
end
|
|
32250
|
+
self.callbacksUsed = {{ModCallback.POST_USE_PILL, self.postUsePill}}
|
|
32251
|
+
self.customCallbacksUsed = {{ModCallbackCustom.POST_PEFFECT_UPDATE_REORDERED, self.postPEffectUpdateReordered}}
|
|
32252
|
+
end
|
|
32253
|
+
function PostUsePillFilter.prototype.updateCurrentHeldPills(self, player)
|
|
32254
|
+
local firstPill = getFirstPill(nil, player)
|
|
32255
|
+
if firstPill == nil then
|
|
32256
|
+
mapDeletePlayer(nil, v.run.playerFirstPill, player)
|
|
32257
|
+
else
|
|
32258
|
+
mapSetPlayer(nil, v.run.playerFirstPill, player, firstPill)
|
|
32259
|
+
end
|
|
32260
|
+
end
|
|
32083
32261
|
return ____exports
|
|
32084
32262
|
end,
|
|
32085
32263
|
["src.classes.callbacks.PreBerserkDeath"] = function(...)
|
|
@@ -33105,6 +33283,11 @@ do
|
|
|
33105
33283
|
local PostTrinketBreak = ____PostTrinketBreak.PostTrinketBreak
|
|
33106
33284
|
____exports.PostTrinketBreak = PostTrinketBreak
|
|
33107
33285
|
end
|
|
33286
|
+
do
|
|
33287
|
+
local ____PostUsePillFilter = require("src.classes.callbacks.PostUsePillFilter")
|
|
33288
|
+
local PostUsePillFilter = ____PostUsePillFilter.PostUsePillFilter
|
|
33289
|
+
____exports.PostUsePillFilter = PostUsePillFilter
|
|
33290
|
+
end
|
|
33108
33291
|
do
|
|
33109
33292
|
local ____PreBerserkDeath = require("src.classes.callbacks.PreBerserkDeath")
|
|
33110
33293
|
local PreBerserkDeath = ____PreBerserkDeath.PreBerserkDeath
|
|
@@ -33315,6 +33498,7 @@ local MOD_CALLBACK_CUSTOM_TO_CLASS = {
|
|
|
33315
33498
|
[ModCallbackCustom.POST_TNT_UPDATE] = cc.PostTNTUpdate,
|
|
33316
33499
|
[ModCallbackCustom.POST_TRANSFORMATION] = cc.PostTransformation,
|
|
33317
33500
|
[ModCallbackCustom.POST_TRINKET_BREAK] = cc.PostTrinketBreak,
|
|
33501
|
+
[ModCallbackCustom.POST_USE_PILL_FILTER] = cc.PostUsePillFilter,
|
|
33318
33502
|
[ModCallbackCustom.PRE_BERSERK_DEATH] = cc.PreBerserkDeath,
|
|
33319
33503
|
[ModCallbackCustom.PRE_BOMB_COLLISION_FILTER] = cc.PreBombCollisionFilter,
|
|
33320
33504
|
[ModCallbackCustom.PRE_CUSTOM_REVIVE] = cc.PreCustomRevive,
|
|
@@ -52084,23 +52268,6 @@ function ____exports.upgradeMod(self, modVanilla, features, ____debug, timeThres
|
|
|
52084
52268
|
initOptionalFeatures(nil, mod, features)
|
|
52085
52269
|
return mod
|
|
52086
52270
|
end
|
|
52087
|
-
return ____exports
|
|
52088
|
-
end,
|
|
52089
|
-
["src.enums.PocketItemType"] = function(...)
|
|
52090
|
-
local ____exports = {}
|
|
52091
|
-
____exports.PocketItemType = {}
|
|
52092
|
-
____exports.PocketItemType.EMPTY = 0
|
|
52093
|
-
____exports.PocketItemType[____exports.PocketItemType.EMPTY] = "EMPTY"
|
|
52094
|
-
____exports.PocketItemType.CARD = 1
|
|
52095
|
-
____exports.PocketItemType[____exports.PocketItemType.CARD] = "CARD"
|
|
52096
|
-
____exports.PocketItemType.PILL = 2
|
|
52097
|
-
____exports.PocketItemType[____exports.PocketItemType.PILL] = "PILL"
|
|
52098
|
-
____exports.PocketItemType.ACTIVE_ITEM = 3
|
|
52099
|
-
____exports.PocketItemType[____exports.PocketItemType.ACTIVE_ITEM] = "ACTIVE_ITEM"
|
|
52100
|
-
____exports.PocketItemType.DICE_BAG_DICE = 4
|
|
52101
|
-
____exports.PocketItemType[____exports.PocketItemType.DICE_BAG_DICE] = "DICE_BAG_DICE"
|
|
52102
|
-
____exports.PocketItemType.UNDETERMINABLE = 5
|
|
52103
|
-
____exports.PocketItemType[____exports.PocketItemType.UNDETERMINABLE] = "UNDETERMINABLE"
|
|
52104
52271
|
return ____exports
|
|
52105
52272
|
end,
|
|
52106
52273
|
["src.functions.arrayLua"] = function(...)
|
|
@@ -52962,98 +53129,6 @@ function ____exports.initModFeatures(self, mod, modFeatures)
|
|
|
52962
53129
|
end
|
|
52963
53130
|
return instantiatedModFeatures
|
|
52964
53131
|
end
|
|
52965
|
-
return ____exports
|
|
52966
|
-
end,
|
|
52967
|
-
["src.interfaces.PocketItemDescription"] = function(...)
|
|
52968
|
-
local ____exports = {}
|
|
52969
|
-
return ____exports
|
|
52970
|
-
end,
|
|
52971
|
-
["src.functions.pocketItems"] = function(...)
|
|
52972
|
-
local ____lualib = require("lualib_bundle")
|
|
52973
|
-
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
52974
|
-
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
52975
|
-
local ____exports = {}
|
|
52976
|
-
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
52977
|
-
local ActiveSlot = ____isaac_2Dtypescript_2Ddefinitions.ActiveSlot
|
|
52978
|
-
local CardType = ____isaac_2Dtypescript_2Ddefinitions.CardType
|
|
52979
|
-
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
52980
|
-
local PillColor = ____isaac_2Dtypescript_2Ddefinitions.PillColor
|
|
52981
|
-
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
52982
|
-
local ____cachedEnumValues = require("src.arrays.cachedEnumValues")
|
|
52983
|
-
local POCKET_ITEM_SLOT_VALUES = ____cachedEnumValues.POCKET_ITEM_SLOT_VALUES
|
|
52984
|
-
local ____PocketItemType = require("src.enums.PocketItemType")
|
|
52985
|
-
local PocketItemType = ____PocketItemType.PocketItemType
|
|
52986
|
-
local ____players = require("src.functions.players")
|
|
52987
|
-
local isCharacter = ____players.isCharacter
|
|
52988
|
-
local ____types = require("src.functions.types")
|
|
52989
|
-
local asNumber = ____types.asNumber
|
|
52990
|
-
function ____exports.getPocketItems(self, player)
|
|
52991
|
-
local pocketItem = player:GetActiveItem(ActiveSlot.POCKET)
|
|
52992
|
-
local hasPocketItem = pocketItem ~= CollectibleType.NULL
|
|
52993
|
-
local pocketItem2 = player:GetActiveItem(ActiveSlot.POCKET_SINGLE_USE)
|
|
52994
|
-
local hasPocketItem2 = pocketItem2 ~= CollectibleType.NULL
|
|
52995
|
-
local maxPocketItems = player:GetMaxPocketItems()
|
|
52996
|
-
local pocketItems = {}
|
|
52997
|
-
local pocketItemIdentified = false
|
|
52998
|
-
local pocketItem2Identified = false
|
|
52999
|
-
for ____, slot in ipairs(POCKET_ITEM_SLOT_VALUES) do
|
|
53000
|
-
local cardType = player:GetCard(slot)
|
|
53001
|
-
local pillColor = player:GetPill(slot)
|
|
53002
|
-
if cardType ~= CardType.NULL then
|
|
53003
|
-
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.CARD, subType = cardType}
|
|
53004
|
-
elseif pillColor ~= PillColor.NULL then
|
|
53005
|
-
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.PILL, subType = pillColor}
|
|
53006
|
-
elseif hasPocketItem and not hasPocketItem2 and not pocketItemIdentified then
|
|
53007
|
-
pocketItemIdentified = true
|
|
53008
|
-
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.ACTIVE_ITEM, subType = pocketItem}
|
|
53009
|
-
elseif not hasPocketItem and hasPocketItem2 and not pocketItem2Identified then
|
|
53010
|
-
pocketItem2Identified = true
|
|
53011
|
-
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.DICE_BAG_DICE, subType = pocketItem2}
|
|
53012
|
-
elseif hasPocketItem and hasPocketItem2 then
|
|
53013
|
-
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.UNDETERMINABLE, subType = 0}
|
|
53014
|
-
else
|
|
53015
|
-
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.EMPTY, subType = 0}
|
|
53016
|
-
end
|
|
53017
|
-
if asNumber(nil, slot) + 1 == maxPocketItems then
|
|
53018
|
-
break
|
|
53019
|
-
end
|
|
53020
|
-
end
|
|
53021
|
-
return pocketItems
|
|
53022
|
-
end
|
|
53023
|
-
function ____exports.getActivePocketItemSlot(self, player)
|
|
53024
|
-
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
53025
|
-
for ____, pocketItem in ipairs(pocketItems) do
|
|
53026
|
-
if pocketItem.type == PocketItemType.ACTIVE_ITEM then
|
|
53027
|
-
return pocketItem.slot
|
|
53028
|
-
end
|
|
53029
|
-
end
|
|
53030
|
-
return nil
|
|
53031
|
-
end
|
|
53032
|
-
function ____exports.getFirstCardOrPill(self, player)
|
|
53033
|
-
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
53034
|
-
return __TS__ArrayFind(
|
|
53035
|
-
pocketItems,
|
|
53036
|
-
function(____, pocketItem) return pocketItem.type == PocketItemType.CARD or pocketItem.type == PocketItemType.PILL end
|
|
53037
|
-
)
|
|
53038
|
-
end
|
|
53039
|
-
function ____exports.hasOpenPocketItemSlot(self, player)
|
|
53040
|
-
if isCharacter(nil, player, PlayerType.SOUL_B) then
|
|
53041
|
-
return false
|
|
53042
|
-
end
|
|
53043
|
-
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
53044
|
-
return __TS__ArraySome(
|
|
53045
|
-
pocketItems,
|
|
53046
|
-
function(____, pocketItem) return pocketItem.type == PocketItemType.EMPTY end
|
|
53047
|
-
)
|
|
53048
|
-
end
|
|
53049
|
-
function ____exports.isFirstSlotPocketActiveItem(self, player)
|
|
53050
|
-
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
53051
|
-
local firstPocketItem = pocketItems[1]
|
|
53052
|
-
if firstPocketItem == nil then
|
|
53053
|
-
return false
|
|
53054
|
-
end
|
|
53055
|
-
return firstPocketItem.type == PocketItemType.ACTIVE_ITEM
|
|
53056
|
-
end
|
|
53057
53132
|
return ____exports
|
|
53058
53133
|
end,
|
|
53059
53134
|
["src.functions.pressurePlate"] = function(...)
|
|
@@ -122,6 +122,7 @@ export { PostTNTRender } from "./classes/callbacks/PostTNTRender";
|
|
|
122
122
|
export { PostTNTUpdate } from "./classes/callbacks/PostTNTUpdate";
|
|
123
123
|
export { PostTransformation } from "./classes/callbacks/PostTransformation";
|
|
124
124
|
export { PostTrinketBreak } from "./classes/callbacks/PostTrinketBreak";
|
|
125
|
+
export { PostUsePillFilter } from "./classes/callbacks/PostUsePillFilter";
|
|
125
126
|
export { PreBerserkDeath } from "./classes/callbacks/PreBerserkDeath";
|
|
126
127
|
export { PreBombCollisionFilter } from "./classes/callbacks/PreBombCollisionFilter";
|
|
127
128
|
export { PreCustomRevive } from "./classes/callbacks/PreCustomRevive";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callbackClasses.d.ts","sourceRoot":"","sources":["../../src/callbackClasses.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OA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EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC"}
|
|
@@ -619,6 +619,11 @@ do
|
|
|
619
619
|
local PostTrinketBreak = ____PostTrinketBreak.PostTrinketBreak
|
|
620
620
|
____exports.PostTrinketBreak = PostTrinketBreak
|
|
621
621
|
end
|
|
622
|
+
do
|
|
623
|
+
local ____PostUsePillFilter = require("src.classes.callbacks.PostUsePillFilter")
|
|
624
|
+
local PostUsePillFilter = ____PostUsePillFilter.PostUsePillFilter
|
|
625
|
+
____exports.PostUsePillFilter = PostUsePillFilter
|
|
626
|
+
end
|
|
622
627
|
do
|
|
623
628
|
local ____PreBerserkDeath = require("src.classes.callbacks.PreBerserkDeath")
|
|
624
629
|
local PreBerserkDeath = ____PreBerserkDeath.PreBerserkDeath
|