isaacscript-common 39.4.6 → 39.4.7
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
CHANGED
|
@@ -13940,6 +13940,9 @@ export declare function onRepentanceStage(): boolean;
|
|
|
13940
13940
|
* Whether the player is playing on a set seed (i.e. that they entered in a specific seed by
|
|
13941
13941
|
* pressing tab on the character selection screen). When the player resets the game on a set seed,
|
|
13942
13942
|
* the game will not switch to a different seed.
|
|
13943
|
+
*
|
|
13944
|
+
* Under the hood, this checks if the current challenge is `Challenge.NULL` and the
|
|
13945
|
+
* `Seeds.IsCustomRun` method.
|
|
13943
13946
|
*/
|
|
13944
13947
|
export declare function onSetSeed(): boolean;
|
|
13945
13948
|
|
|
@@ -13,6 +13,9 @@ export declare function isGreedMode(): boolean;
|
|
|
13
13
|
* Whether the player is playing on a set seed (i.e. that they entered in a specific seed by
|
|
14
14
|
* pressing tab on the character selection screen). When the player resets the game on a set seed,
|
|
15
15
|
* the game will not switch to a different seed.
|
|
16
|
+
*
|
|
17
|
+
* Under the hood, this checks if the current challenge is `Challenge.NULL` and the
|
|
18
|
+
* `Seeds.IsCustomRun` method.
|
|
16
19
|
*/
|
|
17
20
|
export declare function onSetSeed(): boolean;
|
|
18
21
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/functions/run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAa/D;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CAUlD;AAED;;;GAGG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAKrC;AAED
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/functions/run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAa/D;;;GAGG;AACH,wBAAgB,wBAAwB,IAAI,OAAO,CAUlD;AAED;;;GAGG;AACH,wBAAgB,WAAW,IAAI,OAAO,CAKrC;AAED;;;;;;;GAOG;AACH,wBAAgB,SAAS,IAAI,OAAO,CAMnC;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,SAAS,CAAC,EAAE,UAAU,GAAG,IAAI,CAkBpD;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,IAAI,IAAI,CAUlC"}
|
|
@@ -31,6 +31,9 @@ end
|
|
|
31
31
|
--- Whether the player is playing on a set seed (i.e. that they entered in a specific seed by
|
|
32
32
|
-- pressing tab on the character selection screen). When the player resets the game on a set seed,
|
|
33
33
|
-- the game will not switch to a different seed.
|
|
34
|
+
--
|
|
35
|
+
-- Under the hood, this checks if the current challenge is `Challenge.NULL` and the
|
|
36
|
+
-- `Seeds.IsCustomRun` method.
|
|
34
37
|
function ____exports.onSetSeed(self)
|
|
35
38
|
local seeds = game:GetSeeds()
|
|
36
39
|
local customRun = seeds:IsCustomRun()
|
package/package.json
CHANGED
package/src/functions/run.ts
CHANGED
|
@@ -42,6 +42,9 @@ export function isGreedMode(): boolean {
|
|
|
42
42
|
* Whether the player is playing on a set seed (i.e. that they entered in a specific seed by
|
|
43
43
|
* pressing tab on the character selection screen). When the player resets the game on a set seed,
|
|
44
44
|
* the game will not switch to a different seed.
|
|
45
|
+
*
|
|
46
|
+
* Under the hood, this checks if the current challenge is `Challenge.NULL` and the
|
|
47
|
+
* `Seeds.IsCustomRun` method.
|
|
45
48
|
*/
|
|
46
49
|
export function onSetSeed(): boolean {
|
|
47
50
|
const seeds = game.GetSeeds();
|