isaacscript-common 2.0.34 → 2.3.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/.eslintrc.js +70 -0
- package/README.md +1 -1
- package/build.sh +27 -0
- package/docs.sh +21 -0
- package/lint.sh +34 -0
- package/package.json +5 -4
- package/project.json +37 -0
- package/release.sh +16 -0
- package/scripts/.eslintrc.js +21 -0
- package/scripts/docsEntryPointLint.ts +135 -0
- package/scripts/tsconfig.json +5 -0
- package/src/cachedClasses.ts +39 -0
- package/src/callbacks/customRevive.ts +206 -0
- package/src/callbacks/itemPickup.ts +101 -0
- package/src/callbacks/postBombInitLate.ts +36 -0
- package/src/callbacks/postBoneSwing.ts +64 -0
- package/src/callbacks/postCollectibleInitFirst.ts +39 -0
- package/src/callbacks/postCursedTeleport.ts +183 -0
- package/src/callbacks/postCustomDoorEnter.ts +297 -0
- package/src/callbacks/postDoorRender.ts +26 -0
- package/src/callbacks/postDoorUpdate.ts +26 -0
- package/src/callbacks/postEffectInitLate.ts +36 -0
- package/src/callbacks/postEffectStateChanged.ts +43 -0
- package/src/callbacks/postEsauJr.ts +107 -0
- package/src/callbacks/postFamiliarInitLate.ts +36 -0
- package/src/callbacks/postFamiliarStateChanged.ts +43 -0
- package/src/callbacks/postFlip.ts +88 -0
- package/src/callbacks/postGreedModeWave.ts +41 -0
- package/src/callbacks/postGridEntity.ts +159 -0
- package/src/callbacks/postGridEntityCollision.ts +69 -0
- package/src/callbacks/postGridEntityRender.ts +26 -0
- package/src/callbacks/postHolyMantleRemoved.ts +55 -0
- package/src/callbacks/postItemDischarged.ts +149 -0
- package/src/callbacks/postKnifeInitLate.ts +36 -0
- package/src/callbacks/postLaserInitLate.ts +36 -0
- package/src/callbacks/postNPCInitLate.ts +36 -0
- package/src/callbacks/postNPCStateChanged.ts +42 -0
- package/src/callbacks/postNewRoomEarly.ts +90 -0
- package/src/callbacks/postPickupCollect.ts +48 -0
- package/src/callbacks/postPickupInitLate.ts +36 -0
- package/src/callbacks/postPickupStateChanged.ts +43 -0
- package/src/callbacks/postPitRender.ts +26 -0
- package/src/callbacks/postPitUpdate.ts +26 -0
- package/src/callbacks/postPlayerChangeHealth.ts +62 -0
- package/src/callbacks/postPlayerChangeType.ts +56 -0
- package/src/callbacks/postPlayerFatalDamage.ts +98 -0
- package/src/callbacks/postPlayerInitLate.ts +37 -0
- package/src/callbacks/postPlayerReordered.ts +142 -0
- package/src/callbacks/postPoopRender.ts +26 -0
- package/src/callbacks/postPoopUpdate.ts +26 -0
- package/src/callbacks/postPressurePlateRender.ts +26 -0
- package/src/callbacks/postPressurePlateUpdate.ts +26 -0
- package/src/callbacks/postProjectileInitLate.ts +36 -0
- package/src/callbacks/postPurchase.ts +64 -0
- package/src/callbacks/postRockRender.ts +26 -0
- package/src/callbacks/postRockUpdate.ts +26 -0
- package/src/callbacks/postRoomClearChanged.ts +52 -0
- package/src/callbacks/postSacrifice.ts +62 -0
- package/src/callbacks/postSlotInitUpdate.ts +63 -0
- package/src/callbacks/postSlotRender.ts +96 -0
- package/src/callbacks/postSpikesRender.ts +26 -0
- package/src/callbacks/postSpikesUpdate.ts +26 -0
- package/src/callbacks/postTNTRender.ts +26 -0
- package/src/callbacks/postTNTUpdate.ts +26 -0
- package/src/callbacks/postTearInitLate.ts +36 -0
- package/src/callbacks/postTearInitVeryLate.ts +41 -0
- package/src/callbacks/postTransformation.ts +59 -0
- package/src/callbacks/postTrinketBreak.ts +110 -0
- package/src/callbacks/preBerserkDeath.ts +49 -0
- package/src/callbacks/preNewLevel.ts +55 -0
- package/src/callbacks/reorderedCallbacks.ts +166 -0
- package/src/callbacks/subscriptions/postBombInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postBoneSwing.ts +24 -0
- package/src/callbacks/subscriptions/postCollectibleInitFirst.ts +37 -0
- package/src/callbacks/subscriptions/postCursedTeleport.ts +24 -0
- package/src/callbacks/subscriptions/postCustomDoorEnter.ts +45 -0
- package/src/callbacks/subscriptions/postCustomRevive.ts +36 -0
- package/src/callbacks/subscriptions/postDoorRender.ts +35 -0
- package/src/callbacks/subscriptions/postDoorUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postEffectInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postEffectStateChanged.ts +40 -0
- package/src/callbacks/subscriptions/postEsauJr.ts +24 -0
- package/src/callbacks/subscriptions/postFamiliarInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postFamiliarStateChanged.ts +40 -0
- package/src/callbacks/subscriptions/postFirstEsauJr.ts +24 -0
- package/src/callbacks/subscriptions/postFirstFlip.ts +24 -0
- package/src/callbacks/subscriptions/postFlip.ts +22 -0
- package/src/callbacks/subscriptions/postGameStartedReordered.ts +24 -0
- package/src/callbacks/subscriptions/postGreedModeWave.ts +24 -0
- package/src/callbacks/subscriptions/postGridEntityBroken.ts +51 -0
- package/src/callbacks/subscriptions/postGridEntityCollision.ts +54 -0
- package/src/callbacks/subscriptions/postGridEntityInit.ts +51 -0
- package/src/callbacks/subscriptions/postGridEntityRemove.ts +52 -0
- package/src/callbacks/subscriptions/postGridEntityRender.ts +51 -0
- package/src/callbacks/subscriptions/postGridEntityStateChanged.ts +55 -0
- package/src/callbacks/subscriptions/postGridEntityUpdate.ts +51 -0
- package/src/callbacks/subscriptions/postHolyMantleRemoved.ts +48 -0
- package/src/callbacks/subscriptions/postItemDischarged.ts +43 -0
- package/src/callbacks/subscriptions/postItemPickup.ts +64 -0
- package/src/callbacks/subscriptions/postKnifeInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postLaserInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postNPCInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postNPCStateChanged.ts +42 -0
- package/src/callbacks/subscriptions/postNewLevelReordered.ts +22 -0
- package/src/callbacks/subscriptions/postNewRoomEarly.ts +22 -0
- package/src/callbacks/subscriptions/postNewRoomReordered.ts +22 -0
- package/src/callbacks/subscriptions/postPEffectUpdateReordered.ts +40 -0
- package/src/callbacks/subscriptions/postPickupCollect.ts +34 -0
- package/src/callbacks/subscriptions/postPickupInitLate.ts +31 -0
- package/src/callbacks/subscriptions/postPickupStateChanged.ts +35 -0
- package/src/callbacks/subscriptions/postPitRender.ts +35 -0
- package/src/callbacks/subscriptions/postPitUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postPlayerChangeHealth.ts +45 -0
- package/src/callbacks/subscriptions/postPlayerChangeType.ts +40 -0
- package/src/callbacks/subscriptions/postPlayerFatalDamage.ts +67 -0
- package/src/callbacks/subscriptions/postPlayerInitLate.ts +40 -0
- package/src/callbacks/subscriptions/postPlayerInitReordered.ts +40 -0
- package/src/callbacks/subscriptions/postPlayerRenderReordered.ts +40 -0
- package/src/callbacks/subscriptions/postPlayerUpdateReordered.ts +40 -0
- package/src/callbacks/subscriptions/postPoopRender.ts +35 -0
- package/src/callbacks/subscriptions/postPoopUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postPressurePlateRender.ts +37 -0
- package/src/callbacks/subscriptions/postPressurePlateUpdate.ts +37 -0
- package/src/callbacks/subscriptions/postProjectileInitLate.ts +35 -0
- package/src/callbacks/subscriptions/postPurchase.ts +31 -0
- package/src/callbacks/subscriptions/postRockRender.ts +35 -0
- package/src/callbacks/subscriptions/postRockUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postRoomClearChanged.ts +24 -0
- package/src/callbacks/subscriptions/postSacrifice.ts +43 -0
- package/src/callbacks/subscriptions/postSlotAnimationChanged.ts +40 -0
- package/src/callbacks/subscriptions/postSlotDestroyed.ts +32 -0
- package/src/callbacks/subscriptions/postSlotInit.ts +32 -0
- package/src/callbacks/subscriptions/postSlotRender.ts +32 -0
- package/src/callbacks/subscriptions/postSlotUpdate.ts +32 -0
- package/src/callbacks/subscriptions/postSpikesRender.ts +35 -0
- package/src/callbacks/subscriptions/postSpikesUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postTNTRender.ts +35 -0
- package/src/callbacks/subscriptions/postTNTUpdate.ts +35 -0
- package/src/callbacks/subscriptions/postTearInitLate.ts +32 -0
- package/src/callbacks/subscriptions/postTearInitVeryLate.ts +32 -0
- package/src/callbacks/subscriptions/postTransformation.ts +40 -0
- package/src/callbacks/subscriptions/postTrinketBreak.ts +38 -0
- package/src/callbacks/subscriptions/preBerserkDeath.ts +42 -0
- package/src/callbacks/subscriptions/preCustomRevive.ts +45 -0
- package/src/callbacks/subscriptions/preItemPickup.ts +64 -0
- package/src/callbacks/subscriptions/preNewLevel.ts +24 -0
- package/src/classes/DefaultMap.ts +220 -0
- package/src/classes/ModUpgraded.ts +83 -0
- package/src/constants.ts +140 -0
- package/src/constantsFirstLast.ts +212 -0
- package/src/enums/HealthType.ts +16 -0
- package/src/enums/ModCallbackCustom.ts +943 -0
- package/src/enums/PocketItemType.ts +8 -0
- package/src/enums/SerializationType.ts +5 -0
- package/src/enums/private/CopyableIsaacAPIClassType.ts +7 -0
- package/src/enums/private/SaveDataKey.ts +14 -0
- package/src/enums/private/SerializationBrand.ts +42 -0
- package/src/features/characterHealthConversion.ts +116 -0
- package/src/features/characterStats.ts +61 -0
- package/src/features/debugDisplay/debugDisplay.ts +221 -0
- package/src/features/debugDisplay/exports.ts +368 -0
- package/src/features/debugDisplay/v.ts +65 -0
- package/src/features/deployJSONRoom.ts +672 -0
- package/src/features/disableInputs.ts +193 -0
- package/src/features/disableSound.ts +77 -0
- package/src/features/extraConsoleCommands/commandsDisplay.ts +290 -0
- package/src/features/extraConsoleCommands/commandsSubroutines.ts +139 -0
- package/src/features/extraConsoleCommands/init.ts +334 -0
- package/src/features/extraConsoleCommands/listCommands.ts +1298 -0
- package/src/features/extraConsoleCommands/v.ts +14 -0
- package/src/features/fadeInRemover.ts +60 -0
- package/src/features/fastReset.ts +75 -0
- package/src/features/forgottenSwitch.ts +50 -0
- package/src/features/getCollectibleItemPoolType.ts +66 -0
- package/src/features/playerInventory.ts +187 -0
- package/src/features/ponyDetection.ts +74 -0
- package/src/features/preventCollectibleRotation.ts +113 -0
- package/src/features/runInNFrames.ts +148 -0
- package/src/features/saveDataManager/constants.ts +4 -0
- package/src/features/saveDataManager/exports.ts +230 -0
- package/src/features/saveDataManager/load.ts +90 -0
- package/src/features/saveDataManager/main.ts +187 -0
- package/src/features/saveDataManager/maps.ts +13 -0
- package/src/features/saveDataManager/merge.ts +182 -0
- package/src/features/saveDataManager/save.ts +66 -0
- package/src/features/saveDataManager/serializationBrand.ts +15 -0
- package/src/features/sirenHelpers.ts +129 -0
- package/src/features/taintedLazarusPlayers.ts +113 -0
- package/src/featuresInitialized.ts +20 -0
- package/src/functions/array.ts +412 -0
- package/src/functions/benchmark.ts +36 -0
- package/src/functions/bitwise.ts +24 -0
- package/src/functions/boss.ts +227 -0
- package/src/functions/cacheFlag.ts +12 -0
- package/src/functions/cards.ts +267 -0
- package/src/functions/challenges.ts +11 -0
- package/src/functions/character.ts +124 -0
- package/src/functions/charge.ts +237 -0
- package/src/functions/chargeBar.ts +67 -0
- package/src/functions/collectibleCacheFlag.ts +90 -0
- package/src/functions/collectibleSet.ts +57 -0
- package/src/functions/collectibleTag.ts +89 -0
- package/src/functions/collectibles.ts +610 -0
- package/src/functions/color.ts +149 -0
- package/src/functions/debug.ts +65 -0
- package/src/functions/deepCopy.ts +508 -0
- package/src/functions/deepCopyTests.ts +390 -0
- package/src/functions/direction.ts +16 -0
- package/src/functions/doors.ts +343 -0
- package/src/functions/easing.ts +182 -0
- package/src/functions/eden.ts +47 -0
- package/src/functions/entity.ts +352 -0
- package/src/functions/entitySpecific.ts +889 -0
- package/src/functions/entityTypes.ts +6 -0
- package/src/functions/enums.ts +145 -0
- package/src/functions/familiars.ts +106 -0
- package/src/functions/flag.ts +165 -0
- package/src/functions/flying.ts +117 -0
- package/src/functions/globals.ts +249 -0
- package/src/functions/gridEntity.ts +511 -0
- package/src/functions/gridEntitySpecific.ts +112 -0
- package/src/functions/input.ts +139 -0
- package/src/functions/isaacAPIClass.ts +65 -0
- package/src/functions/jsonHelpers.ts +45 -0
- package/src/functions/jsonRoom.ts +100 -0
- package/src/functions/kColor.ts +130 -0
- package/src/functions/language.ts +13 -0
- package/src/functions/level.ts +31 -0
- package/src/functions/log.ts +660 -0
- package/src/functions/map.ts +56 -0
- package/src/functions/math.ts +149 -0
- package/src/functions/mergeTests.ts +288 -0
- package/src/functions/npc.ts +148 -0
- package/src/functions/pickupVariants.ts +60 -0
- package/src/functions/pickups.ts +449 -0
- package/src/functions/pills.ts +182 -0
- package/src/functions/player.ts +975 -0
- package/src/functions/playerDataStructures.ts +150 -0
- package/src/functions/playerHealth.ts +318 -0
- package/src/functions/playerIndex.ts +195 -0
- package/src/functions/pocketItems.ts +149 -0
- package/src/functions/positionVelocity.ts +188 -0
- package/src/functions/random.ts +77 -0
- package/src/functions/revive.ts +201 -0
- package/src/functions/rng.ts +177 -0
- package/src/functions/roomData.ts +199 -0
- package/src/functions/roomGrid.ts +109 -0
- package/src/functions/roomShape.ts +80 -0
- package/src/functions/rooms.ts +667 -0
- package/src/functions/run.ts +36 -0
- package/src/functions/seeds.ts +19 -0
- package/src/functions/serialization.ts +97 -0
- package/src/functions/set.ts +95 -0
- package/src/functions/sound.ts +9 -0
- package/src/functions/spawnCollectible.ts +104 -0
- package/src/functions/sprite.ts +107 -0
- package/src/functions/stage.ts +125 -0
- package/src/functions/string.ts +47 -0
- package/src/functions/table.ts +139 -0
- package/src/functions/tears.ts +32 -0
- package/src/functions/transformations.ts +137 -0
- package/src/functions/trinketCacheFlag.ts +60 -0
- package/src/functions/trinketGive.ts +157 -0
- package/src/functions/trinkets.ts +215 -0
- package/src/functions/tstlClass.ts +91 -0
- package/src/functions/ui.ts +138 -0
- package/src/functions/utils.ts +200 -0
- package/src/functions/vector.ts +145 -0
- package/src/index.ts +162 -0
- package/src/initCustomCallbacks.ts +120 -0
- package/src/initFeatures.ts +37 -0
- package/src/interfaces/AddCallbackParameterCustom.ts +174 -0
- package/src/interfaces/ChargeBarSprites.ts +12 -0
- package/src/interfaces/JSONDoor.ts +13 -0
- package/src/interfaces/JSONEntity.ts +16 -0
- package/src/interfaces/JSONRoom.ts +36 -0
- package/src/interfaces/JSONRooms.ts +12 -0
- package/src/interfaces/JSONSpawn.ts +14 -0
- package/src/interfaces/PlayerHealth.ts +16 -0
- package/src/interfaces/PocketItemDescription.ts +9 -0
- package/src/interfaces/SaveData.ts +29 -0
- package/src/interfaces/TrinketSituation.ts +9 -0
- package/src/interfaces/private/TSTLClassMetatable.ts +8 -0
- package/src/maps/cardMap.ts +209 -0
- package/src/maps/characterMap.ts +87 -0
- package/src/maps/collectibleDescriptionMap.ts +732 -0
- package/src/maps/collectibleNameMap.ts +731 -0
- package/src/maps/defaultPlayerStatMap.ts +17 -0
- package/src/maps/gridEntityTypeToBrokenStateMap.ts +50 -0
- package/src/maps/gridEntityXMLMap.ts +176 -0
- package/src/maps/pillEffectMap.ts +88 -0
- package/src/maps/roomShapeToTopLeftWallGridIndexMap.ts +18 -0
- package/src/maps/roomTypeMap.ts +40 -0
- package/src/maps/trinketDescriptionMap.ts +200 -0
- package/src/maps/trinketNameMap.ts +198 -0
- package/src/objects/LRoomShapeToRectangles.ts +44 -0
- package/src/objects/callbackRegisterFunctions.ts +171 -0
- package/src/objects/cardDescriptions.ts +105 -0
- package/src/objects/cardNames.ts +105 -0
- package/src/objects/cardTypes.ts +104 -0
- package/src/objects/challengeNames.ts +52 -0
- package/src/objects/characterNames.ts +48 -0
- package/src/objects/coinSubTypeToValue.ts +14 -0
- package/src/objects/colors.ts +16 -0
- package/src/objects/directionNames.ts +11 -0
- package/src/objects/directionToDegrees.ts +11 -0
- package/src/objects/directionToVector.ts +12 -0
- package/src/objects/doorSlotFlagToDoorSlot.ts +16 -0
- package/src/objects/doorSlotToDirection.ts +14 -0
- package/src/objects/isaacAPIClassTypeToBrand.ts +11 -0
- package/src/objects/isaacAPIClassTypeToCopyFunction.ts +18 -0
- package/src/objects/languageNames.ts +13 -0
- package/src/objects/pillEffectClasses.ts +63 -0
- package/src/objects/pillEffectNames.ts +57 -0
- package/src/objects/pillEffectTypes.ts +62 -0
- package/src/objects/roomShapeBounds.ts +71 -0
- package/src/objects/roomShapeLayoutSizes.ts +45 -0
- package/src/objects/roomShapeToBottomRightPosition.ts +25 -0
- package/src/objects/roomShapeToDoorSlots.ts +83 -0
- package/src/objects/roomShapeToDoorSlotsToGridIndexDelta.ts +127 -0
- package/src/objects/roomShapeToGridWidth.ts +21 -0
- package/src/objects/roomShapeToTopLeftPosition.ts +26 -0
- package/src/objects/roomShapeVolumes.ts +38 -0
- package/src/objects/roomTypeNames.ts +36 -0
- package/src/objects/serializedIsaacAPIClassTypeToIdentityFunction.ts +14 -0
- package/src/objects/stageTypeToLetter.ts +15 -0
- package/src/objects/transformationNames.ts +20 -0
- package/src/patchErrorFunctions.ts +92 -0
- package/src/sets/LRoomShapesSet.ts +8 -0
- package/src/sets/bossSets.ts +470 -0
- package/src/sets/charactersThatStartWithAnActiveItemSet.ts +16 -0
- package/src/sets/charactersWithBlackHeartFromEternalHeartSet.ts +7 -0
- package/src/sets/charactersWithFreeDevilDealsSet.ts +4 -0
- package/src/sets/charactersWithNoRedHeartsSet.ts +17 -0
- package/src/sets/charactersWithNoSoulHeartsSet.ts +14 -0
- package/src/sets/chestPickupVariantsSet.ts +16 -0
- package/src/sets/familiarsThatShootPlayerTearsSet.ts +13 -0
- package/src/sets/lostStyleCharactersSet.ts +13 -0
- package/src/sets/mineShaftRoomSubTypesSet.ts +10 -0
- package/src/sets/redHeartSubTypesSet.ts +7 -0
- package/src/sets/sinEntityTypesSet.ts +11 -0
- package/src/sets/singleUseActiveCollectibleTypesSet.ts +13 -0
- package/src/sets/storyBossesSet.ts +17 -0
- package/src/types/AnyEntity.ts +12 -0
- package/src/types/AwaitingTextInput.d.ts +2 -0
- package/src/types/CollectibleIndex.ts +14 -0
- package/src/types/PickingUpItem.ts +89 -0
- package/src/types/PlayerIndex.ts +13 -0
- package/src/types/private/IsaacAPIClass.ts +3 -0
- package/src/types/private/SerializedIsaacAPIClass.ts +3 -0
- package/src/types/private/TSTLClass.ts +3 -0
- package/src/upgradeMod.ts +55 -0
- package/tsconfig.json +42 -0
- package/typedoc.json +158 -0
- package/website-root.md +11 -0
- package/cachedClasses.d.ts +0 -37
- package/cachedClasses.lua +0 -6
- package/callbacks/customRevive.d.ts +0 -1
- package/callbacks/customRevive.lua +0 -145
- package/callbacks/itemPickup.d.ts +0 -1
- package/callbacks/itemPickup.lua +0 -64
- package/callbacks/postBombInitLate.d.ts +0 -1
- package/callbacks/postBombInitLate.lua +0 -31
- package/callbacks/postBoneSwing.d.ts +0 -1
- package/callbacks/postBoneSwing.lua +0 -48
- package/callbacks/postCollectibleInitFirst.d.ts +0 -1
- package/callbacks/postCollectibleInitFirst.lua +0 -32
- package/callbacks/postCursedTeleport.d.ts +0 -1
- package/callbacks/postCursedTeleport.lua +0 -119
- package/callbacks/postCustomDoorEnter.d.ts +0 -50
- package/callbacks/postCustomDoorEnter.lua +0 -203
- package/callbacks/postDoorRender.d.ts +0 -1
- package/callbacks/postDoorRender.lua +0 -24
- package/callbacks/postDoorUpdate.d.ts +0 -1
- package/callbacks/postDoorUpdate.lua +0 -24
- package/callbacks/postEffectInitLate.d.ts +0 -1
- package/callbacks/postEffectInitLate.lua +0 -31
- package/callbacks/postEffectStateChanged.d.ts +0 -1
- package/callbacks/postEffectStateChanged.lua +0 -37
- package/callbacks/postEsauJr.d.ts +0 -1
- package/callbacks/postEsauJr.lua +0 -67
- package/callbacks/postFamiliarInitLate.d.ts +0 -1
- package/callbacks/postFamiliarInitLate.lua +0 -31
- package/callbacks/postFamiliarStateChanged.d.ts +0 -1
- package/callbacks/postFamiliarStateChanged.lua +0 -37
- package/callbacks/postFlip.d.ts +0 -1
- package/callbacks/postFlip.lua +0 -61
- package/callbacks/postGreedModeWave.d.ts +0 -1
- package/callbacks/postGreedModeWave.lua +0 -32
- package/callbacks/postGridEntity.d.ts +0 -1
- package/callbacks/postGridEntity.lua +0 -105
- package/callbacks/postGridEntityCollision.d.ts +0 -1
- package/callbacks/postGridEntityCollision.lua +0 -65
- package/callbacks/postGridEntityRender.d.ts +0 -1
- package/callbacks/postGridEntityRender.lua +0 -24
- package/callbacks/postHolyMantleRemoved.d.ts +0 -1
- package/callbacks/postHolyMantleRemoved.lua +0 -39
- package/callbacks/postItemDischarged.d.ts +0 -2
- package/callbacks/postItemDischarged.lua +0 -104
- package/callbacks/postKnifeInitLate.d.ts +0 -1
- package/callbacks/postKnifeInitLate.lua +0 -31
- package/callbacks/postLaserInitLate.d.ts +0 -1
- package/callbacks/postLaserInitLate.lua +0 -31
- package/callbacks/postNPCInitLate.d.ts +0 -1
- package/callbacks/postNPCInitLate.lua +0 -31
- package/callbacks/postNPCStateChanged.d.ts +0 -1
- package/callbacks/postNPCStateChanged.lua +0 -37
- package/callbacks/postNewRoomEarly.d.ts +0 -1
- package/callbacks/postNewRoomEarly.lua +0 -65
- package/callbacks/postPickupCollect.d.ts +0 -1
- package/callbacks/postPickupCollect.lua +0 -39
- package/callbacks/postPickupInitLate.d.ts +0 -1
- package/callbacks/postPickupInitLate.lua +0 -31
- package/callbacks/postPickupStateChanged.d.ts +0 -1
- package/callbacks/postPickupStateChanged.lua +0 -37
- package/callbacks/postPitRender.d.ts +0 -1
- package/callbacks/postPitRender.lua +0 -24
- package/callbacks/postPitUpdate.d.ts +0 -1
- package/callbacks/postPitUpdate.lua +0 -24
- package/callbacks/postPlayerChangeHealth.d.ts +0 -1
- package/callbacks/postPlayerChangeHealth.lua +0 -50
- package/callbacks/postPlayerChangeType.d.ts +0 -1
- package/callbacks/postPlayerChangeType.lua +0 -39
- package/callbacks/postPlayerFatalDamage.d.ts +0 -1
- package/callbacks/postPlayerFatalDamage.lua +0 -71
- package/callbacks/postPlayerInitLate.d.ts +0 -1
- package/callbacks/postPlayerInitLate.lua +0 -33
- package/callbacks/postPlayerReordered.d.ts +0 -1
- package/callbacks/postPlayerReordered.lua +0 -112
- package/callbacks/postPoopRender.d.ts +0 -1
- package/callbacks/postPoopRender.lua +0 -24
- package/callbacks/postPoopUpdate.d.ts +0 -1
- package/callbacks/postPoopUpdate.lua +0 -24
- package/callbacks/postPressurePlateRender.d.ts +0 -1
- package/callbacks/postPressurePlateRender.lua +0 -24
- package/callbacks/postPressurePlateUpdate.d.ts +0 -1
- package/callbacks/postPressurePlateUpdate.lua +0 -24
- package/callbacks/postProjectileInitLate.d.ts +0 -1
- package/callbacks/postProjectileInitLate.lua +0 -31
- package/callbacks/postPurchase.d.ts +0 -1
- package/callbacks/postPurchase.lua +0 -49
- package/callbacks/postRockRender.d.ts +0 -1
- package/callbacks/postRockRender.lua +0 -24
- package/callbacks/postRockUpdate.d.ts +0 -1
- package/callbacks/postRockUpdate.lua +0 -24
- package/callbacks/postRoomClearChanged.d.ts +0 -1
- package/callbacks/postRoomClearChanged.lua +0 -40
- package/callbacks/postSacrifice.d.ts +0 -1
- package/callbacks/postSacrifice.lua +0 -42
- package/callbacks/postSlotInitUpdate.d.ts +0 -1
- package/callbacks/postSlotInitUpdate.lua +0 -51
- package/callbacks/postSlotRender.d.ts +0 -1
- package/callbacks/postSlotRender.lua +0 -74
- package/callbacks/postSpikesRender.d.ts +0 -1
- package/callbacks/postSpikesRender.lua +0 -24
- package/callbacks/postSpikesUpdate.d.ts +0 -1
- package/callbacks/postSpikesUpdate.lua +0 -24
- package/callbacks/postTNTRender.d.ts +0 -1
- package/callbacks/postTNTRender.lua +0 -24
- package/callbacks/postTNTUpdate.d.ts +0 -1
- package/callbacks/postTNTUpdate.lua +0 -24
- package/callbacks/postTearInitLate.d.ts +0 -1
- package/callbacks/postTearInitLate.lua +0 -31
- package/callbacks/postTearInitVeryLate.d.ts +0 -1
- package/callbacks/postTearInitVeryLate.lua +0 -34
- package/callbacks/postTransformation.d.ts +0 -1
- package/callbacks/postTransformation.lua +0 -46
- package/callbacks/postTrinketBreak.d.ts +0 -1
- package/callbacks/postTrinketBreak.lua +0 -70
- package/callbacks/preBerserkDeath.d.ts +0 -1
- package/callbacks/preBerserkDeath.lua +0 -36
- package/callbacks/preNewLevel.d.ts +0 -1
- package/callbacks/preNewLevel.lua +0 -43
- package/callbacks/reorderedCallbacks.d.ts +0 -20
- package/callbacks/reorderedCallbacks.lua +0 -92
- package/callbacks/subscriptions/postBombInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postBombInitLate.lua +0 -23
- package/callbacks/subscriptions/postBoneSwing.d.ts +0 -4
- package/callbacks/subscriptions/postBoneSwing.lua +0 -16
- package/callbacks/subscriptions/postCollectibleInitFirst.d.ts +0 -5
- package/callbacks/subscriptions/postCollectibleInitFirst.lua +0 -23
- package/callbacks/subscriptions/postCursedTeleport.d.ts +0 -4
- package/callbacks/subscriptions/postCursedTeleport.lua +0 -16
- package/callbacks/subscriptions/postCustomDoorEnter.d.ts +0 -5
- package/callbacks/subscriptions/postCustomDoorEnter.lua +0 -29
- package/callbacks/subscriptions/postCustomRevive.d.ts +0 -5
- package/callbacks/subscriptions/postCustomRevive.lua +0 -23
- package/callbacks/subscriptions/postDoorRender.d.ts +0 -5
- package/callbacks/subscriptions/postDoorRender.lua +0 -24
- package/callbacks/subscriptions/postDoorUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postDoorUpdate.lua +0 -24
- package/callbacks/subscriptions/postEffectInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postEffectInitLate.lua +0 -23
- package/callbacks/subscriptions/postEffectStateChanged.d.ts +0 -5
- package/callbacks/subscriptions/postEffectStateChanged.lua +0 -23
- package/callbacks/subscriptions/postEsauJr.d.ts +0 -4
- package/callbacks/subscriptions/postEsauJr.lua +0 -16
- package/callbacks/subscriptions/postFamiliarInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postFamiliarInitLate.lua +0 -23
- package/callbacks/subscriptions/postFamiliarStateChanged.d.ts +0 -5
- package/callbacks/subscriptions/postFamiliarStateChanged.lua +0 -23
- package/callbacks/subscriptions/postFirstEsauJr.d.ts +0 -4
- package/callbacks/subscriptions/postFirstEsauJr.lua +0 -16
- package/callbacks/subscriptions/postFirstFlip.d.ts +0 -4
- package/callbacks/subscriptions/postFirstFlip.lua +0 -16
- package/callbacks/subscriptions/postFlip.d.ts +0 -4
- package/callbacks/subscriptions/postFlip.lua +0 -16
- package/callbacks/subscriptions/postGameStartedReordered.d.ts +0 -3
- package/callbacks/subscriptions/postGameStartedReordered.lua +0 -16
- package/callbacks/subscriptions/postGreedModeWave.d.ts +0 -4
- package/callbacks/subscriptions/postGreedModeWave.lua +0 -16
- package/callbacks/subscriptions/postGridEntityBroken.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityBroken.lua +0 -29
- package/callbacks/subscriptions/postGridEntityCollision.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityCollision.lua +0 -29
- package/callbacks/subscriptions/postGridEntityInit.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityInit.lua +0 -29
- package/callbacks/subscriptions/postGridEntityRemove.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityRemove.lua +0 -27
- package/callbacks/subscriptions/postGridEntityRender.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityRender.lua +0 -29
- package/callbacks/subscriptions/postGridEntityStateChanged.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityStateChanged.lua +0 -29
- package/callbacks/subscriptions/postGridEntityUpdate.d.ts +0 -6
- package/callbacks/subscriptions/postGridEntityUpdate.lua +0 -29
- package/callbacks/subscriptions/postHolyMantleRemoved.d.ts +0 -6
- package/callbacks/subscriptions/postHolyMantleRemoved.lua +0 -28
- package/callbacks/subscriptions/postItemDischarged.d.ts +0 -5
- package/callbacks/subscriptions/postItemDischarged.lua +0 -23
- package/callbacks/subscriptions/postItemPickup.d.ts +0 -11
- package/callbacks/subscriptions/postItemPickup.lua +0 -27
- package/callbacks/subscriptions/postKnifeInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postKnifeInitLate.lua +0 -23
- package/callbacks/subscriptions/postLaserInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postLaserInitLate.lua +0 -23
- package/callbacks/subscriptions/postNPCInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postNPCInitLate.lua +0 -23
- package/callbacks/subscriptions/postNPCStateChanged.d.ts +0 -6
- package/callbacks/subscriptions/postNPCStateChanged.lua +0 -27
- package/callbacks/subscriptions/postNewLevelReordered.d.ts +0 -1
- package/callbacks/subscriptions/postNewLevelReordered.lua +0 -16
- package/callbacks/subscriptions/postNewRoomEarly.d.ts +0 -1
- package/callbacks/subscriptions/postNewRoomEarly.lua +0 -16
- package/callbacks/subscriptions/postNewRoomReordered.d.ts +0 -1
- package/callbacks/subscriptions/postNewRoomReordered.lua +0 -16
- package/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPEffectUpdateReordered.lua +0 -28
- package/callbacks/subscriptions/postPickupCollect.d.ts +0 -4
- package/callbacks/subscriptions/postPickupCollect.lua +0 -23
- package/callbacks/subscriptions/postPickupInitLate.d.ts +0 -3
- package/callbacks/subscriptions/postPickupInitLate.lua +0 -23
- package/callbacks/subscriptions/postPickupStateChanged.d.ts +0 -5
- package/callbacks/subscriptions/postPickupStateChanged.lua +0 -23
- package/callbacks/subscriptions/postPitRender.d.ts +0 -5
- package/callbacks/subscriptions/postPitRender.lua +0 -24
- package/callbacks/subscriptions/postPitUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postPitUpdate.lua +0 -24
- package/callbacks/subscriptions/postPlayerChangeHealth.d.ts +0 -7
- package/callbacks/subscriptions/postPlayerChangeHealth.lua +0 -28
- package/callbacks/subscriptions/postPlayerChangeType.d.ts +0 -5
- package/callbacks/subscriptions/postPlayerChangeType.lua +0 -23
- package/callbacks/subscriptions/postPlayerFatalDamage.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerFatalDamage.lua +0 -39
- package/callbacks/subscriptions/postPlayerInitLate.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerInitLate.lua +0 -28
- package/callbacks/subscriptions/postPlayerInitReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerInitReordered.lua +0 -28
- package/callbacks/subscriptions/postPlayerRenderReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerRenderReordered.lua +0 -28
- package/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +0 -6
- package/callbacks/subscriptions/postPlayerUpdateReordered.lua +0 -28
- package/callbacks/subscriptions/postPoopRender.d.ts +0 -5
- package/callbacks/subscriptions/postPoopRender.lua +0 -24
- package/callbacks/subscriptions/postPoopUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postPoopUpdate.lua +0 -24
- package/callbacks/subscriptions/postPressurePlateRender.d.ts +0 -5
- package/callbacks/subscriptions/postPressurePlateRender.lua +0 -24
- package/callbacks/subscriptions/postPressurePlateUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postPressurePlateUpdate.lua +0 -24
- package/callbacks/subscriptions/postProjectileInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postProjectileInitLate.lua +0 -23
- package/callbacks/subscriptions/postPurchase.d.ts +0 -6
- package/callbacks/subscriptions/postPurchase.lua +0 -16
- package/callbacks/subscriptions/postRockRender.d.ts +0 -5
- package/callbacks/subscriptions/postRockRender.lua +0 -24
- package/callbacks/subscriptions/postRockUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postRockUpdate.lua +0 -24
- package/callbacks/subscriptions/postRoomClearChanged.d.ts +0 -3
- package/callbacks/subscriptions/postRoomClearChanged.lua +0 -16
- package/callbacks/subscriptions/postSacrifice.d.ts +0 -6
- package/callbacks/subscriptions/postSacrifice.lua +0 -28
- package/callbacks/subscriptions/postSlotAnimationChanged.d.ts +0 -5
- package/callbacks/subscriptions/postSlotAnimationChanged.lua +0 -23
- package/callbacks/subscriptions/postSlotDestroyed.d.ts +0 -5
- package/callbacks/subscriptions/postSlotDestroyed.lua +0 -23
- package/callbacks/subscriptions/postSlotInit.d.ts +0 -5
- package/callbacks/subscriptions/postSlotInit.lua +0 -23
- package/callbacks/subscriptions/postSlotRender.d.ts +0 -5
- package/callbacks/subscriptions/postSlotRender.lua +0 -23
- package/callbacks/subscriptions/postSlotUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postSlotUpdate.lua +0 -23
- package/callbacks/subscriptions/postSpikesRender.d.ts +0 -5
- package/callbacks/subscriptions/postSpikesRender.lua +0 -24
- package/callbacks/subscriptions/postSpikesUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postSpikesUpdate.lua +0 -24
- package/callbacks/subscriptions/postTNTRender.d.ts +0 -5
- package/callbacks/subscriptions/postTNTRender.lua +0 -24
- package/callbacks/subscriptions/postTNTUpdate.d.ts +0 -5
- package/callbacks/subscriptions/postTNTUpdate.lua +0 -24
- package/callbacks/subscriptions/postTearInitLate.d.ts +0 -5
- package/callbacks/subscriptions/postTearInitLate.lua +0 -23
- package/callbacks/subscriptions/postTearInitVeryLate.d.ts +0 -5
- package/callbacks/subscriptions/postTearInitVeryLate.lua +0 -23
- package/callbacks/subscriptions/postTransformation.d.ts +0 -5
- package/callbacks/subscriptions/postTransformation.lua +0 -23
- package/callbacks/subscriptions/postTrinketBreak.d.ts +0 -5
- package/callbacks/subscriptions/postTrinketBreak.lua +0 -23
- package/callbacks/subscriptions/preBerserkDeath.d.ts +0 -6
- package/callbacks/subscriptions/preBerserkDeath.lua +0 -29
- package/callbacks/subscriptions/preCustomRevive.d.ts +0 -6
- package/callbacks/subscriptions/preCustomRevive.lua +0 -32
- package/callbacks/subscriptions/preItemPickup.d.ts +0 -11
- package/callbacks/subscriptions/preItemPickup.lua +0 -27
- package/callbacks/subscriptions/preNewLevel.d.ts +0 -4
- package/callbacks/subscriptions/preNewLevel.lua +0 -16
- package/classes/DefaultMap.d.ts +0 -75
- package/classes/DefaultMap.lua +0 -84
- package/classes/ModUpgraded.d.ts +0 -17
- package/classes/ModUpgraded.lua +0 -38
- package/constants.d.ts +0 -104
- package/constants.lua +0 -45
- package/constantsMax.d.ts +0 -130
- package/constantsMax.lua +0 -50
- package/enums/HealthType.d.ts +0 -16
- package/enums/HealthType.lua +0 -21
- package/enums/ModCallbackCustom.d.ts +0 -109
- package/enums/ModCallbackCustom.lua +0 -153
- package/enums/PocketItemType.d.ts +0 -8
- package/enums/PocketItemType.lua +0 -15
- package/enums/SerializationType.d.ts +0 -5
- package/enums/SerializationType.lua +0 -9
- package/enums/private/CopyableIsaacAPIClassType.d.ts +0 -7
- package/enums/private/CopyableIsaacAPIClassType.lua +0 -7
- package/enums/private/SaveDataKey.d.ts +0 -7
- package/enums/private/SaveDataKey.lua +0 -11
- package/enums/private/SerializationBrand.d.ts +0 -37
- package/enums/private/SerializationBrand.lua +0 -12
- package/features/characterHealthConversion.d.ts +0 -10
- package/features/characterHealthConversion.lua +0 -85
- package/features/characterStats.d.ts +0 -19
- package/features/characterStats.lua +0 -37
- package/features/debugDisplay/debugDisplay.d.ts +0 -2
- package/features/debugDisplay/debugDisplay.lua +0 -181
- package/features/debugDisplay/exports.d.ts +0 -199
- package/features/debugDisplay/exports.lua +0 -133
- package/features/debugDisplay/v.d.ts +0 -44
- package/features/debugDisplay/v.lua +0 -54
- package/features/deployJSONRoom.d.ts +0 -65
- package/features/deployJSONRoom.lua +0 -463
- package/features/disableInputs.d.ts +0 -62
- package/features/disableInputs.lua +0 -89
- package/features/disableSound.d.ts +0 -18
- package/features/disableSound.lua +0 -48
- package/features/extraConsoleCommands/commands.d.ts +0 -349
- package/features/extraConsoleCommands/commands.lua +0 -922
- package/features/extraConsoleCommands/commandsDisplay.d.ts +0 -162
- package/features/extraConsoleCommands/commandsDisplay.lua +0 -129
- package/features/extraConsoleCommands/commandsSubroutines.d.ts +0 -9
- package/features/extraConsoleCommands/commandsSubroutines.lua +0 -129
- package/features/extraConsoleCommands/init.d.ts +0 -25
- package/features/extraConsoleCommands/init.lua +0 -249
- package/features/extraConsoleCommands/v.d.ts +0 -13
- package/features/extraConsoleCommands/v.lua +0 -10
- package/features/fadeInRemover.d.ts +0 -14
- package/features/fadeInRemover.lua +0 -45
- package/features/fastReset.d.ts +0 -14
- package/features/fastReset.lua +0 -49
- package/features/forgottenSwitch.d.ts +0 -5
- package/features/forgottenSwitch.lua +0 -28
- package/features/getCollectibleItemPoolType.d.ts +0 -7
- package/features/getCollectibleItemPoolType.lua +0 -43
- package/features/isPonyActive.d.ts +0 -6
- package/features/isPonyActive.lua +0 -49
- package/features/playerInventory.d.ts +0 -23
- package/features/playerInventory.lua +0 -129
- package/features/preventCollectibleRotate.d.ts +0 -11
- package/features/preventCollectibleRotate.lua +0 -58
- package/features/runInNFrames.d.ts +0 -61
- package/features/runInNFrames.lua +0 -78
- package/features/saveDataManager/constants.d.ts +0 -3
- package/features/saveDataManager/constants.lua +0 -4
- package/features/saveDataManager/exports.d.ts +0 -128
- package/features/saveDataManager/exports.lua +0 -66
- package/features/saveDataManager/load.d.ts +0 -4
- package/features/saveDataManager/load.lua +0 -66
- package/features/saveDataManager/main.d.ts +0 -3
- package/features/saveDataManager/main.lua +0 -119
- package/features/saveDataManager/maps.d.ts +0 -10
- package/features/saveDataManager/maps.lua +0 -8
- package/features/saveDataManager/merge.d.ts +0 -24
- package/features/saveDataManager/merge.lua +0 -124
- package/features/saveDataManager/save.d.ts +0 -4
- package/features/saveDataManager/save.lua +0 -44
- package/features/saveDataManager/serializationBrand.d.ts +0 -1
- package/features/saveDataManager/serializationBrand.lua +0 -17
- package/features/sirenHelpers.d.ts +0 -18
- package/features/sirenHelpers.lua +0 -69
- package/features/taintedLazarusPlayers.d.ts +0 -13
- package/features/taintedLazarusPlayers.lua +0 -74
- package/featuresInitialized.d.ts +0 -1
- package/featuresInitialized.lua +0 -14
- package/functions/array.d.ts +0 -141
- package/functions/array.lua +0 -269
- package/functions/benchmark.d.ts +0 -10
- package/functions/benchmark.lua +0 -32
- package/functions/bitwise.d.ts +0 -4
- package/functions/bitwise.lua +0 -21
- package/functions/boss.d.ts +0 -56
- package/functions/boss.lua +0 -183
- package/functions/cacheFlag.d.ts +0 -8
- package/functions/cacheFlag.lua +0 -7
- package/functions/cards.d.ts +0 -95
- package/functions/cards.lua +0 -174
- package/functions/challenges.d.ts +0 -3
- package/functions/challenges.lua +0 -9
- package/functions/character.d.ts +0 -48
- package/functions/character.lua +0 -73
- package/functions/charge.d.ts +0 -54
- package/functions/charge.lua +0 -123
- package/functions/chargeBar.d.ts +0 -19
- package/functions/chargeBar.lua +0 -43
- package/functions/collectibleCacheFlag.d.ts +0 -23
- package/functions/collectibleCacheFlag.lua +0 -65
- package/functions/collectibleSet.d.ts +0 -9
- package/functions/collectibleSet.lua +0 -51
- package/functions/collectibleTag.d.ts +0 -16
- package/functions/collectibleTag.lua +0 -74
- package/functions/collectibles.d.ts +0 -211
- package/functions/collectibles.lua +0 -281
- package/functions/color.d.ts +0 -31
- package/functions/color.lua +0 -122
- package/functions/debug.d.ts +0 -27
- package/functions/debug.lua +0 -31
- package/functions/deepCopy.d.ts +0 -29
- package/functions/deepCopy.lua +0 -357
- package/functions/deepCopyTests.d.ts +0 -1
- package/functions/deepCopyTests.lua +0 -316
- package/functions/direction.d.ts +0 -4
- package/functions/direction.lua +0 -17
- package/functions/doors.d.ts +0 -117
- package/functions/doors.lua +0 -231
- package/functions/easing.d.ts +0 -30
- package/functions/easing.lua +0 -115
- package/functions/eden.d.ts +0 -3
- package/functions/eden.lua +0 -47
- package/functions/entity.d.ts +0 -131
- package/functions/entity.lua +0 -233
- package/functions/entitySpecific.d.ts +0 -250
- package/functions/entitySpecific.lua +0 -642
- package/functions/entityTypes.d.ts +0 -3
- package/functions/entityTypes.lua +0 -7
- package/functions/enums.d.ts +0 -80
- package/functions/enums.lua +0 -85
- package/functions/familiars.d.ts +0 -60
- package/functions/familiars.lua +0 -33
- package/functions/flag.d.ts +0 -99
- package/functions/flag.lua +0 -47
- package/functions/flying.d.ts +0 -19
- package/functions/flying.lua +0 -67
- package/functions/globals.d.ts +0 -14
- package/functions/globals.lua +0 -230
- package/functions/gridEntity.d.ts +0 -155
- package/functions/gridEntity.lua +0 -263
- package/functions/gridEntitySpecific.d.ts +0 -18
- package/functions/gridEntitySpecific.lua +0 -88
- package/functions/input.d.ts +0 -32
- package/functions/input.lua +0 -106
- package/functions/isaacAPIClass.d.ts +0 -23
- package/functions/isaacAPIClass.lua +0 -35
- package/functions/jsonHelpers.d.ts +0 -18
- package/functions/jsonHelpers.lua +0 -26
- package/functions/jsonRoom.d.ts +0 -12
- package/functions/jsonRoom.lua +0 -86
- package/functions/kColor.d.ts +0 -31
- package/functions/kColor.lua +0 -101
- package/functions/language.d.ts +0 -2
- package/functions/language.lua +0 -17
- package/functions/level.d.ts +0 -1
- package/functions/level.lua +0 -29
- package/functions/log.d.ts +0 -78
- package/functions/log.lua +0 -519
- package/functions/map.d.ts +0 -22
- package/functions/map.lua +0 -43
- package/functions/math.d.ts +0 -50
- package/functions/math.lua +0 -92
- package/functions/mergeTests.d.ts +0 -1
- package/functions/mergeTests.lua +0 -182
- package/functions/npc.d.ts +0 -40
- package/functions/npc.lua +0 -104
- package/functions/pickupVariants.d.ts +0 -23
- package/functions/pickupVariants.lua +0 -37
- package/functions/pickups.d.ts +0 -132
- package/functions/pickups.lua +0 -407
- package/functions/pills.d.ts +0 -69
- package/functions/pills.lua +0 -83
- package/functions/player.d.ts +0 -296
- package/functions/player.lua +0 -611
- package/functions/playerDataStructures.d.ts +0 -41
- package/functions/playerDataStructures.lua +0 -34
- package/functions/playerHealth.d.ts +0 -22
- package/functions/playerHealth.lua +0 -286
- package/functions/playerIndex.d.ts +0 -68
- package/functions/playerIndex.lua +0 -127
- package/functions/pocketItems.d.ts +0 -33
- package/functions/pocketItems.lua +0 -86
- package/functions/positionVelocity.d.ts +0 -64
- package/functions/positionVelocity.lua +0 -108
- package/functions/random.d.ts +0 -42
- package/functions/random.lua +0 -38
- package/functions/revive.d.ts +0 -31
- package/functions/revive.lua +0 -102
- package/functions/rng.d.ts +0 -53
- package/functions/rng.lua +0 -129
- package/functions/roomData.d.ts +0 -108
- package/functions/roomData.lua +0 -92
- package/functions/roomGrid.d.ts +0 -40
- package/functions/roomGrid.lua +0 -59
- package/functions/roomShape.d.ts +0 -43
- package/functions/roomShape.lua +0 -45
- package/functions/rooms.d.ts +0 -194
- package/functions/rooms.lua +0 -382
- package/functions/run.d.ts +0 -12
- package/functions/run.lua +0 -28
- package/functions/seeds.d.ts +0 -9
- package/functions/seeds.lua +0 -15
- package/functions/serialization.d.ts +0 -11
- package/functions/serialization.lua +0 -65
- package/functions/set.d.ts +0 -39
- package/functions/set.lua +0 -61
- package/functions/sound.d.ts +0 -1
- package/functions/sound.lua +0 -13
- package/functions/spawnCollectible.d.ts +0 -31
- package/functions/spawnCollectible.lua +0 -70
- package/functions/sprite.d.ts +0 -36
- package/functions/sprite.lua +0 -64
- package/functions/stage.d.ts +0 -35
- package/functions/stage.lua +0 -70
- package/functions/string.d.ts +0 -13
- package/functions/string.lua +0 -36
- package/functions/table.d.ts +0 -36
- package/functions/table.lua +0 -79
- package/functions/tears.d.ts +0 -22
- package/functions/tears.lua +0 -14
- package/functions/transformations.d.ts +0 -30
- package/functions/transformations.lua +0 -96
- package/functions/trinketCacheFlag.d.ts +0 -10
- package/functions/trinketCacheFlag.lua +0 -50
- package/functions/trinketGive.d.ts +0 -38
- package/functions/trinketGive.lua +0 -90
- package/functions/trinkets.d.ts +0 -73
- package/functions/trinkets.lua +0 -115
- package/functions/tstlClass.d.ts +0 -20
- package/functions/tstlClass.lua +0 -56
- package/functions/ui.d.ts +0 -34
- package/functions/ui.lua +0 -95
- package/functions/utils.d.ts +0 -112
- package/functions/utils.lua +0 -94
- package/functions/vector.d.ts +0 -32
- package/functions/vector.lua +0 -118
- package/index.d.ts +0 -127
- package/index.lua +0 -900
- package/initCustomCallbacks.d.ts +0 -2
- package/initCustomCallbacks.lua +0 -178
- package/initFeatures.d.ts +0 -3
- package/initFeatures.lua +0 -51
- package/lualib_bundle.lua +0 -2488
- package/maps/cardMap.d.ts +0 -3
- package/maps/cardMap.lua +0 -211
- package/maps/characterMap.d.ts +0 -3
- package/maps/characterMap.lua +0 -89
- package/maps/collectibleDescriptionMap.d.ts +0 -3
- package/maps/collectibleDescriptionMap.lua +0 -728
- package/maps/collectibleNameMap.d.ts +0 -3
- package/maps/collectibleNameMap.lua +0 -728
- package/maps/defaultPlayerStatMap.d.ts +0 -3
- package/maps/defaultPlayerStatMap.lua +0 -24
- package/maps/gridEntityTypeToBrokenStateMap.d.ts +0 -2
- package/maps/gridEntityTypeToBrokenStateMap.lua +0 -26
- package/maps/gridEntityXMLMap.d.ts +0 -9
- package/maps/gridEntityXMLMap.lua +0 -51
- package/maps/pillEffectMap.d.ts +0 -3
- package/maps/pillEffectMap.lua +0 -89
- package/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +0 -7
- package/maps/roomShapeToTopLeftWallGridIndexMap.lua +0 -15
- package/maps/roomTypeMap.d.ts +0 -3
- package/maps/roomTypeMap.lua +0 -44
- package/maps/trinketDescriptionMap.d.ts +0 -3
- package/maps/trinketDescriptionMap.lua +0 -196
- package/maps/trinketNameMap.d.ts +0 -3
- package/maps/trinketNameMap.lua +0 -196
- package/objects/LRoomShapeToRectangles.d.ts +0 -13
- package/objects/LRoomShapeToRectangles.lua +0 -33
- package/objects/callbackRegisterFunctions.d.ts +0 -5
- package/objects/callbackRegisterFunctions.lua +0 -231
- package/objects/cardDescriptions.d.ts +0 -5
- package/objects/cardDescriptions.lua +0 -105
- package/objects/cardNames.d.ts +0 -5
- package/objects/cardNames.lua +0 -105
- package/objects/cardTypes.d.ts +0 -5
- package/objects/cardTypes.lua +0 -106
- package/objects/challengeNames.d.ts +0 -5
- package/objects/challengeNames.lua +0 -53
- package/objects/characterNames.d.ts +0 -5
- package/objects/characterNames.lua +0 -49
- package/objects/coinSubTypeToValue.d.ts +0 -5
- package/objects/coinSubTypeToValue.lua +0 -15
- package/objects/colors.d.ts +0 -17
- package/objects/colors.lua +0 -12
- package/objects/directionNames.d.ts +0 -4
- package/objects/directionNames.lua +0 -11
- package/objects/directionToDegrees.d.ts +0 -4
- package/objects/directionToDegrees.lua +0 -11
- package/objects/directionToVector.d.ts +0 -4
- package/objects/directionToVector.lua +0 -13
- package/objects/doorSlotFlagToDoorSlot.d.ts +0 -5
- package/objects/doorSlotFlagToDoorSlot.lua +0 -16
- package/objects/doorSlotToDirection.d.ts +0 -4
- package/objects/doorSlotToDirection.lua +0 -16
- package/objects/isaacAPIClassTypeToBrand.d.ts +0 -5
- package/objects/isaacAPIClassTypeToBrand.lua +0 -7
- package/objects/isaacAPIClassTypeToCopyFunction.d.ts +0 -5
- package/objects/isaacAPIClassTypeToCopyFunction.lua +0 -13
- package/objects/pillEffectClasses.d.ts +0 -5
- package/objects/pillEffectClasses.lua +0 -59
- package/objects/pillEffectNames.d.ts +0 -5
- package/objects/pillEffectNames.lua +0 -57
- package/objects/pillEffectTypes.d.ts +0 -5
- package/objects/pillEffectTypes.lua +0 -58
- package/objects/roomShapeBounds.d.ts +0 -8
- package/objects/roomShapeBounds.lua +0 -24
- package/objects/roomShapeLayoutSizes.d.ts +0 -10
- package/objects/roomShapeLayoutSizes.lua +0 -25
- package/objects/roomShapeToBottomRightPosition.d.ts +0 -8
- package/objects/roomShapeToBottomRightPosition.lua +0 -20
- package/objects/roomShapeToDoorSlots.d.ts +0 -4
- package/objects/roomShapeToDoorSlots.lua +0 -46
- package/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +0 -8
- package/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +0 -87
- package/objects/roomShapeToGridWidth.d.ts +0 -4
- package/objects/roomShapeToGridWidth.lua +0 -20
- package/objects/roomShapeToTopLeftPosition.d.ts +0 -8
- package/objects/roomShapeToTopLeftPosition.lua +0 -22
- package/objects/roomShapeVolumes.d.ts +0 -13
- package/objects/roomShapeVolumes.lua +0 -27
- package/objects/roomTypeNames.d.ts +0 -5
- package/objects/roomTypeNames.lua +0 -37
- package/objects/serializedIsaacAPIClassTypeToIdentityFunction.d.ts +0 -4
- package/objects/serializedIsaacAPIClassTypeToIdentityFunction.lua +0 -13
- package/objects/stageTypeToLetter.d.ts +0 -4
- package/objects/stageTypeToLetter.lua +0 -12
- package/objects/transformationNames.d.ts +0 -5
- package/objects/transformationNames.lua +0 -21
- package/patchErrorFunctions.d.ts +0 -1
- package/patchErrorFunctions.lua +0 -50
- package/sets/LRoomShapesSet.d.ts +0 -2
- package/sets/LRoomShapesSet.lua +0 -8
- package/sets/bossSets.d.ts +0 -4
- package/sets/bossSets.lua +0 -531
- package/sets/charactersThatStartWithAnActiveItemSet.d.ts +0 -2
- package/sets/charactersThatStartWithAnActiveItemSet.lua +0 -20
- package/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +0 -2
- package/sets/charactersWithBlackHeartFromEternalHeartSet.lua +0 -8
- package/sets/charactersWithFreeDevilDealsSet.d.ts +0 -2
- package/sets/charactersWithFreeDevilDealsSet.lua +0 -8
- package/sets/charactersWithNoRedHeartsSet.d.ts +0 -6
- package/sets/charactersWithNoRedHeartsSet.lua +0 -17
- package/sets/charactersWithNoSoulHeartsSet.d.ts +0 -6
- package/sets/charactersWithNoSoulHeartsSet.lua +0 -14
- package/sets/chestPickupVariantsSet.d.ts +0 -2
- package/sets/chestPickupVariantsSet.lua +0 -21
- package/sets/familiarsThatShootPlayerTearsSet.d.ts +0 -2
- package/sets/familiarsThatShootPlayerTearsSet.lua +0 -17
- package/sets/lostStyleCharactersSet.d.ts +0 -6
- package/sets/lostStyleCharactersSet.lua +0 -14
- package/sets/mineShaftRoomSubTypesSet.d.ts +0 -2
- package/sets/mineShaftRoomSubTypesSet.lua +0 -14
- package/sets/redHeartSubTypesSet.d.ts +0 -2
- package/sets/redHeartSubTypesSet.lua +0 -8
- package/sets/sinEntityTypesSet.d.ts +0 -2
- package/sets/sinEntityTypesSet.lua +0 -16
- package/sets/singleUseActiveCollectibleTypesSet.d.ts +0 -2
- package/sets/singleUseActiveCollectibleTypesSet.lua +0 -17
- package/sets/storyBossesSet.d.ts +0 -2
- package/sets/storyBossesSet.lua +0 -22
- package/types/AddCallbackParameterCustom.d.ts +0 -153
- package/types/AddCallbackParameterCustom.lua +0 -4
- package/types/AnyEntity.d.ts +0 -2
- package/types/AnyEntity.lua +0 -2
- package/types/CollectibleIndex.d.ts +0 -16
- package/types/CollectibleIndex.lua +0 -2
- package/types/JSONDoor.d.ts +0 -10
- package/types/JSONDoor.lua +0 -2
- package/types/JSONEntity.d.ts +0 -12
- package/types/JSONEntity.lua +0 -2
- package/types/JSONRoom.d.ts +0 -30
- package/types/JSONRoom.lua +0 -2
- package/types/JSONRooms.d.ts +0 -11
- package/types/JSONRooms.lua +0 -2
- package/types/JSONSpawn.d.ts +0 -10
- package/types/JSONSpawn.lua +0 -2
- package/types/PickingUpItem.d.ts +0 -24
- package/types/PickingUpItem.lua +0 -24
- package/types/PlayerHealth.d.ts +0 -14
- package/types/PlayerHealth.lua +0 -2
- package/types/PlayerIndex.d.ts +0 -16
- package/types/PlayerIndex.lua +0 -2
- package/types/PocketItemDescription.d.ts +0 -7
- package/types/PocketItemDescription.lua +0 -2
- package/types/Primitive.d.ts +0 -1
- package/types/Primitive.lua +0 -2
- package/types/TrinketSituation.d.ts +0 -7
- package/types/TrinketSituation.lua +0 -2
- package/types/private/IsaacAPIClass.d.ts +0 -4
- package/types/private/IsaacAPIClass.lua +0 -2
- package/types/private/SaveData.d.ts +0 -22
- package/types/private/SaveData.lua +0 -2
- package/types/private/SerializedIsaacAPIClass.d.ts +0 -4
- package/types/private/SerializedIsaacAPIClass.lua +0 -2
- package/types/private/TSTLClass.d.ts +0 -4
- package/types/private/TSTLClass.lua +0 -2
- package/types/private/TSTLClassMetatable.d.ts +0 -10
- package/types/private/TSTLClassMetatable.lua +0 -2
- package/upgradeMod.d.ts +0 -22
- package/upgradeMod.lua +0 -33
|
@@ -1,922 +0,0 @@
|
|
|
1
|
-
local ____lualib = require("lualib_bundle")
|
|
2
|
-
local Map = ____lualib.Map
|
|
3
|
-
local __TS__StringSplit = ____lualib.__TS__StringSplit
|
|
4
|
-
local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
|
|
5
|
-
local __TS__StringSlice = ____lualib.__TS__StringSlice
|
|
6
|
-
local __TS__ArrayIncludes = ____lualib.__TS__ArrayIncludes
|
|
7
|
-
local ____exports = {}
|
|
8
|
-
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
9
|
-
local ActiveSlot = ____isaac_2Dtypescript_2Ddefinitions.ActiveSlot
|
|
10
|
-
local CacheFlag = ____isaac_2Dtypescript_2Ddefinitions.CacheFlag
|
|
11
|
-
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
12
|
-
local Direction = ____isaac_2Dtypescript_2Ddefinitions.Direction
|
|
13
|
-
local DisplayFlag = ____isaac_2Dtypescript_2Ddefinitions.DisplayFlag
|
|
14
|
-
local GameStateFlag = ____isaac_2Dtypescript_2Ddefinitions.GameStateFlag
|
|
15
|
-
local GridEntityType = ____isaac_2Dtypescript_2Ddefinitions.GridEntityType
|
|
16
|
-
local GridRoom = ____isaac_2Dtypescript_2Ddefinitions.GridRoom
|
|
17
|
-
local PillColor = ____isaac_2Dtypescript_2Ddefinitions.PillColor
|
|
18
|
-
local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
|
|
19
|
-
local ____cachedClasses = require("cachedClasses")
|
|
20
|
-
local game = ____cachedClasses.game
|
|
21
|
-
local sfxManager = ____cachedClasses.sfxManager
|
|
22
|
-
local ____constants = require("constants")
|
|
23
|
-
local FIRST_ROOM_TYPE = ____constants.FIRST_ROOM_TYPE
|
|
24
|
-
local FIRST_STAGE = ____constants.FIRST_STAGE
|
|
25
|
-
local LAST_ROOM_TYPE = ____constants.LAST_ROOM_TYPE
|
|
26
|
-
local LAST_STAGE = ____constants.LAST_STAGE
|
|
27
|
-
local MAX_LEVEL_GRID_INDEX = ____constants.MAX_LEVEL_GRID_INDEX
|
|
28
|
-
local ____constantsMax = require("constantsMax")
|
|
29
|
-
local FIRST_CARD = ____constantsMax.FIRST_CARD
|
|
30
|
-
local FIRST_CHARACTER = ____constantsMax.FIRST_CHARACTER
|
|
31
|
-
local FIRST_PILL_EFFECT = ____constantsMax.FIRST_PILL_EFFECT
|
|
32
|
-
local LAST_CARD = ____constantsMax.LAST_CARD
|
|
33
|
-
local LAST_PILL_EFFECT = ____constantsMax.LAST_PILL_EFFECT
|
|
34
|
-
local LAST_VANILLA_CHARACTER = ____constantsMax.LAST_VANILLA_CHARACTER
|
|
35
|
-
local ____HealthType = require("enums.HealthType")
|
|
36
|
-
local HealthType = ____HealthType.HealthType
|
|
37
|
-
local ____cards = require("functions.cards")
|
|
38
|
-
local getCardName = ____cards.getCardName
|
|
39
|
-
local ____character = require("functions.character")
|
|
40
|
-
local getCharacterName = ____character.getCharacterName
|
|
41
|
-
local ____collectibles = require("functions.collectibles")
|
|
42
|
-
local isValidCollectibleType = ____collectibles.isValidCollectibleType
|
|
43
|
-
local ____entitySpecific = require("functions.entitySpecific")
|
|
44
|
-
local getNPCs = ____entitySpecific.getNPCs
|
|
45
|
-
local ____enums = require("functions.enums")
|
|
46
|
-
local getEnumValues = ____enums.getEnumValues
|
|
47
|
-
local ____flag = require("functions.flag")
|
|
48
|
-
local addFlag = ____flag.addFlag
|
|
49
|
-
local ____gridEntity = require("functions.gridEntity")
|
|
50
|
-
local spawnGrid = ____gridEntity.spawnGrid
|
|
51
|
-
local ____log = require("functions.log")
|
|
52
|
-
local logEffects = ____log.logEffects
|
|
53
|
-
local logRoom = ____log.logRoom
|
|
54
|
-
local logSeedEffects = ____log.logSeedEffects
|
|
55
|
-
local logSounds = ____log.logSounds
|
|
56
|
-
local ____map = require("functions.map")
|
|
57
|
-
local getMapPartialMatch = ____map.getMapPartialMatch
|
|
58
|
-
local ____pickups = require("functions.pickups")
|
|
59
|
-
local spawnCard = ____pickups.spawnCard
|
|
60
|
-
local spawnPill = ____pickups.spawnPill
|
|
61
|
-
local spawnTrinket = ____pickups.spawnTrinket
|
|
62
|
-
local ____pills = require("functions.pills")
|
|
63
|
-
local getPillEffectName = ____pills.getPillEffectName
|
|
64
|
-
local ____player = require("functions.player")
|
|
65
|
-
local getPlayerName = ____player.getPlayerName
|
|
66
|
-
local useActiveItemTemp = ____player.useActiveItemTemp
|
|
67
|
-
local ____playerIndex = require("functions.playerIndex")
|
|
68
|
-
local getPlayers = ____playerIndex.getPlayers
|
|
69
|
-
local ____roomGrid = require("functions.roomGrid")
|
|
70
|
-
local gridCoordinatesToWorldPosition = ____roomGrid.gridCoordinatesToWorldPosition
|
|
71
|
-
local ____rooms = require("functions.rooms")
|
|
72
|
-
local changeRoom = ____rooms.changeRoom
|
|
73
|
-
local getRoomGridIndexesForType = ____rooms.getRoomGridIndexesForType
|
|
74
|
-
local ____run = require("functions.run")
|
|
75
|
-
local restart = ____run.restart
|
|
76
|
-
local ____trinkets = require("functions.trinkets")
|
|
77
|
-
local getGoldenTrinketType = ____trinkets.getGoldenTrinketType
|
|
78
|
-
local ____utils = require("functions.utils")
|
|
79
|
-
local irange = ____utils.irange
|
|
80
|
-
local printConsole = ____utils.printConsole
|
|
81
|
-
local printEnabled = ____utils.printEnabled
|
|
82
|
-
local ____cardMap = require("maps.cardMap")
|
|
83
|
-
local CARD_MAP = ____cardMap.CARD_MAP
|
|
84
|
-
local ____characterMap = require("maps.characterMap")
|
|
85
|
-
local CHARACTER_MAP = ____characterMap.CHARACTER_MAP
|
|
86
|
-
local ____pillEffectMap = require("maps.pillEffectMap")
|
|
87
|
-
local PILL_EFFECT_MAP = ____pillEffectMap.PILL_EFFECT_MAP
|
|
88
|
-
local ____roomTypeMap = require("maps.roomTypeMap")
|
|
89
|
-
local ROOM_TYPE_MAP = ____roomTypeMap.ROOM_TYPE_MAP
|
|
90
|
-
local ____commandsSubroutines = require("features.extraConsoleCommands.commandsSubroutines")
|
|
91
|
-
local addHeart = ____commandsSubroutines.addHeart
|
|
92
|
-
local devilAngel = ____commandsSubroutines.devilAngel
|
|
93
|
-
local listEntities = ____commandsSubroutines.listEntities
|
|
94
|
-
local listGridEntities = ____commandsSubroutines.listGridEntities
|
|
95
|
-
local movePlayer = ____commandsSubroutines.movePlayer
|
|
96
|
-
local spawnTrapdoorOrCrawlspace = ____commandsSubroutines.spawnTrapdoorOrCrawlspace
|
|
97
|
-
local warpToRoomType = ____commandsSubroutines.warpToRoomType
|
|
98
|
-
local ____v = require("features.extraConsoleCommands.v")
|
|
99
|
-
local v = ____v.default
|
|
100
|
-
function ____exports.blackHearts(self, params)
|
|
101
|
-
addHeart(nil, params, HealthType.BLACK)
|
|
102
|
-
end
|
|
103
|
-
function ____exports.chaosCardTears(self)
|
|
104
|
-
v.run.chaosCardTears = not v.run.chaosCardTears
|
|
105
|
-
printEnabled(nil, v.run.chaosCardTears, "Chaos Card tears")
|
|
106
|
-
end
|
|
107
|
-
function ____exports.devil(self)
|
|
108
|
-
devilAngel(nil, true)
|
|
109
|
-
end
|
|
110
|
-
function ____exports.eternalHearts(self, params)
|
|
111
|
-
addHeart(nil, params, HealthType.ETERNAL)
|
|
112
|
-
end
|
|
113
|
-
function ____exports.goldenBomb(self)
|
|
114
|
-
local player = Isaac.GetPlayer()
|
|
115
|
-
player:AddGoldenBomb()
|
|
116
|
-
end
|
|
117
|
-
function ____exports.goldenHearts(self, params)
|
|
118
|
-
addHeart(nil, params, HealthType.GOLDEN)
|
|
119
|
-
end
|
|
120
|
-
function ____exports.goldenKey(self)
|
|
121
|
-
local player = Isaac.GetPlayer()
|
|
122
|
-
player:AddGoldenKey()
|
|
123
|
-
end
|
|
124
|
-
function ____exports.hearts(self, params)
|
|
125
|
-
addHeart(nil, params, HealthType.RED)
|
|
126
|
-
end
|
|
127
|
-
function ____exports.iAmError(self)
|
|
128
|
-
changeRoom(nil, GridRoom.ERROR)
|
|
129
|
-
end
|
|
130
|
-
function ____exports.oneHP(self)
|
|
131
|
-
for ____, npc in ipairs(getNPCs(nil)) do
|
|
132
|
-
npc.HitPoints = 1
|
|
133
|
-
end
|
|
134
|
-
printConsole(nil, "Set every NPC to 1 HP.")
|
|
135
|
-
end
|
|
136
|
-
function ____exports.soulHearts(self, params)
|
|
137
|
-
addHeart(nil, params, HealthType.SOUL)
|
|
138
|
-
end
|
|
139
|
-
function ____exports.sound(self, params)
|
|
140
|
-
local soundEffect = tonumber(params)
|
|
141
|
-
if soundEffect == nil then
|
|
142
|
-
printConsole(nil, "That is an invalid sound effect ID.")
|
|
143
|
-
return
|
|
144
|
-
end
|
|
145
|
-
sfxManager:Play(soundEffect)
|
|
146
|
-
end
|
|
147
|
-
function ____exports.startingRoom(self)
|
|
148
|
-
local level = game:GetLevel()
|
|
149
|
-
local startingRoomIndex = level:GetStartingRoomIndex()
|
|
150
|
-
changeRoom(nil, startingRoomIndex)
|
|
151
|
-
end
|
|
152
|
-
function ____exports.addCharges(self, params)
|
|
153
|
-
if params == "" then
|
|
154
|
-
printConsole(nil, "You must specify a slot number. (Use 0 for the primary slot, 1 for the Schoolbag slot, 2 for the pocket item slot, and 3 for the Dice Bag slot.)")
|
|
155
|
-
return
|
|
156
|
-
end
|
|
157
|
-
local args = __TS__StringSplit(params, " ")
|
|
158
|
-
if #args ~= 1 and #args ~= 2 then
|
|
159
|
-
printConsole(nil, "That is an invalid amount of arguments.")
|
|
160
|
-
return
|
|
161
|
-
end
|
|
162
|
-
local activeSlotString, chargeString = table.unpack(args)
|
|
163
|
-
local activeSlot = tonumber(activeSlotString)
|
|
164
|
-
if activeSlot == nil then
|
|
165
|
-
printConsole(
|
|
166
|
-
nil,
|
|
167
|
-
"The provided slot number is invalid: " .. tostring(activeSlotString)
|
|
168
|
-
)
|
|
169
|
-
return
|
|
170
|
-
end
|
|
171
|
-
if activeSlot < ActiveSlot.PRIMARY or activeSlot > ActiveSlot.POCKET_SINGLE_USE then
|
|
172
|
-
printConsole(
|
|
173
|
-
nil,
|
|
174
|
-
"The provided slot number is invalid: " .. tostring(activeSlot)
|
|
175
|
-
)
|
|
176
|
-
return
|
|
177
|
-
end
|
|
178
|
-
local chargeNum = 1
|
|
179
|
-
if chargeString ~= nil then
|
|
180
|
-
local chargeNumAttempt = tonumber(chargeString)
|
|
181
|
-
if chargeNumAttempt == nil then
|
|
182
|
-
printConsole(nil, "The provided charge amount is invalid: " .. chargeString)
|
|
183
|
-
return
|
|
184
|
-
end
|
|
185
|
-
chargeNum = chargeNumAttempt
|
|
186
|
-
end
|
|
187
|
-
local player = Isaac.GetPlayer()
|
|
188
|
-
local currentCharge = player:GetActiveCharge(activeSlot)
|
|
189
|
-
local newCharge = currentCharge + chargeNum
|
|
190
|
-
player:SetActiveCharge(newCharge, activeSlot)
|
|
191
|
-
end
|
|
192
|
-
function ____exports.angel(self)
|
|
193
|
-
devilAngel(nil, false)
|
|
194
|
-
end
|
|
195
|
-
function ____exports.ascent(self)
|
|
196
|
-
game:SetStateFlag(GameStateFlag.BACKWARDS_PATH_INIT, true)
|
|
197
|
-
game:SetStateFlag(GameStateFlag.BACKWARDS_PATH, true)
|
|
198
|
-
printConsole(nil, "Set Ascent flags.")
|
|
199
|
-
end
|
|
200
|
-
function ____exports.bedroom(self)
|
|
201
|
-
local cleanBedroomGridIndexes = getRoomGridIndexesForType(nil, RoomType.CLEAN_BEDROOM)
|
|
202
|
-
if #cleanBedroomGridIndexes > 0 then
|
|
203
|
-
warpToRoomType(nil, RoomType.CLEAN_BEDROOM)
|
|
204
|
-
return
|
|
205
|
-
end
|
|
206
|
-
local dirtyBedroomGridIndexes = getRoomGridIndexesForType(nil, RoomType.DIRTY_BEDROOM)
|
|
207
|
-
if #dirtyBedroomGridIndexes > 0 then
|
|
208
|
-
warpToRoomType(nil, RoomType.DIRTY_BEDROOM)
|
|
209
|
-
return
|
|
210
|
-
end
|
|
211
|
-
printConsole(nil, "There are no Clean Bedrooms or Dirty Bedrooms on this floor.")
|
|
212
|
-
end
|
|
213
|
-
function ____exports.bh(self, params)
|
|
214
|
-
____exports.blackHearts(nil, params)
|
|
215
|
-
end
|
|
216
|
-
function ____exports.blackMarket(self)
|
|
217
|
-
changeRoom(nil, GridRoom.BLACK_MARKET)
|
|
218
|
-
end
|
|
219
|
-
function ____exports.bloodCharges(self, params)
|
|
220
|
-
local charges = 1
|
|
221
|
-
if params ~= "" then
|
|
222
|
-
local num = tonumber(params)
|
|
223
|
-
if num == nil then
|
|
224
|
-
printConsole(nil, "That is an invalid amount of charges to add.")
|
|
225
|
-
return
|
|
226
|
-
end
|
|
227
|
-
charges = num
|
|
228
|
-
end
|
|
229
|
-
local player = Isaac.GetPlayer()
|
|
230
|
-
player:AddBloodCharge(charges)
|
|
231
|
-
end
|
|
232
|
-
function ____exports.bm(self)
|
|
233
|
-
____exports.blackMarket(nil)
|
|
234
|
-
end
|
|
235
|
-
function ____exports.bomb(self, params)
|
|
236
|
-
local numBombs = 1
|
|
237
|
-
if params ~= "" then
|
|
238
|
-
local num = tonumber(params)
|
|
239
|
-
if num == nil then
|
|
240
|
-
printConsole(nil, "That is an invalid amount of bombs to add.")
|
|
241
|
-
return
|
|
242
|
-
end
|
|
243
|
-
numBombs = num
|
|
244
|
-
end
|
|
245
|
-
local player = Isaac.GetPlayer()
|
|
246
|
-
player:AddBombs(numBombs)
|
|
247
|
-
end
|
|
248
|
-
function ____exports.bombs(self, params)
|
|
249
|
-
local numBombs = 99
|
|
250
|
-
if params ~= "" then
|
|
251
|
-
local num = tonumber(params)
|
|
252
|
-
if num == nil then
|
|
253
|
-
printConsole(nil, "That is an invalid amount of bombs to add.")
|
|
254
|
-
return
|
|
255
|
-
end
|
|
256
|
-
numBombs = num
|
|
257
|
-
end
|
|
258
|
-
local player = Isaac.GetPlayer()
|
|
259
|
-
player:AddBombs(numBombs)
|
|
260
|
-
end
|
|
261
|
-
function ____exports.boneHearts(self, params)
|
|
262
|
-
addHeart(nil, params, HealthType.BONE)
|
|
263
|
-
end
|
|
264
|
-
function ____exports.boss(self)
|
|
265
|
-
warpToRoomType(nil, RoomType.BOSS)
|
|
266
|
-
end
|
|
267
|
-
function ____exports.bossRush(self)
|
|
268
|
-
changeRoom(nil, GridRoom.BOSS_RUSH)
|
|
269
|
-
end
|
|
270
|
-
function ____exports.brokenHearts(self, params)
|
|
271
|
-
addHeart(nil, params, HealthType.BROKEN)
|
|
272
|
-
end
|
|
273
|
-
function ____exports.card(self, params)
|
|
274
|
-
if params == "" then
|
|
275
|
-
printConsole(nil, "You must specify a card name or number.")
|
|
276
|
-
return
|
|
277
|
-
end
|
|
278
|
-
local cardNum
|
|
279
|
-
local num = tonumber(params)
|
|
280
|
-
if num == nil then
|
|
281
|
-
local match = getMapPartialMatch(nil, params, CARD_MAP)
|
|
282
|
-
if match == nil then
|
|
283
|
-
printConsole(nil, "Unknown card: " .. params)
|
|
284
|
-
return
|
|
285
|
-
end
|
|
286
|
-
cardNum = match[2]
|
|
287
|
-
else
|
|
288
|
-
if num < FIRST_CARD or num > LAST_CARD then
|
|
289
|
-
printConsole(
|
|
290
|
-
nil,
|
|
291
|
-
"Invalid card sub-type: " .. tostring(num)
|
|
292
|
-
)
|
|
293
|
-
return
|
|
294
|
-
end
|
|
295
|
-
cardNum = num
|
|
296
|
-
end
|
|
297
|
-
local cardName = getCardName(nil, cardNum)
|
|
298
|
-
Isaac.ExecuteCommand("g k" .. tostring(cardNum))
|
|
299
|
-
printConsole(
|
|
300
|
-
nil,
|
|
301
|
-
((("Gave card: " .. cardName) .. " (") .. tostring(cardNum)) .. ")"
|
|
302
|
-
)
|
|
303
|
-
end
|
|
304
|
-
function ____exports.cards(self)
|
|
305
|
-
local cardType = 1
|
|
306
|
-
do
|
|
307
|
-
local y = 0
|
|
308
|
-
while y <= 6 do
|
|
309
|
-
do
|
|
310
|
-
local x = 0
|
|
311
|
-
while x <= 12 do
|
|
312
|
-
if cardType == LAST_CARD then
|
|
313
|
-
return
|
|
314
|
-
end
|
|
315
|
-
local position = gridCoordinatesToWorldPosition(nil, x, y)
|
|
316
|
-
spawnCard(nil, cardType, position)
|
|
317
|
-
cardType = cardType + 1
|
|
318
|
-
x = x + 1
|
|
319
|
-
end
|
|
320
|
-
end
|
|
321
|
-
y = y + 1
|
|
322
|
-
end
|
|
323
|
-
end
|
|
324
|
-
end
|
|
325
|
-
function ____exports.cc(self)
|
|
326
|
-
____exports.chaosCardTears(nil)
|
|
327
|
-
end
|
|
328
|
-
function ____exports.characterCommand(self, params)
|
|
329
|
-
if params == "" then
|
|
330
|
-
printConsole(nil, "You must specify a character name or number.")
|
|
331
|
-
return
|
|
332
|
-
end
|
|
333
|
-
local character
|
|
334
|
-
local num = tonumber(params)
|
|
335
|
-
if num == nil then
|
|
336
|
-
local match = getMapPartialMatch(nil, params, CHARACTER_MAP)
|
|
337
|
-
if match == nil then
|
|
338
|
-
printConsole(nil, "Unknown character: " .. params)
|
|
339
|
-
return
|
|
340
|
-
end
|
|
341
|
-
character = match[2]
|
|
342
|
-
else
|
|
343
|
-
if num < FIRST_CHARACTER or num > LAST_VANILLA_CHARACTER then
|
|
344
|
-
printConsole(
|
|
345
|
-
nil,
|
|
346
|
-
"Invalid player sub-type: " .. tostring(num)
|
|
347
|
-
)
|
|
348
|
-
return
|
|
349
|
-
end
|
|
350
|
-
character = num
|
|
351
|
-
end
|
|
352
|
-
local characterName = getCharacterName(nil, character)
|
|
353
|
-
restart(nil, character)
|
|
354
|
-
printConsole(
|
|
355
|
-
nil,
|
|
356
|
-
((("Restarting as character: " .. characterName) .. " (") .. tostring(character)) .. ")"
|
|
357
|
-
)
|
|
358
|
-
end
|
|
359
|
-
function ____exports.charge(self, params)
|
|
360
|
-
____exports.addCharges(nil, params)
|
|
361
|
-
end
|
|
362
|
-
function ____exports.cleanBedroom(self)
|
|
363
|
-
warpToRoomType(nil, RoomType.CLEAN_BEDROOM)
|
|
364
|
-
end
|
|
365
|
-
function ____exports.coin(self, params)
|
|
366
|
-
local numCoins = 1
|
|
367
|
-
if params ~= "" then
|
|
368
|
-
local num = tonumber(params)
|
|
369
|
-
if num == nil then
|
|
370
|
-
printConsole(nil, "That is an invalid amount of coins to add.")
|
|
371
|
-
return
|
|
372
|
-
end
|
|
373
|
-
numCoins = num
|
|
374
|
-
end
|
|
375
|
-
local player = Isaac.GetPlayer()
|
|
376
|
-
player:AddCoins(numCoins)
|
|
377
|
-
end
|
|
378
|
-
function ____exports.coins(self, params)
|
|
379
|
-
local numCoins = 999
|
|
380
|
-
if params ~= "" then
|
|
381
|
-
local num = tonumber(params)
|
|
382
|
-
if num == nil then
|
|
383
|
-
printConsole(nil, "That is an invalid amount of coins to add.")
|
|
384
|
-
return
|
|
385
|
-
end
|
|
386
|
-
numCoins = num
|
|
387
|
-
end
|
|
388
|
-
local player = Isaac.GetPlayer()
|
|
389
|
-
player:AddCoins(numCoins)
|
|
390
|
-
end
|
|
391
|
-
function ____exports.crawlspace(self)
|
|
392
|
-
spawnTrapdoorOrCrawlspace(nil, false)
|
|
393
|
-
end
|
|
394
|
-
function ____exports.d20(self)
|
|
395
|
-
local player = Isaac.GetPlayer()
|
|
396
|
-
useActiveItemTemp(nil, player, CollectibleType.D20)
|
|
397
|
-
end
|
|
398
|
-
function ____exports.d6(self)
|
|
399
|
-
local player = Isaac.GetPlayer()
|
|
400
|
-
useActiveItemTemp(nil, player, CollectibleType.D6)
|
|
401
|
-
end
|
|
402
|
-
function ____exports.damage(self)
|
|
403
|
-
v.run.maxDamage = not v.run.maxDamage
|
|
404
|
-
printEnabled(nil, v.run.maxDamage, "debug damage")
|
|
405
|
-
end
|
|
406
|
-
function ____exports.dd(self)
|
|
407
|
-
____exports.devil(nil)
|
|
408
|
-
end
|
|
409
|
-
function ____exports.dirtyBedroom(self)
|
|
410
|
-
warpToRoomType(nil, RoomType.DIRTY_BEDROOM)
|
|
411
|
-
end
|
|
412
|
-
function ____exports.disableCurses(self)
|
|
413
|
-
v.persistent.disableCurses = not v.persistent.disableCurses
|
|
414
|
-
printEnabled(nil, not v.persistent.disableCurses, "curses")
|
|
415
|
-
end
|
|
416
|
-
function ____exports.down(self, params)
|
|
417
|
-
movePlayer(nil, params, Direction.DOWN)
|
|
418
|
-
end
|
|
419
|
-
function ____exports.dungeon(self)
|
|
420
|
-
changeRoom(nil, GridRoom.DUNGEON)
|
|
421
|
-
end
|
|
422
|
-
function ____exports.effects(self)
|
|
423
|
-
local player = Isaac.GetPlayer()
|
|
424
|
-
logEffects(player)
|
|
425
|
-
printConsole(nil, "Logged the player's effects to the \"log.txt\" file.")
|
|
426
|
-
end
|
|
427
|
-
function ____exports.eh(self, params)
|
|
428
|
-
____exports.eternalHearts(nil, params)
|
|
429
|
-
end
|
|
430
|
-
function ____exports.error(self)
|
|
431
|
-
____exports.iAmError(nil)
|
|
432
|
-
end
|
|
433
|
-
function ____exports.fool(self)
|
|
434
|
-
____exports.startingRoom(nil)
|
|
435
|
-
end
|
|
436
|
-
function ____exports.getPosition(self)
|
|
437
|
-
for ____, player in ipairs(getPlayers(nil)) do
|
|
438
|
-
local playerName = getPlayerName(nil, player)
|
|
439
|
-
printConsole(
|
|
440
|
-
nil,
|
|
441
|
-
((((("Player position for " .. playerName) .. ": (") .. tostring(player.Position.X)) .. ", ") .. tostring(player.Position.Y)) .. ")"
|
|
442
|
-
)
|
|
443
|
-
end
|
|
444
|
-
end
|
|
445
|
-
function ____exports.gigaBomb(self, params)
|
|
446
|
-
local numBombs = 1
|
|
447
|
-
if params ~= "" then
|
|
448
|
-
local num = tonumber(params)
|
|
449
|
-
if num == nil then
|
|
450
|
-
printConsole(nil, "That is an invalid amount of Giga Bombs to add.")
|
|
451
|
-
return
|
|
452
|
-
end
|
|
453
|
-
numBombs = num
|
|
454
|
-
end
|
|
455
|
-
local player = Isaac.GetPlayer()
|
|
456
|
-
player:AddGigaBombs(numBombs)
|
|
457
|
-
end
|
|
458
|
-
function ____exports.goldBomb(self)
|
|
459
|
-
____exports.goldenBomb(nil)
|
|
460
|
-
end
|
|
461
|
-
function ____exports.goldHearts(self, params)
|
|
462
|
-
____exports.goldenHearts(nil, params)
|
|
463
|
-
end
|
|
464
|
-
function ____exports.goldKey(self)
|
|
465
|
-
____exports.goldenKey(nil)
|
|
466
|
-
end
|
|
467
|
-
function ____exports.grid(self)
|
|
468
|
-
Isaac.ExecuteCommand("debug 2")
|
|
469
|
-
end
|
|
470
|
-
function ____exports.grid2(self)
|
|
471
|
-
Isaac.ExecuteCommand("debug 11")
|
|
472
|
-
end
|
|
473
|
-
function ____exports.gridEntities(self)
|
|
474
|
-
local gridEntityTypes = getEnumValues(nil, GridEntityType)
|
|
475
|
-
local gridEntityTypeIndex = -1
|
|
476
|
-
do
|
|
477
|
-
local y = 0
|
|
478
|
-
while y <= 6 do
|
|
479
|
-
do
|
|
480
|
-
local x = 0
|
|
481
|
-
while x <= 12 do
|
|
482
|
-
gridEntityTypeIndex = gridEntityTypeIndex + 1
|
|
483
|
-
local gridEntityType = gridEntityTypes[gridEntityTypeIndex + 1]
|
|
484
|
-
if gridEntityType == nil then
|
|
485
|
-
return
|
|
486
|
-
end
|
|
487
|
-
local position = gridCoordinatesToWorldPosition(nil, x, y)
|
|
488
|
-
spawnGrid(nil, gridEntityType, position)
|
|
489
|
-
x = x + 1
|
|
490
|
-
end
|
|
491
|
-
end
|
|
492
|
-
y = y + 1
|
|
493
|
-
end
|
|
494
|
-
end
|
|
495
|
-
end
|
|
496
|
-
function ____exports.h(self, params)
|
|
497
|
-
____exports.hearts(nil, params)
|
|
498
|
-
end
|
|
499
|
-
function ____exports.hitboxes(self)
|
|
500
|
-
Isaac.ExecuteCommand("debug 6")
|
|
501
|
-
end
|
|
502
|
-
function ____exports.key(self, params)
|
|
503
|
-
local numKeys = 1
|
|
504
|
-
if params ~= "" then
|
|
505
|
-
local num = tonumber(params)
|
|
506
|
-
if num == nil then
|
|
507
|
-
printConsole(nil, "That is an invalid amount of keys to add.")
|
|
508
|
-
return
|
|
509
|
-
end
|
|
510
|
-
numKeys = num
|
|
511
|
-
end
|
|
512
|
-
local player = Isaac.GetPlayer()
|
|
513
|
-
player:AddKeys(numKeys)
|
|
514
|
-
end
|
|
515
|
-
function ____exports.keys(self, params)
|
|
516
|
-
local numKeys = 99
|
|
517
|
-
if params ~= "" then
|
|
518
|
-
local num = tonumber(params)
|
|
519
|
-
if num == nil then
|
|
520
|
-
printConsole(nil, "That is an invalid amount of keys to add.")
|
|
521
|
-
return
|
|
522
|
-
end
|
|
523
|
-
numKeys = num
|
|
524
|
-
end
|
|
525
|
-
local player = Isaac.GetPlayer()
|
|
526
|
-
player:AddKeys(numKeys)
|
|
527
|
-
end
|
|
528
|
-
function ____exports.left(self, params)
|
|
529
|
-
movePlayer(nil, params, Direction.LEFT)
|
|
530
|
-
end
|
|
531
|
-
function ____exports.library(self)
|
|
532
|
-
warpToRoomType(nil, RoomType.LIBRARY)
|
|
533
|
-
end
|
|
534
|
-
function ____exports.list(self, params)
|
|
535
|
-
listEntities(nil, params, false)
|
|
536
|
-
end
|
|
537
|
-
function ____exports.listAll(self, params)
|
|
538
|
-
listEntities(nil, params, true)
|
|
539
|
-
end
|
|
540
|
-
function ____exports.listGrid(self, params)
|
|
541
|
-
listGridEntities(nil, params, false)
|
|
542
|
-
end
|
|
543
|
-
function ____exports.listGridAll(self, params)
|
|
544
|
-
listGridEntities(nil, params, true)
|
|
545
|
-
end
|
|
546
|
-
function ____exports.lowHP(self)
|
|
547
|
-
____exports.oneHP(nil)
|
|
548
|
-
end
|
|
549
|
-
function ____exports.luck(self)
|
|
550
|
-
Isaac.ExecuteCommand("debug 9")
|
|
551
|
-
end
|
|
552
|
-
function ____exports.map(self)
|
|
553
|
-
local level = game:GetLevel()
|
|
554
|
-
local displayFlags = addFlag(nil, DisplayFlag.VISIBLE, DisplayFlag.SHADOW, DisplayFlag.SHOW_ICON)
|
|
555
|
-
for ____, roomGridIndex in ipairs(irange(nil, MAX_LEVEL_GRID_INDEX)) do
|
|
556
|
-
local roomDesc = level:GetRoomByIdx(roomGridIndex)
|
|
557
|
-
roomDesc.DisplayFlags = displayFlags
|
|
558
|
-
end
|
|
559
|
-
level:UpdateVisibility()
|
|
560
|
-
end
|
|
561
|
-
function ____exports.maxHearts(self, params)
|
|
562
|
-
addHeart(nil, params, HealthType.MAX_HEARTS)
|
|
563
|
-
end
|
|
564
|
-
function ____exports.mh(self, params)
|
|
565
|
-
____exports.maxHearts(nil, params)
|
|
566
|
-
end
|
|
567
|
-
function ____exports.miniboss(self)
|
|
568
|
-
warpToRoomType(nil, RoomType.MINI_BOSS)
|
|
569
|
-
end
|
|
570
|
-
function ____exports.noCurses(self)
|
|
571
|
-
____exports.disableCurses(nil)
|
|
572
|
-
end
|
|
573
|
-
function ____exports.pill(self, params)
|
|
574
|
-
if params == "" then
|
|
575
|
-
printConsole(nil, "You must specify a pill name or number.")
|
|
576
|
-
return
|
|
577
|
-
end
|
|
578
|
-
local pillEffect
|
|
579
|
-
local num = tonumber(params)
|
|
580
|
-
if num == nil then
|
|
581
|
-
local match = getMapPartialMatch(nil, params, PILL_EFFECT_MAP)
|
|
582
|
-
if match == nil then
|
|
583
|
-
printConsole(nil, "Unknown pill effect: " .. params)
|
|
584
|
-
return
|
|
585
|
-
end
|
|
586
|
-
pillEffect = match[2]
|
|
587
|
-
else
|
|
588
|
-
if num < FIRST_PILL_EFFECT or num > LAST_PILL_EFFECT then
|
|
589
|
-
printConsole(
|
|
590
|
-
nil,
|
|
591
|
-
"Invalid pill effect ID: " .. tostring(num)
|
|
592
|
-
)
|
|
593
|
-
return
|
|
594
|
-
end
|
|
595
|
-
pillEffect = num
|
|
596
|
-
end
|
|
597
|
-
local pillEffectName = getPillEffectName(nil, pillEffect)
|
|
598
|
-
Isaac.ExecuteCommand("g p" .. tostring(pillEffect))
|
|
599
|
-
printConsole(
|
|
600
|
-
nil,
|
|
601
|
-
((("Gave pill: " .. pillEffectName) .. " (") .. tostring(pillEffect)) .. ")"
|
|
602
|
-
)
|
|
603
|
-
end
|
|
604
|
-
function ____exports.pills(self)
|
|
605
|
-
local pillColors = __TS__ArrayFilter(
|
|
606
|
-
getEnumValues(nil, PillColor),
|
|
607
|
-
function(____, pillColor) return pillColor ~= PillColor.NULL end
|
|
608
|
-
)
|
|
609
|
-
local pillColorIndex = -1
|
|
610
|
-
do
|
|
611
|
-
local y = 0
|
|
612
|
-
while y <= 6 do
|
|
613
|
-
do
|
|
614
|
-
local x = 0
|
|
615
|
-
while x <= 12 do
|
|
616
|
-
pillColorIndex = pillColorIndex + 1
|
|
617
|
-
local pillColor = pillColors[pillColorIndex + 1]
|
|
618
|
-
if pillColor == nil then
|
|
619
|
-
return
|
|
620
|
-
end
|
|
621
|
-
local position = gridCoordinatesToWorldPosition(nil, x, y)
|
|
622
|
-
spawnPill(nil, pillColor, position)
|
|
623
|
-
x = x + 1
|
|
624
|
-
end
|
|
625
|
-
end
|
|
626
|
-
y = y + 1
|
|
627
|
-
end
|
|
628
|
-
end
|
|
629
|
-
end
|
|
630
|
-
function ____exports.planetarium(self)
|
|
631
|
-
warpToRoomType(nil, RoomType.PLANETARIUM)
|
|
632
|
-
end
|
|
633
|
-
function ____exports.playSound(self, params)
|
|
634
|
-
____exports.sound(nil, params)
|
|
635
|
-
end
|
|
636
|
-
function ____exports.pocket(self, params)
|
|
637
|
-
if params == "" then
|
|
638
|
-
printConsole(nil, "You must supply a collectible type to put as the pocket item.")
|
|
639
|
-
return
|
|
640
|
-
end
|
|
641
|
-
local collectibleType = tonumber(params)
|
|
642
|
-
if collectibleType == nil then
|
|
643
|
-
printConsole(nil, "That is an invalid collectible type.")
|
|
644
|
-
return
|
|
645
|
-
end
|
|
646
|
-
if not isValidCollectibleType(nil, collectibleType) then
|
|
647
|
-
printConsole(nil, "That is an invalid collectible type.")
|
|
648
|
-
return
|
|
649
|
-
end
|
|
650
|
-
local player = Isaac.GetPlayer()
|
|
651
|
-
player:SetPocketActiveItem(collectibleType, ActiveSlot.POCKET)
|
|
652
|
-
end
|
|
653
|
-
function ____exports.poopMana(self, params)
|
|
654
|
-
local charges = 1
|
|
655
|
-
if params ~= "" then
|
|
656
|
-
local num = tonumber(params)
|
|
657
|
-
if num == nil then
|
|
658
|
-
printConsole(nil, "That is an invalid amount of mana to add.")
|
|
659
|
-
return
|
|
660
|
-
end
|
|
661
|
-
charges = num
|
|
662
|
-
end
|
|
663
|
-
local player = Isaac.GetPlayer()
|
|
664
|
-
player:AddPoopMana(charges)
|
|
665
|
-
end
|
|
666
|
-
function ____exports.positionCommand(self)
|
|
667
|
-
____exports.getPosition(nil)
|
|
668
|
-
end
|
|
669
|
-
function ____exports.redHearts(self, params)
|
|
670
|
-
____exports.hearts(nil, params)
|
|
671
|
-
end
|
|
672
|
-
function ____exports.rh(self, params)
|
|
673
|
-
____exports.redHearts(nil, params)
|
|
674
|
-
end
|
|
675
|
-
function ____exports.right(self, params)
|
|
676
|
-
movePlayer(nil, params, Direction.RIGHT)
|
|
677
|
-
end
|
|
678
|
-
function ____exports.roomCommand(self)
|
|
679
|
-
logRoom()
|
|
680
|
-
end
|
|
681
|
-
function ____exports.rottenHearts(self, params)
|
|
682
|
-
addHeart(nil, params, HealthType.ROTTEN)
|
|
683
|
-
end
|
|
684
|
-
function ____exports.s(self, params)
|
|
685
|
-
if params == "" then
|
|
686
|
-
printConsole(nil, "You must specify a stage number.")
|
|
687
|
-
return
|
|
688
|
-
end
|
|
689
|
-
local finalCharacter = string.sub(params, -1)
|
|
690
|
-
local stageString
|
|
691
|
-
local stageTypeLetter
|
|
692
|
-
if finalCharacter == "a" or finalCharacter == "b" or finalCharacter == "c" or finalCharacter == "d" then
|
|
693
|
-
stageString = __TS__StringSlice(params, 0, #params - 1)
|
|
694
|
-
stageTypeLetter = finalCharacter
|
|
695
|
-
else
|
|
696
|
-
stageString = params
|
|
697
|
-
stageTypeLetter = ""
|
|
698
|
-
end
|
|
699
|
-
local stage = tonumber(stageString)
|
|
700
|
-
if stage == nil then
|
|
701
|
-
printConsole(
|
|
702
|
-
nil,
|
|
703
|
-
"That is an invalid stage number: " .. tostring(stage)
|
|
704
|
-
)
|
|
705
|
-
return
|
|
706
|
-
end
|
|
707
|
-
if stage < FIRST_STAGE or stage > LAST_STAGE then
|
|
708
|
-
printConsole(
|
|
709
|
-
nil,
|
|
710
|
-
((("Invalid stage number; must be between " .. tostring(FIRST_STAGE)) .. " and ") .. tostring(LAST_STAGE)) .. "."
|
|
711
|
-
)
|
|
712
|
-
return
|
|
713
|
-
end
|
|
714
|
-
Isaac.ExecuteCommand(("stage " .. tostring(stage)) .. stageTypeLetter)
|
|
715
|
-
end
|
|
716
|
-
function ____exports.sacrifice(self)
|
|
717
|
-
warpToRoomType(nil, RoomType.SACRIFICE)
|
|
718
|
-
end
|
|
719
|
-
function ____exports.secret(self)
|
|
720
|
-
warpToRoomType(nil, RoomType.SECRET)
|
|
721
|
-
end
|
|
722
|
-
function ____exports.seedStick(self)
|
|
723
|
-
local seeds = game:GetSeeds()
|
|
724
|
-
local startSeedString = seeds:GetStartSeedString()
|
|
725
|
-
Isaac.ExecuteCommand("seed " .. startSeedString)
|
|
726
|
-
end
|
|
727
|
-
function ____exports.seedsCommand(self)
|
|
728
|
-
logSeedEffects()
|
|
729
|
-
printConsole(nil, "Logged the seed effects to the \"log.txt\" file.")
|
|
730
|
-
end
|
|
731
|
-
function ____exports.setCharges(self, params)
|
|
732
|
-
if params == "" then
|
|
733
|
-
printConsole(nil, "You must specify a slot number and a charge amount. (Use 0 for the primary slot, 1 for the Schoolbag slot, 2 for the pocket item slot, and 3 for the Dice Bag slot.)")
|
|
734
|
-
return
|
|
735
|
-
end
|
|
736
|
-
local args = __TS__StringSplit(params, " ")
|
|
737
|
-
if #args == 1 then
|
|
738
|
-
printConsole(nil, "You must specify the amount of charge to set.")
|
|
739
|
-
return
|
|
740
|
-
end
|
|
741
|
-
if #args ~= 2 then
|
|
742
|
-
printConsole(nil, "That is an invalid amount of arguments.")
|
|
743
|
-
return
|
|
744
|
-
end
|
|
745
|
-
local activeSlotString, chargeString = table.unpack(args)
|
|
746
|
-
local activeSlot = tonumber(activeSlotString)
|
|
747
|
-
if activeSlot == nil then
|
|
748
|
-
printConsole(
|
|
749
|
-
nil,
|
|
750
|
-
"The provided slot number is invalid: " .. tostring(activeSlotString)
|
|
751
|
-
)
|
|
752
|
-
return
|
|
753
|
-
end
|
|
754
|
-
local activeSlots = getEnumValues(nil, ActiveSlot)
|
|
755
|
-
if not __TS__ArrayIncludes(activeSlots, activeSlot) then
|
|
756
|
-
printConsole(
|
|
757
|
-
nil,
|
|
758
|
-
"The provided slot number is invalid: " .. tostring(activeSlot)
|
|
759
|
-
)
|
|
760
|
-
return
|
|
761
|
-
end
|
|
762
|
-
local chargeNum = tonumber(chargeString)
|
|
763
|
-
if chargeNum == nil then
|
|
764
|
-
printConsole(
|
|
765
|
-
nil,
|
|
766
|
-
"The provided charge amount is invalid: " .. tostring(chargeString)
|
|
767
|
-
)
|
|
768
|
-
return
|
|
769
|
-
end
|
|
770
|
-
if chargeNum < 0 then
|
|
771
|
-
printConsole(
|
|
772
|
-
nil,
|
|
773
|
-
"The provided charge amount is invalid: " .. tostring(chargeNum)
|
|
774
|
-
)
|
|
775
|
-
return
|
|
776
|
-
end
|
|
777
|
-
local player = Isaac.GetPlayer()
|
|
778
|
-
player:SetActiveCharge(chargeNum, activeSlot)
|
|
779
|
-
end
|
|
780
|
-
function ____exports.setPosition(self, params)
|
|
781
|
-
if params == "" then
|
|
782
|
-
printConsole(nil, "You must specify a position. (e.g. \"setposition 100 50\")")
|
|
783
|
-
return
|
|
784
|
-
end
|
|
785
|
-
local args = __TS__StringSplit(params, " ")
|
|
786
|
-
if #args ~= 2 then
|
|
787
|
-
printConsole(nil, "You must specify a position. (e.g. \"setposition 100 50\")")
|
|
788
|
-
return
|
|
789
|
-
end
|
|
790
|
-
local xString, yString = table.unpack(args)
|
|
791
|
-
local x = tonumber(xString)
|
|
792
|
-
if x == nil then
|
|
793
|
-
printConsole(
|
|
794
|
-
nil,
|
|
795
|
-
"That is an invalid x value: " .. tostring(xString)
|
|
796
|
-
)
|
|
797
|
-
return
|
|
798
|
-
end
|
|
799
|
-
local y = tonumber(yString)
|
|
800
|
-
if y == nil then
|
|
801
|
-
printConsole(
|
|
802
|
-
nil,
|
|
803
|
-
"That is an invalid y value: " .. tostring(yString)
|
|
804
|
-
)
|
|
805
|
-
return
|
|
806
|
-
end
|
|
807
|
-
local player = Isaac.GetPlayer()
|
|
808
|
-
local position = Vector(x, y)
|
|
809
|
-
player.Position = position
|
|
810
|
-
end
|
|
811
|
-
function ____exports.sh(self, params)
|
|
812
|
-
____exports.soulHearts(nil, params)
|
|
813
|
-
end
|
|
814
|
-
function ____exports.shop(self)
|
|
815
|
-
warpToRoomType(nil, RoomType.SHOP)
|
|
816
|
-
end
|
|
817
|
-
function ____exports.smelt(self)
|
|
818
|
-
local player = Isaac.GetPlayer()
|
|
819
|
-
useActiveItemTemp(nil, player, CollectibleType.SMELTER)
|
|
820
|
-
end
|
|
821
|
-
function ____exports.soulCharges(self, params)
|
|
822
|
-
local charges = 1
|
|
823
|
-
if params ~= "" then
|
|
824
|
-
local num = tonumber(params)
|
|
825
|
-
if num == nil then
|
|
826
|
-
printConsole(nil, "That is an invalid amount of charges to add.")
|
|
827
|
-
return
|
|
828
|
-
end
|
|
829
|
-
charges = num
|
|
830
|
-
end
|
|
831
|
-
local player = Isaac.GetPlayer()
|
|
832
|
-
player:AddSoulCharge(charges)
|
|
833
|
-
end
|
|
834
|
-
function ____exports.sounds(self)
|
|
835
|
-
logSounds()
|
|
836
|
-
printConsole(nil, "Logged the currently playing sound effects to the \"log.txt\" file.")
|
|
837
|
-
end
|
|
838
|
-
function ____exports.spam(self)
|
|
839
|
-
v.run.spamBloodRights = not v.run.spamBloodRights
|
|
840
|
-
printEnabled(nil, v.run.maxSpeed, "spamming Blood Rights")
|
|
841
|
-
end
|
|
842
|
-
function ____exports.spawnGoldenTrinket(self, params)
|
|
843
|
-
if params == "" then
|
|
844
|
-
printConsole(nil, "You must specify the number corresponding to the trinket type.")
|
|
845
|
-
return
|
|
846
|
-
end
|
|
847
|
-
local trinketType = tonumber(params)
|
|
848
|
-
if trinketType == nil then
|
|
849
|
-
printConsole(nil, "That is an invalid trinket type: " .. params)
|
|
850
|
-
return
|
|
851
|
-
end
|
|
852
|
-
local goldenTrinketType = getGoldenTrinketType(nil, trinketType)
|
|
853
|
-
local room = game:GetRoom()
|
|
854
|
-
local centerPos = room:GetCenterPos()
|
|
855
|
-
spawnTrinket(nil, goldenTrinketType, centerPos)
|
|
856
|
-
end
|
|
857
|
-
function ____exports.speed(self)
|
|
858
|
-
local player = Isaac.GetPlayer()
|
|
859
|
-
v.run.maxSpeed = not v.run.maxSpeed
|
|
860
|
-
if v.run.maxSpeed and not player.CanFly then
|
|
861
|
-
local numEternalHearts = player:GetEternalHearts()
|
|
862
|
-
if numEternalHearts == 0 then
|
|
863
|
-
player:AddCollectible(CollectibleType.FATE)
|
|
864
|
-
player:AddEternalHearts(-1)
|
|
865
|
-
else
|
|
866
|
-
player:AddEternalHearts(-1)
|
|
867
|
-
player:AddCollectible(CollectibleType.FATE)
|
|
868
|
-
end
|
|
869
|
-
end
|
|
870
|
-
player:AddCacheFlags(CacheFlag.SPEED)
|
|
871
|
-
player:EvaluateItems()
|
|
872
|
-
printEnabled(nil, v.run.maxSpeed, "max speed")
|
|
873
|
-
end
|
|
874
|
-
function ____exports.superSecret(self)
|
|
875
|
-
warpToRoomType(nil, RoomType.SUPER_SECRET)
|
|
876
|
-
end
|
|
877
|
-
function ____exports.tears(self)
|
|
878
|
-
v.run.maxTears = not v.run.maxTears
|
|
879
|
-
local player = Isaac.GetPlayer()
|
|
880
|
-
player:AddCacheFlags(CacheFlag.FIRE_DELAY)
|
|
881
|
-
player:EvaluateItems()
|
|
882
|
-
printEnabled(nil, v.run.maxDamage, "debug tear-rate")
|
|
883
|
-
end
|
|
884
|
-
function ____exports.trapdoorCommand(self)
|
|
885
|
-
spawnTrapdoorOrCrawlspace(nil, true)
|
|
886
|
-
end
|
|
887
|
-
function ____exports.treasure(self)
|
|
888
|
-
warpToRoomType(nil, RoomType.TREASURE)
|
|
889
|
-
end
|
|
890
|
-
function ____exports.ultraSecret(self)
|
|
891
|
-
warpToRoomType(nil, RoomType.ULTRA_SECRET)
|
|
892
|
-
end
|
|
893
|
-
function ____exports.up(self, params)
|
|
894
|
-
movePlayer(nil, params, Direction.UP)
|
|
895
|
-
end
|
|
896
|
-
function ____exports.warp(self, params)
|
|
897
|
-
if params == "" then
|
|
898
|
-
printConsole(nil, "You must specify a room type name or number.")
|
|
899
|
-
return
|
|
900
|
-
end
|
|
901
|
-
local roomType
|
|
902
|
-
local num = tonumber(params)
|
|
903
|
-
if num == nil then
|
|
904
|
-
local match = getMapPartialMatch(nil, params, ROOM_TYPE_MAP)
|
|
905
|
-
if match == nil then
|
|
906
|
-
printConsole(nil, "Unknown room type: " .. params)
|
|
907
|
-
return
|
|
908
|
-
end
|
|
909
|
-
roomType = match[2]
|
|
910
|
-
else
|
|
911
|
-
if num < FIRST_ROOM_TYPE or num > LAST_ROOM_TYPE then
|
|
912
|
-
printConsole(
|
|
913
|
-
nil,
|
|
914
|
-
"Invalid room type: " .. tostring(num)
|
|
915
|
-
)
|
|
916
|
-
return
|
|
917
|
-
end
|
|
918
|
-
roomType = num
|
|
919
|
-
end
|
|
920
|
-
warpToRoomType(nil, roomType)
|
|
921
|
-
end
|
|
922
|
-
return ____exports
|