isaacscript-common 6.6.3 → 6.7.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/callbacks/customRevive.lua +4 -4
- package/dist/callbacks/postCursedTeleport.lua +2 -2
- package/dist/callbacks/postCustomDoorEnter.d.ts +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +6 -6
- package/dist/callbacks/postDiceRoomActivated.lua +2 -2
- package/dist/callbacks/postFlip.lua +3 -3
- package/dist/callbacks/postGridEntity.lua +3 -3
- package/dist/callbacks/postGridEntityCollision.lua +3 -3
- package/dist/callbacks/postGridEntityRender.lua +2 -2
- package/dist/callbacks/postNewRoomEarly.lua +5 -5
- package/dist/callbacks/postPickupCollect.lua +2 -2
- package/dist/callbacks/postPitRender.lua +2 -2
- package/dist/callbacks/postPitUpdate.lua +2 -2
- package/dist/callbacks/postPlayerCollectible.lua +2 -2
- package/dist/callbacks/postPoopRender.lua +2 -2
- package/dist/callbacks/postPoopUpdate.lua +2 -2
- package/dist/callbacks/postPressurePlateRender.lua +2 -2
- package/dist/callbacks/postPressurePlateUpdate.lua +2 -2
- package/dist/callbacks/postPurchase.lua +2 -2
- package/dist/callbacks/postRockRender.lua +2 -2
- package/dist/callbacks/postRockUpdate.lua +2 -2
- package/dist/callbacks/postSlotInitUpdate.lua +2 -2
- package/dist/callbacks/postSlotRender.lua +2 -2
- package/dist/callbacks/postSpikesRender.lua +2 -2
- package/dist/callbacks/postSpikesUpdate.lua +2 -2
- package/dist/callbacks/postTNTRender.lua +2 -2
- package/dist/callbacks/postTNTUpdate.lua +2 -2
- package/dist/callbacks/preBerserkDeath.lua +2 -2
- package/dist/callbacks/preNewLevel.lua +2 -2
- package/dist/callbacks/subscriptions/postDoorRender.d.ts +2 -3
- package/dist/callbacks/subscriptions/postDoorRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorRender.lua +3 -3
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts +2 -3
- package/dist/callbacks/subscriptions/postDoorUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postDoorUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postPitRender.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPitRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitRender.lua +3 -3
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPitUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPitUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postPoopRender.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPoopRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopRender.lua +3 -3
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPoopUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPoopUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPressurePlateRender.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateRender.lua +3 -3
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts +2 -3
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postPressurePlateUpdate.lua +3 -3
- package/dist/enums/private/SerializationBrand.d.ts +0 -4
- package/dist/enums/private/SerializationBrand.d.ts.map +1 -1
- package/dist/features/characterStats.lua +2 -2
- package/dist/features/collectibleItemPoolType.lua +2 -2
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +5 -5
- package/dist/features/customStage/backdrop.lua +2 -2
- package/dist/features/customStage/{gridEntities.d.ts → customStageGridEntities.d.ts} +1 -1
- package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -0
- package/dist/features/customStage/{gridEntities.lua → customStageGridEntities.lua} +8 -8
- package/dist/features/customStage/{util.d.ts → customStageUtils.d.ts} +1 -1
- package/dist/features/customStage/customStageUtils.d.ts.map +1 -0
- package/dist/features/customStage/{util.lua → customStageUtils.lua} +0 -0
- package/dist/features/customStage/exports.lua +4 -4
- package/dist/features/customStage/init.lua +6 -6
- package/dist/features/customStage/shadows.lua +2 -2
- package/dist/features/customStage/versusScreen.lua +4 -4
- package/dist/features/debugDisplay/v.lua +4 -4
- package/dist/features/deployJSONRoom.lua +20 -20
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +3 -3
- package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +14 -14
- package/dist/features/pause.lua +2 -2
- package/dist/features/persistentEntities.lua +2 -2
- package/dist/features/preventCollectibleRotation.lua +2 -2
- package/dist/features/saveDataManager/exports.d.ts.map +1 -1
- package/dist/features/saveDataManager/merge.lua +4 -3
- package/dist/features/sirenHelpers.lua +2 -2
- package/dist/functions/ambush.lua +5 -5
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +1 -1
- package/dist/functions/{boss.d.ts → bosses.d.ts} +22 -4
- package/dist/functions/bosses.d.ts.map +1 -0
- package/dist/functions/{boss.lua → bosses.lua} +38 -13
- package/dist/functions/collectibleTag.lua +2 -2
- package/dist/functions/collectibles.lua +5 -5
- package/dist/functions/deepCopy.d.ts +8 -5
- package/dist/functions/deepCopy.d.ts.map +1 -1
- package/dist/functions/deepCopy.lua +142 -38
- package/dist/functions/deepCopyTests.d.ts +6 -1
- package/dist/functions/deepCopyTests.d.ts.map +1 -1
- package/dist/functions/deepCopyTests.lua +19 -16
- package/dist/functions/{entity.d.ts → entities.d.ts} +21 -19
- package/dist/functions/entities.d.ts.map +1 -0
- package/dist/functions/{entity.lua → entities.lua} +25 -20
- package/dist/functions/{entitySpecific.d.ts → entitiesSpecific.d.ts} +145 -68
- package/dist/functions/entitiesSpecific.d.ts.map +1 -0
- package/dist/functions/{entitySpecific.lua → entitiesSpecific.lua} +203 -65
- package/dist/functions/familiars.lua +2 -2
- package/dist/functions/{gridEntity.d.ts → gridEntities.d.ts} +48 -17
- package/dist/functions/gridEntities.d.ts.map +1 -0
- package/dist/functions/{gridEntity.lua → gridEntities.lua} +140 -90
- package/dist/functions/gridEntitiesSpecific.d.ts +141 -0
- package/dist/functions/gridEntitiesSpecific.d.ts.map +1 -0
- package/dist/functions/gridEntitiesSpecific.lua +366 -0
- package/dist/functions/log.d.ts +1 -1
- package/dist/functions/log.d.ts.map +1 -1
- package/dist/functions/log.lua +16 -12
- package/dist/functions/mergeTests.d.ts +7 -1
- package/dist/functions/mergeTests.d.ts.map +1 -1
- package/dist/functions/mergeTests.lua +86 -7
- package/dist/functions/{npc.d.ts → npcs.d.ts} +24 -2
- package/dist/functions/npcs.d.ts.map +1 -0
- package/dist/functions/{npc.lua → npcs.lua} +44 -9
- package/dist/functions/pickups.d.ts +4 -119
- package/dist/functions/pickups.d.ts.map +1 -1
- package/dist/functions/pickups.lua +10 -439
- package/dist/functions/pickupsSpecific.d.ts +229 -0
- package/dist/functions/pickupsSpecific.d.ts.map +1 -0
- package/dist/functions/pickupsSpecific.lua +560 -0
- package/dist/functions/playerHealth.lua +6 -6
- package/dist/functions/{player.d.ts → players.d.ts} +1 -1
- package/dist/functions/players.d.ts.map +1 -0
- package/dist/functions/{player.lua → players.lua} +0 -0
- package/dist/functions/pocketItems.lua +2 -2
- package/dist/functions/positionVelocity.lua +6 -6
- package/dist/functions/pressurePlate.d.ts +10 -0
- package/dist/functions/pressurePlate.d.ts.map +1 -0
- package/dist/functions/pressurePlate.lua +29 -0
- package/dist/functions/revive.lua +7 -7
- package/dist/functions/rooms.lua +2 -2
- package/dist/functions/saveFile.lua +3 -3
- package/dist/functions/spawnCollectible.lua +4 -4
- package/dist/functions/{sprite.d.ts → sprites.d.ts} +1 -1
- package/dist/functions/sprites.d.ts.map +1 -0
- package/dist/functions/{sprite.lua → sprites.lua} +0 -0
- package/dist/functions/table.d.ts +1 -1
- package/dist/functions/table.lua +1 -1
- package/dist/functions/transformations.lua +2 -2
- package/dist/functions/trinketGive.lua +2 -2
- package/dist/functions/trinkets.lua +6 -6
- package/dist/functions/utils.d.ts +7 -0
- package/dist/functions/utils.d.ts.map +1 -1
- package/dist/functions/utils.lua +35 -22
- package/dist/index.d.ts +10 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.lua +26 -10
- package/dist/types/AnyGridEntity.d.ts +10 -0
- package/dist/types/AnyGridEntity.d.ts.map +1 -0
- package/dist/types/AnyGridEntity.lua +2 -0
- package/package.json +2 -2
- package/src/callbacks/customRevive.ts +2 -2
- package/src/callbacks/postCursedTeleport.ts +2 -2
- package/src/callbacks/postCustomDoorEnter.ts +3 -3
- package/src/callbacks/postDiceRoomActivated.ts +1 -1
- package/src/callbacks/postFlip.ts +1 -1
- package/src/callbacks/postGridEntity.ts +1 -1
- package/src/callbacks/postGridEntityCollision.ts +1 -1
- package/src/callbacks/postGridEntityRender.ts +1 -1
- package/src/callbacks/postNewRoomEarly.ts +9 -3
- package/src/callbacks/postPickupCollect.ts +1 -1
- package/src/callbacks/postPitRender.ts +1 -1
- package/src/callbacks/postPitUpdate.ts +1 -1
- package/src/callbacks/postPlayerCollectible.ts +2 -2
- package/src/callbacks/postPoopRender.ts +1 -1
- package/src/callbacks/postPoopUpdate.ts +1 -1
- package/src/callbacks/postPressurePlateRender.ts +1 -1
- package/src/callbacks/postPressurePlateUpdate.ts +1 -1
- package/src/callbacks/postPurchase.ts +1 -1
- package/src/callbacks/postRockRender.ts +1 -1
- package/src/callbacks/postRockUpdate.ts +1 -1
- package/src/callbacks/postSacrifice.ts +1 -1
- package/src/callbacks/postSlotInitUpdate.ts +1 -1
- package/src/callbacks/postSlotRender.ts +1 -1
- package/src/callbacks/postSpikesRender.ts +1 -1
- package/src/callbacks/postSpikesUpdate.ts +1 -1
- package/src/callbacks/postTNTRender.ts +1 -1
- package/src/callbacks/postTNTUpdate.ts +1 -1
- package/src/callbacks/preBerserkDeath.ts +1 -1
- package/src/callbacks/preNewLevel.ts +1 -1
- package/src/callbacks/subscriptions/postDoorRender.ts +7 -5
- package/src/callbacks/subscriptions/postDoorUpdate.ts +7 -5
- package/src/callbacks/subscriptions/postPitRender.ts +6 -7
- package/src/callbacks/subscriptions/postPitUpdate.ts +6 -7
- package/src/callbacks/subscriptions/postPoopRender.ts +7 -5
- package/src/callbacks/subscriptions/postPoopUpdate.ts +7 -5
- package/src/callbacks/subscriptions/postPressurePlateRender.ts +7 -5
- package/src/callbacks/subscriptions/postPressurePlateUpdate.ts +7 -5
- package/src/enums/private/SerializationBrand.ts +0 -4
- package/src/features/characterStats.ts +1 -1
- package/src/features/collectibleItemPoolType.ts +1 -1
- package/src/features/customGridEntity.ts +6 -3
- package/src/features/customStage/backdrop.ts +1 -1
- package/src/features/customStage/{gridEntities.ts → customStageGridEntities.ts} +3 -3
- package/src/features/customStage/{util.ts → customStageUtils.ts} +0 -0
- package/src/features/customStage/exports.ts +2 -2
- package/src/features/customStage/init.ts +1 -1
- package/src/features/customStage/shadows.ts +1 -1
- package/src/features/customStage/versusScreen.ts +2 -2
- package/src/features/debugDisplay/v.ts +2 -2
- package/src/features/deployJSONRoom.ts +11 -7
- package/src/features/extraConsoleCommands/commandsSubroutines.ts +2 -2
- package/src/features/extraConsoleCommands/listCommands.ts +13 -9
- package/src/features/pause.ts +1 -1
- package/src/features/persistentEntities.ts +2 -2
- package/src/features/preventCollectibleRotation.ts +1 -1
- package/src/features/saveDataManager/exports.ts +7 -4
- package/src/features/saveDataManager/merge.ts +3 -3
- package/src/features/sirenHelpers.ts +1 -1
- package/src/functions/ambush.ts +2 -2
- package/src/functions/array.ts +5 -2
- package/src/functions/bitwise.ts +2 -2
- package/src/functions/{boss.ts → bosses.ts} +29 -21
- package/src/functions/collectibleTag.ts +1 -1
- package/src/functions/collectibles.ts +2 -2
- package/src/functions/deepCopy.ts +98 -19
- package/src/functions/deepCopyTests.ts +75 -19
- package/src/functions/{entity.ts → entities.ts} +23 -21
- package/src/functions/{entitySpecific.ts → entitiesSpecific.ts} +170 -99
- package/src/functions/familiars.ts +1 -1
- package/src/functions/{gridEntity.ts → gridEntities.ts} +110 -34
- package/src/functions/gridEntitiesSpecific.ts +490 -0
- package/src/functions/log.ts +19 -10
- package/src/functions/mergeTests.ts +152 -4
- package/src/functions/{npc.ts → npcs.ts} +42 -11
- package/src/functions/pickups.ts +8 -475
- package/src/functions/pickupsSpecific.ts +613 -0
- package/src/functions/playerHealth.ts +1 -1
- package/src/functions/{player.ts → players.ts} +0 -0
- package/src/functions/pocketItems.ts +1 -1
- package/src/functions/positionVelocity.ts +3 -3
- package/src/functions/pressurePlate.ts +29 -0
- package/src/functions/revive.ts +2 -2
- package/src/functions/rooms.ts +1 -1
- package/src/functions/saveFile.ts +1 -1
- package/src/functions/spawnCollectible.ts +2 -2
- package/src/functions/{sprite.ts → sprites.ts} +0 -0
- package/src/functions/table.ts +1 -1
- package/src/functions/transformations.ts +1 -1
- package/src/functions/trinketGive.ts +4 -4
- package/src/functions/trinkets.ts +3 -3
- package/src/functions/tstlClass.ts +1 -1
- package/src/functions/ui.ts +3 -3
- package/src/functions/utils.ts +32 -13
- package/src/index.ts +10 -8
- package/src/types/AnyGridEntity.ts +9 -0
- package/dist/features/customStage/gridEntities.d.ts.map +0 -1
- package/dist/features/customStage/util.d.ts.map +0 -1
- package/dist/functions/boss.d.ts.map +0 -1
- package/dist/functions/entity.d.ts.map +0 -1
- package/dist/functions/entitySpecific.d.ts.map +0 -1
- package/dist/functions/gridEntity.d.ts.map +0 -1
- package/dist/functions/gridEntitySpecific.d.ts +0 -29
- package/dist/functions/gridEntitySpecific.d.ts.map +0 -1
- package/dist/functions/gridEntitySpecific.lua +0 -114
- package/dist/functions/npc.d.ts.map +0 -1
- package/dist/functions/player.d.ts.map +0 -1
- package/dist/functions/sprite.d.ts.map +0 -1
- package/src/functions/gridEntitySpecific.ts +0 -143
|
@@ -14,12 +14,12 @@ end
|
|
|
14
14
|
---
|
|
15
15
|
-- @internal
|
|
16
16
|
function ____exports.postPoopUpdateFire(self, poop)
|
|
17
|
-
local
|
|
17
|
+
local poopVariant = poop:GetVariant()
|
|
18
18
|
for ____, ____value in ipairs(subscriptions) do
|
|
19
19
|
local callback = ____value[1]
|
|
20
|
-
local
|
|
20
|
+
local callbackPoopVariant = ____value[2]
|
|
21
21
|
do
|
|
22
|
-
if
|
|
22
|
+
if callbackPoopVariant ~= nil and callbackPoopVariant ~= poopVariant then
|
|
23
23
|
goto __continue5
|
|
24
24
|
end
|
|
25
25
|
callback(nil, poop)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
1
|
+
import { PressurePlateVariant } from "isaac-typescript-definitions";
|
|
3
2
|
export declare type PostPressurePlateRenderRegisterParameters = [
|
|
4
3
|
callback: (pressurePlate: GridEntityPressurePlate) => void,
|
|
5
|
-
|
|
4
|
+
pressurePlateVariant?: PressurePlateVariant
|
|
6
5
|
];
|
|
7
6
|
//# sourceMappingURL=postPressurePlateRender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postPressurePlateRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPressurePlateRender.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"postPressurePlateRender.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPressurePlateRender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,oBAAY,yCAAyC,GAAG;IACtD,QAAQ,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,IAAI;IAC1D,oBAAoB,CAAC,EAAE,oBAAoB;CAC5C,CAAC"}
|
|
@@ -14,12 +14,12 @@ end
|
|
|
14
14
|
---
|
|
15
15
|
-- @internal
|
|
16
16
|
function ____exports.postPressurePlateRenderFire(self, pressurePlate)
|
|
17
|
-
local
|
|
17
|
+
local pressurePlateVariant = pressurePlate:GetVariant()
|
|
18
18
|
for ____, ____value in ipairs(subscriptions) do
|
|
19
19
|
local callback = ____value[1]
|
|
20
|
-
local
|
|
20
|
+
local callbackPressurePlateVariant = ____value[2]
|
|
21
21
|
do
|
|
22
|
-
if
|
|
22
|
+
if callbackPressurePlateVariant ~= nil and callbackPressurePlateVariant ~= pressurePlateVariant then
|
|
23
23
|
goto __continue5
|
|
24
24
|
end
|
|
25
25
|
callback(nil, pressurePlate)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference types="isaac-typescript-definitions" />
|
|
1
|
+
import { PressurePlateVariant } from "isaac-typescript-definitions";
|
|
3
2
|
export declare type PostPressurePlateUpdateRegisterParameters = [
|
|
4
3
|
callback: (pressurePlate: GridEntityPressurePlate) => void,
|
|
5
|
-
|
|
4
|
+
pressurePlateVariant?: PressurePlateVariant
|
|
6
5
|
];
|
|
7
6
|
//# sourceMappingURL=postPressurePlateUpdate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postPressurePlateUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPressurePlateUpdate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"postPressurePlateUpdate.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postPressurePlateUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,oBAAY,yCAAyC,GAAG;IACtD,QAAQ,EAAE,CAAC,aAAa,EAAE,uBAAuB,KAAK,IAAI;IAC1D,oBAAoB,CAAC,EAAE,oBAAoB;CAC5C,CAAC"}
|
|
@@ -14,12 +14,12 @@ end
|
|
|
14
14
|
---
|
|
15
15
|
-- @internal
|
|
16
16
|
function ____exports.postPressurePlateUpdateFire(self, pressurePlate)
|
|
17
|
-
local
|
|
17
|
+
local pressurePlateVariant = pressurePlate:GetVariant()
|
|
18
18
|
for ____, ____value in ipairs(subscriptions) do
|
|
19
19
|
local callback = ____value[1]
|
|
20
|
-
local
|
|
20
|
+
local callbackPressurePlateVariant = ____value[2]
|
|
21
21
|
do
|
|
22
|
-
if
|
|
22
|
+
if callbackPressurePlateVariant ~= nil and callbackPressurePlateVariant ~= pressurePlateVariant then
|
|
23
23
|
goto __continue5
|
|
24
24
|
end
|
|
25
25
|
callback(nil, pressurePlate)
|
|
@@ -16,10 +16,6 @@ export declare enum SerializationBrand {
|
|
|
16
16
|
/**
|
|
17
17
|
* This is set to the value that represents the default value (instead of an empty string like the
|
|
18
18
|
* other brands are).
|
|
19
|
-
*
|
|
20
|
-
* Default maps that use a factory function are unserializable, but do not throw runtime errors
|
|
21
|
-
* because the merge function can derive the factory function from the already-instantiated
|
|
22
|
-
* object.
|
|
23
19
|
*/
|
|
24
20
|
DEFAULT_MAP_VALUE = "__TSTL_DEFAULT_MAP_VALUE",
|
|
25
21
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SerializationBrand.d.ts","sourceRoot":"","sources":["../../../src/enums/private/SerializationBrand.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,oBAAY,kBAAkB;IAE5B,WAAW,uBAAuB;IAClC,GAAG,eAAe;IAClB,GAAG,eAAe;IAGlB,KAAK,YAAY;IACjB,OAAO,cAAc;IACrB,GAAG,UAAU;IACb,MAAM,aAAa;IAEnB
|
|
1
|
+
{"version":3,"file":"SerializationBrand.d.ts","sourceRoot":"","sources":["../../../src/enums/private/SerializationBrand.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,oBAAY,kBAAkB;IAE5B,WAAW,uBAAuB;IAClC,GAAG,eAAe;IAClB,GAAG,eAAe;IAGlB,KAAK,YAAY;IACjB,OAAO,cAAc;IACrB,GAAG,UAAU;IACb,MAAM,aAAa;IAEnB;;;OAGG;IACH,iBAAiB,6BAA6B;IAE9C;;;;;;;;;;OAUG;IACH,uBAAuB,mCAAmC;CAC3D"}
|
|
@@ -9,8 +9,8 @@ local ____featuresInitialized = require("featuresInitialized")
|
|
|
9
9
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
10
10
|
local ____cacheFlag = require("functions.cacheFlag")
|
|
11
11
|
local getDefaultPlayerStat = ____cacheFlag.getDefaultPlayerStat
|
|
12
|
-
local
|
|
13
|
-
local addStat =
|
|
12
|
+
local ____players = require("functions.players")
|
|
13
|
+
local addStat = ____players.addStat
|
|
14
14
|
function evaluateCache(self, player, cacheFlag)
|
|
15
15
|
local character = player:GetPlayerType()
|
|
16
16
|
local statMap = charactersStatMap:get(character)
|
|
@@ -10,8 +10,8 @@ local ____cachedClasses = require("cachedClasses")
|
|
|
10
10
|
local game = ____cachedClasses.game
|
|
11
11
|
local ____featuresInitialized = require("featuresInitialized")
|
|
12
12
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
13
|
-
local
|
|
14
|
-
local getEntityID =
|
|
13
|
+
local ____entities = require("functions.entities")
|
|
14
|
+
local getEntityID = ____entities.getEntityID
|
|
15
15
|
local ____pickupVariants = require("functions.pickupVariants")
|
|
16
16
|
local isCollectible = ____pickupVariants.isCollectible
|
|
17
17
|
local ____rooms = require("functions.rooms")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customGridEntity.d.ts","sourceRoot":"","sources":["../../src/features/customGridEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"customGridEntity.d.ts","sourceRoot":"","sources":["../../src/features/customGridEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,8BAA8B,CAAC;AA6DtC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe,CAC7B,oBAAoB,EAAE,cAAc,EACpC,mBAAmB,EAAE,GAAG,GAAG,MAAM,EACjC,IAAI,EAAE,MAAM,EACZ,gBAAgB,EAAE,MAAM,EACxB,kBAAkB,EAAE,kBAAkB,GACrC,UAAU,CA4CZ;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAC9B,+BAA+B,EAAE,GAAG,GAAG,MAAM,GAAG,UAAU,EAC1D,UAAU,UAAO,GAChB,UAAU,GAAG,SAAS,CAqCxB"}
|
|
@@ -16,9 +16,9 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
|
|
|
16
16
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
17
17
|
local ____featuresInitialized = require("featuresInitialized")
|
|
18
18
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
19
|
-
local
|
|
20
|
-
local
|
|
21
|
-
local
|
|
19
|
+
local ____gridEntities = require("functions.gridEntities")
|
|
20
|
+
local removeGridEntity = ____gridEntities.removeGridEntity
|
|
21
|
+
local spawnGridEntityWithVariant = ____gridEntities.spawnGridEntityWithVariant
|
|
22
22
|
local ____roomData = require("functions.roomData")
|
|
23
23
|
local getRoomListIndex = ____roomData.getRoomListIndex
|
|
24
24
|
local ____vector = require("functions.vector")
|
|
@@ -87,7 +87,7 @@ function ____exports.spawnCustomGrid(self, gridEntityTypeCustom, gridIndexOrPosi
|
|
|
87
87
|
local gridIndex = isVector(nil, gridIndexOrPosition) and room:GetGridIndex(gridIndexOrPosition) or gridIndexOrPosition
|
|
88
88
|
local existingGridEntity = room:GetGridEntity(gridIndex)
|
|
89
89
|
local isExistingDecoration = existingGridEntity ~= nil and existingGridEntity:GetType() == GridEntityType.DECORATION and existingGridEntity:GetVariant() == DecorationVariant.CUSTOM_GRID_ENTITY
|
|
90
|
-
local decoration = isExistingDecoration and existingGridEntity or
|
|
90
|
+
local decoration = isExistingDecoration and existingGridEntity or spawnGridEntityWithVariant(nil, GridEntityType.DECORATION, DecorationVariant.CUSTOM_GRID_ENTITY, gridIndexOrPosition)
|
|
91
91
|
if decoration == nil then
|
|
92
92
|
error("Failed to spawn a decoration for a custom grid entity.")
|
|
93
93
|
end
|
|
@@ -150,7 +150,7 @@ function ____exports.removeCustomGrid(self, gridIndexOrPositionOrGridEntity, upd
|
|
|
150
150
|
return nil
|
|
151
151
|
end
|
|
152
152
|
roomCustomGridEntities:delete(gridIndex)
|
|
153
|
-
|
|
153
|
+
removeGridEntity(nil, decoration, updateRoom)
|
|
154
154
|
return decoration
|
|
155
155
|
end
|
|
156
156
|
return ____exports
|
|
@@ -14,8 +14,8 @@ local ____constants = require("constants")
|
|
|
14
14
|
local VectorZero = ____constants.VectorZero
|
|
15
15
|
local ____array = require("functions.array")
|
|
16
16
|
local getRandomArrayElement = ____array.getRandomArrayElement
|
|
17
|
-
local
|
|
18
|
-
local spawnEffectWithSeed =
|
|
17
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
18
|
+
local spawnEffectWithSeed = ____entitiesSpecific.spawnEffectWithSeed
|
|
19
19
|
local ____rng = require("functions.rng")
|
|
20
20
|
local newRNG = ____rng.newRNG
|
|
21
21
|
local ____roomShape = require("functions.roomShape")
|
|
@@ -16,4 +16,4 @@ export declare function setCustomDoorGraphics(customStage: CustomStage, gridEnti
|
|
|
16
16
|
* rewards, skull rewards, and so on.
|
|
17
17
|
*/
|
|
18
18
|
export declare function removeUrnRewards(customStage: CustomStage, gridEntity: GridEntity): void;
|
|
19
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=customStageGridEntities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customStageGridEntities.d.ts","sourceRoot":"","sources":["../../../src/features/customStage/customStageGridEntities.ts"],"names":[],"mappings":";AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,0CAA0C;AAC1C,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAoBN;AAED,oCAAoC;AACpC,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAgBN;AAED,mCAAmC;AACnC,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAaN;AAED,mCAAmC;AACnC,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAQN;AAuDD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,GACrB,IAAI,CAsBN"}
|
|
@@ -8,14 +8,14 @@ local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
|
|
|
8
8
|
local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
|
|
9
9
|
local ____DecorationVariant = require("enums.DecorationVariant")
|
|
10
10
|
local DecorationVariant = ____DecorationVariant.DecorationVariant
|
|
11
|
-
local
|
|
12
|
-
local removeEntities =
|
|
13
|
-
local
|
|
14
|
-
local getNPCs =
|
|
15
|
-
local
|
|
16
|
-
local getCoins =
|
|
17
|
-
local getCollectibles =
|
|
18
|
-
local getTrinkets =
|
|
11
|
+
local ____entities = require("functions.entities")
|
|
12
|
+
local removeEntities = ____entities.removeEntities
|
|
13
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
14
|
+
local getNPCs = ____entitiesSpecific.getNPCs
|
|
15
|
+
local ____pickupsSpecific = require("functions.pickupsSpecific")
|
|
16
|
+
local getCoins = ____pickupsSpecific.getCoins
|
|
17
|
+
local getCollectibles = ____pickupsSpecific.getCollectibles
|
|
18
|
+
local getTrinkets = ____pickupsSpecific.getTrinkets
|
|
19
19
|
local ____vector = require("functions.vector")
|
|
20
20
|
local vectorEquals = ____vector.vectorEquals
|
|
21
21
|
function getNewDoorPNGPath(self, customStage, fileName)
|
|
@@ -9,4 +9,4 @@ import { CustomStageRoomMetadata } from "../../interfaces/CustomStageLua";
|
|
|
9
9
|
* https://stackoverflow.com/questions/1761626/weighted-random-numbers
|
|
10
10
|
*/
|
|
11
11
|
export declare function getRandomCustomStageRoom(roomsMetadata: readonly CustomStageRoomMetadata[], seedOrRNG?: Seed | RNG, verbose?: boolean): CustomStageRoomMetadata;
|
|
12
|
-
//# sourceMappingURL=
|
|
12
|
+
//# sourceMappingURL=customStageUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customStageUtils.d.ts","sourceRoot":"","sources":["../../../src/features/customStage/customStageUtils.ts"],"names":[],"mappings":";;AAIA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,aAAa,EAAE,SAAS,uBAAuB,EAAE,EACjD,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,GACd,uBAAuB,CAYzB"}
|
|
File without changes
|
|
@@ -14,8 +14,8 @@ local ____cachedClasses = require("cachedClasses")
|
|
|
14
14
|
local game = ____cachedClasses.game
|
|
15
15
|
local ____reorderedCallbacks = require("callbacks.reorderedCallbacks")
|
|
16
16
|
local reorderedCallbacksSetStage = ____reorderedCallbacks.reorderedCallbacksSetStage
|
|
17
|
-
local
|
|
18
|
-
local getEntityIDFromConstituents =
|
|
17
|
+
local ____entities = require("functions.entities")
|
|
18
|
+
local getEntityIDFromConstituents = ____entities.getEntityIDFromConstituents
|
|
19
19
|
local ____log = require("functions.log")
|
|
20
20
|
local log = ____log.log
|
|
21
21
|
local logError = ____log.logError
|
|
@@ -32,8 +32,8 @@ local getGotoCommand = ____stage.getGotoCommand
|
|
|
32
32
|
local setStage = ____stage.setStage
|
|
33
33
|
local ____runNextRoom = require("features.runNextRoom")
|
|
34
34
|
local runNextRoom = ____runNextRoom.runNextRoom
|
|
35
|
-
local
|
|
36
|
-
local getRandomCustomStageRoom =
|
|
35
|
+
local ____customStageUtils = require("features.customStage.customStageUtils")
|
|
36
|
+
local getRandomCustomStageRoom = ____customStageUtils.getRandomCustomStageRoom
|
|
37
37
|
local ____v = require("features.customStage.v")
|
|
38
38
|
local v = ____v.default
|
|
39
39
|
local customBossPNGPaths = ____v.customBossPNGPaths
|
|
@@ -15,12 +15,12 @@ local ____exports = require("features.saveDataManager.exports")
|
|
|
15
15
|
local saveDataManager = ____exports.saveDataManager
|
|
16
16
|
local ____backdrop = require("features.customStage.backdrop")
|
|
17
17
|
local setBackdrop = ____backdrop.setBackdrop
|
|
18
|
-
local
|
|
19
|
-
local removeUrnRewards =
|
|
20
|
-
local setCustomDecorationGraphics =
|
|
21
|
-
local setCustomDoorGraphics =
|
|
22
|
-
local setCustomPitGraphics =
|
|
23
|
-
local setCustomRockGraphics =
|
|
18
|
+
local ____customStageGridEntities = require("features.customStage.customStageGridEntities")
|
|
19
|
+
local removeUrnRewards = ____customStageGridEntities.removeUrnRewards
|
|
20
|
+
local setCustomDecorationGraphics = ____customStageGridEntities.setCustomDecorationGraphics
|
|
21
|
+
local setCustomDoorGraphics = ____customStageGridEntities.setCustomDoorGraphics
|
|
22
|
+
local setCustomPitGraphics = ____customStageGridEntities.setCustomPitGraphics
|
|
23
|
+
local setCustomRockGraphics = ____customStageGridEntities.setCustomRockGraphics
|
|
24
24
|
local metadataJSON = require("features.customStage.metadata")
|
|
25
25
|
local ____shadows = require("features.customStage.shadows")
|
|
26
26
|
local setShadows = ____shadows.setShadows
|
|
@@ -6,8 +6,8 @@ local ____cachedClasses = require("cachedClasses")
|
|
|
6
6
|
local game = ____cachedClasses.game
|
|
7
7
|
local ____array = require("functions.array")
|
|
8
8
|
local getRandomArrayElement = ____array.getRandomArrayElement
|
|
9
|
-
local
|
|
10
|
-
local spawnEffectWithSeed =
|
|
9
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
10
|
+
local spawnEffectWithSeed = ____entitiesSpecific.spawnEffectWithSeed
|
|
11
11
|
local ____customStageConstants = require("features.customStage.customStageConstants")
|
|
12
12
|
local ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH = ____customStageConstants.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH
|
|
13
13
|
local ____v = require("features.customStage.v")
|
|
@@ -13,10 +13,10 @@ local game = ____cachedClasses.game
|
|
|
13
13
|
local sfxManager = ____cachedClasses.sfxManager
|
|
14
14
|
local ____array = require("functions.array")
|
|
15
15
|
local arrayRemove = ____array.arrayRemove
|
|
16
|
-
local
|
|
17
|
-
local getBosses =
|
|
18
|
-
local
|
|
19
|
-
local getEntityID =
|
|
16
|
+
local ____bosses = require("functions.bosses")
|
|
17
|
+
local getBosses = ____bosses.getBosses
|
|
18
|
+
local ____entities = require("functions.entities")
|
|
19
|
+
local getEntityID = ____entities.getEntityID
|
|
20
20
|
local ____utils = require("functions.utils")
|
|
21
21
|
local erange = ____utils.erange
|
|
22
22
|
local ____bossNamePNGFileNames = require("objects.bossNamePNGFileNames")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
local ____exports = {}
|
|
2
2
|
local defaultEntityDisplayCallback, defaultGridEntityDisplayCallback
|
|
3
|
-
local
|
|
4
|
-
local getEntityID =
|
|
5
|
-
local
|
|
6
|
-
local getGridEntityID =
|
|
3
|
+
local ____entities = require("functions.entities")
|
|
4
|
+
local getEntityID = ____entities.getEntityID
|
|
5
|
+
local ____gridEntities = require("functions.gridEntities")
|
|
6
|
+
local getGridEntityID = ____gridEntities.getGridEntityID
|
|
7
7
|
function defaultEntityDisplayCallback(self, entity)
|
|
8
8
|
return getEntityID(nil, entity)
|
|
9
9
|
end
|
|
@@ -27,24 +27,24 @@ local ____featuresInitialized = require("featuresInitialized")
|
|
|
27
27
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
28
28
|
local ____array = require("functions.array")
|
|
29
29
|
local emptyArray = ____array.emptyArray
|
|
30
|
-
local
|
|
31
|
-
local getEntityIDFromConstituents =
|
|
32
|
-
local removeAllMatchingEntities =
|
|
33
|
-
local spawn =
|
|
34
|
-
local spawnWithSeed =
|
|
35
|
-
local
|
|
36
|
-
local getNPCs =
|
|
37
|
-
local removeAllBombs =
|
|
38
|
-
local removeAllPickups =
|
|
39
|
-
local
|
|
40
|
-
local convertXMLGridEntityType =
|
|
41
|
-
local getAllGridIndexes =
|
|
42
|
-
local getGridEntities =
|
|
43
|
-
local getGridEntityIDFromConstituents =
|
|
44
|
-
local removeAllGridExcept =
|
|
45
|
-
local
|
|
46
|
-
local setGridEntityInvisible =
|
|
47
|
-
local
|
|
30
|
+
local ____entities = require("functions.entities")
|
|
31
|
+
local getEntityIDFromConstituents = ____entities.getEntityIDFromConstituents
|
|
32
|
+
local removeAllMatchingEntities = ____entities.removeAllMatchingEntities
|
|
33
|
+
local spawn = ____entities.spawn
|
|
34
|
+
local spawnWithSeed = ____entities.spawnWithSeed
|
|
35
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
36
|
+
local getNPCs = ____entitiesSpecific.getNPCs
|
|
37
|
+
local removeAllBombs = ____entitiesSpecific.removeAllBombs
|
|
38
|
+
local removeAllPickups = ____entitiesSpecific.removeAllPickups
|
|
39
|
+
local ____gridEntities = require("functions.gridEntities")
|
|
40
|
+
local convertXMLGridEntityType = ____gridEntities.convertXMLGridEntityType
|
|
41
|
+
local getAllGridIndexes = ____gridEntities.getAllGridIndexes
|
|
42
|
+
local getGridEntities = ____gridEntities.getGridEntities
|
|
43
|
+
local getGridEntityIDFromConstituents = ____gridEntities.getGridEntityIDFromConstituents
|
|
44
|
+
local removeAllGridExcept = ____gridEntities.removeAllGridExcept
|
|
45
|
+
local removeGridEntity = ____gridEntities.removeGridEntity
|
|
46
|
+
local setGridEntityInvisible = ____gridEntities.setGridEntityInvisible
|
|
47
|
+
local spawnGridEntityWithVariant = ____gridEntities.spawnGridEntityWithVariant
|
|
48
48
|
local ____jsonRoom = require("functions.jsonRoom")
|
|
49
49
|
local getRandomJSONRoom = ____jsonRoom.getRandomJSONRoom
|
|
50
50
|
local ____log = require("functions.log")
|
|
@@ -76,7 +76,7 @@ function preUseItemWeNeedToGoDeeper(self, _collectibleType, _rng, player)
|
|
|
76
76
|
end
|
|
77
77
|
local decorations = getGridEntities(nil, GridEntityType.DECORATION)
|
|
78
78
|
for ____, decoration in ipairs(decorations) do
|
|
79
|
-
|
|
79
|
+
removeGridEntity(nil, decoration, false)
|
|
80
80
|
end
|
|
81
81
|
local playerPtr = EntityPtr(player)
|
|
82
82
|
runNextGameFrame(
|
|
@@ -289,7 +289,7 @@ function spawnGridEntityForJSONRoom(self, gridEntityXMLType, gridEntityXMLVarian
|
|
|
289
289
|
local gridEntityType, variant = table.unpack(gridEntityTuple)
|
|
290
290
|
local position = gridCoordinatesToWorldPosition(nil, x, y)
|
|
291
291
|
local gridIndex = room:GetGridIndex(position)
|
|
292
|
-
local gridEntity =
|
|
292
|
+
local gridEntity = spawnGridEntityWithVariant(nil, gridEntityType, variant, gridIndex)
|
|
293
293
|
if gridEntity == nil then
|
|
294
294
|
return gridEntity
|
|
295
295
|
end
|
|
@@ -9,8 +9,8 @@ local ____HealthType = require("enums.HealthType")
|
|
|
9
9
|
local HealthType = ____HealthType.HealthType
|
|
10
10
|
local ____direction = require("functions.direction")
|
|
11
11
|
local directionToVector = ____direction.directionToVector
|
|
12
|
-
local
|
|
13
|
-
local
|
|
12
|
+
local ____gridEntities = require("functions.gridEntities")
|
|
13
|
+
local spawnGridEntityWithVariant = ____gridEntities.spawnGridEntityWithVariant
|
|
14
14
|
local ____log = require("functions.log")
|
|
15
15
|
local logEntities = ____log.logEntities
|
|
16
16
|
local logGridEntities = ____log.logGridEntities
|
|
@@ -104,7 +104,7 @@ function ____exports.spawnTrapdoorOrCrawlSpace(self, trapdoor)
|
|
|
104
104
|
local position = room:FindFreeTilePosition(player.Position, 0)
|
|
105
105
|
local gridIndex = room:GetGridIndex(position)
|
|
106
106
|
local gridEntityType = trapdoor and GridEntityType.TRAPDOOR or GridEntityType.CRAWL_SPACE
|
|
107
|
-
|
|
107
|
+
spawnGridEntityWithVariant(nil, gridEntityType, 0, gridIndex)
|
|
108
108
|
end
|
|
109
109
|
function ____exports.warpToRoomType(self, roomType)
|
|
110
110
|
local roomTypeName = ROOM_TYPE_NAMES[roomType]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"AAmGA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA2C/C;AAED;;;GAGG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CAkB9B;AAED,2CAA2C;AAC3C,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEhD;AAED,+CAA+C;AAC/C,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAcjD;AAED,2CAA2C;AAC3C,wBAAgB,EAAE,IAAI,IAAI,CAEzB;AAED;;;GAGG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAczC;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAc1C;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,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,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC"}
|
|
@@ -42,14 +42,14 @@ local ____charge = require("functions.charge")
|
|
|
42
42
|
local addCharge = ____charge.addCharge
|
|
43
43
|
local ____collectibles = require("functions.collectibles")
|
|
44
44
|
local isValidCollectibleType = ____collectibles.isValidCollectibleType
|
|
45
|
-
local
|
|
46
|
-
local getNPCs =
|
|
45
|
+
local ____entitiesSpecific = require("functions.entitiesSpecific")
|
|
46
|
+
local getNPCs = ____entitiesSpecific.getNPCs
|
|
47
47
|
local ____enums = require("functions.enums")
|
|
48
48
|
local getEnumValues = ____enums.getEnumValues
|
|
49
49
|
local ____flag = require("functions.flag")
|
|
50
50
|
local addFlag = ____flag.addFlag
|
|
51
|
-
local
|
|
52
|
-
local
|
|
51
|
+
local ____gridEntities = require("functions.gridEntities")
|
|
52
|
+
local spawnGridEntity = ____gridEntities.spawnGridEntity
|
|
53
53
|
local ____log = require("functions.log")
|
|
54
54
|
local logEffects = ____log.logEffects
|
|
55
55
|
local logRoom = ____log.logRoom
|
|
@@ -57,19 +57,19 @@ local logSeedEffects = ____log.logSeedEffects
|
|
|
57
57
|
local logSounds = ____log.logSounds
|
|
58
58
|
local ____map = require("functions.map")
|
|
59
59
|
local getMapPartialMatch = ____map.getMapPartialMatch
|
|
60
|
-
local
|
|
61
|
-
local spawnCard =
|
|
62
|
-
local spawnPill =
|
|
63
|
-
local spawnTrinket =
|
|
60
|
+
local ____pickupsSpecific = require("functions.pickupsSpecific")
|
|
61
|
+
local spawnCard = ____pickupsSpecific.spawnCard
|
|
62
|
+
local spawnPill = ____pickupsSpecific.spawnPill
|
|
63
|
+
local spawnTrinket = ____pickupsSpecific.spawnTrinket
|
|
64
64
|
local ____pills = require("functions.pills")
|
|
65
65
|
local getPillEffectName = ____pills.getPillEffectName
|
|
66
|
-
local ____player = require("functions.player")
|
|
67
|
-
local addCollectibleCostume = ____player.addCollectibleCostume
|
|
68
|
-
local getPlayerName = ____player.getPlayerName
|
|
69
|
-
local removeCollectibleCostume = ____player.removeCollectibleCostume
|
|
70
|
-
local useActiveItemTemp = ____player.useActiveItemTemp
|
|
71
66
|
local ____playerIndex = require("functions.playerIndex")
|
|
72
67
|
local getPlayers = ____playerIndex.getPlayers
|
|
68
|
+
local ____players = require("functions.players")
|
|
69
|
+
local addCollectibleCostume = ____players.addCollectibleCostume
|
|
70
|
+
local getPlayerName = ____players.getPlayerName
|
|
71
|
+
local removeCollectibleCostume = ____players.removeCollectibleCostume
|
|
72
|
+
local useActiveItemTemp = ____players.useActiveItemTemp
|
|
73
73
|
local ____roomGrid = require("functions.roomGrid")
|
|
74
74
|
local gridCoordinatesToWorldPosition = ____roomGrid.gridCoordinatesToWorldPosition
|
|
75
75
|
local ____rooms = require("functions.rooms")
|
|
@@ -614,7 +614,7 @@ function ____exports.gridEntities(self)
|
|
|
614
614
|
return
|
|
615
615
|
end
|
|
616
616
|
local position = gridCoordinatesToWorldPosition(nil, x, y)
|
|
617
|
-
|
|
617
|
+
spawnGridEntity(nil, gridEntityType, position)
|
|
618
618
|
x = x + 1
|
|
619
619
|
end
|
|
620
620
|
end
|
package/dist/features/pause.lua
CHANGED
|
@@ -10,8 +10,8 @@ local InputHook = ____isaac_2Dtypescript_2Ddefinitions.InputHook
|
|
|
10
10
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
11
11
|
local ____log = require("functions.log")
|
|
12
12
|
local logError = ____log.logError
|
|
13
|
-
local
|
|
14
|
-
local useActiveItemTemp =
|
|
13
|
+
local ____players = require("functions.players")
|
|
14
|
+
local useActiveItemTemp = ____players.useActiveItemTemp
|
|
15
15
|
local ____disableInputs = require("features.disableInputs")
|
|
16
16
|
local disableAllInputsExceptFor = ____disableInputs.disableAllInputsExceptFor
|
|
17
17
|
local enableAllInputs = ____disableInputs.enableAllInputs
|
|
@@ -13,8 +13,8 @@ local ____ModCallbackCustom = require("enums.ModCallbackCustom")
|
|
|
13
13
|
local ModCallbackCustom = ____ModCallbackCustom.ModCallbackCustom
|
|
14
14
|
local ____featuresInitialized = require("featuresInitialized")
|
|
15
15
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
16
|
-
local
|
|
17
|
-
local spawn =
|
|
16
|
+
local ____entities = require("functions.entities")
|
|
17
|
+
local spawn = ____entities.spawn
|
|
18
18
|
local ____roomData = require("functions.roomData")
|
|
19
19
|
local getRoomListIndex = ____roomData.getRoomListIndex
|
|
20
20
|
local ____exports = require("features.saveDataManager.exports")
|
|
@@ -14,8 +14,8 @@ local ____featuresInitialized = require("featuresInitialized")
|
|
|
14
14
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
15
15
|
local ____collectibles = require("functions.collectibles")
|
|
16
16
|
local setCollectibleSubType = ____collectibles.setCollectibleSubType
|
|
17
|
-
local
|
|
18
|
-
local getEntityID =
|
|
17
|
+
local ____entities = require("functions.entities")
|
|
18
|
+
local getEntityID = ____entities.getEntityID
|
|
19
19
|
local ____pickupVariants = require("functions.pickupVariants")
|
|
20
20
|
local isCollectible = ____pickupVariants.isCollectible
|
|
21
21
|
local ____exports = require("features.saveDataManager.exports")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/exports.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAarD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,CAAC,EAAE,QAAQ,EACX,eAAe,CAAC,EAAE,MAAM,OAAO,GAC9B,IAAI,CAuCN;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;
|
|
1
|
+
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/features/saveDataManager/exports.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAarD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,CAAC,EAAE,QAAQ,EACX,eAAe,CAAC,EAAE,MAAM,OAAO,GAC9B,IAAI,CAuCN;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAG1C;AAQD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAK/C;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,MAAM,GACrB,IAAI,CAiBN"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
local ____lualib = require("lualib_bundle")
|
|
2
|
-
local Map = ____lualib.Map
|
|
3
2
|
local Set = ____lualib.Set
|
|
3
|
+
local Map = ____lualib.Map
|
|
4
4
|
local ____exports = {}
|
|
5
5
|
local mergeArray, mergeTSTLObject, mergeTable
|
|
6
6
|
local ____SerializationBrand = require("enums.private.SerializationBrand")
|
|
@@ -20,6 +20,7 @@ local ____table = require("functions.table")
|
|
|
20
20
|
local clearTable = ____table.clearTable
|
|
21
21
|
local iterateTableInOrder = ____table.iterateTableInOrder
|
|
22
22
|
local ____tstlClass = require("functions.tstlClass")
|
|
23
|
+
local isDefaultMap = ____tstlClass.isDefaultMap
|
|
23
24
|
local isTSTLMap = ____tstlClass.isTSTLMap
|
|
24
25
|
local isTSTLSet = ____tstlClass.isTSTLSet
|
|
25
26
|
local ____types = require("functions.types")
|
|
@@ -64,7 +65,7 @@ function ____exports.merge(self, oldObject, newTable, traversalDescription)
|
|
|
64
65
|
mergeArray(nil, oldObject, newTable)
|
|
65
66
|
return
|
|
66
67
|
end
|
|
67
|
-
if isTSTLMap(nil, oldObject) or isTSTLSet(nil, oldObject) then
|
|
68
|
+
if isTSTLMap(nil, oldObject) or isTSTLSet(nil, oldObject) or isDefaultMap(nil, oldObject) then
|
|
68
69
|
mergeTSTLObject(nil, oldObject, newTable, traversalDescription)
|
|
69
70
|
else
|
|
70
71
|
mergeTable(nil, oldObject, newTable, traversalDescription)
|
|
@@ -99,7 +100,7 @@ function mergeTSTLObject(self, oldObject, newTable, traversalDescription)
|
|
|
99
100
|
end
|
|
100
101
|
keyToUse = numberKey
|
|
101
102
|
end
|
|
102
|
-
if isTSTLMap(nil, oldObject) then
|
|
103
|
+
if isTSTLMap(nil, oldObject) or isDefaultMap(nil, oldObject) then
|
|
103
104
|
local valueCopy
|
|
104
105
|
if isTable(nil, value) then
|
|
105
106
|
valueCopy = deepCopy(nil, value, SerializationType.DESERIALIZE, traversalDescription)
|
|
@@ -7,8 +7,8 @@ local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
|
|
|
7
7
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
8
8
|
local ____featuresInitialized = require("featuresInitialized")
|
|
9
9
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
10
|
-
local
|
|
11
|
-
local getEntities =
|
|
10
|
+
local ____entities = require("functions.entities")
|
|
11
|
+
local getEntities = ____entities.getEntities
|
|
12
12
|
local ____exports = require("features.saveDataManager.exports")
|
|
13
13
|
local saveDataManager = ____exports.saveDataManager
|
|
14
14
|
function postNPCInitSirenHelper(self, npc)
|
|
@@ -5,11 +5,11 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
5
5
|
local SackSubType = ____isaac_2Dtypescript_2Ddefinitions.SackSubType
|
|
6
6
|
local ____runInNFrames = require("features.runInNFrames")
|
|
7
7
|
local runNextGameFrame = ____runInNFrames.runNextGameFrame
|
|
8
|
-
local
|
|
9
|
-
local removeEntities =
|
|
10
|
-
local
|
|
11
|
-
local getCoins =
|
|
12
|
-
local spawnSackWithSeed =
|
|
8
|
+
local ____entities = require("functions.entities")
|
|
9
|
+
local removeEntities = ____entities.removeEntities
|
|
10
|
+
local ____pickupsSpecific = require("functions.pickupsSpecific")
|
|
11
|
+
local getCoins = ____pickupsSpecific.getCoins
|
|
12
|
+
local spawnSackWithSeed = ____pickupsSpecific.spawnSackWithSeed
|
|
13
13
|
--- Hard-coding this makes it easier to clean up the pickups afterwards.
|
|
14
14
|
local SACK_SEED_THAT_SPAWNS_TWO_COINS = 6
|
|
15
15
|
--- Helper function to start a Challenge Room or the Boss Rush.
|