isaacscript-common 60.0.0 → 61.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.rollup.d.ts +8 -8
- package/dist/isaacscript-common.lua +1911 -1919
- package/dist/src/classes/features/other/DisableInputs.lua +4 -4
- package/dist/src/functions/collectibles.d.ts.map +1 -1
- package/dist/src/functions/collectibles.lua +8 -8
- package/dist/src/functions/frames.lua +2 -2
- package/dist/src/functions/input.d.ts +6 -6
- package/dist/src/functions/input.d.ts.map +1 -1
- package/dist/src/functions/input.lua +18 -18
- package/dist/src/functions/trinkets.d.ts.map +1 -1
- package/dist/src/functions/trinkets.lua +8 -8
- package/dist/src/indexLua.d.ts +202 -0
- package/dist/src/indexLua.d.ts.map +1 -0
- package/dist/src/indexLua.lua +1186 -0
- package/dist/src/maps/collectibleNameToTypeMap.d.ts +3 -2
- package/dist/src/maps/collectibleNameToTypeMap.d.ts.map +1 -1
- package/dist/src/maps/collectibleNameToTypeMap.lua +16 -23
- package/dist/src/maps/trinketNameToTypeMap.d.ts +1 -1
- package/dist/src/maps/trinketNameToTypeMap.d.ts.map +1 -1
- package/dist/src/maps/trinketNameToTypeMap.lua +7 -6
- package/dist/src/objects/collectibleDescriptions.d.ts +727 -0
- package/dist/src/objects/collectibleDescriptions.d.ts.map +1 -0
- package/dist/src/objects/collectibleDescriptions.lua +730 -0
- package/dist/src/objects/collectibleNames.d.ts +731 -0
- package/dist/src/objects/collectibleNames.d.ts.map +1 -0
- package/dist/src/objects/collectibleNames.lua +732 -0
- package/dist/src/objects/trinketDescriptions.d.ts +194 -0
- package/dist/src/objects/trinketDescriptions.d.ts.map +1 -0
- package/dist/src/objects/trinketDescriptions.lua +197 -0
- package/dist/src/objects/trinketNames.d.ts +198 -0
- package/dist/src/objects/trinketNames.d.ts.map +1 -0
- package/dist/src/objects/trinketNames.lua +199 -0
- package/package.json +1 -1
- package/src/classes/features/other/DisableInputs.ts +4 -4
- package/src/functions/collectibles.ts +10 -7
- package/src/functions/frames.ts +2 -2
- package/src/functions/input.ts +20 -20
- package/src/functions/trinkets.ts +10 -11
- package/src/maps/collectibleNameToTypeMap.ts +20 -11
- package/src/maps/trinketNameToTypeMap.ts +4 -3
- package/src/objects/collectibleDescriptions.ts +743 -0
- package/src/objects/collectibleNames.ts +744 -0
- package/src/objects/trinketDescriptions.ts +199 -0
- package/src/objects/trinketNames.ts +201 -0
- package/dist/src/maps/collectibleDescriptionMap.d.ts +0 -10
- package/dist/src/maps/collectibleDescriptionMap.d.ts.map +0 -1
- package/dist/src/maps/collectibleDescriptionMap.lua +0 -733
- package/dist/src/maps/collectibleTypeToNameMap.d.ts +0 -12
- package/dist/src/maps/collectibleTypeToNameMap.d.ts.map +0 -1
- package/dist/src/maps/collectibleTypeToNameMap.lua +0 -735
- package/dist/src/maps/trinketDescriptionMap.d.ts +0 -10
- package/dist/src/maps/trinketDescriptionMap.d.ts.map +0 -1
- package/dist/src/maps/trinketDescriptionMap.lua +0 -201
- package/dist/src/maps/trinketTypeToNameMap.d.ts +0 -12
- package/dist/src/maps/trinketTypeToNameMap.d.ts.map +0 -1
- package/dist/src/maps/trinketTypeToNameMap.lua +0 -203
- package/src/maps/collectibleDescriptionMap.ts +0 -738
- package/src/maps/collectibleTypeToNameMap.ts +0 -738
- package/src/maps/trinketDescriptionMap.ts +0 -203
- package/src/maps/trinketTypeToNameMap.ts +0 -203
package/dist/index.rollup.d.ts
CHANGED
|
@@ -1628,7 +1628,7 @@ export declare const COLLECTIBLE_INITIAL_WAIT = 20;
|
|
|
1628
1628
|
/**
|
|
1629
1629
|
* Maps collectible names to the values of the `CollectibleType` enum.
|
|
1630
1630
|
*
|
|
1631
|
-
* For a mapping of `CollectibleType` to name, see `
|
|
1631
|
+
* For a mapping of `CollectibleType` to name, see the `COLLECTIBLE_NAMES` constant.
|
|
1632
1632
|
*/
|
|
1633
1633
|
export declare const COLLECTIBLE_NAME_TO_TYPE_MAP: ReadonlyMap<string, CollectibleType>;
|
|
1634
1634
|
|
|
@@ -6128,7 +6128,7 @@ export declare function getMegaSatanDoor(): GridEntityDoor | undefined;
|
|
|
6128
6128
|
* pressing down. This returns an array because a player can be holding down more than one movement
|
|
6129
6129
|
* key at a time.
|
|
6130
6130
|
*/
|
|
6131
|
-
export declare function
|
|
6131
|
+
export declare function getMoveButtonActions(controllerIndex: ControllerIndex): ButtonAction[];
|
|
6132
6132
|
|
|
6133
6133
|
/**
|
|
6134
6134
|
* Helper function to get the corresponding music value for a stage and stage type combination.
|
|
@@ -7542,7 +7542,7 @@ export declare function getSetCombinations<T>(set: Set<T> | ReadonlySet<T>, incl
|
|
|
7542
7542
|
* pressing down. This returns an array because a player can be holding down more than one shooting
|
|
7543
7543
|
* key at a time.
|
|
7544
7544
|
*/
|
|
7545
|
-
export declare function
|
|
7545
|
+
export declare function getShootButtonActions(controllerIndex: ControllerIndex): ButtonAction[];
|
|
7546
7546
|
|
|
7547
7547
|
/**
|
|
7548
7548
|
* Helper function to get the corresponding "Siren Helper" entity for a stolen familiar.
|
|
@@ -14183,9 +14183,9 @@ export declare class ModUpgraded implements Mod {
|
|
|
14183
14183
|
*/
|
|
14184
14184
|
declare type ModUpgradedWithFeatures<T extends readonly ISCFeature[] = []> = ModUpgraded & ISCFeaturesToKeys<T>;
|
|
14185
14185
|
|
|
14186
|
-
export declare const
|
|
14186
|
+
export declare const MOVEMENT_BUTTON_ACTIONS: readonly [ButtonAction.LEFT, ButtonAction.RIGHT, ButtonAction.UP, ButtonAction.DOWN];
|
|
14187
14187
|
|
|
14188
|
-
export declare const
|
|
14188
|
+
export declare const MOVEMENT_BUTTON_ACTIONS_SET: ReadonlySet<ButtonAction>;
|
|
14189
14189
|
|
|
14190
14190
|
/**
|
|
14191
14191
|
* Helper function to move all of the players to where they would normally go when arriving at a new
|
|
@@ -17243,9 +17243,9 @@ export declare function setUnseeded(): void;
|
|
|
17243
17243
|
*/
|
|
17244
17244
|
export declare const sfxManager: SFXManager;
|
|
17245
17245
|
|
|
17246
|
-
export declare const
|
|
17246
|
+
export declare const SHOOTING_BUTTON_ACTIONS: readonly [ButtonAction.SHOOT_LEFT, ButtonAction.SHOOT_RIGHT, ButtonAction.SHOOT_UP, ButtonAction.SHOOT_DOWN];
|
|
17247
17247
|
|
|
17248
|
-
export declare const
|
|
17248
|
+
export declare const SHOOTING_BUTTON_ACTIONS_SET: ReadonlySet<ButtonAction>;
|
|
17249
17249
|
|
|
17250
17250
|
declare function shouldFireCollectibleType(fireArgs: [player: EntityPlayer, collectibleType: CollectibleType], optionalArgs: [collectibleType?: CollectibleType]): boolean;
|
|
17251
17251
|
|
|
@@ -18224,7 +18224,7 @@ export declare function trimSuffix(string: string, prefix: string): string;
|
|
|
18224
18224
|
/**
|
|
18225
18225
|
* Maps trinket names to the values of the `TrinketType` enum.
|
|
18226
18226
|
*
|
|
18227
|
-
* For a mapping of `TrinketType` to name, see `
|
|
18227
|
+
* For a mapping of `TrinketType` to name, see the `TRINKET_NAMES` constant.
|
|
18228
18228
|
*/
|
|
18229
18229
|
export declare const TRINKET_NAME_TO_TYPE_MAP: ReadonlyMap<string, TrinketType>;
|
|
18230
18230
|
|