isaacscript-common 86.1.0 → 87.0.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/classes/ModUpgraded.js +1 -1
- package/dist/classes/features/other/CustomTrapdoors.d.ts +4 -4
- package/dist/classes/features/other/CustomTrapdoors.js +4 -4
- package/dist/index.rollup.d.ts +4 -4
- package/dist/isaacscript-common.lua +1 -1
- package/package.json +2 -2
- package/src/classes/ModUpgraded.ts +1 -1
- package/src/classes/features/other/CustomTrapdoors.ts +4 -4
|
@@ -79,7 +79,7 @@ class ModUpgraded {
|
|
|
79
79
|
Isaac.DebugString(`${signature} - START`);
|
|
80
80
|
// @ts-expect-error The compiler is not smart enough to know that the callback args should
|
|
81
81
|
// match the callback.
|
|
82
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
82
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
83
83
|
const returnValue = callback(...callbackArgs);
|
|
84
84
|
const elapsedTime = (0, debugFunctions_1.getElapsedTimeSince)(startTime);
|
|
85
85
|
if (this.timeThreshold === undefined ||
|
|
@@ -48,10 +48,10 @@ export declare class CustomTrapdoors extends Feature {
|
|
|
48
48
|
*
|
|
49
49
|
* In order to use this function, you must upgrade your mod with `ISCFeature.CUSTOM_TRAPDOORS`.
|
|
50
50
|
*
|
|
51
|
-
* @param destinationName The
|
|
52
|
-
* correspond to a local `CustomTrapdoorType` enum in your mod.
|
|
53
|
-
*
|
|
54
|
-
*
|
|
51
|
+
* @param destinationName The name that identifies the type of custom trapdoor. It should
|
|
52
|
+
* correspond to a local `CustomTrapdoorType` enum in your mod. It can be
|
|
53
|
+
* any unique value and can safely overlap with values chosen by other
|
|
54
|
+
* mods.
|
|
55
55
|
* @param destinationFunc A function that takes the player to the destination that you want.
|
|
56
56
|
* Inside this function, use the `setStage` or `setCustomStage` helper
|
|
57
57
|
* functions, or do something completely custom.
|
|
@@ -452,10 +452,10 @@ class CustomTrapdoors extends Feature_1.Feature {
|
|
|
452
452
|
*
|
|
453
453
|
* In order to use this function, you must upgrade your mod with `ISCFeature.CUSTOM_TRAPDOORS`.
|
|
454
454
|
*
|
|
455
|
-
* @param destinationName The
|
|
456
|
-
* correspond to a local `CustomTrapdoorType` enum in your mod.
|
|
457
|
-
*
|
|
458
|
-
*
|
|
455
|
+
* @param destinationName The name that identifies the type of custom trapdoor. It should
|
|
456
|
+
* correspond to a local `CustomTrapdoorType` enum in your mod. It can be
|
|
457
|
+
* any unique value and can safely overlap with values chosen by other
|
|
458
|
+
* mods.
|
|
459
459
|
* @param destinationFunc A function that takes the player to the destination that you want.
|
|
460
460
|
* Inside this function, use the `setStage` or `setCustomStage` helper
|
|
461
461
|
* functions, or do something completely custom.
|
package/dist/index.rollup.d.ts
CHANGED
|
@@ -2885,10 +2885,10 @@ declare class CustomTrapdoors extends Feature {
|
|
|
2885
2885
|
*
|
|
2886
2886
|
* In order to use this function, you must upgrade your mod with `ISCFeature.CUSTOM_TRAPDOORS`.
|
|
2887
2887
|
*
|
|
2888
|
-
* @param destinationName The
|
|
2889
|
-
* correspond to a local `CustomTrapdoorType` enum in your mod.
|
|
2890
|
-
*
|
|
2891
|
-
*
|
|
2888
|
+
* @param destinationName The name that identifies the type of custom trapdoor. It should
|
|
2889
|
+
* correspond to a local `CustomTrapdoorType` enum in your mod. It can be
|
|
2890
|
+
* any unique value and can safely overlap with values chosen by other
|
|
2891
|
+
* mods.
|
|
2892
2892
|
* @param destinationFunc A function that takes the player to the destination that you want.
|
|
2893
2893
|
* Inside this function, use the `setStage` or `setCustomStage` helper
|
|
2894
2894
|
* functions, or do something completely custom.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "87.0.0",
|
|
4
4
|
"description": "Helper functions and features for IsaacScript mods.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"lint": "tsx --tsconfig ./scripts/tsconfig.json ./scripts/lint.mts"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"isaac-typescript-definitions": "^
|
|
40
|
+
"isaac-typescript-definitions": "^41.0.0"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -114,7 +114,7 @@ export class ModUpgraded implements Mod {
|
|
|
114
114
|
|
|
115
115
|
// @ts-expect-error The compiler is not smart enough to know that the callback args should
|
|
116
116
|
// match the callback.
|
|
117
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
117
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
118
118
|
const returnValue = callback(...callbackArgs);
|
|
119
119
|
|
|
120
120
|
const elapsedTime = getElapsedTimeSince(startTime);
|
|
@@ -670,10 +670,10 @@ export class CustomTrapdoors extends Feature {
|
|
|
670
670
|
*
|
|
671
671
|
* In order to use this function, you must upgrade your mod with `ISCFeature.CUSTOM_TRAPDOORS`.
|
|
672
672
|
*
|
|
673
|
-
* @param destinationName The
|
|
674
|
-
* correspond to a local `CustomTrapdoorType` enum in your mod.
|
|
675
|
-
*
|
|
676
|
-
*
|
|
673
|
+
* @param destinationName The name that identifies the type of custom trapdoor. It should
|
|
674
|
+
* correspond to a local `CustomTrapdoorType` enum in your mod. It can be
|
|
675
|
+
* any unique value and can safely overlap with values chosen by other
|
|
676
|
+
* mods.
|
|
677
677
|
* @param destinationFunc A function that takes the player to the destination that you want.
|
|
678
678
|
* Inside this function, use the `setStage` or `setCustomStage` helper
|
|
679
679
|
* functions, or do something completely custom.
|