isaacscript-common 7.17.2 → 7.17.3
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/features/characterHealthConversion.d.ts +0 -1
- package/dist/features/characterHealthConversion.d.ts.map +1 -1
- package/dist/features/characterHealthConversion.lua +2 -0
- package/dist/features/characterStats.d.ts +0 -1
- package/dist/features/characterStats.d.ts.map +1 -1
- package/dist/features/characterStats.lua +2 -0
- package/dist/features/collectibleItemPoolType.d.ts +0 -1
- package/dist/features/collectibleItemPoolType.d.ts.map +1 -1
- package/dist/features/collectibleItemPoolType.lua +2 -0
- package/dist/features/customGridEntity.d.ts +0 -2
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +2 -0
- package/dist/features/customPickup.d.ts +0 -1
- package/dist/features/customPickup.d.ts.map +1 -1
- package/dist/features/customPickup.lua +2 -0
- package/dist/features/deployJSONRoom.d.ts +0 -2
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +2 -0
- package/dist/features/disableAllSound.d.ts +0 -2
- package/dist/features/disableAllSound.d.ts.map +1 -1
- package/dist/features/disableAllSound.lua +2 -0
- package/dist/features/disableInputs.d.ts +0 -1
- package/dist/features/disableInputs.d.ts.map +1 -1
- package/dist/features/disableInputs.lua +2 -0
- package/dist/features/fadeInRemover.d.ts +0 -2
- package/dist/features/fadeInRemover.d.ts.map +1 -1
- package/dist/features/fadeInRemover.lua +2 -0
- package/dist/features/fastReset.d.ts +0 -2
- package/dist/features/fastReset.d.ts.map +1 -1
- package/dist/features/fastReset.lua +2 -0
- package/dist/features/forgottenSwitch.d.ts +0 -2
- package/dist/features/forgottenSwitch.d.ts.map +1 -1
- package/dist/features/forgottenSwitch.lua +2 -0
- package/dist/features/pause.d.ts +0 -2
- package/dist/features/pause.d.ts.map +1 -1
- package/dist/features/pause.lua +2 -0
- package/dist/features/persistentEntities.d.ts +0 -2
- package/dist/features/persistentEntities.d.ts.map +1 -1
- package/dist/features/persistentEntities.lua +2 -0
- package/dist/features/pickupIndex.d.ts +0 -2
- package/dist/features/pickupIndex.d.ts.map +1 -1
- package/dist/features/pickupIndex.lua +2 -0
- package/dist/features/playerInventory.d.ts +0 -2
- package/dist/features/playerInventory.d.ts.map +1 -1
- package/dist/features/playerInventory.lua +2 -0
- package/dist/features/ponyDetection.d.ts +0 -2
- package/dist/features/ponyDetection.d.ts.map +1 -1
- package/dist/features/ponyDetection.lua +2 -0
- package/dist/features/preventChildEntities.d.ts +0 -2
- package/dist/features/preventChildEntities.d.ts.map +1 -1
- package/dist/features/preventChildEntities.lua +2 -0
- package/dist/features/preventCollectibleRotation.d.ts +0 -1
- package/dist/features/preventCollectibleRotation.d.ts.map +1 -1
- package/dist/features/preventCollectibleRotation.lua +2 -0
- package/dist/features/registerHotkey.d.ts +0 -1
- package/dist/features/registerHotkey.d.ts.map +1 -1
- package/dist/features/registerHotkey.lua +2 -0
- package/dist/features/roomClearFrame.d.ts +0 -2
- package/dist/features/roomClearFrame.d.ts.map +1 -1
- package/dist/features/roomClearFrame.lua +2 -0
- package/dist/features/roomHistory.d.ts +0 -2
- package/dist/features/roomHistory.d.ts.map +1 -1
- package/dist/features/roomHistory.lua +2 -0
- package/dist/features/runInNFrames.d.ts +0 -2
- package/dist/features/runInNFrames.d.ts.map +1 -1
- package/dist/features/runInNFrames.lua +2 -0
- package/dist/features/runNextRoom.d.ts +0 -2
- package/dist/features/runNextRoom.d.ts.map +1 -1
- package/dist/features/runNextRoom.lua +2 -0
- package/dist/features/sirenHelpers.d.ts +0 -1
- package/dist/features/sirenHelpers.d.ts.map +1 -1
- package/dist/features/sirenHelpers.lua +2 -0
- package/dist/features/stageHistory.d.ts +0 -2
- package/dist/features/stageHistory.d.ts.map +1 -1
- package/dist/features/stageHistory.lua +2 -0
- package/dist/features/taintedLazarusPlayers.d.ts +0 -2
- package/dist/features/taintedLazarusPlayers.d.ts.map +1 -1
- package/dist/features/taintedLazarusPlayers.lua +2 -0
- package/dist/index.d.ts +175 -11417
- package/package.json +1 -1
- package/src/features/characterHealthConversion.ts +1 -0
- package/src/features/characterStats.ts +1 -0
- package/src/features/collectibleItemPoolType.ts +1 -0
- package/src/features/customGridEntity.ts +1 -0
- package/src/features/customPickup.ts +1 -0
- package/src/features/deployJSONRoom.ts +1 -0
- package/src/features/disableAllSound.ts +1 -0
- package/src/features/disableInputs.ts +1 -0
- package/src/features/fadeInRemover.ts +1 -0
- package/src/features/fastReset.ts +4 -0
- package/src/features/forgottenSwitch.ts +1 -0
- package/src/features/pause.ts +1 -0
- package/src/features/persistentEntities.ts +1 -0
- package/src/features/pickupIndex.ts +1 -0
- package/src/features/playerInventory.ts +1 -0
- package/src/features/ponyDetection.ts +1 -0
- package/src/features/preventChildEntities.ts +1 -0
- package/src/features/preventCollectibleRotation.ts +1 -0
- package/src/features/registerHotkey.ts +1 -0
- package/src/features/roomClearFrame.ts +1 -0
- package/src/features/roomHistory.ts +1 -0
- package/src/features/runInNFrames.ts +1 -0
- package/src/features/runNextRoom.ts +1 -0
- package/src/features/sirenHelpers.ts +1 -0
- package/src/features/stageHistory.ts +1 -0
- package/src/features/taintedLazarusPlayers.ts +1 -0
- package/src/types/AwaitingTextInput.d.ts +0 -2
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HeartSubType, PlayerType } from "isaac-typescript-definitions";
|
|
8
8
|
export declare type ConversionHeartSubType = HeartSubType.SOUL | HeartSubType.BLACK;
|
|
9
|
-
export declare function characterHealthConversionInit(mod: Mod): void;
|
|
10
9
|
/**
|
|
11
10
|
* Helper function to make a character that has the same health mechanic as Blue Baby (red heart
|
|
12
11
|
* containers --> soul hearts) or Dark Judas (red heart containers --> black hearts).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"characterHealthConversion.d.ts","sourceRoot":"","sources":["../../src/features/characterHealthConversion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,YAAY,EAGZ,UAAU,EACX,MAAM,8BAA8B,CAAC;AAMtC,oBAAY,sBAAsB,GAAG,YAAY,CAAC,IAAI,GAAG,YAAY,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"characterHealthConversion.d.ts","sourceRoot":"","sources":["../../src/features/characterHealthConversion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,YAAY,EAGZ,UAAU,EACX,MAAM,8BAA8B,CAAC;AAMtC,oBAAY,sBAAsB,GAAG,YAAY,CAAC,IAAI,GAAG,YAAY,CAAC,KAAK,CAAC;AAuF5E;;;;;GAKG;AACH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,UAAU,EACtB,sBAAsB,EAAE,sBAAsB,GAC7C,IAAI,CAUN"}
|
|
@@ -67,6 +67,8 @@ function prePickupCollisionHeart(self, pickup, collider)
|
|
|
67
67
|
end
|
|
68
68
|
local FEATURE_NAME = "characterHealthConversion"
|
|
69
69
|
characterHealthReplacementMap = __TS__New(Map)
|
|
70
|
+
---
|
|
71
|
+
-- @internal
|
|
70
72
|
function ____exports.characterHealthConversionInit(self, mod)
|
|
71
73
|
mod:AddCallback(ModCallback.POST_PEFFECT_UPDATE, postPEffectUpdate)
|
|
72
74
|
mod:AddCallback(ModCallback.PRE_PICKUP_COLLISION, prePickupCollisionHeart, PickupVariant.HEART)
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @module
|
|
5
5
|
*/
|
|
6
6
|
import { CacheFlag, PlayerType } from "isaac-typescript-definitions";
|
|
7
|
-
export declare function characterStatsInit(mod: Mod): void;
|
|
8
7
|
/**
|
|
9
8
|
* Helper function to manage the stats for a vanilla or custom character. Call this function once at
|
|
10
9
|
* the beginning of your mod to declare the starting stats.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"characterStats.d.ts","sourceRoot":"","sources":["../../src/features/characterStats.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,SAAS,EAET,UAAU,EACX,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"characterStats.d.ts","sourceRoot":"","sources":["../../src/features/characterStats.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,SAAS,EAET,UAAU,EACX,MAAM,8BAA8B,CAAC;AAiCtC;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,GAC/D,IAAI,CAGN"}
|
|
@@ -27,6 +27,8 @@ function evaluateCache(self, player, cacheFlag)
|
|
|
27
27
|
end
|
|
28
28
|
local FEATURE_NAME = "characterStats"
|
|
29
29
|
charactersStatMap = __TS__New(Map)
|
|
30
|
+
---
|
|
31
|
+
-- @internal
|
|
30
32
|
function ____exports.characterStatsInit(self, mod)
|
|
31
33
|
mod:AddCallback(ModCallback.EVALUATE_CACHE, evaluateCache)
|
|
32
34
|
end
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ItemPoolType } from "isaac-typescript-definitions";
|
|
2
|
-
export declare function collectibleItemPoolTypeInit(mod: Mod): void;
|
|
3
2
|
/**
|
|
4
3
|
* Helper function to get the item pool type that a given collectible came from. Since there is no
|
|
5
4
|
* native method in the API to get this, we listen in the `PRE_GET_COLLECTIBLE` callback for item
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collectibleItemPoolType.d.ts","sourceRoot":"","sources":["../../src/features/collectibleItemPoolType.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,YAAY,EAGb,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"collectibleItemPoolType.d.ts","sourceRoot":"","sources":["../../src/features/collectibleItemPoolType.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,YAAY,EAGb,MAAM,8BAA8B,CAAC;AAqCtC;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,YAAY,GACxB,YAAY,CAad"}
|
|
@@ -26,6 +26,8 @@ function postPickupInitCollectible(self, pickup)
|
|
|
26
26
|
end
|
|
27
27
|
local FEATURE_NAME = "collectibleItemPoolType"
|
|
28
28
|
v = {run = {collectibleItemPoolTypeMap = __TS__New(Map)}}
|
|
29
|
+
---
|
|
30
|
+
-- @internal
|
|
29
31
|
function ____exports.collectibleItemPoolTypeInit(self, mod)
|
|
30
32
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
31
33
|
mod:AddCallback(ModCallback.POST_PICKUP_INIT, postPickupInitCollectible, PickupVariant.COLLECTIBLE)
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { GridCollisionClass, GridEntityType } from "isaac-typescript-definitions";
|
|
2
|
-
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
3
2
|
import { GridEntityCustomData } from "../interfaces/GridEntityCustomData";
|
|
4
|
-
export declare function customGridEntityInit(mod: ModUpgraded): void;
|
|
5
3
|
/**
|
|
6
4
|
* Helper function to spawn a custom grid entity. Custom grid entities are persistent in that they
|
|
7
5
|
* will reappear if the player leaves and re-enters the room. (It will be manually respawned in the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customGridEntity.d.ts","sourceRoot":"","sources":["../../src/features/customGridEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,kBAAkB,EAClB,cAAc,EAGf,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"customGridEntity.d.ts","sourceRoot":"","sources":["../../src/features/customGridEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,kBAAkB,EAClB,cAAc,EAGf,MAAM,8BAA8B,CAAC;AAkBtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AA4K1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,qBAAqB,CACnC,oBAAoB,EAAE,cAAc,EACpC,mBAAmB,EAAE,GAAG,GAAG,MAAM,EACjC,kBAAkB,CAAC,EAAE,kBAAkB,EACvC,QAAQ,CAAC,EAAE,MAAM,EACjB,gBAAgB,CAAC,EAAE,MAAM,EACzB,kBAAkB,iBAA4B,EAC9C,qBAAqB,SAAI,GACxB,UAAU,CA8CZ;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,sBAAsB,CACpC,+BAA+B,EAAE,GAAG,GAAG,MAAM,GAAG,UAAU,EAC1D,UAAU,UAAO,GAChB,UAAU,GAAG,SAAS,CAuCxB;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,KAAK,CAC5C;IAAC,UAAU,EAAE,UAAU;IAAE,IAAI,EAAE,oBAAoB;CAAC,CACrD,CAqBA;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,qBAAqB,EAAE,UAAU,GAAG,GAAG,GACtC,cAAc,GAAG,SAAS,CAsB5B;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,qBAAqB,EAAE,UAAU,GAAG,GAAG,GACtC,OAAO,CAOT"}
|
|
@@ -136,6 +136,8 @@ v = {
|
|
|
136
136
|
manuallyUsingShovel = false
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
+
---
|
|
140
|
+
-- @internal
|
|
139
141
|
function ____exports.customGridEntityInit(self, mod)
|
|
140
142
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
141
143
|
mod:AddCallback(ModCallback.ENTITY_TAKE_DMG, entityTakeDmgGenericProp, EntityType.GENERIC_PROP)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PickupVariant } from "isaac-typescript-definitions";
|
|
2
|
-
export declare function customPickupInit(mod: Mod): void;
|
|
3
2
|
/**
|
|
4
3
|
* Helper function to register a custom pickup with the IsaacScript standard library. Use this
|
|
5
4
|
* feature for custom pickups that are intended to be picked up by the player, like bombs and keys.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customPickup.d.ts","sourceRoot":"","sources":["../../src/features/customPickup.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,aAAa,EACd,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"customPickup.d.ts","sourceRoot":"","sources":["../../src/features/customPickup.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,aAAa,EACd,MAAM,8BAA8B,CAAC;AA4FtC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,oBAAoB,CAClC,mBAAmB,EAAE,aAAa,EAClC,OAAO,EAAE,GAAG,EACZ,WAAW,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,EAC3C,aAAa,GAAE,CAAC,MAAM,EAAE,YAAY,KAAK,OAAoB,GAC5D,IAAI,CAaN"}
|
|
@@ -51,6 +51,8 @@ local FEATURE_NAME = "customPickup"
|
|
|
51
51
|
PICKUP_EFFECT_VARIANT = EffectVariant.LADDER
|
|
52
52
|
PICKUP_EFFECT_SUB_TYPE = 103
|
|
53
53
|
customPickupFunctionsMap = __TS__New(Map)
|
|
54
|
+
---
|
|
55
|
+
-- @internal
|
|
54
56
|
function ____exports.customPickupInit(self, mod)
|
|
55
57
|
mod:AddCallback(ModCallback.PRE_PICKUP_COLLISION, prePickupCollision)
|
|
56
58
|
mod:AddCallback(ModCallback.POST_EFFECT_RENDER, postEffectRenderPickupEffect, PICKUP_EFFECT_VARIANT)
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
/// <reference types="isaac-typescript-definitions" />
|
|
3
|
-
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
4
3
|
import { JSONRoom } from "../interfaces/JSONRoomsFile";
|
|
5
|
-
export declare function deployJSONRoomInit(mod: ModUpgraded): void;
|
|
6
4
|
/**
|
|
7
5
|
* Helper function to deconstruct a vanilla room and set up a custom room in its place.
|
|
8
6
|
* Specifically, this will clear the current room of all entities and grid entities, and then spawn
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployJSONRoom.d.ts","sourceRoot":"","sources":["../../src/features/deployJSONRoom.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"deployJSONRoom.d.ts","sourceRoot":"","sources":["../../src/features/deployJSONRoom.ts"],"names":[],"mappings":";;AAuDA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAuKvD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,EACvC,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,GACd,IAAI,CAuBN;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,QAAQ,EAAE,EAC3C,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,GACd,IAAI,CAaN;AAED;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAwB5D"}
|
|
@@ -473,6 +473,8 @@ v = {
|
|
|
473
473
|
},
|
|
474
474
|
room = {manuallyUsingShovel = false}
|
|
475
475
|
}
|
|
476
|
+
---
|
|
477
|
+
-- @internal
|
|
476
478
|
function ____exports.deployJSONRoomInit(self, mod)
|
|
477
479
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
478
480
|
mod:AddCallback(ModCallback.PRE_USE_ITEM, preUseItemWeNeedToGoDeeper, CollectibleType.WE_NEED_TO_GO_DEEPER)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disableAllSound.d.ts","sourceRoot":"","sources":["../../src/features/disableAllSound.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"disableAllSound.d.ts","sourceRoot":"","sources":["../../src/features/disableAllSound.ts"],"names":[],"mappings":"AAgCA;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAehD;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAWjD"}
|
|
@@ -22,6 +22,8 @@ end
|
|
|
22
22
|
local FEATURE_NAME = "disableAllSound"
|
|
23
23
|
local musicWasEnabled = false
|
|
24
24
|
v = {run = {disableSoundSet = __TS__New(Set)}}
|
|
25
|
+
---
|
|
26
|
+
-- @internal
|
|
25
27
|
function ____exports.disableAllSoundInit(self, mod)
|
|
26
28
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
27
29
|
mod:AddCallback(ModCallback.POST_RENDER, postRender)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ButtonAction } from "isaac-typescript-definitions";
|
|
2
|
-
export declare function disableInputsInit(mod: Mod): void;
|
|
3
2
|
/**
|
|
4
3
|
* Helper function to enable all inputs. Use this function to set things back to normal after having
|
|
5
4
|
* used one of the other helper functions to disable inputs.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disableInputs.d.ts","sourceRoot":"","sources":["../../src/features/disableInputs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGb,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"disableInputs.d.ts","sourceRoot":"","sources":["../../src/features/disableInputs.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGb,MAAM,8BAA8B,CAAC;AAoGtC;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAKjD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAC3B,GAAG,EAAE,MAAM,EACX,GAAG,aAAa,EAAE,YAAY,EAAE,GAC/B,IAAI,CAKN;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAKlD;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,WAAW,CAAC,YAAY,CAAC,GACvD,IAAI,CAKN;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,WAAW,CAAC,YAAY,CAAC,GACvD,IAAI,CAKN;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAGvD;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAGvD"}
|
|
@@ -55,6 +55,8 @@ v = {run = {
|
|
|
55
55
|
enableAllInputsWithBlacklistMap = __TS__New(Map),
|
|
56
56
|
disableAllInputsWithWhitelistMap = __TS__New(Map)
|
|
57
57
|
}}
|
|
58
|
+
---
|
|
59
|
+
-- @internal
|
|
58
60
|
function ____exports.disableInputsInit(self, mod)
|
|
59
61
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
60
62
|
mod:AddCallback(ModCallback.INPUT_ACTION, isActionPressed, InputHook.IS_ACTION_PRESSED)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fadeInRemover.d.ts","sourceRoot":"","sources":["../../src/features/fadeInRemover.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fadeInRemover.d.ts","sourceRoot":"","sources":["../../src/features/fadeInRemover.ts"],"names":[],"mappings":"AAuCA;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAGnC;AAED;;;GAGG;AACH,wBAAgB,aAAa,IAAI,IAAI,CAGpC"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
export declare function fastResetInit(mod: Mod): void;
|
|
3
1
|
/**
|
|
4
2
|
* Enables the fast-reset feature, which allows you to restart the game instantaneously. If this
|
|
5
3
|
* behavior is desired, call this function once at the beginning of your mod.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fastReset.d.ts","sourceRoot":"","sources":["../../src/features/fastReset.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fastReset.d.ts","sourceRoot":"","sources":["../../src/features/fastReset.ts"],"names":[],"mappings":"AAyDA;;;;;;;GAOG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAGtC;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAGvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forgottenSwitch.d.ts","sourceRoot":"","sources":["../../src/features/forgottenSwitch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"forgottenSwitch.d.ts","sourceRoot":"","sources":["../../src/features/forgottenSwitch.ts"],"names":[],"mappings":"AA0CA;;;GAGG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAGtC"}
|
|
@@ -17,6 +17,8 @@ function isActionTriggered(self, _entity, _inputHook, buttonAction)
|
|
|
17
17
|
end
|
|
18
18
|
local FEATURE_NAME = "forgottenSwitch"
|
|
19
19
|
v = {run = {shouldSwitch = false}}
|
|
20
|
+
---
|
|
21
|
+
-- @internal
|
|
20
22
|
function ____exports.forgottenSwitchInit(self, mod)
|
|
21
23
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
22
24
|
mod:AddCallback(ModCallback.INPUT_ACTION, isActionTriggered, InputHook.IS_ACTION_TRIGGERED)
|
package/dist/features/pause.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pause.d.ts","sourceRoot":"","sources":["../../src/features/pause.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pause.d.ts","sourceRoot":"","sources":["../../src/features/pause.ts"],"names":[],"mappings":"AA6GA;;;;;;;GAOG;AACH,wBAAgB,KAAK,IAAI,IAAI,CA8C5B;AAED,wFAAwF;AACxF,wBAAgB,OAAO,IAAI,IAAI,CAsB9B"}
|
package/dist/features/pause.lua
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { EntityType } from "isaac-typescript-definitions";
|
|
2
|
-
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
3
|
-
export declare function persistentEntitiesInit(mod: ModUpgraded): void;
|
|
4
2
|
/**
|
|
5
3
|
* Helper function to spawn an entity that will have persistence similar to a pickup.
|
|
6
4
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"persistentEntities.d.ts","sourceRoot":"","sources":["../../src/features/persistentEntities.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEX,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"persistentEntities.d.ts","sourceRoot":"","sources":["../../src/features/persistentEntities.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEX,MAAM,8BAA8B,CAAC;AAgHtC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,GAAG,EACZ,QAAQ,EAAE,MAAM,GACf,CAAC,MAAM,EAAE,GAAG,CAAC,CAcf;AAwBD;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,qBAAqB,EAAE,GAAG,EAC1B,YAAY,UAAO,GAClB,IAAI,CAiBN"}
|
|
@@ -99,6 +99,8 @@ v = {
|
|
|
99
99
|
level = {persistentEntities = __TS__New(Map)},
|
|
100
100
|
room = {spawnedPersistentEntities = __TS__New(Map)}
|
|
101
101
|
}
|
|
102
|
+
---
|
|
103
|
+
-- @internal
|
|
102
104
|
function ____exports.persistentEntitiesInit(self, mod)
|
|
103
105
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
104
106
|
mod:AddCallback(ModCallback.POST_ENTITY_REMOVE, postEntityRemove)
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
3
2
|
import { PickupIndex } from "../types/PickupIndex";
|
|
4
|
-
export declare function pickupIndexInit(mod: ModUpgraded): void;
|
|
5
3
|
/**
|
|
6
4
|
* Mods often have to track variables relating to a pickups. Finding an index for these kinds of
|
|
7
5
|
* data structures is difficult, since pickups are respawned every time a player re-enters a room,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pickupIndex.d.ts","sourceRoot":"","sources":["../../src/features/pickupIndex.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"pickupIndex.d.ts","sourceRoot":"","sources":["../../src/features/pickupIndex.ts"],"names":[],"mappings":";AAeA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAkNnD;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,YAAY,GAAG,WAAW,CAahE"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { CollectibleType } from "isaac-typescript-definitions";
|
|
2
|
-
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
3
|
-
export declare function playerInventoryInit(mod: ModUpgraded): void;
|
|
4
2
|
/**
|
|
5
3
|
* Helper function to get all of the collectibles that the player has gotten so far on this run, in
|
|
6
4
|
* order.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playerInventory.d.ts","sourceRoot":"","sources":["../../src/features/playerInventory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAe,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"playerInventory.d.ts","sourceRoot":"","sources":["../../src/features/playerInventory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAe,MAAM,8BAA8B,CAAC;AAyG5E;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,YAAY,EACpB,yBAAyB,UAAO,GAC/B,eAAe,EAAE,CAanB"}
|
|
@@ -72,6 +72,8 @@ v = {run = {playersInventory = __TS__New(
|
|
|
72
72
|
DefaultMap,
|
|
73
73
|
function(____, player) return newPlayerInventory(nil, player) end
|
|
74
74
|
)}}
|
|
75
|
+
---
|
|
76
|
+
-- @internal
|
|
75
77
|
function ____exports.playerInventoryInit(self, mod)
|
|
76
78
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
77
79
|
mod:AddCallback(ModCallback.POST_USE_ITEM, useItemD4, CollectibleType.D4)
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
3
|
-
export declare function ponyDetectionInit(mod: ModUpgraded): void;
|
|
4
2
|
/**
|
|
5
3
|
* Helper function to see if the player is under the effects of A Pony or White Pony charge.
|
|
6
4
|
* Detecting this is difficult, as the temporary effect will disappear upon entering a new room.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ponyDetection.d.ts","sourceRoot":"","sources":["../../src/features/ponyDetection.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ponyDetection.d.ts","sourceRoot":"","sources":["../../src/features/ponyDetection.ts"],"names":[],"mappings":";AAmEA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAG/D;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,OAAO,CAK5C"}
|
|
@@ -41,6 +41,8 @@ end
|
|
|
41
41
|
local FEATURE_NAME = "ponyDetection"
|
|
42
42
|
FLAGS_WHEN_PONY_IS_ACTIVE = {EntityFlag.NO_KNOCKBACK, EntityFlag.NO_PHYSICS_KNOCKBACK, EntityFlag.NO_DAMAGE_BLINK}
|
|
43
43
|
v = {run = {playersIsPonyActive = __TS__New(Set)}}
|
|
44
|
+
---
|
|
45
|
+
-- @internal
|
|
44
46
|
function ____exports.ponyDetectionInit(self, mod)
|
|
45
47
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
46
48
|
mod:AddCallbackCustom(ModCallbackCustom.POST_PEFFECT_UPDATE_REORDERED, postPEffectUpdateReordered)
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
3
|
-
export declare function preventChildEntitiesInit(mod: Mod): void;
|
|
4
2
|
/**
|
|
5
3
|
* Helper function to prevent an entity from spawning any other entities. Meant to be used on NPCs
|
|
6
4
|
* like Squirts. This behavior will only last for the current room.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preventChildEntities.d.ts","sourceRoot":"","sources":["../../src/features/preventChildEntities.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"preventChildEntities.d.ts","sourceRoot":"","sources":["../../src/features/preventChildEntities.ts"],"names":[],"mappings":";AAiCA;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAGzD"}
|
|
@@ -16,6 +16,8 @@ function postNPCInit(self, npc)
|
|
|
16
16
|
end
|
|
17
17
|
local FEATURE_NAME = "preventChildEntities"
|
|
18
18
|
v = {room = {preventingEntities = __TS__New(Set)}}
|
|
19
|
+
---
|
|
20
|
+
-- @internal
|
|
19
21
|
function ____exports.preventChildEntitiesInit(self, mod)
|
|
20
22
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
21
23
|
mod:AddCallback(ModCallback.POST_NPC_INIT, postNPCInit)
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CollectibleType } from "isaac-typescript-definitions";
|
|
2
|
-
export declare function preventCollectibleRotationInit(mod: Mod): void;
|
|
3
2
|
/**
|
|
4
3
|
* Helper function to prevent a collectible from being affected by Tainted Isaac's rotation
|
|
5
4
|
* mechanic. (This mechanic also happens from Glitched Crown and Binge Eater.) This is useful
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preventCollectibleRotation.d.ts","sourceRoot":"","sources":["../../src/features/preventCollectibleRotation.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EAGhB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"preventCollectibleRotation.d.ts","sourceRoot":"","sources":["../../src/features/preventCollectibleRotation.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EAGhB,MAAM,8BAA8B,CAAC;AAwEtC;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,YAAY,EACzB,eAAe,EAAE,eAAe,GAC/B,IAAI,CAgBN"}
|
|
@@ -41,6 +41,8 @@ function getMapIndex(self, collectible)
|
|
|
41
41
|
end
|
|
42
42
|
local FEATURE_NAME = "preventCollectibleRotation"
|
|
43
43
|
v = {room = {trackedCollectibles = __TS__New(Map)}}
|
|
44
|
+
---
|
|
45
|
+
-- @internal
|
|
44
46
|
function ____exports.preventCollectibleRotationInit(self, mod)
|
|
45
47
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
46
48
|
mod:AddCallback(ModCallback.POST_USE_CARD, useCardSoulOfIsaac, Card.SOUL_ISAAC)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerHotkey.d.ts","sourceRoot":"","sources":["../../src/features/registerHotkey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAe,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"registerHotkey.d.ts","sourceRoot":"","sources":["../../src/features/registerHotkey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAe,MAAM,8BAA8B,CAAC;AAyDrE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAC5B,cAAc,EAAE,QAAQ,GAAG,CAAC,MAAM,QAAQ,GAAG,SAAS,CAAC,EACvD,WAAW,EAAE,MAAM,IAAI,GACtB,IAAI,CAoBN;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,cAAc,EAAE,QAAQ,GAAG,CAAC,MAAM,QAAQ,GAAG,SAAS,CAAC,GACtD,IAAI,CAoBN"}
|
|
@@ -42,6 +42,8 @@ local FEATURE_NAME = "registerHotkeys"
|
|
|
42
42
|
staticHotkeyFunctionMap = __TS__New(Map)
|
|
43
43
|
dynamicHotkeyFunctionMap = __TS__New(Map)
|
|
44
44
|
keyPressedMap = __TS__New(DefaultMap, false)
|
|
45
|
+
---
|
|
46
|
+
-- @internal
|
|
45
47
|
function ____exports.registerHotkeyInit(self, mod)
|
|
46
48
|
mod:AddCallback(ModCallback.POST_RENDER, postRender)
|
|
47
49
|
end
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
-
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
3
|
-
export declare function roomClearFrameInit(mod: ModUpgraded): void;
|
|
4
2
|
/**
|
|
5
3
|
* Helper function to get the game frame (i.e. `Game.GetFrameCount`) of the last time that this room
|
|
6
4
|
* was cleared. Returns undefined if the room has never been cleared.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roomClearFrame.d.ts","sourceRoot":"","sources":["../../src/features/roomClearFrame.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"roomClearFrame.d.ts","sourceRoot":"","sources":["../../src/features/roomClearFrame.ts"],"names":[],"mappings":";AAqCA;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,GAAG,GAAG,SAAS,CAGvD;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,GAAG,GAAG,SAAS,CAGvD"}
|
|
@@ -17,6 +17,8 @@ function postRoomClearChangedTrue(self)
|
|
|
17
17
|
end
|
|
18
18
|
local FEATURE_NAME = "roomClearFrame"
|
|
19
19
|
v = {room = {roomClearGameFrame = nil, roomClearRoomFrame = nil}}
|
|
20
|
+
---
|
|
21
|
+
-- @internal
|
|
20
22
|
function ____exports.roomClearFrameInit(self, mod)
|
|
21
23
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
22
24
|
mod:AddCallbackCustom(ModCallbackCustom.POST_ROOM_CLEAR_CHANGED, postRoomClearChangedTrue, true)
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
2
1
|
import { RoomDescription } from "../interfaces/RoomDescription";
|
|
3
|
-
export declare function roomHistoryInit(mod: ModUpgraded): void;
|
|
4
2
|
/**
|
|
5
3
|
* Helper function to get information about all of the rooms that a player has visited thus far on
|
|
6
4
|
* this run.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roomHistory.d.ts","sourceRoot":"","sources":["../../src/features/roomHistory.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"roomHistory.d.ts","sourceRoot":"","sources":["../../src/features/roomHistory.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAmDhE;;;GAGG;AACH,wBAAgB,cAAc,IAAI,SAAS,eAAe,EAAE,CAG3D;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,IAAI,eAAe,CAe5D;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,IAAI,eAAe,CAS1D;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,IAAI,OAAO,CASvC"}
|
|
@@ -48,6 +48,8 @@ function postNewRoomEarly(self)
|
|
|
48
48
|
end
|
|
49
49
|
local FEATURE_NAME = "roomHistory"
|
|
50
50
|
v = {run = {roomHistory = {}}}
|
|
51
|
+
---
|
|
52
|
+
-- @internal
|
|
51
53
|
function ____exports.roomHistoryInit(self, mod)
|
|
52
54
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
53
55
|
mod:AddCallbackCustom(ModCallbackCustom.POST_NEW_ROOM_EARLY, postNewRoomEarly)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runInNFrames.d.ts","sourceRoot":"","sources":["../../src/features/runInNFrames.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runInNFrames.d.ts","sourceRoot":"","sources":["../../src/features/runInNFrames.ts"],"names":[],"mappings":";AA0GA;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,IAAI,EAAE,UAAU,EAAE,GAAG,GAAG,IAAI,CAOxE;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,IAAI,EAAE,YAAY,EAAE,GAAG,GAAG,IAAI,CAO5E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAGvD;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAGzD;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,OAAO,EACnB,UAAU,EAAE,GAAG,EACf,cAAc,EAAE,OAAO,GACtB,IAAI,CAWN;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,MAAM,OAAO,EACnB,YAAY,EAAE,GAAG,EACjB,cAAc,EAAE,OAAO,GACtB,IAAI,CAWN"}
|
|
@@ -59,6 +59,8 @@ function checkExecuteIntervalFunctions(self, frameCount, functionTuples)
|
|
|
59
59
|
end
|
|
60
60
|
local FEATURE_NAME = "runInNFrames"
|
|
61
61
|
v = {run = {queuedGameFunctionTuples = {}, queuedRenderFunctionTuples = {}, intervalGameFunctionTuples = {}, intervalRenderFunctionTuples = {}}}
|
|
62
|
+
---
|
|
63
|
+
-- @internal
|
|
62
64
|
function ____exports.runInNFramesInit(self, mod)
|
|
63
65
|
saveDataManager(nil, FEATURE_NAME, v, false)
|
|
64
66
|
mod:AddCallback(ModCallback.POST_UPDATE, postUpdate)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runNextRoom.d.ts","sourceRoot":"","sources":["../../src/features/runNextRoom.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runNextRoom.d.ts","sourceRoot":"","sources":["../../src/features/runNextRoom.ts"],"names":[],"mappings":"AAiCA;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI,CAGlD"}
|
|
@@ -16,6 +16,8 @@ function postNewRoomReordered(self)
|
|
|
16
16
|
end
|
|
17
17
|
local FEATURE_NAME = "runNextRoom"
|
|
18
18
|
v = {run = {queuedFunctions = {}}}
|
|
19
|
+
---
|
|
20
|
+
-- @internal
|
|
19
21
|
function ____exports.runNextRoomInit(self, mod)
|
|
20
22
|
saveDataManager(nil, FEATURE_NAME, v, false)
|
|
21
23
|
mod:AddCallbackCustom(ModCallbackCustom.POST_NEW_ROOM_REORDERED, postNewRoomReordered)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sirenHelpers.d.ts","sourceRoot":"","sources":["../../src/features/sirenHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EAEhB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"sirenHelpers.d.ts","sourceRoot":"","sources":["../../src/features/sirenHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EAEhB,MAAM,8BAA8B,CAAC;AAyEtC;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,eAAe,EAAE,eAAe,EAChC,eAAe,CAAC,EAAE,GAAG,GACpB,IAAI,CAQN;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAGxE"}
|
|
@@ -50,6 +50,8 @@ function getSirenHelper(self, familiar)
|
|
|
50
50
|
end
|
|
51
51
|
local FEATURE_NAME = "sirenHelpers"
|
|
52
52
|
v = {run = {familiarBlacklist = {}}}
|
|
53
|
+
---
|
|
54
|
+
-- @internal
|
|
53
55
|
function ____exports.sirenHelpersInit(self, mod)
|
|
54
56
|
saveDataManager(nil, FEATURE_NAME, v)
|
|
55
57
|
mod:AddCallback(ModCallback.POST_NPC_INIT, postNPCInitSirenHelper, EntityType.SIREN_HELPER)
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { LevelStage, StageType } from "isaac-typescript-definitions";
|
|
2
|
-
import { ModUpgraded } from "../classes/ModUpgraded";
|
|
3
|
-
export declare function stageHistoryInit(mod: ModUpgraded): void;
|
|
4
2
|
/** Helper function to get all of the stages that a player has visited thus far on this run. */
|
|
5
3
|
export declare function getStageHistory(): ReadonlyArray<[
|
|
6
4
|
stage: LevelStage,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stageHistory.d.ts","sourceRoot":"","sources":["../../src/features/stageHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"stageHistory.d.ts","sourceRoot":"","sources":["../../src/features/stageHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAkCrE,+FAA+F;AAC/F,wBAAgB,eAAe,IAAI,aAAa,CAC9C;IAAC,KAAK,EAAE,UAAU;IAAE,SAAS,EAAE,SAAS;CAAC,CAC1C,CAGA;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,UAAU,EACjB,SAAS,CAAC,EAAE,SAAS,GACpB,OAAO,CAaT"}
|