isaacscript-common 29.1.1 → 29.3.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 +66 -14
- package/dist/isaacscript-common.lua +212 -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 +8 -0
- package/dist/src/functions/doors.d.ts.map +1 -1
- package/dist/src/functions/doors.lua +18 -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/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 +15 -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
|
*
|
|
@@ -7143,6 +7157,15 @@ export declare function hasCollectibleInActiveSlot(player: EntityPlayer, collect
|
|
|
7143
7157
|
|
|
7144
7158
|
export declare function hasCurse(curse: LevelCurse): boolean;
|
|
7145
7159
|
|
|
7160
|
+
/**
|
|
7161
|
+
* Helper function to check if the current room has one or more doors that lead to the given room
|
|
7162
|
+
* types.
|
|
7163
|
+
*
|
|
7164
|
+
* This function is variadic, meaning that you can supply as many door types as you want to check
|
|
7165
|
+
* for. This function will return true if one or more room types match.
|
|
7166
|
+
*/
|
|
7167
|
+
export declare function hasDoorType(...roomTypes: RoomType[]): boolean;
|
|
7168
|
+
|
|
7146
7169
|
/**
|
|
7147
7170
|
* Helper function to determine if a particular bit flag is set to true.
|
|
7148
7171
|
*
|
|
@@ -9102,6 +9125,12 @@ export declare type LowercaseKeys<T> = StartsWithLowercase<keyof T>;
|
|
|
9102
9125
|
*/
|
|
9103
9126
|
export declare function map<T, U>(array: T[], func: (value: T, index: number, array: T[]) => U): U[];
|
|
9104
9127
|
|
|
9128
|
+
/**
|
|
9129
|
+
* Helper function to make using maps with an type of `PlayerIndex` easier. Use this instead of the
|
|
9130
|
+
* `Map.delete` method if you have a set of this type.
|
|
9131
|
+
*/
|
|
9132
|
+
export declare function mapDeletePlayer(map: Map<PlayerIndex, unknown>, player: EntityPlayer): boolean;
|
|
9133
|
+
|
|
9105
9134
|
/**
|
|
9106
9135
|
* Helper function to make using maps with an index of `PlayerIndex` easier. Use this instead of the
|
|
9107
9136
|
* `Map.get` method if you have a map of this type.
|
|
@@ -11409,6 +11438,29 @@ export declare enum ModCallbackCustom {
|
|
|
11409
11438
|
* ```
|
|
11410
11439
|
*/
|
|
11411
11440
|
POST_TRINKET_BREAK = 123,
|
|
11441
|
+
/**
|
|
11442
|
+
* The same thing as the vanilla `POST_USE_PILL` callback, except this callback passes the
|
|
11443
|
+
* `PillColor` of the used pill as the final argument. It allows you to filter by the `PillColor`.
|
|
11444
|
+
*
|
|
11445
|
+
* In order to accomplish this, this callback tracks the held pills of the player on every frame.
|
|
11446
|
+
* If a matching `PillColor` could not be found, this callback passes `PillColor.NULL` (0).
|
|
11447
|
+
*
|
|
11448
|
+
* When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
|
|
11449
|
+
* - You can provide an optional third argument that will make the callback only fire if it
|
|
11450
|
+
* matches the `PillEffect` provided.
|
|
11451
|
+
* - You can provide an optional fourth argument that will make the callback only fire if it
|
|
11452
|
+
* matches the `PillColor` provided.
|
|
11453
|
+
*
|
|
11454
|
+
* ```ts
|
|
11455
|
+
* function postUsePillFilter(
|
|
11456
|
+
* pillEffect: PillEffect,
|
|
11457
|
+
* pillColor: PillColor,
|
|
11458
|
+
* player: EntityPlayer,
|
|
11459
|
+
* useFlags: BitFlags<UseFlag>,
|
|
11460
|
+
* ): void {}
|
|
11461
|
+
* ```
|
|
11462
|
+
*/
|
|
11463
|
+
POST_USE_PILL_FILTER = 124,
|
|
11412
11464
|
/**
|
|
11413
11465
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback on the frame before a Berserk effect
|
|
11414
11466
|
* ends when the player is predicted to die (e.g. they currently have no health left or they took
|
|
@@ -11424,7 +11476,7 @@ export declare enum ModCallbackCustom {
|
|
|
11424
11476
|
* function preBerserkDeath(player: EntityPlayer): void {}
|
|
11425
11477
|
* ```
|
|
11426
11478
|
*/
|
|
11427
|
-
PRE_BERSERK_DEATH =
|
|
11479
|
+
PRE_BERSERK_DEATH = 125,
|
|
11428
11480
|
/**
|
|
11429
11481
|
* The exact same thing as the vanilla `PRE_BOMB_COLLISION` callback, except this callback allows
|
|
11430
11482
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11443,7 +11495,7 @@ export declare enum ModCallbackCustom {
|
|
|
11443
11495
|
* ): void {}
|
|
11444
11496
|
* ```
|
|
11445
11497
|
*/
|
|
11446
|
-
PRE_BOMB_COLLISION_FILTER =
|
|
11498
|
+
PRE_BOMB_COLLISION_FILTER = 126,
|
|
11447
11499
|
/**
|
|
11448
11500
|
* Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
|
|
11449
11501
|
* to initiate a custom revival, return an integer that corresponds to the item or type of revival
|
|
@@ -11462,7 +11514,7 @@ export declare enum ModCallbackCustom {
|
|
|
11462
11514
|
* function preCustomRevive(player: EntityPlayer): int | undefined {}
|
|
11463
11515
|
* ```
|
|
11464
11516
|
*/
|
|
11465
|
-
PRE_CUSTOM_REVIVE =
|
|
11517
|
+
PRE_CUSTOM_REVIVE = 127,
|
|
11466
11518
|
/**
|
|
11467
11519
|
* The exact same thing as the vanilla `PRE_ENTITY_SPAWN` callback, except this callback allows
|
|
11468
11520
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11487,7 +11539,7 @@ export declare enum ModCallbackCustom {
|
|
|
11487
11539
|
* ): [EntityType, int, int, int] | undefined {}
|
|
11488
11540
|
* ```
|
|
11489
11541
|
*/
|
|
11490
|
-
PRE_ENTITY_SPAWN_FILTER =
|
|
11542
|
+
PRE_ENTITY_SPAWN_FILTER = 128,
|
|
11491
11543
|
/**
|
|
11492
11544
|
* The exact same thing as the vanilla `PRE_FAMILIAR_COLLISION` callback, except this callback
|
|
11493
11545
|
* allows you to specify extra arguments for additional filtration.
|
|
@@ -11506,7 +11558,7 @@ export declare enum ModCallbackCustom {
|
|
|
11506
11558
|
* ): void {}
|
|
11507
11559
|
* ```
|
|
11508
11560
|
*/
|
|
11509
|
-
PRE_FAMILIAR_COLLISION_FILTER =
|
|
11561
|
+
PRE_FAMILIAR_COLLISION_FILTER = 129,
|
|
11510
11562
|
/**
|
|
11511
11563
|
* Fires from the `PRE_PICKUP_COLLISION` callback when a player touches a collectible pedestal and
|
|
11512
11564
|
* meets all of the conditions to pick it up.
|
|
@@ -11526,7 +11578,7 @@ export declare enum ModCallbackCustom {
|
|
|
11526
11578
|
* function preGetPedestal(player: EntityPlayer, collectible: EntityPickupCollectible): void {}
|
|
11527
11579
|
* ```
|
|
11528
11580
|
*/
|
|
11529
|
-
PRE_GET_PEDESTAL =
|
|
11581
|
+
PRE_GET_PEDESTAL = 130,
|
|
11530
11582
|
/**
|
|
11531
11583
|
* Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item becomes queued (i.e. when
|
|
11532
11584
|
* the player begins to hold the item above their head).
|
|
@@ -11546,7 +11598,7 @@ export declare enum ModCallbackCustom {
|
|
|
11546
11598
|
* ): void {}
|
|
11547
11599
|
* ```
|
|
11548
11600
|
*/
|
|
11549
|
-
PRE_ITEM_PICKUP =
|
|
11601
|
+
PRE_ITEM_PICKUP = 131,
|
|
11550
11602
|
/**
|
|
11551
11603
|
* The exact same thing as the vanilla `PRE_KNIFE_COLLISION` callback, except this callback allows
|
|
11552
11604
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11565,7 +11617,7 @@ export declare enum ModCallbackCustom {
|
|
|
11565
11617
|
* ): void {}
|
|
11566
11618
|
* ```
|
|
11567
11619
|
*/
|
|
11568
|
-
PRE_KNIFE_COLLISION_FILTER =
|
|
11620
|
+
PRE_KNIFE_COLLISION_FILTER = 132,
|
|
11569
11621
|
/**
|
|
11570
11622
|
* Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
|
|
11571
11623
|
* player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
|
|
@@ -11579,7 +11631,7 @@ export declare enum ModCallbackCustom {
|
|
|
11579
11631
|
* function preNewLevel(player: EntityPlayer): void {}
|
|
11580
11632
|
* ```
|
|
11581
11633
|
*/
|
|
11582
|
-
PRE_NEW_LEVEL =
|
|
11634
|
+
PRE_NEW_LEVEL = 133,
|
|
11583
11635
|
/**
|
|
11584
11636
|
* The exact same thing as the vanilla `PRE_NPC_COLLISION` callback, except this callback allows
|
|
11585
11637
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11600,7 +11652,7 @@ export declare enum ModCallbackCustom {
|
|
|
11600
11652
|
* ): boolean | undefined {}
|
|
11601
11653
|
* ```
|
|
11602
11654
|
*/
|
|
11603
|
-
PRE_NPC_COLLISION_FILTER =
|
|
11655
|
+
PRE_NPC_COLLISION_FILTER = 134,
|
|
11604
11656
|
/**
|
|
11605
11657
|
* The exact same thing as the vanilla `PRE_NPC_UPDATE` callback, except this callback allows you
|
|
11606
11658
|
* to specify extra arguments for additional filtration.
|
|
@@ -11617,7 +11669,7 @@ export declare enum ModCallbackCustom {
|
|
|
11617
11669
|
* function preNPCUpdateFilter(entity: Entity): boolean | undefined {}
|
|
11618
11670
|
* ```
|
|
11619
11671
|
*/
|
|
11620
|
-
PRE_NPC_UPDATE_FILTER =
|
|
11672
|
+
PRE_NPC_UPDATE_FILTER = 135,
|
|
11621
11673
|
/**
|
|
11622
11674
|
* The exact same thing as the vanilla `PRE_PROJECTILE_COLLISION` callback, except this callback
|
|
11623
11675
|
* allows you to specify extra arguments for additional filtration.
|
|
@@ -11636,7 +11688,7 @@ export declare enum ModCallbackCustom {
|
|
|
11636
11688
|
* ): void {}
|
|
11637
11689
|
* ```
|
|
11638
11690
|
*/
|
|
11639
|
-
PRE_PROJECTILE_COLLISION_FILTER =
|
|
11691
|
+
PRE_PROJECTILE_COLLISION_FILTER = 136,
|
|
11640
11692
|
/**
|
|
11641
11693
|
* The exact same thing as the vanilla `PRE_ROOM_ENTITY_SPAWN` callback, except this callback
|
|
11642
11694
|
* allows you to specify extra arguments for additional filtration.
|
|
@@ -11659,7 +11711,7 @@ export declare enum ModCallbackCustom {
|
|
|
11659
11711
|
* ): [EntityType | GridEntityXMLType, int, int] | undefined {}
|
|
11660
11712
|
* ```
|
|
11661
11713
|
*/
|
|
11662
|
-
PRE_ROOM_ENTITY_SPAWN_FILTER =
|
|
11714
|
+
PRE_ROOM_ENTITY_SPAWN_FILTER = 137,
|
|
11663
11715
|
/**
|
|
11664
11716
|
* The exact same thing as the vanilla `PRE_TEAR_COLLISION` callback, except this callback allows
|
|
11665
11717
|
* you to specify extra arguments for additional filtration.
|
|
@@ -11678,7 +11730,7 @@ export declare enum ModCallbackCustom {
|
|
|
11678
11730
|
* ): void {}
|
|
11679
11731
|
* ```
|
|
11680
11732
|
*/
|
|
11681
|
-
PRE_TEAR_COLLISION_FILTER =
|
|
11733
|
+
PRE_TEAR_COLLISION_FILTER = 138
|
|
11682
11734
|
}
|
|
11683
11735
|
|
|
11684
11736
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[
|
|
2
2
|
|
|
3
|
-
isaacscript-common 29.
|
|
3
|
+
isaacscript-common 29.3.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,
|
|
@@ -21047,6 +21049,7 @@ local __TS__New = ____lualib.__TS__New
|
|
|
21047
21049
|
local __TS__Iterator = ____lualib.__TS__Iterator
|
|
21048
21050
|
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
21049
21051
|
local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
|
|
21052
|
+
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
21050
21053
|
local ____exports = {}
|
|
21051
21054
|
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
21052
21055
|
local DoorSlot = ____isaac_2Dtypescript_2Ddefinitions.DoorSlot
|
|
@@ -21270,6 +21273,18 @@ function ____exports.getUnusedDoorSlots(self)
|
|
|
21270
21273
|
function(____, doorSlot) return doorSlot ~= DoorSlot.NO_DOOR_SLOT and room:IsDoorSlotAllowed(doorSlot) and room:GetDoor(doorSlot) == nil end
|
|
21271
21274
|
)
|
|
21272
21275
|
end
|
|
21276
|
+
function ____exports.hasDoorType(self, ...)
|
|
21277
|
+
local roomTypes = {...}
|
|
21278
|
+
local doors = ____exports.getDoors(nil)
|
|
21279
|
+
local doorsOfThisRoomType = __TS__ArrayFilter(
|
|
21280
|
+
doors,
|
|
21281
|
+
function(____, door) return __TS__ArraySome(
|
|
21282
|
+
roomTypes,
|
|
21283
|
+
function(____, roomType) return door:IsRoomType(roomType) end
|
|
21284
|
+
) end
|
|
21285
|
+
)
|
|
21286
|
+
return #doorsOfThisRoomType > 0
|
|
21287
|
+
end
|
|
21273
21288
|
function ____exports.hasUnusedDoorSlot(self)
|
|
21274
21289
|
local unusedDoorSlots = ____exports.getUnusedDoorSlots(nil)
|
|
21275
21290
|
return #unusedDoorSlots > 0
|
|
@@ -21894,6 +21909,10 @@ end
|
|
|
21894
21909
|
function ____exports.defaultMapSetPlayer(self, map, player, value)
|
|
21895
21910
|
____exports.mapSetPlayer(nil, map, player, value)
|
|
21896
21911
|
end
|
|
21912
|
+
function ____exports.mapDeletePlayer(self, map, player)
|
|
21913
|
+
local playerIndex = getPlayerIndex(nil, player)
|
|
21914
|
+
return map:delete(playerIndex)
|
|
21915
|
+
end
|
|
21897
21916
|
function ____exports.mapGetPlayer(self, map, player)
|
|
21898
21917
|
local playerIndex = getPlayerIndex(nil, player)
|
|
21899
21918
|
return map:get(playerIndex)
|
|
@@ -32080,6 +32099,178 @@ function PostTrinketBreak.prototype.____constructor(self)
|
|
|
32080
32099
|
end
|
|
32081
32100
|
self.customCallbacksUsed = {{ModCallbackCustom.ENTITY_TAKE_DMG_PLAYER, self.entityTakeDmgPlayer}, {ModCallbackCustom.POST_PEFFECT_UPDATE_REORDERED, self.postPEffectUpdateReordered}}
|
|
32082
32101
|
end
|
|
32102
|
+
return ____exports
|
|
32103
|
+
end,
|
|
32104
|
+
["src.enums.PocketItemType"] = function(...)
|
|
32105
|
+
local ____exports = {}
|
|
32106
|
+
____exports.PocketItemType = {}
|
|
32107
|
+
____exports.PocketItemType.EMPTY = 0
|
|
32108
|
+
____exports.PocketItemType[____exports.PocketItemType.EMPTY] = "EMPTY"
|
|
32109
|
+
____exports.PocketItemType.CARD = 1
|
|
32110
|
+
____exports.PocketItemType[____exports.PocketItemType.CARD] = "CARD"
|
|
32111
|
+
____exports.PocketItemType.PILL = 2
|
|
32112
|
+
____exports.PocketItemType[____exports.PocketItemType.PILL] = "PILL"
|
|
32113
|
+
____exports.PocketItemType.ACTIVE_ITEM = 3
|
|
32114
|
+
____exports.PocketItemType[____exports.PocketItemType.ACTIVE_ITEM] = "ACTIVE_ITEM"
|
|
32115
|
+
____exports.PocketItemType.DICE_BAG_DICE = 4
|
|
32116
|
+
____exports.PocketItemType[____exports.PocketItemType.DICE_BAG_DICE] = "DICE_BAG_DICE"
|
|
32117
|
+
____exports.PocketItemType.UNDETERMINABLE = 5
|
|
32118
|
+
____exports.PocketItemType[____exports.PocketItemType.UNDETERMINABLE] = "UNDETERMINABLE"
|
|
32119
|
+
return ____exports
|
|
32120
|
+
end,
|
|
32121
|
+
["src.interfaces.PocketItemDescription"] = function(...)
|
|
32122
|
+
local ____exports = {}
|
|
32123
|
+
return ____exports
|
|
32124
|
+
end,
|
|
32125
|
+
["src.functions.pocketItems"] = function(...)
|
|
32126
|
+
local ____lualib = require("lualib_bundle")
|
|
32127
|
+
local __TS__ArrayFind = ____lualib.__TS__ArrayFind
|
|
32128
|
+
local __TS__ArraySome = ____lualib.__TS__ArraySome
|
|
32129
|
+
local ____exports = {}
|
|
32130
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
32131
|
+
local ActiveSlot = ____isaac_2Dtypescript_2Ddefinitions.ActiveSlot
|
|
32132
|
+
local CardType = ____isaac_2Dtypescript_2Ddefinitions.CardType
|
|
32133
|
+
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
32134
|
+
local PillColor = ____isaac_2Dtypescript_2Ddefinitions.PillColor
|
|
32135
|
+
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
32136
|
+
local ____cachedEnumValues = require("src.arrays.cachedEnumValues")
|
|
32137
|
+
local POCKET_ITEM_SLOT_VALUES = ____cachedEnumValues.POCKET_ITEM_SLOT_VALUES
|
|
32138
|
+
local ____PocketItemType = require("src.enums.PocketItemType")
|
|
32139
|
+
local PocketItemType = ____PocketItemType.PocketItemType
|
|
32140
|
+
local ____players = require("src.functions.players")
|
|
32141
|
+
local isCharacter = ____players.isCharacter
|
|
32142
|
+
local ____types = require("src.functions.types")
|
|
32143
|
+
local asNumber = ____types.asNumber
|
|
32144
|
+
function ____exports.getPocketItems(self, player)
|
|
32145
|
+
local pocketItem = player:GetActiveItem(ActiveSlot.POCKET)
|
|
32146
|
+
local hasPocketItem = pocketItem ~= CollectibleType.NULL
|
|
32147
|
+
local pocketItem2 = player:GetActiveItem(ActiveSlot.POCKET_SINGLE_USE)
|
|
32148
|
+
local hasPocketItem2 = pocketItem2 ~= CollectibleType.NULL
|
|
32149
|
+
local maxPocketItems = player:GetMaxPocketItems()
|
|
32150
|
+
local pocketItems = {}
|
|
32151
|
+
local pocketItemIdentified = false
|
|
32152
|
+
local pocketItem2Identified = false
|
|
32153
|
+
for ____, slot in ipairs(POCKET_ITEM_SLOT_VALUES) do
|
|
32154
|
+
local cardType = player:GetCard(slot)
|
|
32155
|
+
local pillColor = player:GetPill(slot)
|
|
32156
|
+
if cardType ~= CardType.NULL then
|
|
32157
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.CARD, subType = cardType}
|
|
32158
|
+
elseif pillColor ~= PillColor.NULL then
|
|
32159
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.PILL, subType = pillColor}
|
|
32160
|
+
elseif hasPocketItem and not hasPocketItem2 and not pocketItemIdentified then
|
|
32161
|
+
pocketItemIdentified = true
|
|
32162
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.ACTIVE_ITEM, subType = pocketItem}
|
|
32163
|
+
elseif not hasPocketItem and hasPocketItem2 and not pocketItem2Identified then
|
|
32164
|
+
pocketItem2Identified = true
|
|
32165
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.DICE_BAG_DICE, subType = pocketItem2}
|
|
32166
|
+
elseif hasPocketItem and hasPocketItem2 then
|
|
32167
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.UNDETERMINABLE, subType = 0}
|
|
32168
|
+
else
|
|
32169
|
+
pocketItems[#pocketItems + 1] = {slot = slot, type = PocketItemType.EMPTY, subType = 0}
|
|
32170
|
+
end
|
|
32171
|
+
if asNumber(nil, slot) + 1 == maxPocketItems then
|
|
32172
|
+
break
|
|
32173
|
+
end
|
|
32174
|
+
end
|
|
32175
|
+
return pocketItems
|
|
32176
|
+
end
|
|
32177
|
+
function ____exports.getActivePocketItemSlot(self, player)
|
|
32178
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32179
|
+
for ____, pocketItem in ipairs(pocketItems) do
|
|
32180
|
+
if pocketItem.type == PocketItemType.ACTIVE_ITEM then
|
|
32181
|
+
return pocketItem.slot
|
|
32182
|
+
end
|
|
32183
|
+
end
|
|
32184
|
+
return nil
|
|
32185
|
+
end
|
|
32186
|
+
function ____exports.getFirstCard(self, player)
|
|
32187
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32188
|
+
return __TS__ArrayFind(
|
|
32189
|
+
pocketItems,
|
|
32190
|
+
function(____, pocketItem) return pocketItem.type == PocketItemType.CARD end
|
|
32191
|
+
)
|
|
32192
|
+
end
|
|
32193
|
+
function ____exports.getFirstCardOrPill(self, player)
|
|
32194
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32195
|
+
return __TS__ArrayFind(
|
|
32196
|
+
pocketItems,
|
|
32197
|
+
function(____, pocketItem) return pocketItem.type == PocketItemType.CARD or pocketItem.type == PocketItemType.PILL end
|
|
32198
|
+
)
|
|
32199
|
+
end
|
|
32200
|
+
function ____exports.getFirstPill(self, player)
|
|
32201
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32202
|
+
return __TS__ArrayFind(
|
|
32203
|
+
pocketItems,
|
|
32204
|
+
function(____, pocketItem) return pocketItem.type == PocketItemType.PILL end
|
|
32205
|
+
)
|
|
32206
|
+
end
|
|
32207
|
+
function ____exports.hasOpenPocketItemSlot(self, player)
|
|
32208
|
+
if isCharacter(nil, player, PlayerType.SOUL_B) then
|
|
32209
|
+
return false
|
|
32210
|
+
end
|
|
32211
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32212
|
+
return __TS__ArraySome(
|
|
32213
|
+
pocketItems,
|
|
32214
|
+
function(____, pocketItem) return pocketItem.type == PocketItemType.EMPTY end
|
|
32215
|
+
)
|
|
32216
|
+
end
|
|
32217
|
+
function ____exports.isFirstSlotPocketActiveItem(self, player)
|
|
32218
|
+
local pocketItems = ____exports.getPocketItems(nil, player)
|
|
32219
|
+
local firstPocketItem = pocketItems[1]
|
|
32220
|
+
if firstPocketItem == nil then
|
|
32221
|
+
return false
|
|
32222
|
+
end
|
|
32223
|
+
return firstPocketItem.type == PocketItemType.ACTIVE_ITEM
|
|
32224
|
+
end
|
|
32225
|
+
return ____exports
|
|
32226
|
+
end,
|
|
32227
|
+
["src.classes.callbacks.PostUsePillFilter"] = function(...)
|
|
32228
|
+
local ____lualib = require("lualib_bundle")
|
|
32229
|
+
local Map = ____lualib.Map
|
|
32230
|
+
local __TS__New = ____lualib.__TS__New
|
|
32231
|
+
local __TS__Class = ____lualib.__TS__Class
|
|
32232
|
+
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
|
32233
|
+
local ____exports = {}
|
|
32234
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("lua_modules.isaac-typescript-definitions.dist.src.index")
|
|
32235
|
+
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
32236
|
+
local PillColor = ____isaac_2Dtypescript_2Ddefinitions.PillColor
|
|
32237
|
+
local ____ModCallbackCustom = require("src.enums.ModCallbackCustom")
|
|
32238
|
+
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
32239
|
+
local ____playerDataStructures = require("src.functions.playerDataStructures")
|
|
32240
|
+
local mapDeletePlayer = ____playerDataStructures.mapDeletePlayer
|
|
32241
|
+
local mapGetPlayer = ____playerDataStructures.mapGetPlayer
|
|
32242
|
+
local mapSetPlayer = ____playerDataStructures.mapSetPlayer
|
|
32243
|
+
local ____pocketItems = require("src.functions.pocketItems")
|
|
32244
|
+
local getFirstPill = ____pocketItems.getFirstPill
|
|
32245
|
+
local ____CustomCallback = require("src.classes.private.CustomCallback")
|
|
32246
|
+
local CustomCallback = ____CustomCallback.CustomCallback
|
|
32247
|
+
local v = {run = {playerFirstPill = __TS__New(Map)}}
|
|
32248
|
+
____exports.PostUsePillFilter = __TS__Class()
|
|
32249
|
+
local PostUsePillFilter = ____exports.PostUsePillFilter
|
|
32250
|
+
PostUsePillFilter.name = "PostUsePillFilter"
|
|
32251
|
+
__TS__ClassExtends(PostUsePillFilter, CustomCallback)
|
|
32252
|
+
function PostUsePillFilter.prototype.____constructor(self)
|
|
32253
|
+
CustomCallback.prototype.____constructor(self)
|
|
32254
|
+
self.v = v
|
|
32255
|
+
self.postUsePill = function(____, pillEffect, player, useFlags)
|
|
32256
|
+
local firstPill = mapGetPlayer(nil, v.run.playerFirstPill, player)
|
|
32257
|
+
local pillColor = firstPill == nil and PillColor.NULL or firstPill.subType
|
|
32258
|
+
self:fire(pillEffect, pillColor, player, useFlags)
|
|
32259
|
+
end
|
|
32260
|
+
self.postPEffectUpdateReordered = function(____, player)
|
|
32261
|
+
self:updateCurrentHeldPills(player)
|
|
32262
|
+
end
|
|
32263
|
+
self.callbacksUsed = {{ModCallback.POST_USE_PILL, self.postUsePill}}
|
|
32264
|
+
self.customCallbacksUsed = {{ModCallbackCustom.POST_PEFFECT_UPDATE_REORDERED, self.postPEffectUpdateReordered}}
|
|
32265
|
+
end
|
|
32266
|
+
function PostUsePillFilter.prototype.updateCurrentHeldPills(self, player)
|
|
32267
|
+
local firstPill = getFirstPill(nil, player)
|
|
32268
|
+
if firstPill == nil then
|
|
32269
|
+
mapDeletePlayer(nil, v.run.playerFirstPill, player)
|
|
32270
|
+
else
|
|
32271
|
+
mapSetPlayer(nil, v.run.playerFirstPill, player, firstPill)
|
|
32272
|
+
end
|
|
32273
|
+
end
|
|
32083
32274
|
return ____exports
|
|
32084
32275
|
end,
|
|
32085
32276
|
["src.classes.callbacks.PreBerserkDeath"] = function(...)
|
|
@@ -33105,6 +33296,11 @@ do
|
|
|
33105
33296
|
local PostTrinketBreak = ____PostTrinketBreak.PostTrinketBreak
|
|
33106
33297
|
____exports.PostTrinketBreak = PostTrinketBreak
|
|
33107
33298
|
end
|
|
33299
|
+
do
|
|
33300
|
+
local ____PostUsePillFilter = require("src.classes.callbacks.PostUsePillFilter")
|
|
33301
|
+
local PostUsePillFilter = ____PostUsePillFilter.PostUsePillFilter
|
|
33302
|
+
____exports.PostUsePillFilter = PostUsePillFilter
|
|
33303
|
+
end
|
|
33108
33304
|
do
|
|
33109
33305
|
local ____PreBerserkDeath = require("src.classes.callbacks.PreBerserkDeath")
|
|
33110
33306
|
local PreBerserkDeath = ____PreBerserkDeath.PreBerserkDeath
|
|
@@ -33315,6 +33511,7 @@ local MOD_CALLBACK_CUSTOM_TO_CLASS = {
|
|
|
33315
33511
|
[ModCallbackCustom.POST_TNT_UPDATE] = cc.PostTNTUpdate,
|
|
33316
33512
|
[ModCallbackCustom.POST_TRANSFORMATION] = cc.PostTransformation,
|
|
33317
33513
|
[ModCallbackCustom.POST_TRINKET_BREAK] = cc.PostTrinketBreak,
|
|
33514
|
+
[ModCallbackCustom.POST_USE_PILL_FILTER] = cc.PostUsePillFilter,
|
|
33318
33515
|
[ModCallbackCustom.PRE_BERSERK_DEATH] = cc.PreBerserkDeath,
|
|
33319
33516
|
[ModCallbackCustom.PRE_BOMB_COLLISION_FILTER] = cc.PreBombCollisionFilter,
|
|
33320
33517
|
[ModCallbackCustom.PRE_CUSTOM_REVIVE] = cc.PreCustomRevive,
|
|
@@ -52084,23 +52281,6 @@ function ____exports.upgradeMod(self, modVanilla, features, ____debug, timeThres
|
|
|
52084
52281
|
initOptionalFeatures(nil, mod, features)
|
|
52085
52282
|
return mod
|
|
52086
52283
|
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
52284
|
return ____exports
|
|
52105
52285
|
end,
|
|
52106
52286
|
["src.functions.arrayLua"] = function(...)
|
|
@@ -52962,98 +53142,6 @@ function ____exports.initModFeatures(self, mod, modFeatures)
|
|
|
52962
53142
|
end
|
|
52963
53143
|
return instantiatedModFeatures
|
|
52964
53144
|
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
53145
|
return ____exports
|
|
53058
53146
|
end,
|
|
53059
53147
|
["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,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCA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