isaacscript-common 2.0.33 → 2.2.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/README.md +1 -1
- package/callbacks/customRevive.lua +11 -11
- package/callbacks/itemPickup.lua +7 -7
- package/callbacks/postBombInitLate.lua +2 -2
- package/callbacks/postBoneSwing.lua +2 -2
- package/callbacks/postCollectibleInitFirst.lua +3 -3
- package/callbacks/postCursedTeleport.lua +6 -6
- package/callbacks/postCustomDoorEnter.lua +9 -9
- package/callbacks/postDoorRender.lua +2 -2
- package/callbacks/postDoorUpdate.lua +2 -2
- package/callbacks/postEffectInitLate.lua +2 -2
- package/callbacks/postEffectStateChanged.lua +3 -3
- package/callbacks/postEsauJr.lua +5 -5
- package/callbacks/postFamiliarInitLate.lua +2 -2
- package/callbacks/postFamiliarStateChanged.lua +3 -3
- package/callbacks/postFlip.lua +4 -4
- package/callbacks/postGreedModeWave.lua +3 -3
- package/callbacks/postGridEntity.lua +7 -7
- package/callbacks/postGridEntityCollision.lua +4 -4
- package/callbacks/postGridEntityRender.lua +2 -2
- package/callbacks/postHolyMantleRemoved.lua +5 -5
- package/callbacks/postItemDischarged.lua +7 -7
- package/callbacks/postKnifeInitLate.lua +2 -2
- package/callbacks/postLaserInitLate.lua +2 -2
- package/callbacks/postNPCInitLate.lua +2 -2
- package/callbacks/postNPCStateChanged.lua +3 -3
- package/callbacks/postNewRoomEarly.lua +4 -4
- package/callbacks/postPickupCollect.lua +3 -3
- package/callbacks/postPickupInitLate.lua +2 -2
- package/callbacks/postPickupStateChanged.lua +3 -3
- package/callbacks/postPitRender.lua +2 -2
- package/callbacks/postPitUpdate.lua +2 -2
- package/callbacks/postPlayerChangeHealth.lua +8 -8
- package/callbacks/postPlayerChangeType.lua +5 -5
- package/callbacks/postPlayerFatalDamage.lua +6 -6
- package/callbacks/postPlayerInitLate.lua +3 -3
- package/callbacks/postPlayerReordered.lua +7 -7
- package/callbacks/postPoopRender.lua +2 -2
- package/callbacks/postPoopUpdate.lua +2 -2
- package/callbacks/postPressurePlateRender.lua +2 -2
- package/callbacks/postPressurePlateUpdate.lua +2 -2
- package/callbacks/postProjectileInitLate.lua +2 -2
- package/callbacks/postPurchase.lua +6 -6
- package/callbacks/postRockRender.lua +2 -2
- package/callbacks/postRockUpdate.lua +2 -2
- package/callbacks/postRoomClearChanged.lua +3 -3
- package/callbacks/postSacrifice.lua +4 -4
- package/callbacks/postSlotInitUpdate.lua +4 -4
- package/callbacks/postSlotRender.lua +6 -6
- package/callbacks/postSpikesRender.lua +2 -2
- package/callbacks/postSpikesUpdate.lua +2 -2
- package/callbacks/postTNTRender.lua +2 -2
- package/callbacks/postTNTUpdate.lua +2 -2
- package/callbacks/postTearInitLate.lua +2 -2
- package/callbacks/postTearInitVeryLate.lua +2 -2
- package/callbacks/postTransformation.lua +6 -6
- package/callbacks/postTrinketBreak.lua +5 -5
- package/callbacks/preBerserkDeath.lua +5 -5
- package/callbacks/preNewLevel.lua +3 -3
- package/callbacks/reorderedCallbacks.lua +4 -4
- package/classes/DefaultMap.d.ts +11 -7
- package/classes/ModUpgraded.d.ts +8 -2
- package/classes/ModUpgraded.lua +1 -1
- package/constants.d.ts +5 -5
- package/constants.lua +2 -2
- package/{constantsMax.d.ts → constantsFirstLast.d.ts} +0 -0
- package/{constantsMax.lua → constantsFirstLast.lua} +2 -2
- package/enums/HealthType.d.ts +2 -2
- package/enums/ModCallbackCustom.d.ts +753 -2
- package/features/characterHealthConversion.d.ts +1 -2
- package/features/characterHealthConversion.lua +3 -3
- package/features/characterStats.lua +3 -3
- package/features/debugDisplay/debugDisplay.lua +4 -4
- package/features/debugDisplay/exports.d.ts +36 -36
- package/features/debugDisplay/exports.lua +2 -2
- package/features/debugDisplay/v.lua +2 -2
- package/features/deployJSONRoom.d.ts +1 -1
- package/features/deployJSONRoom.lua +15 -15
- package/features/disableInputs.d.ts +5 -5
- package/features/disableInputs.lua +3 -3
- package/features/disableSound.d.ts +2 -2
- package/features/disableSound.lua +4 -4
- package/features/extraConsoleCommands/commandsDisplay.d.ts +18 -18
- package/features/extraConsoleCommands/commandsDisplay.lua +1 -1
- package/features/extraConsoleCommands/commandsSubroutines.lua +10 -10
- package/features/extraConsoleCommands/init.d.ts +3 -2
- package/features/extraConsoleCommands/init.lua +83 -83
- package/features/extraConsoleCommands/{commands.d.ts → listCommands.d.ts} +17 -17
- package/features/extraConsoleCommands/{commands.lua → listCommands.lua} +36 -36
- package/features/fadeInRemover.lua +3 -3
- package/features/fastReset.lua +4 -4
- package/features/forgottenSwitch.lua +2 -2
- package/features/getCollectibleItemPoolType.lua +6 -6
- package/features/playerInventory.lua +10 -10
- package/features/{isPonyActive.d.ts → ponyDetection.d.ts} +0 -0
- package/features/{isPonyActive.lua → ponyDetection.lua} +7 -7
- package/features/{preventCollectibleRotate.d.ts → preventCollectibleRotation.d.ts} +1 -1
- package/features/{preventCollectibleRotate.lua → preventCollectibleRotation.lua} +9 -9
- package/features/runInNFrames.lua +3 -3
- package/features/saveDataManager/exports.d.ts +15 -12
- package/features/saveDataManager/exports.lua +6 -6
- package/features/saveDataManager/load.d.ts +1 -1
- package/features/saveDataManager/load.lua +4 -4
- package/features/saveDataManager/main.d.ts +1 -1
- package/features/saveDataManager/main.lua +11 -11
- package/features/saveDataManager/maps.d.ts +1 -1
- package/features/saveDataManager/merge.lua +10 -10
- package/features/saveDataManager/save.d.ts +1 -1
- package/features/saveDataManager/save.lua +5 -5
- package/features/saveDataManager/serializationBrand.lua +2 -2
- package/features/sirenHelpers.lua +3 -3
- package/features/taintedLazarusPlayers.lua +2 -2
- package/functions/array.lua +3 -3
- package/functions/benchmark.lua +1 -1
- package/functions/boss.lua +7 -7
- package/functions/cacheFlag.lua +1 -1
- package/functions/cards.d.ts +1 -1
- package/functions/cards.lua +13 -13
- package/functions/challenges.lua +1 -1
- package/functions/character.lua +9 -9
- package/functions/charge.lua +3 -3
- package/functions/chargeBar.d.ts +1 -8
- package/functions/chargeBar.lua +1 -1
- package/functions/collectibleCacheFlag.d.ts +4 -4
- package/functions/collectibleCacheFlag.lua +6 -6
- package/functions/collectibleSet.lua +5 -5
- package/functions/collectibleTag.lua +6 -6
- package/functions/collectibles.lua +15 -15
- package/functions/color.d.ts +17 -3
- package/functions/color.lua +5 -5
- package/functions/debug.lua +1 -1
- package/functions/deepCopy.lua +13 -13
- package/functions/deepCopyTests.lua +6 -6
- package/functions/direction.lua +3 -3
- package/functions/doors.lua +6 -6
- package/functions/eden.lua +5 -5
- package/functions/entity.lua +5 -5
- package/functions/entitySpecific.d.ts +15 -1
- package/functions/entitySpecific.lua +10 -2
- package/functions/enums.d.ts +3 -3
- package/functions/enums.lua +2 -2
- package/functions/familiars.lua +2 -2
- package/functions/flying.lua +2 -2
- package/functions/globals.lua +3 -3
- package/functions/gridEntity.lua +10 -10
- package/functions/gridEntitySpecific.lua +2 -2
- package/functions/input.lua +4 -4
- package/functions/jsonHelpers.lua +1 -1
- package/functions/jsonRoom.d.ts +1 -1
- package/functions/jsonRoom.lua +4 -4
- package/functions/kColor.d.ts +1 -1
- package/functions/kColor.lua +5 -5
- package/functions/level.lua +3 -3
- package/functions/log.lua +15 -15
- package/functions/math.lua +1 -1
- package/functions/mergeTests.lua +7 -7
- package/functions/npc.lua +3 -3
- package/functions/pickups.lua +6 -6
- package/functions/pills.lua +15 -15
- package/functions/player.lua +11 -11
- package/functions/playerDataStructures.d.ts +51 -0
- package/functions/playerDataStructures.lua +5 -1
- package/functions/playerHealth.d.ts +1 -1
- package/functions/playerHealth.lua +4 -4
- package/functions/playerIndex.lua +1 -1
- package/functions/pocketItems.d.ts +1 -1
- package/functions/pocketItems.lua +3 -3
- package/functions/positionVelocity.lua +6 -6
- package/functions/random.lua +1 -1
- package/functions/revive.lua +6 -6
- package/functions/rng.d.ts +1 -1
- package/functions/rng.lua +6 -6
- package/functions/roomData.lua +4 -4
- package/functions/roomGrid.lua +3 -3
- package/functions/roomShape.lua +8 -8
- package/functions/rooms.lua +12 -12
- package/functions/run.lua +4 -4
- package/functions/seeds.lua +2 -2
- package/functions/serialization.lua +5 -5
- package/functions/set.lua +2 -2
- package/functions/sound.lua +2 -2
- package/functions/spawnCollectible.lua +10 -10
- package/functions/sprite.lua +3 -3
- package/functions/stage.lua +2 -2
- package/functions/transformations.lua +6 -6
- package/functions/trinketCacheFlag.lua +3 -3
- package/functions/trinketGive.d.ts +1 -1
- package/functions/trinketGive.lua +3 -3
- package/functions/trinkets.d.ts +3 -3
- package/functions/trinkets.lua +14 -14
- package/functions/tstlClass.lua +1 -1
- package/functions/ui.lua +3 -3
- package/functions/utils.d.ts +2 -2
- package/functions/utils.lua +1 -1
- package/functions/vector.d.ts +1 -1
- package/functions/vector.lua +5 -5
- package/index.d.ts +14 -13
- package/index.lua +123 -123
- package/initCustomCallbacks.lua +58 -58
- package/initFeatures.lua +19 -19
- package/{types → interfaces}/AddCallbackParameterCustom.d.ts +0 -0
- package/{types → interfaces}/AddCallbackParameterCustom.lua +1 -1
- package/interfaces/ChargeBarSprites.d.ts +13 -0
- package/{types/JSONDoor.lua → interfaces/ChargeBarSprites.lua} +0 -0
- package/{types → interfaces}/JSONDoor.d.ts +1 -0
- package/{types/JSONEntity.lua → interfaces/JSONDoor.lua} +0 -0
- package/{types → interfaces}/JSONEntity.d.ts +1 -0
- package/{types/JSONRoom.lua → interfaces/JSONEntity.lua} +0 -0
- package/{types → interfaces}/JSONRoom.d.ts +1 -5
- package/{types/JSONRooms.lua → interfaces/JSONRoom.lua} +0 -0
- package/{types → interfaces}/JSONRooms.d.ts +0 -0
- package/{types/JSONSpawn.lua → interfaces/JSONRooms.lua} +0 -0
- package/{types → interfaces}/JSONSpawn.d.ts +1 -0
- package/{types/PlayerHealth.lua → interfaces/JSONSpawn.lua} +0 -0
- package/{types → interfaces}/PlayerHealth.d.ts +1 -0
- package/{types/PocketItemDescription.lua → interfaces/PlayerHealth.lua} +0 -0
- package/{types → interfaces}/PocketItemDescription.d.ts +1 -0
- package/{types/Primitive.lua → interfaces/PocketItemDescription.lua} +0 -0
- package/interfaces/SaveData.d.ts +29 -0
- package/{types/private → interfaces}/SaveData.lua +0 -0
- package/{types → interfaces}/TrinketSituation.d.ts +1 -0
- package/{types → interfaces}/TrinketSituation.lua +0 -0
- package/{types → interfaces}/private/TSTLClassMetatable.d.ts +0 -0
- package/{types → interfaces}/private/TSTLClassMetatable.lua +0 -0
- package/maps/cardMap.lua +85 -85
- package/maps/characterMap.lua +58 -58
- package/maps/defaultPlayerStatMap.lua +1 -1
- package/maps/pillEffectMap.lua +39 -39
- package/maps/roomTypeMap.lua +12 -12
- package/objects/LRoomShapeToRectangles.lua +1 -1
- package/objects/callbackRegisterFunctions.d.ts +1 -1
- package/objects/callbackRegisterFunctions.lua +76 -76
- package/objects/directionToVector.lua +1 -1
- package/objects/isaacAPIClassTypeToBrand.lua +2 -2
- package/objects/isaacAPIClassTypeToCopyFunction.lua +5 -5
- package/objects/roomShapeBounds.lua +1 -1
- package/objects/roomShapeLayoutSizes.lua +1 -1
- package/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +1 -1
- package/objects/roomShapeToTopLeftPosition.lua +1 -1
- package/objects/roomTypeNames.lua +1 -1
- package/objects/serializedIsaacAPIClassTypeToIdentityFunction.lua +5 -5
- package/package.json +2 -2
- package/patchErrorFunctions.lua +1 -1
- package/types/CollectibleIndex.d.ts +2 -2
- package/types/PickingUpItem.d.ts +12 -2
- package/types/PickingUpItem.lua +3 -0
- package/types/PlayerIndex.d.ts +2 -2
- package/types/private/IsaacAPIClass.d.ts +1 -1
- package/types/private/SerializedIsaacAPIClass.d.ts +1 -1
- package/types/private/TSTLClass.d.ts +1 -1
- package/upgradeMod.d.ts +2 -1
- package/upgradeMod.lua +7 -7
- package/types/Primitive.d.ts +0 -1
- package/types/private/SaveData.d.ts +0 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
local ____exports = {}
|
|
2
|
-
local ____exports = require("
|
|
2
|
+
local ____exports = require("features.debugDisplay.exports")
|
|
3
3
|
local toggleBombDisplay = ____exports.toggleBombDisplay
|
|
4
4
|
local toggleDoorDisplay = ____exports.toggleDoorDisplay
|
|
5
5
|
local toggleEffectDisplay = ____exports.toggleEffectDisplay
|
|
@@ -3,28 +3,28 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
3
3
|
local GridEntityType = ____isaac_2Dtypescript_2Ddefinitions.GridEntityType
|
|
4
4
|
local GridRoom = ____isaac_2Dtypescript_2Ddefinitions.GridRoom
|
|
5
5
|
local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
|
|
6
|
-
local ____cachedClasses = require("
|
|
6
|
+
local ____cachedClasses = require("cachedClasses")
|
|
7
7
|
local game = ____cachedClasses.game
|
|
8
|
-
local ____HealthType = require("
|
|
8
|
+
local ____HealthType = require("enums.HealthType")
|
|
9
9
|
local HealthType = ____HealthType.HealthType
|
|
10
|
-
local ____direction = require("
|
|
10
|
+
local ____direction = require("functions.direction")
|
|
11
11
|
local directionToVector = ____direction.directionToVector
|
|
12
|
-
local ____gridEntity = require("
|
|
12
|
+
local ____gridEntity = require("functions.gridEntity")
|
|
13
13
|
local spawnGridWithVariant = ____gridEntity.spawnGridWithVariant
|
|
14
|
-
local ____log = require("
|
|
14
|
+
local ____log = require("functions.log")
|
|
15
15
|
local logEntities = ____log.logEntities
|
|
16
16
|
local logGridEntities = ____log.logGridEntities
|
|
17
|
-
local ____playerHealth = require("
|
|
17
|
+
local ____playerHealth = require("functions.playerHealth")
|
|
18
18
|
local addPlayerHealthType = ____playerHealth.addPlayerHealthType
|
|
19
|
-
local ____roomData = require("
|
|
19
|
+
local ____roomData = require("functions.roomData")
|
|
20
20
|
local getRoomData = ____roomData.getRoomData
|
|
21
21
|
local getRoomDescriptor = ____roomData.getRoomDescriptor
|
|
22
|
-
local ____rooms = require("
|
|
22
|
+
local ____rooms = require("functions.rooms")
|
|
23
23
|
local changeRoom = ____rooms.changeRoom
|
|
24
24
|
local getRoomGridIndexesForType = ____rooms.getRoomGridIndexesForType
|
|
25
|
-
local ____utils = require("
|
|
25
|
+
local ____utils = require("functions.utils")
|
|
26
26
|
local printConsole = ____utils.printConsole
|
|
27
|
-
local ____roomTypeNames = require("
|
|
27
|
+
local ____roomTypeNames = require("objects.roomTypeNames")
|
|
28
28
|
local DEFAULT_ROOM_TYPE_NAME = ____roomTypeNames.DEFAULT_ROOM_TYPE_NAME
|
|
29
29
|
local ROOM_TYPE_NAMES = ____roomTypeNames.ROOM_TYPE_NAMES
|
|
30
30
|
local DEFAULT_MOVE_UNITS = 0.5
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ModUpgraded } from "../../classes/ModUpgraded";
|
|
2
2
|
/**
|
|
3
|
-
* Enables extra console commands which are useful for debugging. See the
|
|
4
|
-
*
|
|
3
|
+
* Enables extra console commands which are useful for debugging. See [the
|
|
4
|
+
* docs](https://isaacscript.github.io/isaacscript-common/features/extraConsoleCommands_listCommands)
|
|
5
|
+
* for the specific commands that are added.
|
|
5
6
|
*/
|
|
6
7
|
export declare function enableExtraConsoleCommands(mod: ModUpgraded): void;
|
|
7
8
|
/**
|
|
@@ -10,19 +10,19 @@ local EntityType = ____isaac_2Dtypescript_2Ddefinitions.EntityType
|
|
|
10
10
|
local LevelCurse = ____isaac_2Dtypescript_2Ddefinitions.LevelCurse
|
|
11
11
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
12
12
|
local TearVariant = ____isaac_2Dtypescript_2Ddefinitions.TearVariant
|
|
13
|
-
local ____constants = require("
|
|
13
|
+
local ____constants = require("constants")
|
|
14
14
|
local MAX_SPEED_STAT = ____constants.MAX_SPEED_STAT
|
|
15
|
-
local ____map = require("
|
|
15
|
+
local ____map = require("functions.map")
|
|
16
16
|
local getMapPartialMatch = ____map.getMapPartialMatch
|
|
17
|
-
local ____utils = require("
|
|
17
|
+
local ____utils = require("functions.utils")
|
|
18
18
|
local printConsole = ____utils.printConsole
|
|
19
|
-
local ____debugDisplay = require("
|
|
19
|
+
local ____debugDisplay = require("features.debugDisplay.debugDisplay")
|
|
20
20
|
local debugDisplayInit = ____debugDisplay.debugDisplayInit
|
|
21
|
-
local ____exports = require("
|
|
21
|
+
local ____exports = require("features.saveDataManager.exports")
|
|
22
22
|
local saveDataManager = ____exports.saveDataManager
|
|
23
|
-
local
|
|
24
|
-
local
|
|
25
|
-
local ____v = require("
|
|
23
|
+
local commandsDisplay = require("features.extraConsoleCommands.commandsDisplay")
|
|
24
|
+
local commands = require("features.extraConsoleCommands.listCommands")
|
|
25
|
+
local ____v = require("features.extraConsoleCommands.v")
|
|
26
26
|
local v = ____v.default
|
|
27
27
|
function featureEnabled(self)
|
|
28
28
|
return initialized
|
|
@@ -104,30 +104,30 @@ function ____exports.removeConsoleCommand(self, commandName)
|
|
|
104
104
|
commandFunctionsMap:delete(commandName)
|
|
105
105
|
end
|
|
106
106
|
commandFunctionsMap:set("1hp", commands.oneHP)
|
|
107
|
-
commandFunctionsMap:set("
|
|
107
|
+
commandFunctionsMap:set("addCharges", commands.addCharges)
|
|
108
108
|
commandFunctionsMap:set("angel", commands.angel)
|
|
109
109
|
commandFunctionsMap:set("ascent", commands.ascent)
|
|
110
110
|
commandFunctionsMap:set("bedroom", commands.bedroom)
|
|
111
111
|
commandFunctionsMap:set("bh", commands.bh)
|
|
112
112
|
commandFunctionsMap:set("blackhearts", commands.blackHearts)
|
|
113
|
-
commandFunctionsMap:set("
|
|
114
|
-
commandFunctionsMap:set("
|
|
113
|
+
commandFunctionsMap:set("blackMarket", commands.blackMarket)
|
|
114
|
+
commandFunctionsMap:set("bloodCharges", commands.bloodCharges)
|
|
115
115
|
commandFunctionsMap:set("bm", commands.bm)
|
|
116
116
|
commandFunctionsMap:set("bomb", commands.bomb)
|
|
117
|
-
commandFunctionsMap:set("
|
|
118
|
-
commandFunctionsMap:set("
|
|
117
|
+
commandFunctionsMap:set("bombDisplay", commandsDisplay.bombDisplay)
|
|
118
|
+
commandFunctionsMap:set("bombsDisplay", commandsDisplay.bombsDisplay)
|
|
119
119
|
commandFunctionsMap:set("bombs", commands.bombs)
|
|
120
|
-
commandFunctionsMap:set("
|
|
120
|
+
commandFunctionsMap:set("boneHearts", commands.boneHearts)
|
|
121
121
|
commandFunctionsMap:set("boss", commands.boss)
|
|
122
|
-
commandFunctionsMap:set("
|
|
123
|
-
commandFunctionsMap:set("
|
|
122
|
+
commandFunctionsMap:set("bossRush", commands.bossRush)
|
|
123
|
+
commandFunctionsMap:set("brokenHearts", commands.brokenHearts)
|
|
124
124
|
commandFunctionsMap:set("card", commands.card)
|
|
125
125
|
commandFunctionsMap:set("cards", commands.cards)
|
|
126
126
|
commandFunctionsMap:set("cc", commands.cc)
|
|
127
|
-
commandFunctionsMap:set("
|
|
127
|
+
commandFunctionsMap:set("chaosCardTears", commands.chaosCardTears)
|
|
128
128
|
commandFunctionsMap:set("character", commands.characterCommand)
|
|
129
129
|
commandFunctionsMap:set("charge", commands.charge)
|
|
130
|
-
commandFunctionsMap:set("
|
|
130
|
+
commandFunctionsMap:set("cleanBedroom", commands.cleanBedroom)
|
|
131
131
|
commandFunctionsMap:set("coin", commands.coin)
|
|
132
132
|
commandFunctionsMap:set("coins", commands.coins)
|
|
133
133
|
commandFunctionsMap:set("crawlspace", commands.crawlspace)
|
|
@@ -136,114 +136,114 @@ commandFunctionsMap:set("d6", commands.d6)
|
|
|
136
136
|
commandFunctionsMap:set("damage", commands.damage)
|
|
137
137
|
commandFunctionsMap:set("dd", commands.dd)
|
|
138
138
|
commandFunctionsMap:set("devil", commands.devil)
|
|
139
|
-
commandFunctionsMap:set("
|
|
140
|
-
commandFunctionsMap:set("
|
|
141
|
-
commandFunctionsMap:set("
|
|
142
|
-
commandFunctionsMap:set("
|
|
139
|
+
commandFunctionsMap:set("dirtyBedroom", commands.dirtyBedroom)
|
|
140
|
+
commandFunctionsMap:set("disableCurses", commands.disableCurses)
|
|
141
|
+
commandFunctionsMap:set("doorDisplay", commandsDisplay.doorDisplay)
|
|
142
|
+
commandFunctionsMap:set("doorsDisplay", commandsDisplay.doorsDisplay)
|
|
143
143
|
commandFunctionsMap:set("down", commands.down)
|
|
144
144
|
commandFunctionsMap:set("dungeon", commands.dungeon)
|
|
145
|
-
commandFunctionsMap:set("
|
|
145
|
+
commandFunctionsMap:set("effectDisplay", commandsDisplay.effectDisplay)
|
|
146
146
|
commandFunctionsMap:set("effects", commands.effects)
|
|
147
|
-
commandFunctionsMap:set("
|
|
147
|
+
commandFunctionsMap:set("effectsDisplay", commandsDisplay.effectsDisplay)
|
|
148
148
|
commandFunctionsMap:set("eh", commands.eh)
|
|
149
149
|
commandFunctionsMap:set("error", commands.error)
|
|
150
|
-
commandFunctionsMap:set("
|
|
151
|
-
commandFunctionsMap:set("
|
|
152
|
-
commandFunctionsMap:set("
|
|
150
|
+
commandFunctionsMap:set("eternalHearts", commands.eternalHearts)
|
|
151
|
+
commandFunctionsMap:set("familiarDisplay", commandsDisplay.familiarDisplay)
|
|
152
|
+
commandFunctionsMap:set("familiarsDisplay", commandsDisplay.familiarsDisplay)
|
|
153
153
|
commandFunctionsMap:set("fool", commands.fool)
|
|
154
|
-
commandFunctionsMap:set("
|
|
155
|
-
commandFunctionsMap:set("
|
|
156
|
-
commandFunctionsMap:set("
|
|
157
|
-
commandFunctionsMap:set("
|
|
158
|
-
commandFunctionsMap:set("
|
|
159
|
-
commandFunctionsMap:set("
|
|
160
|
-
commandFunctionsMap:set("
|
|
161
|
-
commandFunctionsMap:set("
|
|
154
|
+
commandFunctionsMap:set("getPosition", commands.getPosition)
|
|
155
|
+
commandFunctionsMap:set("gigaBomb", commands.gigaBomb)
|
|
156
|
+
commandFunctionsMap:set("goldBomb", commands.goldBomb)
|
|
157
|
+
commandFunctionsMap:set("goldHearts", commands.goldHearts)
|
|
158
|
+
commandFunctionsMap:set("goldKey", commands.goldKey)
|
|
159
|
+
commandFunctionsMap:set("goldenBomb", commands.goldenBomb)
|
|
160
|
+
commandFunctionsMap:set("goldenHearts", commands.goldenHearts)
|
|
161
|
+
commandFunctionsMap:set("goldenKey", commands.goldenKey)
|
|
162
162
|
commandFunctionsMap:set("grid", commands.grid)
|
|
163
163
|
commandFunctionsMap:set("grid2", commands.grid2)
|
|
164
|
-
commandFunctionsMap:set("
|
|
164
|
+
commandFunctionsMap:set("gridEntities", commands.gridEntities)
|
|
165
165
|
commandFunctionsMap:set("h", commands.h)
|
|
166
166
|
commandFunctionsMap:set("hearts", commands.hearts)
|
|
167
167
|
commandFunctionsMap:set("hitboxes", commands.hitboxes)
|
|
168
|
-
commandFunctionsMap:set("
|
|
168
|
+
commandFunctionsMap:set("iAmError", commands.iAmError)
|
|
169
169
|
commandFunctionsMap:set("key", commands.key)
|
|
170
170
|
commandFunctionsMap:set("keys", commands.keys)
|
|
171
|
-
commandFunctionsMap:set("
|
|
172
|
-
commandFunctionsMap:set("
|
|
173
|
-
commandFunctionsMap:set("
|
|
174
|
-
commandFunctionsMap:set("
|
|
171
|
+
commandFunctionsMap:set("knifeDisplay", commandsDisplay.knifeDisplay)
|
|
172
|
+
commandFunctionsMap:set("knivesDisplay", commandsDisplay.knivesDisplay)
|
|
173
|
+
commandFunctionsMap:set("laserDisplay", commandsDisplay.laserDisplay)
|
|
174
|
+
commandFunctionsMap:set("lasersDisplay", commandsDisplay.lasersDisplay)
|
|
175
175
|
commandFunctionsMap:set("left", commands.left)
|
|
176
176
|
commandFunctionsMap:set("library", commands.library)
|
|
177
177
|
commandFunctionsMap:set("list", commands.list)
|
|
178
|
-
commandFunctionsMap:set("
|
|
179
|
-
commandFunctionsMap:set("
|
|
180
|
-
commandFunctionsMap:set("
|
|
181
|
-
commandFunctionsMap:set("
|
|
178
|
+
commandFunctionsMap:set("listAll", commands.listAll)
|
|
179
|
+
commandFunctionsMap:set("listGrid", commands.listGrid)
|
|
180
|
+
commandFunctionsMap:set("listGridAll", commands.listGridAll)
|
|
181
|
+
commandFunctionsMap:set("lowHP", commands.lowHP)
|
|
182
182
|
commandFunctionsMap:set("luck", commands.luck)
|
|
183
183
|
commandFunctionsMap:set("map", commands.map)
|
|
184
|
-
commandFunctionsMap:set("
|
|
184
|
+
commandFunctionsMap:set("maxHearts", commands.maxHearts)
|
|
185
185
|
commandFunctionsMap:set("mh", commands.mh)
|
|
186
186
|
commandFunctionsMap:set("miniboss", commands.miniboss)
|
|
187
|
-
commandFunctionsMap:set("
|
|
188
|
-
commandFunctionsMap:set("
|
|
189
|
-
commandFunctionsMap:set("
|
|
190
|
-
commandFunctionsMap:set("
|
|
191
|
-
commandFunctionsMap:set("
|
|
187
|
+
commandFunctionsMap:set("noCurses", commands.noCurses)
|
|
188
|
+
commandFunctionsMap:set("npcDisplay", commandsDisplay.npcDisplay)
|
|
189
|
+
commandFunctionsMap:set("npcsDisplay", commandsDisplay.npcsDisplay)
|
|
190
|
+
commandFunctionsMap:set("pickupDisplay", commandsDisplay.pickupDisplay)
|
|
191
|
+
commandFunctionsMap:set("pickupsDisplay", commandsDisplay.pickupsDisplay)
|
|
192
192
|
commandFunctionsMap:set("pill", commands.pill)
|
|
193
193
|
commandFunctionsMap:set("pills", commands.pills)
|
|
194
|
-
commandFunctionsMap:set("
|
|
195
|
-
commandFunctionsMap:set("
|
|
194
|
+
commandFunctionsMap:set("pitDisplay", commandsDisplay.pitDisplay)
|
|
195
|
+
commandFunctionsMap:set("pitsDisplay", commandsDisplay.pitsDisplay)
|
|
196
196
|
commandFunctionsMap:set("planetarium", commands.planetarium)
|
|
197
|
-
commandFunctionsMap:set("
|
|
198
|
-
commandFunctionsMap:set("
|
|
199
|
-
commandFunctionsMap:set("
|
|
197
|
+
commandFunctionsMap:set("playerDisplay", commandsDisplay.playerDisplay)
|
|
198
|
+
commandFunctionsMap:set("playersDisplay", commandsDisplay.playersDisplay)
|
|
199
|
+
commandFunctionsMap:set("playSound", commands.playSound)
|
|
200
200
|
commandFunctionsMap:set("pocket", commands.pocket)
|
|
201
|
-
commandFunctionsMap:set("
|
|
202
|
-
commandFunctionsMap:set("
|
|
203
|
-
commandFunctionsMap:set("
|
|
201
|
+
commandFunctionsMap:set("poopDisplay", commandsDisplay.poopDisplay)
|
|
202
|
+
commandFunctionsMap:set("poopMana", commands.poopMana)
|
|
203
|
+
commandFunctionsMap:set("poopsDisplay", commandsDisplay.poopsDisplay)
|
|
204
204
|
commandFunctionsMap:set("position", commands.positionCommand)
|
|
205
|
-
commandFunctionsMap:set("
|
|
206
|
-
commandFunctionsMap:set("
|
|
207
|
-
commandFunctionsMap:set("
|
|
208
|
-
commandFunctionsMap:set("
|
|
209
|
-
commandFunctionsMap:set("
|
|
205
|
+
commandFunctionsMap:set("pressurePlateDisplay", commandsDisplay.pressurePlateDisplay)
|
|
206
|
+
commandFunctionsMap:set("pressurePlatesDisplay", commandsDisplay.pressurePlatesDisplay)
|
|
207
|
+
commandFunctionsMap:set("projectileDisplay", commandsDisplay.projectileDisplay)
|
|
208
|
+
commandFunctionsMap:set("projectilesDisplay", commandsDisplay.projectilesDisplay)
|
|
209
|
+
commandFunctionsMap:set("redHearts", commands.redHearts)
|
|
210
210
|
commandFunctionsMap:set("rh", commands.rh)
|
|
211
211
|
commandFunctionsMap:set("right", commands.right)
|
|
212
|
-
commandFunctionsMap:set("
|
|
213
|
-
commandFunctionsMap:set("
|
|
212
|
+
commandFunctionsMap:set("rockDisplay", commandsDisplay.rockDisplay)
|
|
213
|
+
commandFunctionsMap:set("rocksDisplay", commandsDisplay.rocksDisplay)
|
|
214
214
|
commandFunctionsMap:set("room", commands.roomCommand)
|
|
215
|
-
commandFunctionsMap:set("
|
|
215
|
+
commandFunctionsMap:set("rottenHearts", commands.rottenHearts)
|
|
216
216
|
commandFunctionsMap:set("s", commands.s)
|
|
217
217
|
commandFunctionsMap:set("sacrifice", commands.sacrifice)
|
|
218
218
|
commandFunctionsMap:set("secret", commands.secret)
|
|
219
|
-
commandFunctionsMap:set("
|
|
219
|
+
commandFunctionsMap:set("seedStick", commands.seedStick)
|
|
220
220
|
commandFunctionsMap:set("seeds", commands.seedsCommand)
|
|
221
|
-
commandFunctionsMap:set("
|
|
222
|
-
commandFunctionsMap:set("
|
|
221
|
+
commandFunctionsMap:set("setCharges", commands.setCharges)
|
|
222
|
+
commandFunctionsMap:set("setPosition", commands.setPosition)
|
|
223
223
|
commandFunctionsMap:set("sh", commands.sh)
|
|
224
224
|
commandFunctionsMap:set("shop", commands.shop)
|
|
225
|
-
commandFunctionsMap:set("
|
|
226
|
-
commandFunctionsMap:set("
|
|
225
|
+
commandFunctionsMap:set("slotDisplay", commandsDisplay.slotDisplay)
|
|
226
|
+
commandFunctionsMap:set("slotsDisplay", commandsDisplay.slotsDisplay)
|
|
227
227
|
commandFunctionsMap:set("smelt", commands.smelt)
|
|
228
|
-
commandFunctionsMap:set("
|
|
229
|
-
commandFunctionsMap:set("
|
|
228
|
+
commandFunctionsMap:set("soulCharges", commands.soulCharges)
|
|
229
|
+
commandFunctionsMap:set("soulHearts", commands.soulHearts)
|
|
230
230
|
commandFunctionsMap:set("sound", commands.sound)
|
|
231
231
|
commandFunctionsMap:set("sounds", commands.sounds)
|
|
232
232
|
commandFunctionsMap:set("spam", commands.spam)
|
|
233
|
-
commandFunctionsMap:set("
|
|
233
|
+
commandFunctionsMap:set("spawnGoldenTrinket", commands.spawnGoldenTrinket)
|
|
234
234
|
commandFunctionsMap:set("speed", commands.speed)
|
|
235
|
-
commandFunctionsMap:set("
|
|
236
|
-
commandFunctionsMap:set("
|
|
235
|
+
commandFunctionsMap:set("spikeDisplay", commandsDisplay.spikeDisplay)
|
|
236
|
+
commandFunctionsMap:set("spikesDisplay", commandsDisplay.spikesDisplay)
|
|
237
237
|
commandFunctionsMap:set("supersecret", commands.superSecret)
|
|
238
|
-
commandFunctionsMap:set("
|
|
239
|
-
commandFunctionsMap:set("
|
|
238
|
+
commandFunctionsMap:set("startingRoom", commands.startingRoom)
|
|
239
|
+
commandFunctionsMap:set("tearDisplay", commandsDisplay.tearDisplay)
|
|
240
240
|
commandFunctionsMap:set("tears", commands.tears)
|
|
241
|
-
commandFunctionsMap:set("
|
|
242
|
-
commandFunctionsMap:set("
|
|
243
|
-
commandFunctionsMap:set("
|
|
241
|
+
commandFunctionsMap:set("tearsDisplay", commandsDisplay.tearsDisplay)
|
|
242
|
+
commandFunctionsMap:set("tntDisplay", commandsDisplay.tntDisplay)
|
|
243
|
+
commandFunctionsMap:set("tntsDisplay", commandsDisplay.tntsDisplay)
|
|
244
244
|
commandFunctionsMap:set("trapdoor", commands.trapdoorCommand)
|
|
245
245
|
commandFunctionsMap:set("treasure", commands.treasure)
|
|
246
|
-
commandFunctionsMap:set("
|
|
246
|
+
commandFunctionsMap:set("ultraSecret", commands.ultraSecret)
|
|
247
247
|
commandFunctionsMap:set("up", commands.up)
|
|
248
248
|
commandFunctionsMap:set("warp", commands.warp)
|
|
249
249
|
return ____exports
|
|
@@ -27,7 +27,7 @@ export declare function blackMarket(): void;
|
|
|
27
27
|
* charges. (You can use negative numbers to remove charges.)
|
|
28
28
|
*/
|
|
29
29
|
export declare function bloodCharges(params: string): void;
|
|
30
|
-
/** Alias for the "
|
|
30
|
+
/** Alias for the "blackMarket" command. */
|
|
31
31
|
export declare function bm(): void;
|
|
32
32
|
/**
|
|
33
33
|
* Gives a bomb. Provide a number to give a custom amount of bombs. (You can use negative numbers to
|
|
@@ -63,7 +63,7 @@ export declare function brokenHearts(params: string): void;
|
|
|
63
63
|
export declare function card(params: string): void;
|
|
64
64
|
/** Spawns every card on the ground, starting at the top-left-most tile. */
|
|
65
65
|
export declare function cards(): void;
|
|
66
|
-
/** Alias for the "
|
|
66
|
+
/** Alias for the "chaosCardTears" command. */
|
|
67
67
|
export declare function cc(): void;
|
|
68
68
|
/** Toggles Chaos Card tears. Useful for killing enemies very fast without using "debug 10". */
|
|
69
69
|
export declare function chaosCardTears(): void;
|
|
@@ -76,7 +76,7 @@ export declare function chaosCardTears(): void;
|
|
|
76
76
|
* - character ta - Restarts as Tainted Azazel.
|
|
77
77
|
*/
|
|
78
78
|
export declare function characterCommand(params: string): void;
|
|
79
|
-
/** Alias for the "
|
|
79
|
+
/** Alias for the "addCharges" command. */
|
|
80
80
|
export declare function charge(params: string): void;
|
|
81
81
|
/** Warps to the first Clean Bedroom on the floor. */
|
|
82
82
|
export declare function cleanBedroom(): void;
|
|
@@ -115,16 +115,16 @@ export declare function down(params: string): void;
|
|
|
115
115
|
export declare function dungeon(): void;
|
|
116
116
|
/** Logs the player's current temporary effects to the "log.txt" file. */
|
|
117
117
|
export declare function effects(): void;
|
|
118
|
-
/** Alias for the "
|
|
118
|
+
/** Alias for the "eternalHearts" command. */
|
|
119
119
|
export declare function eh(params: string): void;
|
|
120
|
-
/** Alias for the "
|
|
120
|
+
/** Alias for the "iAmError" command. */
|
|
121
121
|
export declare function error(): void;
|
|
122
122
|
/**
|
|
123
123
|
* Gives an eternal heart. Provide a number to give a custom amount of hearts. (You can use negative
|
|
124
124
|
* numbers to remove hearts.)
|
|
125
125
|
*/
|
|
126
126
|
export declare function eternalHearts(params: string): void;
|
|
127
|
-
/** Alias for the "
|
|
127
|
+
/** Alias for the "startingRoom" command. */
|
|
128
128
|
export declare function fool(): void;
|
|
129
129
|
/** Prints the current position of all players. */
|
|
130
130
|
export declare function getPosition(): void;
|
|
@@ -133,11 +133,11 @@ export declare function getPosition(): void;
|
|
|
133
133
|
* numbers to remove bombs.)
|
|
134
134
|
*/
|
|
135
135
|
export declare function gigaBomb(params: string): void;
|
|
136
|
-
/** Alias for the "
|
|
136
|
+
/** Alias for the "goldenBomb" command. */
|
|
137
137
|
export declare function goldBomb(): void;
|
|
138
|
-
/** Alias for the "
|
|
138
|
+
/** Alias for the "goldenHearts" command. */
|
|
139
139
|
export declare function goldHearts(params: string): void;
|
|
140
|
-
/** Alias for the "
|
|
140
|
+
/** Alias for the "goldenKey" command. */
|
|
141
141
|
export declare function goldKey(): void;
|
|
142
142
|
/** Gives the player a golden bomb. */
|
|
143
143
|
export declare function goldenBomb(): void;
|
|
@@ -184,7 +184,7 @@ export declare function library(): void;
|
|
|
184
184
|
* `EntityType`.
|
|
185
185
|
*
|
|
186
186
|
* By default, this command will exclude background effects. If that is not desired, use the
|
|
187
|
-
* "
|
|
187
|
+
* "listAll" command instead.
|
|
188
188
|
*/
|
|
189
189
|
export declare function list(params: string): void;
|
|
190
190
|
/**
|
|
@@ -196,7 +196,7 @@ export declare function listAll(params: string): void;
|
|
|
196
196
|
* Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that
|
|
197
197
|
* specific `GridEntityType`.
|
|
198
198
|
*
|
|
199
|
-
* By default, this command will exclude walls. If that is not desired, use the "
|
|
199
|
+
* By default, this command will exclude walls. If that is not desired, use the "listGridAll"
|
|
200
200
|
* command instead.
|
|
201
201
|
*/
|
|
202
202
|
export declare function listGrid(params: string): void;
|
|
@@ -216,11 +216,11 @@ export declare function map(): void;
|
|
|
216
216
|
* use negative numbers to remove heart containers.)
|
|
217
217
|
*/
|
|
218
218
|
export declare function maxHearts(params: string): void;
|
|
219
|
-
/** Alias for the "
|
|
219
|
+
/** Alias for the "maxHearts" command. */
|
|
220
220
|
export declare function mh(params: string): void;
|
|
221
221
|
/** Warps to the first Miniboss Room on the floor. */
|
|
222
222
|
export declare function miniboss(): void;
|
|
223
|
-
/** Alias for the "
|
|
223
|
+
/** Alias for the "disableCurses" command. */
|
|
224
224
|
export declare function noCurses(): void;
|
|
225
225
|
/** Sets every NPC in the room to 1 HP. */
|
|
226
226
|
export declare function oneHP(): void;
|
|
@@ -247,11 +247,11 @@ export declare function pocket(params: string): void;
|
|
|
247
247
|
* amount of charges. (You can use negative numbers to remove charges.)
|
|
248
248
|
*/
|
|
249
249
|
export declare function poopMana(params: string): void;
|
|
250
|
-
/** Alias for the "
|
|
250
|
+
/** Alias for the "getPosition" command. */
|
|
251
251
|
export declare function positionCommand(): void;
|
|
252
252
|
/** Alias for the "hearts" command. */
|
|
253
253
|
export declare function redHearts(params: string): void;
|
|
254
|
-
/** Alias for the "
|
|
254
|
+
/** Alias for the "redHearts" command. */
|
|
255
255
|
export declare function rh(params: string): void;
|
|
256
256
|
/** Moves the player 0.5 units right. Provide a number to move a custom amount of units. */
|
|
257
257
|
export declare function right(params: string): void;
|
|
@@ -287,10 +287,10 @@ export declare function setCharges(params: string): void;
|
|
|
287
287
|
* Moves the first player to the specified position.
|
|
288
288
|
*
|
|
289
289
|
* For example:
|
|
290
|
-
* -
|
|
290
|
+
* - setPosition 100 50
|
|
291
291
|
*/
|
|
292
292
|
export declare function setPosition(params: string): void;
|
|
293
|
-
/** Alias for the "
|
|
293
|
+
/** Alias for the "soulHearts" command. */
|
|
294
294
|
export declare function sh(params: string): void;
|
|
295
295
|
/** Warps to the first shop on the floor. */
|
|
296
296
|
export declare function shop(): void;
|
|
@@ -16,78 +16,78 @@ local GridEntityType = ____isaac_2Dtypescript_2Ddefinitions.GridEntityType
|
|
|
16
16
|
local GridRoom = ____isaac_2Dtypescript_2Ddefinitions.GridRoom
|
|
17
17
|
local PillColor = ____isaac_2Dtypescript_2Ddefinitions.PillColor
|
|
18
18
|
local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
|
|
19
|
-
local ____cachedClasses = require("
|
|
19
|
+
local ____cachedClasses = require("cachedClasses")
|
|
20
20
|
local game = ____cachedClasses.game
|
|
21
21
|
local sfxManager = ____cachedClasses.sfxManager
|
|
22
|
-
local ____constants = require("
|
|
22
|
+
local ____constants = require("constants")
|
|
23
23
|
local FIRST_ROOM_TYPE = ____constants.FIRST_ROOM_TYPE
|
|
24
24
|
local FIRST_STAGE = ____constants.FIRST_STAGE
|
|
25
25
|
local LAST_ROOM_TYPE = ____constants.LAST_ROOM_TYPE
|
|
26
26
|
local LAST_STAGE = ____constants.LAST_STAGE
|
|
27
27
|
local MAX_LEVEL_GRID_INDEX = ____constants.MAX_LEVEL_GRID_INDEX
|
|
28
|
-
local
|
|
29
|
-
local FIRST_CARD =
|
|
30
|
-
local FIRST_CHARACTER =
|
|
31
|
-
local FIRST_PILL_EFFECT =
|
|
32
|
-
local LAST_CARD =
|
|
33
|
-
local LAST_PILL_EFFECT =
|
|
34
|
-
local LAST_VANILLA_CHARACTER =
|
|
35
|
-
local ____HealthType = require("
|
|
28
|
+
local ____constantsFirstLast = require("constantsFirstLast")
|
|
29
|
+
local FIRST_CARD = ____constantsFirstLast.FIRST_CARD
|
|
30
|
+
local FIRST_CHARACTER = ____constantsFirstLast.FIRST_CHARACTER
|
|
31
|
+
local FIRST_PILL_EFFECT = ____constantsFirstLast.FIRST_PILL_EFFECT
|
|
32
|
+
local LAST_CARD = ____constantsFirstLast.LAST_CARD
|
|
33
|
+
local LAST_PILL_EFFECT = ____constantsFirstLast.LAST_PILL_EFFECT
|
|
34
|
+
local LAST_VANILLA_CHARACTER = ____constantsFirstLast.LAST_VANILLA_CHARACTER
|
|
35
|
+
local ____HealthType = require("enums.HealthType")
|
|
36
36
|
local HealthType = ____HealthType.HealthType
|
|
37
|
-
local ____cards = require("
|
|
37
|
+
local ____cards = require("functions.cards")
|
|
38
38
|
local getCardName = ____cards.getCardName
|
|
39
|
-
local ____character = require("
|
|
39
|
+
local ____character = require("functions.character")
|
|
40
40
|
local getCharacterName = ____character.getCharacterName
|
|
41
|
-
local ____collectibles = require("
|
|
41
|
+
local ____collectibles = require("functions.collectibles")
|
|
42
42
|
local isValidCollectibleType = ____collectibles.isValidCollectibleType
|
|
43
|
-
local ____entitySpecific = require("
|
|
43
|
+
local ____entitySpecific = require("functions.entitySpecific")
|
|
44
44
|
local getNPCs = ____entitySpecific.getNPCs
|
|
45
|
-
local ____enums = require("
|
|
45
|
+
local ____enums = require("functions.enums")
|
|
46
46
|
local getEnumValues = ____enums.getEnumValues
|
|
47
|
-
local ____flag = require("
|
|
47
|
+
local ____flag = require("functions.flag")
|
|
48
48
|
local addFlag = ____flag.addFlag
|
|
49
|
-
local ____gridEntity = require("
|
|
49
|
+
local ____gridEntity = require("functions.gridEntity")
|
|
50
50
|
local spawnGrid = ____gridEntity.spawnGrid
|
|
51
|
-
local ____log = require("
|
|
51
|
+
local ____log = require("functions.log")
|
|
52
52
|
local logEffects = ____log.logEffects
|
|
53
53
|
local logRoom = ____log.logRoom
|
|
54
54
|
local logSeedEffects = ____log.logSeedEffects
|
|
55
55
|
local logSounds = ____log.logSounds
|
|
56
|
-
local ____map = require("
|
|
56
|
+
local ____map = require("functions.map")
|
|
57
57
|
local getMapPartialMatch = ____map.getMapPartialMatch
|
|
58
|
-
local ____pickups = require("
|
|
58
|
+
local ____pickups = require("functions.pickups")
|
|
59
59
|
local spawnCard = ____pickups.spawnCard
|
|
60
60
|
local spawnPill = ____pickups.spawnPill
|
|
61
61
|
local spawnTrinket = ____pickups.spawnTrinket
|
|
62
|
-
local ____pills = require("
|
|
62
|
+
local ____pills = require("functions.pills")
|
|
63
63
|
local getPillEffectName = ____pills.getPillEffectName
|
|
64
|
-
local ____player = require("
|
|
64
|
+
local ____player = require("functions.player")
|
|
65
65
|
local getPlayerName = ____player.getPlayerName
|
|
66
66
|
local useActiveItemTemp = ____player.useActiveItemTemp
|
|
67
|
-
local ____playerIndex = require("
|
|
67
|
+
local ____playerIndex = require("functions.playerIndex")
|
|
68
68
|
local getPlayers = ____playerIndex.getPlayers
|
|
69
|
-
local ____roomGrid = require("
|
|
69
|
+
local ____roomGrid = require("functions.roomGrid")
|
|
70
70
|
local gridCoordinatesToWorldPosition = ____roomGrid.gridCoordinatesToWorldPosition
|
|
71
|
-
local ____rooms = require("
|
|
71
|
+
local ____rooms = require("functions.rooms")
|
|
72
72
|
local changeRoom = ____rooms.changeRoom
|
|
73
73
|
local getRoomGridIndexesForType = ____rooms.getRoomGridIndexesForType
|
|
74
|
-
local ____run = require("
|
|
74
|
+
local ____run = require("functions.run")
|
|
75
75
|
local restart = ____run.restart
|
|
76
|
-
local ____trinkets = require("
|
|
76
|
+
local ____trinkets = require("functions.trinkets")
|
|
77
77
|
local getGoldenTrinketType = ____trinkets.getGoldenTrinketType
|
|
78
|
-
local ____utils = require("
|
|
78
|
+
local ____utils = require("functions.utils")
|
|
79
79
|
local irange = ____utils.irange
|
|
80
80
|
local printConsole = ____utils.printConsole
|
|
81
81
|
local printEnabled = ____utils.printEnabled
|
|
82
|
-
local ____cardMap = require("
|
|
82
|
+
local ____cardMap = require("maps.cardMap")
|
|
83
83
|
local CARD_MAP = ____cardMap.CARD_MAP
|
|
84
|
-
local ____characterMap = require("
|
|
84
|
+
local ____characterMap = require("maps.characterMap")
|
|
85
85
|
local CHARACTER_MAP = ____characterMap.CHARACTER_MAP
|
|
86
|
-
local ____pillEffectMap = require("
|
|
86
|
+
local ____pillEffectMap = require("maps.pillEffectMap")
|
|
87
87
|
local PILL_EFFECT_MAP = ____pillEffectMap.PILL_EFFECT_MAP
|
|
88
|
-
local ____roomTypeMap = require("
|
|
88
|
+
local ____roomTypeMap = require("maps.roomTypeMap")
|
|
89
89
|
local ROOM_TYPE_MAP = ____roomTypeMap.ROOM_TYPE_MAP
|
|
90
|
-
local ____commandsSubroutines = require("
|
|
90
|
+
local ____commandsSubroutines = require("features.extraConsoleCommands.commandsSubroutines")
|
|
91
91
|
local addHeart = ____commandsSubroutines.addHeart
|
|
92
92
|
local devilAngel = ____commandsSubroutines.devilAngel
|
|
93
93
|
local listEntities = ____commandsSubroutines.listEntities
|
|
@@ -95,7 +95,7 @@ local listGridEntities = ____commandsSubroutines.listGridEntities
|
|
|
95
95
|
local movePlayer = ____commandsSubroutines.movePlayer
|
|
96
96
|
local spawnTrapdoorOrCrawlspace = ____commandsSubroutines.spawnTrapdoorOrCrawlspace
|
|
97
97
|
local warpToRoomType = ____commandsSubroutines.warpToRoomType
|
|
98
|
-
local ____v = require("
|
|
98
|
+
local ____v = require("features.extraConsoleCommands.v")
|
|
99
99
|
local v = ____v.default
|
|
100
100
|
function ____exports.blackHearts(self, params)
|
|
101
101
|
addHeart(nil, params, HealthType.BLACK)
|
|
@@ -779,12 +779,12 @@ function ____exports.setCharges(self, params)
|
|
|
779
779
|
end
|
|
780
780
|
function ____exports.setPosition(self, params)
|
|
781
781
|
if params == "" then
|
|
782
|
-
printConsole(nil, "You must specify a position. (e.g. \"
|
|
782
|
+
printConsole(nil, "You must specify a position. (e.g. \"setPosition 100 50\")")
|
|
783
783
|
return
|
|
784
784
|
end
|
|
785
785
|
local args = __TS__StringSplit(params, " ")
|
|
786
786
|
if #args ~= 2 then
|
|
787
|
-
printConsole(nil, "You must specify a position. (e.g. \"
|
|
787
|
+
printConsole(nil, "You must specify a position. (e.g. \"setPosition 100 50\")")
|
|
788
788
|
return
|
|
789
789
|
end
|
|
790
790
|
local xString, yString = table.unpack(args)
|
|
@@ -2,11 +2,11 @@ local ____exports = {}
|
|
|
2
2
|
local postRender, shouldRemoveFadeIn, FADE_IN_SPEED, enabled, v
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
5
|
-
local ____cachedClasses = require("
|
|
5
|
+
local ____cachedClasses = require("cachedClasses")
|
|
6
6
|
local game = ____cachedClasses.game
|
|
7
|
-
local ____featuresInitialized = require("
|
|
7
|
+
local ____featuresInitialized = require("featuresInitialized")
|
|
8
8
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
9
|
-
local ____exports = require("
|
|
9
|
+
local ____exports = require("features.saveDataManager.exports")
|
|
10
10
|
local saveDataManager = ____exports.saveDataManager
|
|
11
11
|
function postRender(self)
|
|
12
12
|
if not enabled then
|
package/features/fastReset.lua
CHANGED
|
@@ -3,14 +3,14 @@ local postRender, checkResetInput, enabled
|
|
|
3
3
|
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
4
|
local ButtonAction = ____isaac_2Dtypescript_2Ddefinitions.ButtonAction
|
|
5
5
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
6
|
-
local ____cachedClasses = require("
|
|
6
|
+
local ____cachedClasses = require("cachedClasses")
|
|
7
7
|
local game = ____cachedClasses.game
|
|
8
|
-
local ____featuresInitialized = require("
|
|
8
|
+
local ____featuresInitialized = require("featuresInitialized")
|
|
9
9
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
10
|
-
local ____input = require("
|
|
10
|
+
local ____input = require("functions.input")
|
|
11
11
|
local isActionTriggeredOnAnyInput = ____input.isActionTriggeredOnAnyInput
|
|
12
12
|
local isModifierKeyPressed = ____input.isModifierKeyPressed
|
|
13
|
-
local ____run = require("
|
|
13
|
+
local ____run = require("functions.run")
|
|
14
14
|
local restart = ____run.restart
|
|
15
15
|
function postRender(self)
|
|
16
16
|
if not enabled then
|
|
@@ -4,9 +4,9 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
4
4
|
local ButtonAction = ____isaac_2Dtypescript_2Ddefinitions.ButtonAction
|
|
5
5
|
local InputHook = ____isaac_2Dtypescript_2Ddefinitions.InputHook
|
|
6
6
|
local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
|
|
7
|
-
local ____featuresInitialized = require("
|
|
7
|
+
local ____featuresInitialized = require("featuresInitialized")
|
|
8
8
|
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
9
|
-
local ____exports = require("
|
|
9
|
+
local ____exports = require("features.saveDataManager.exports")
|
|
10
10
|
local saveDataManager = ____exports.saveDataManager
|
|
11
11
|
function isActionTriggered(self, _entity, _inputHook, buttonAction)
|
|
12
12
|
if buttonAction == ButtonAction.DROP and v.run.shouldSwitch then
|