@@ -23,13 +23,25 @@ declare global {
2323 /** Returns the pickup's drop delay. */
2424 GetDropDelay : ( ) => int ;
2525
26+ /**
27+ * Returns the pickup's flipped collectible. Returns undefined if it does not have a flipped
28+ * collectible.
29+ */
30+ GetFlipCollectible : ( ) => CollectibleType | undefined ;
31+
2632 /**
2733 * Returns a read-only version of the pickup's `LootList`.
2834 *
2935 * @param shouldAdvance Optional. Default is false.
3036 */
3137 GetLootList : ( shouldAdvance ?: boolean ) => Readonly < LootList > ;
3238
39+ GetMegaChestLeftCollectible : ( ) => EntityPickup | undefined ;
40+ GetMegaChestOtherCollectible : ( ) => LuaMultiReturn <
41+ [ otherCollectible : EntityPickup | undefined , isRight : boolean | undefined ]
42+ > ;
43+ GetMegaChestRightCollectible : ( ) => EntityPickup | undefined ;
44+
3345 /**
3446 * Returns the ghost effect that is visible if a player has Guppy's Eye. Returns undefined if
3547 * the ghost isn't visible.
@@ -42,14 +54,27 @@ declare global {
4254 /** Returns the pickup's `VarData`. */
4355 GetVarData : ( ) => int ;
4456
57+ HasFlipData : ( ) => boolean ;
58+
59+ /**
60+ * @param collectible Optional. Default is `CollectibleType.COLLECTIBLE_NULL`.
61+ * @param loadGraphics Optional. Default is true.
62+ */
63+ InitFlipState : (
64+ collectible ?: CollectibleType ,
65+ loadGraphics ?: boolean ,
66+ ) => void ;
67+
4568 /**
4669 * Returns whether the collectible is hidden or not.
4770 *
4871 * This method does not account for Curse of the Blind, it only reflects the blind state of
4972 * pickups that are normally blind without curses involved, such as the extra item in the alt
5073 * path treasure rooms.
74+ *
75+ * @param checkForcedBlindOnly Optional. Default is true.
5176 */
52- IsBlind : ( ) => boolean ;
77+ IsBlind : ( checkForcedBlindOnly ?: boolean ) => boolean ;
5378
5479 /** Turns the pickup into a shop item, automatically assigning its price. */
5580 MakeShopItem : ( shopItemID : int ) => void ;
@@ -70,7 +95,9 @@ declare global {
7095 SetForceBlind : ( blind : boolean ) => void ;
7196
7297 /** Sets the pickup's Options index and returns the new pickup index. */
73- SetNewOptionsIndex : ( ) => int ;
98+ SetNewOptionsPickupIndex : ( ) => int ;
99+
100+ SetVarData : ( varData : int ) => void ;
74101
75102 /**
76103 * Triggers the effect of the "Theres Options" collectible and removes all pickups in the room
0 commit comments