isaacscript-common 1.2.292 → 2.0.2
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 +2 -2
- package/dist/cachedClasses.d.ts +1 -1
- package/dist/cachedClasses.lua +0 -1
- package/dist/callbacks/customRevive.lua +13 -8
- package/dist/callbacks/itemPickup.lua +3 -1
- package/dist/callbacks/postBombInitLate.lua +3 -1
- package/dist/callbacks/postBoneSwing.lua +5 -2
- package/dist/callbacks/postCollectibleInitFirst.lua +4 -1
- package/dist/callbacks/postCursedTeleport.lua +16 -8
- package/dist/callbacks/postCustomDoorEnter.d.ts +1 -1
- package/dist/callbacks/postCustomDoorEnter.lua +16 -10
- package/dist/callbacks/postEffectInitLate.lua +3 -1
- package/dist/callbacks/postEffectStateChanged.lua +3 -1
- package/dist/callbacks/postEsauJr.lua +5 -2
- package/dist/callbacks/postFamiliarInitLate.lua +3 -1
- package/dist/callbacks/postFamiliarStateChanged.lua +3 -1
- package/dist/callbacks/postFlip.lua +9 -5
- package/dist/callbacks/postGreedModeWave.d.ts +1 -0
- package/dist/callbacks/postGreedModeWave.lua +32 -0
- package/dist/callbacks/postGreedWave.d.ts +1 -0
- package/dist/callbacks/postGreedWave.lua +31 -0
- package/dist/callbacks/postGridEntity.lua +4 -2
- package/dist/callbacks/postGridEntityCollision.lua +5 -2
- package/dist/callbacks/postHolyMantleRemoved.lua +3 -1
- package/dist/callbacks/postItemDischarged.lua +10 -5
- package/dist/callbacks/postKnifeInitLate.lua +3 -1
- package/dist/callbacks/postLaserInitLate.lua +3 -1
- package/dist/callbacks/postNPCInitLate.lua +3 -1
- package/dist/callbacks/postNPCStateChanged.lua +3 -1
- package/dist/callbacks/postNewRoomEarly.lua +7 -5
- package/dist/callbacks/postPickupCollect.lua +3 -1
- package/dist/callbacks/postPickupInitLate.lua +3 -1
- package/dist/callbacks/postPickupStateChanged.lua +3 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +2 -2
- package/dist/callbacks/postPlayerFatalDamage.lua +4 -1
- package/dist/callbacks/postPlayerInitLate.lua +3 -1
- package/dist/callbacks/postPlayerReordered.lua +7 -6
- package/dist/callbacks/postProjectileInitLate.lua +3 -1
- package/dist/callbacks/postRoomClearChanged.lua +4 -3
- package/dist/callbacks/postSacrifice.lua +8 -4
- package/dist/callbacks/postSlotInitUpdate.lua +4 -2
- package/dist/callbacks/postSlotRender.lua +3 -1
- package/dist/callbacks/postTearInitLate.lua +3 -1
- package/dist/callbacks/postTearInitVeryLate.lua +3 -1
- package/dist/callbacks/postTransformation.lua +7 -12
- package/dist/callbacks/postTrinketBreak.lua +8 -3
- package/dist/callbacks/preBerserkDeath.lua +3 -2
- package/dist/callbacks/preNewLevel.lua +5 -3
- package/dist/callbacks/reorderedCallbacks.lua +7 -5
- package/dist/callbacks/subscriptions/postBombInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postBombInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postBoneSwing.d.ts +3 -1
- package/dist/callbacks/subscriptions/postBoneSwing.lua +3 -3
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +5 -2
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +3 -3
- package/dist/callbacks/subscriptions/postCursedTeleport.d.ts +3 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +3 -3
- package/dist/callbacks/subscriptions/postCustomDoorEnter.d.ts +5 -2
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +3 -3
- package/dist/callbacks/subscriptions/postCustomRevive.d.ts +4 -1
- package/dist/callbacks/subscriptions/postCustomRevive.lua +3 -3
- package/dist/callbacks/subscriptions/postEffectInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postEffectStateChanged.d.ts +5 -2
- package/dist/callbacks/subscriptions/postEffectStateChanged.lua +3 -3
- package/dist/callbacks/subscriptions/postEsauJr.d.ts +3 -1
- package/dist/callbacks/subscriptions/postEsauJr.lua +3 -3
- package/dist/callbacks/subscriptions/postFamiliarInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.d.ts +5 -2
- package/dist/callbacks/subscriptions/postFamiliarStateChanged.lua +3 -3
- package/dist/callbacks/subscriptions/postFirstEsauJr.d.ts +3 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +3 -3
- package/dist/callbacks/subscriptions/postFirstFlip.d.ts +3 -1
- package/dist/callbacks/subscriptions/postFirstFlip.lua +3 -3
- package/dist/callbacks/subscriptions/postFlip.d.ts +3 -1
- package/dist/callbacks/subscriptions/postFlip.lua +3 -3
- package/dist/callbacks/subscriptions/postGameStartedReordered.d.ts +3 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postGreedModeWave.d.ts +4 -0
- package/dist/callbacks/subscriptions/postGreedModeWave.lua +16 -0
- package/dist/callbacks/subscriptions/postGreedWave.d.ts +2 -0
- package/dist/callbacks/subscriptions/postGreedWave.lua +16 -0
- package/dist/callbacks/subscriptions/postGridEntityBroken.d.ts +5 -2
- package/dist/callbacks/subscriptions/postGridEntityBroken.lua +3 -3
- package/dist/callbacks/subscriptions/postGridEntityCollision.d.ts +5 -2
- package/dist/callbacks/subscriptions/postGridEntityCollision.lua +3 -3
- package/dist/callbacks/subscriptions/postGridEntityInit.d.ts +5 -2
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +3 -3
- package/dist/callbacks/subscriptions/postGridEntityRemove.d.ts +5 -2
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +3 -3
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.d.ts +5 -2
- package/dist/callbacks/subscriptions/postGridEntityStateChanged.lua +3 -3
- package/dist/callbacks/subscriptions/postGridEntityUpdate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.d.ts +6 -2
- package/dist/callbacks/subscriptions/postHolyMantleRemoved.lua +16 -4
- package/dist/callbacks/subscriptions/postItemDischarged.d.ts +5 -2
- package/dist/callbacks/subscriptions/postItemDischarged.lua +3 -3
- package/dist/callbacks/subscriptions/postItemPickup.d.ts +6 -2
- package/dist/callbacks/subscriptions/postItemPickup.lua +3 -3
- package/dist/callbacks/subscriptions/postKnifeInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postLaserInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postNPCInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postNPCStateChanged.d.ts +6 -2
- package/dist/callbacks/subscriptions/postNPCStateChanged.lua +3 -3
- package/dist/callbacks/subscriptions/postNewLevelReordered.d.ts +1 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +1 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +3 -3
- package/dist/callbacks/subscriptions/postNewRoomReordered.d.ts +1 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +6 -2
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +8 -4
- package/dist/callbacks/subscriptions/postPickupCollect.d.ts +5 -2
- package/dist/callbacks/subscriptions/postPickupCollect.lua +3 -3
- package/dist/callbacks/subscriptions/postPickupInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postPickupStateChanged.d.ts +5 -2
- package/dist/callbacks/subscriptions/postPickupStateChanged.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.d.ts +5 -2
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerChangeType.d.ts +4 -2
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.d.ts +5 -2
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerInitReordered.d.ts +5 -2
- package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.d.ts +5 -2
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.d.ts +5 -2
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +3 -3
- package/dist/callbacks/subscriptions/postProjectileInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postPurchase.d.ts +6 -2
- package/dist/callbacks/subscriptions/postPurchase.lua +3 -3
- package/dist/callbacks/subscriptions/postRoomClearChanged.d.ts +3 -1
- package/dist/callbacks/subscriptions/postRoomClearChanged.lua +3 -3
- package/dist/callbacks/subscriptions/postSacrifice.d.ts +3 -1
- package/dist/callbacks/subscriptions/postSacrifice.lua +3 -3
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.d.ts +5 -2
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +3 -3
- package/dist/callbacks/subscriptions/postSlotDestroyed.d.ts +5 -2
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +3 -3
- package/dist/callbacks/subscriptions/postSlotInit.d.ts +5 -2
- package/dist/callbacks/subscriptions/postSlotInit.lua +3 -3
- package/dist/callbacks/subscriptions/postSlotRender.d.ts +5 -2
- package/dist/callbacks/subscriptions/postSlotRender.lua +3 -3
- package/dist/callbacks/subscriptions/postSlotUpdate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +3 -3
- package/dist/callbacks/subscriptions/postTearInitLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postTearInitLate.lua +3 -3
- package/dist/callbacks/subscriptions/postTearInitVeryLate.d.ts +5 -2
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +3 -3
- package/dist/callbacks/subscriptions/postTransformation.d.ts +5 -2
- package/dist/callbacks/subscriptions/postTransformation.lua +3 -3
- package/dist/callbacks/subscriptions/postTrinketBreak.d.ts +5 -2
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +3 -3
- package/dist/callbacks/subscriptions/preBerserkDeath.d.ts +5 -2
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +3 -3
- package/dist/callbacks/subscriptions/preCustomRevive.d.ts +3 -1
- package/dist/callbacks/subscriptions/preCustomRevive.lua +3 -3
- package/dist/callbacks/subscriptions/preItemPickup.d.ts +6 -2
- package/dist/callbacks/subscriptions/preItemPickup.lua +3 -3
- package/dist/callbacks/subscriptions/preNewLevel.d.ts +3 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +3 -3
- package/dist/classes/ModUpgraded.d.ts +5 -5
- package/dist/constants.d.ts +9 -43
- package/dist/constants.lua +16 -13
- package/dist/constantsMax.d.ts +16 -0
- package/dist/constantsMax.lua +27 -0
- package/dist/enums/CardType.lua +1 -1
- package/dist/enums/CollectiblePedestalType.lua +1 -1
- package/dist/enums/HealthType.d.ts +3 -3
- package/dist/enums/HealthType.lua +1 -2
- package/dist/enums/ModCallbacksCustom.d.ts +56 -48
- package/dist/enums/ModCallbacksCustom.lua +47 -46
- package/dist/enums/PillEffectClass.lua +1 -1
- package/dist/enums/PillEffectType.lua +1 -1
- package/dist/enums/PocketItemType.lua +1 -2
- package/dist/enums/SerializationType.lua +1 -2
- package/dist/enums/private/CopyableIsaacAPIClassType.d.ts +1 -1
- package/dist/enums/private/CopyableIsaacAPIClassType.lua +2 -3
- package/dist/enums/private/SaveDataKeys.d.ts +4 -4
- package/dist/enums/private/SaveDataKeys.lua +5 -6
- package/dist/enums/private/SerializationBrand.d.ts +3 -4
- package/dist/enums/private/SerializationBrand.lua +2 -15
- package/dist/features/characterHealthConversion.d.ts +2 -2
- package/dist/features/characterHealthConversion.lua +8 -4
- package/dist/features/characterStats.d.ts +4 -4
- package/dist/features/characterStats.lua +3 -1
- package/dist/features/debugDisplay.lua +12 -11
- package/dist/features/deployJSONRoom.d.ts +3 -3
- package/dist/features/deployJSONRoom.lua +35 -21
- package/dist/features/disableInputs.d.ts +1 -1
- package/dist/features/disableInputs.lua +6 -3
- package/dist/features/disableSound.lua +3 -1
- package/dist/features/extraConsoleCommands/commands.d.ts +5 -3
- package/dist/features/extraConsoleCommands/commands.lua +96 -56
- package/dist/features/extraConsoleCommands/commandsDisplay.lua +0 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.d.ts +1 -1
- package/dist/features/extraConsoleCommands/commandsSubroutines.lua +13 -10
- package/dist/features/extraConsoleCommands/init.lua +17 -9
- package/dist/features/extraConsoleCommands/v.lua +0 -1
- package/dist/features/fadeInRemover.lua +3 -2
- package/dist/features/fastReset.lua +7 -5
- package/dist/features/forgottenSwitch.lua +6 -3
- package/dist/features/getCollectibleItemPoolType.d.ts +1 -1
- package/dist/features/getCollectibleItemPoolType.lua +6 -2
- package/dist/features/isPonyActive.lua +5 -2
- package/dist/features/playerInventory.d.ts +1 -1
- package/dist/features/playerInventory.lua +7 -3
- package/dist/features/preventCollectibleRotate.d.ts +1 -1
- package/dist/features/preventCollectibleRotate.lua +9 -4
- package/dist/features/runInNFrames.lua +4 -2
- package/dist/features/saveDataManager/constants.lua +0 -1
- package/dist/features/saveDataManager/exports.d.ts +9 -8
- package/dist/features/saveDataManager/main.lua +11 -9
- package/dist/features/saveDataManager/maps.d.ts +5 -0
- package/dist/features/saveDataManager/merge.d.ts +1 -1
- package/dist/features/saveDataManager/merge.lua +2 -1
- package/dist/features/saveDataManager/serializationBrand.d.ts +1 -0
- package/dist/features/saveDataManager/serializationBrand.lua +17 -0
- package/dist/features/sirenHelpers.d.ts +1 -1
- package/dist/features/sirenHelpers.lua +5 -2
- package/dist/features/taintedLazarusPlayers.lua +6 -3
- package/dist/featuresInitialized.lua +0 -1
- package/dist/functions/array.d.ts +18 -2
- package/dist/functions/array.lua +29 -3
- package/dist/functions/bitwise.lua +0 -1
- package/dist/functions/boss.d.ts +1 -1
- package/dist/functions/boss.lua +12 -9
- package/dist/functions/cacheFlag.d.ts +2 -2
- package/dist/functions/cacheFlag.lua +0 -1
- package/dist/functions/cards.d.ts +9 -17
- package/dist/functions/cards.lua +22 -23
- package/dist/functions/challenges.d.ts +1 -1
- package/dist/functions/challenges.lua +0 -1
- package/dist/functions/character.d.ts +6 -4
- package/dist/functions/character.lua +16 -7
- package/dist/functions/charge.d.ts +1 -1
- package/dist/functions/charge.lua +14 -9
- package/dist/functions/chargeBar.lua +0 -1
- package/dist/functions/collectibleCacheFlag.d.ts +4 -4
- package/dist/functions/collectibleCacheFlag.lua +8 -5
- package/dist/functions/collectibleSet.d.ts +1 -1
- package/dist/functions/collectibleSet.lua +4 -5
- package/dist/functions/collectibleTag.d.ts +1 -2
- package/dist/functions/collectibleTag.lua +12 -10
- package/dist/functions/collectibles.d.ts +21 -28
- package/dist/functions/collectibles.lua +29 -26
- package/dist/functions/color.lua +9 -1
- package/dist/functions/debug.d.ts +12 -0
- package/dist/functions/debug.lua +3 -1
- package/dist/functions/deepCopy.d.ts +1 -1
- package/dist/functions/deepCopy.lua +4 -2
- package/dist/functions/direction.d.ts +4 -0
- package/dist/functions/direction.lua +17 -0
- package/dist/functions/doors.d.ts +12 -16
- package/dist/functions/doors.lua +34 -26
- package/dist/functions/easing.lua +0 -1
- package/dist/functions/entity.d.ts +4 -5
- package/dist/functions/entity.lua +4 -12
- package/dist/functions/entitySpecific.d.ts +35 -33
- package/dist/functions/entitySpecific.lua +20 -19
- package/dist/functions/enums.d.ts +70 -0
- package/dist/functions/enums.lua +71 -0
- package/dist/functions/familiars.d.ts +2 -2
- package/dist/functions/familiars.lua +0 -1
- package/dist/functions/flag.d.ts +42 -10
- package/dist/functions/flag.lua +31 -13
- package/dist/functions/flying.d.ts +2 -2
- package/dist/functions/flying.lua +20 -14
- package/dist/functions/globals.lua +5 -2
- package/dist/functions/gridEntity.d.ts +18 -16
- package/dist/functions/gridEntity.lua +39 -26
- package/dist/functions/input.d.ts +14 -3
- package/dist/functions/input.lua +39 -78
- package/dist/functions/jsonHelpers.d.ts +9 -7
- package/dist/functions/jsonHelpers.lua +0 -1
- package/dist/functions/kColor.lua +14 -3
- package/dist/functions/language.lua +9 -8
- package/dist/functions/log.d.ts +21 -15
- package/dist/functions/log.lua +61 -36
- package/dist/functions/math.d.ts +19 -8
- package/dist/functions/math.lua +33 -22
- package/dist/functions/mergeTests.lua +0 -1
- package/dist/functions/npc.d.ts +1 -1
- package/dist/functions/npc.lua +32 -16
- package/dist/functions/pickups.d.ts +10 -26
- package/dist/functions/pickups.lua +31 -29
- package/dist/functions/pills.d.ts +14 -13
- package/dist/functions/pills.lua +9 -3
- package/dist/functions/player.d.ts +11 -11
- package/dist/functions/player.lua +79 -66
- package/dist/functions/playerHealth.lua +19 -16
- package/dist/functions/playerIndex.d.ts +3 -3
- package/dist/functions/playerIndex.lua +9 -6
- package/dist/functions/pocketItems.d.ts +1 -1
- package/dist/functions/pocketItems.lua +21 -12
- package/dist/functions/positionVelocity.lua +4 -1
- package/dist/functions/random.d.ts +2 -3
- package/dist/functions/random.lua +0 -1
- package/dist/functions/revive.lua +18 -13
- package/dist/functions/roomData.d.ts +2 -2
- package/dist/functions/roomData.lua +11 -13
- package/dist/functions/roomGrid.d.ts +2 -2
- package/dist/functions/roomGrid.lua +0 -1
- package/dist/functions/roomShape.d.ts +2 -2
- package/dist/functions/rooms.d.ts +19 -14
- package/dist/functions/rooms.lua +42 -22
- package/dist/functions/run.d.ts +1 -1
- package/dist/functions/run.lua +3 -2
- package/dist/functions/seeds.d.ts +7 -0
- package/dist/functions/seeds.lua +7 -1
- package/dist/functions/sound.lua +4 -3
- package/dist/functions/spawnCollectible.d.ts +5 -5
- package/dist/functions/spawnCollectible.lua +7 -4
- package/dist/functions/sprite.d.ts +1 -1
- package/dist/functions/sprite.lua +3 -4
- package/dist/functions/stage.d.ts +4 -4
- package/dist/functions/stage.lua +3 -2
- package/dist/functions/string.d.ts +8 -1
- package/dist/functions/string.lua +10 -2
- package/dist/functions/tears.d.ts +4 -4
- package/dist/functions/tears.lua +0 -1
- package/dist/functions/transformations.d.ts +5 -3
- package/dist/functions/transformations.lua +31 -20
- package/dist/functions/trinketCacheFlag.d.ts +1 -1
- package/dist/functions/trinketCacheFlag.lua +8 -6
- package/dist/functions/trinketGive.d.ts +14 -3
- package/dist/functions/trinketGive.lua +46 -28
- package/dist/functions/trinketSet.d.ts +1 -1
- package/dist/functions/trinketSet.lua +4 -5
- package/dist/functions/trinkets.d.ts +8 -17
- package/dist/functions/trinkets.lua +17 -34
- package/dist/functions/ui.lua +7 -5
- package/dist/functions/utils.d.ts +1 -61
- package/dist/functions/utils.lua +3 -50
- package/dist/functions/vector.d.ts +1 -2
- package/dist/functions/vector.lua +8 -6
- package/dist/index.d.ts +4 -6
- package/dist/index.lua +17 -34
- package/dist/initCustomCallbacks.lua +3 -1
- package/dist/initFeatures.lua +0 -1
- package/dist/lualib_bundle.lua +14 -1
- package/dist/maps/cardMap.d.ts +1 -1
- package/dist/maps/characterMap.d.ts +1 -1
- package/dist/maps/collectibleDescriptionMap.d.ts +1 -1
- package/dist/maps/collectibleNameMap.d.ts +1 -1
- package/dist/maps/defaultPlayerStatMap.d.ts +1 -1
- package/dist/maps/defaultPlayerStatMap.lua +8 -6
- package/dist/maps/gridEntityTypeToBrokenStateMap.d.ts +1 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.lua +19 -12
- package/dist/maps/gridEntityXMLMap.d.ts +1 -1
- package/dist/maps/gridEntityXMLMap.lua +44 -34
- package/dist/maps/pillEffectMap.d.ts +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +1 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +7 -5
- package/dist/maps/roomTypeMap.d.ts +1 -1
- package/dist/maps/roomTypeMap.lua +37 -35
- package/dist/maps/trinketDescriptionMap.d.ts +1 -1
- package/dist/maps/trinketNameMap.d.ts +1 -1
- package/dist/objects/LRoomShapeToRectangles.d.ts +1 -1
- package/dist/objects/LRoomShapeToRectangles.lua +6 -5
- package/dist/objects/callbackRegisterFunctions.d.ts +2 -2
- package/dist/objects/callbackRegisterFunctions.lua +3 -1
- package/dist/objects/cardDescriptions.d.ts +1 -1
- package/dist/objects/cardDescriptions.lua +89 -90
- package/dist/objects/cardNames.d.ts +1 -1
- package/dist/objects/cardNames.lua +89 -90
- package/dist/objects/cardTypes.d.ts +3 -4
- package/dist/objects/cardTypes.lua +102 -104
- package/dist/objects/challengeNames.d.ts +1 -1
- package/dist/objects/challengeNames.lua +48 -48
- package/dist/objects/characterNames.d.ts +1 -1
- package/dist/objects/characterNames.lua +44 -44
- package/dist/objects/coinSubTypeToValue.d.ts +1 -1
- package/dist/objects/coinSubTypeToValue.lua +10 -8
- package/dist/objects/colors.lua +0 -1
- package/dist/objects/directionNames.d.ts +1 -1
- package/dist/objects/directionNames.lua +2 -1
- package/dist/objects/directionToDegrees.d.ts +1 -1
- package/dist/objects/directionToDegrees.lua +2 -1
- package/dist/objects/directionToVector.d.ts +1 -1
- package/dist/objects/directionToVector.lua +2 -1
- package/dist/objects/doorSlotFlagToDoorSlot.d.ts +5 -0
- package/dist/objects/doorSlotFlagToDoorSlot.lua +16 -0
- package/dist/objects/doorSlotToDirection.d.ts +1 -1
- package/dist/objects/doorSlotToDirection.lua +11 -10
- package/dist/objects/isaacAPIClassTypeToBrand.lua +1 -2
- package/dist/objects/isaacAPIClassTypeToCopyFunction.lua +1 -2
- package/dist/objects/pillEffectClasses.d.ts +3 -4
- package/dist/objects/pillEffectClasses.lua +55 -57
- package/dist/objects/pillEffectNames.d.ts +1 -1
- package/dist/objects/pillEffectNames.lua +52 -53
- package/dist/objects/pillEffectTypes.d.ts +3 -4
- package/dist/objects/pillEffectTypes.lua +54 -56
- package/dist/objects/roomShapeBounds.d.ts +1 -1
- package/dist/objects/roomShapeBounds.lua +14 -16
- package/dist/objects/roomShapeLayoutSizes.d.ts +1 -1
- package/dist/objects/roomShapeLayoutSizes.lua +14 -14
- package/dist/objects/roomShapeToBottomRightPosition.d.ts +1 -1
- package/dist/objects/roomShapeToBottomRightPosition.lua +14 -16
- package/dist/objects/roomShapeToDoorSlots.d.ts +1 -1
- package/dist/objects/roomShapeToDoorSlots.lua +35 -33
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.d.ts +2 -2
- package/dist/objects/roomShapeToDoorSlotsToGridIndexDelta.lua +68 -66
- package/dist/objects/roomShapeToGridWidth.d.ts +1 -1
- package/dist/objects/roomShapeToGridWidth.lua +14 -14
- package/dist/objects/roomShapeToTopLeftPosition.d.ts +1 -1
- package/dist/objects/roomShapeToTopLeftPosition.lua +14 -14
- package/dist/objects/roomShapeVolumes.d.ts +1 -1
- package/dist/objects/roomShapeVolumes.lua +14 -14
- package/dist/objects/roomTypeNames.d.ts +1 -1
- package/dist/objects/roomTypeNames.lua +32 -32
- package/dist/objects/serializedIsaacAPIClassTypeToIdentityFunction.lua +1 -2
- package/dist/objects/stageTypeToLetter.d.ts +1 -1
- package/dist/objects/stageTypeToLetter.lua +8 -7
- package/dist/objects/transformationNames.d.ts +1 -1
- package/dist/objects/transformationNames.lua +16 -17
- package/dist/patchErrorFunctions.lua +1 -2
- package/dist/sets/LRoomShapesSet.d.ts +1 -1
- package/dist/sets/LRoomShapesSet.lua +3 -1
- package/dist/sets/bossSets.lua +241 -211
- package/dist/sets/charactersThatStartWithAnActiveItemSet.d.ts +1 -1
- package/dist/sets/charactersThatStartWithAnActiveItemSet.lua +13 -11
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.d.ts +1 -1
- package/dist/sets/charactersWithBlackHeartFromEternalHeartSet.lua +3 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.d.ts +1 -1
- package/dist/sets/charactersWithFreeDevilDealsSet.lua +3 -1
- package/dist/sets/charactersWithNoRedHeartsSet.d.ts +1 -1
- package/dist/sets/charactersWithNoRedHeartsSet.lua +10 -8
- package/dist/sets/charactersWithNoSoulHeartsSet.d.ts +1 -1
- package/dist/sets/charactersWithNoSoulHeartsSet.lua +7 -5
- package/dist/sets/chestPickupVariantsSet.d.ts +1 -1
- package/dist/sets/chestPickupVariantsSet.lua +14 -12
- package/dist/sets/familiarsThatShootPlayerTearsSet.d.ts +1 -1
- package/dist/sets/familiarsThatShootPlayerTearsSet.lua +2 -0
- package/dist/sets/lostStyleCharactersSet.d.ts +1 -1
- package/dist/sets/lostStyleCharactersSet.lua +7 -5
- package/dist/sets/redHeartSubTypesSet.d.ts +1 -1
- package/dist/sets/redHeartSubTypesSet.lua +3 -1
- package/dist/sets/sinEntityTypesSet.d.ts +1 -1
- package/dist/sets/sinEntityTypesSet.lua +9 -7
- package/dist/sets/singleUseActiveCollectibleTypesSet.d.ts +1 -1
- package/dist/sets/singleUseActiveCollectibleTypesSet.lua +10 -8
- package/dist/sets/storyBossesSet.d.ts +1 -1
- package/dist/sets/storyBossesSet.lua +15 -13
- package/dist/types/AddCallbackParameterCustom.d.ts +123 -0
- package/dist/types/AddCallbackParameterCustom.lua +4 -0
- package/dist/types/AddCallbackParametersCustom.d.ts +120 -277
- package/dist/types/AnyEntity.lua +0 -1
- package/dist/types/CollectibleIndex.lua +0 -1
- package/dist/types/EntityTypeNonNPC.lua +0 -1
- package/dist/types/JSONDoor.lua +0 -1
- package/dist/types/JSONEntity.lua +0 -1
- package/dist/types/JSONRoom.lua +0 -1
- package/dist/types/JSONRooms.lua +0 -1
- package/dist/types/JSONSpawn.lua +0 -1
- package/dist/types/PickingUpItem.d.ts +1 -1
- package/dist/types/PickingUpItem.lua +5 -3
- package/dist/types/PlayerHealth.d.ts +1 -1
- package/dist/types/PlayerHealth.lua +0 -1
- package/dist/types/PlayerIndex.lua +0 -1
- package/dist/types/PocketItemDescription.d.ts +1 -1
- package/dist/types/PocketItemDescription.lua +0 -1
- package/dist/types/Primitive.lua +0 -1
- package/dist/types/TrinketSituation.d.ts +1 -1
- package/dist/types/TrinketSituation.lua +0 -1
- package/dist/types/private/IsaacAPIClass.lua +0 -1
- package/dist/types/private/SaveData.lua +0 -1
- package/dist/types/private/SerializedIsaacAPIClass.lua +0 -1
- package/dist/types/private/TSTLClass.lua +0 -1
- package/dist/types/private/TSTLClassMetatable.lua +0 -1
- package/dist/upgradeMod.d.ts +1 -1
- package/package.json +9 -8
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type
|
|
1
|
+
import { TearVariant } from "isaac-typescript-definitions";
|
|
2
|
+
export declare type PostTearInitLateRegisterParameters = [
|
|
3
|
+
callback: (tear: EntityTear) => void,
|
|
4
|
+
tearVariant?: TearVariant | int
|
|
5
|
+
];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
3
2
|
local subscriptions = {}
|
|
4
3
|
function ____exports.postTearInitLateHasSubscriptions(self)
|
|
5
4
|
return #subscriptions > 0
|
|
6
5
|
end
|
|
7
|
-
function ____exports.postTearInitLateRegister(self,
|
|
8
|
-
|
|
6
|
+
function ____exports.postTearInitLateRegister(self, ...)
|
|
7
|
+
local args = {...}
|
|
8
|
+
subscriptions[#subscriptions + 1] = args
|
|
9
9
|
end
|
|
10
10
|
function ____exports.postTearInitLateFire(self, tear)
|
|
11
11
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type
|
|
1
|
+
import { TearVariant } from "isaac-typescript-definitions";
|
|
2
|
+
export declare type PostTearInitVeryLateRegisterParameters = [
|
|
3
|
+
callback: (tear: EntityTear) => void,
|
|
4
|
+
tearVariant?: TearVariant | int
|
|
5
|
+
];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
3
2
|
local subscriptions = {}
|
|
4
3
|
function ____exports.postTearInitVeryLateHasSubscriptions(self)
|
|
5
4
|
return #subscriptions > 0
|
|
6
5
|
end
|
|
7
|
-
function ____exports.postTearInitVeryLateRegister(self,
|
|
8
|
-
|
|
6
|
+
function ____exports.postTearInitVeryLateRegister(self, ...)
|
|
7
|
+
local args = {...}
|
|
8
|
+
subscriptions[#subscriptions + 1] = args
|
|
9
9
|
end
|
|
10
10
|
function ____exports.postTearInitVeryLateFire(self, tear)
|
|
11
11
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type
|
|
1
|
+
import { PlayerForm } from "isaac-typescript-definitions";
|
|
2
|
+
export declare type PostTransformationRegisterParameters = [
|
|
3
|
+
callback: (player: EntityPlayer, playerForm: PlayerForm, hasForm: boolean) => void,
|
|
4
|
+
playerForm?: PlayerForm
|
|
5
|
+
];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
3
2
|
local subscriptions = {}
|
|
4
3
|
function ____exports.postTransformationHasSubscriptions(self)
|
|
5
4
|
return #subscriptions > 0
|
|
6
5
|
end
|
|
7
|
-
function ____exports.postTransformationRegister(self,
|
|
8
|
-
|
|
6
|
+
function ____exports.postTransformationRegister(self, ...)
|
|
7
|
+
local args = {...}
|
|
8
|
+
subscriptions[#subscriptions + 1] = args
|
|
9
9
|
end
|
|
10
10
|
function ____exports.postTransformationFire(self, player, playerForm, hasForm)
|
|
11
11
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type
|
|
1
|
+
import { TrinketType } from "isaac-typescript-definitions";
|
|
2
|
+
export declare type PostTrinketBreakRegisterParameters = [
|
|
3
|
+
callback: (player: EntityPlayer, trinketType: TrinketType | int) => void,
|
|
4
|
+
trinketType?: TrinketType | int
|
|
5
|
+
];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
3
2
|
local subscriptions = {}
|
|
4
3
|
function ____exports.postTrinketBreakHasSubscriptions(self)
|
|
5
4
|
return #subscriptions > 0
|
|
6
5
|
end
|
|
7
|
-
function ____exports.postTrinketBreakRegister(self,
|
|
8
|
-
|
|
6
|
+
function ____exports.postTrinketBreakRegister(self, ...)
|
|
7
|
+
local args = {...}
|
|
8
|
+
subscriptions[#subscriptions + 1] = args
|
|
9
9
|
end
|
|
10
10
|
function ____exports.postTrinketBreakFire(self, player, trinketType)
|
|
11
11
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type
|
|
1
|
+
import { PlayerVariant } from "isaac-typescript-definitions";
|
|
2
|
+
export declare type PreBerserkDeathRegisterParameters = [
|
|
3
|
+
callback: (player: EntityPlayer) => boolean | void,
|
|
4
|
+
playerVariant?: PlayerVariant
|
|
5
|
+
];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
3
2
|
local subscriptions = {}
|
|
4
3
|
function ____exports.preBerserkDeathHasSubscriptions(self)
|
|
5
4
|
return #subscriptions > 0
|
|
6
5
|
end
|
|
7
|
-
function ____exports.preBerserkDeathRegister(self,
|
|
8
|
-
|
|
6
|
+
function ____exports.preBerserkDeathRegister(self, ...)
|
|
7
|
+
local args = {...}
|
|
8
|
+
subscriptions[#subscriptions + 1] = args
|
|
9
9
|
end
|
|
10
10
|
function ____exports.preBerserkDeathFire(self, player)
|
|
11
11
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
3
2
|
local subscriptions = {}
|
|
4
3
|
function ____exports.preCustomReviveHasSubscriptions(self)
|
|
5
4
|
return #subscriptions > 0
|
|
6
5
|
end
|
|
7
|
-
function ____exports.preCustomReviveRegister(self,
|
|
8
|
-
|
|
6
|
+
function ____exports.preCustomReviveRegister(self, ...)
|
|
7
|
+
local args = {...}
|
|
8
|
+
subscriptions[#subscriptions + 1] = args
|
|
9
9
|
end
|
|
10
10
|
function ____exports.preCustomReviveFire(self, player)
|
|
11
11
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { CollectibleType, ItemType, TrinketType } from "isaac-typescript-definitions";
|
|
2
2
|
import { PickingUpItem } from "../../types/PickingUpItem";
|
|
3
|
-
export declare type
|
|
3
|
+
export declare type PreItemPickupRegisterParameters = [
|
|
4
|
+
callback: (player: EntityPlayer, pickingUpItem: PickingUpItem) => void,
|
|
5
|
+
itemType?: ItemType,
|
|
6
|
+
itemID?: CollectibleType | TrinketType | int
|
|
7
|
+
];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
3
2
|
local subscriptions = {}
|
|
4
3
|
function ____exports.preItemPickupHasSubscriptions(self)
|
|
5
4
|
return #subscriptions > 0
|
|
6
5
|
end
|
|
7
|
-
function ____exports.preItemPickupRegister(self,
|
|
8
|
-
|
|
6
|
+
function ____exports.preItemPickupRegister(self, ...)
|
|
7
|
+
local args = {...}
|
|
8
|
+
subscriptions[#subscriptions + 1] = args
|
|
9
9
|
end
|
|
10
10
|
function ____exports.preItemPickupFire(self, player, pickingUpItem)
|
|
11
11
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
3
2
|
local subscriptions = {}
|
|
4
3
|
function ____exports.preNewLevelHasSubscriptions(self)
|
|
5
4
|
return #subscriptions > 0
|
|
6
5
|
end
|
|
7
|
-
function ____exports.preNewLevelRegister(self,
|
|
8
|
-
|
|
6
|
+
function ____exports.preNewLevelRegister(self, ...)
|
|
7
|
+
local args = {...}
|
|
8
|
+
subscriptions[#subscriptions + 1] = args
|
|
9
9
|
end
|
|
10
10
|
function ____exports.preNewLevelFire(self, player)
|
|
11
11
|
for ____, ____value in ipairs(subscriptions) do
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import { ModCallback } from "isaac-typescript-definitions";
|
|
2
2
|
import { ModCallbacksCustom } from "../enums/ModCallbacksCustom";
|
|
3
|
-
import {
|
|
3
|
+
import { AddCallbackParameterCustom } from "../types/AddCallbackParameterCustom";
|
|
4
4
|
/** `isaacscript-common` allows for custom callbacks, so it provides an upgraded Mod object. */
|
|
5
5
|
export declare class ModUpgraded implements Mod {
|
|
6
6
|
Name: string;
|
|
7
7
|
/** We store a copy of the original mod object so that we can re-implement its functions. */
|
|
8
8
|
Mod: Mod;
|
|
9
9
|
constructor(mod: Mod);
|
|
10
|
-
AddCallback<T extends
|
|
10
|
+
AddCallback<T extends ModCallback>(modCallbacks: T, ...args: AddCallbackParameter[T]): void;
|
|
11
11
|
HasData(): boolean;
|
|
12
12
|
LoadData(): string;
|
|
13
|
-
RemoveCallback(callbackID:
|
|
13
|
+
RemoveCallback(callbackID: ModCallback, callback: () => void): void;
|
|
14
14
|
RemoveData(): void;
|
|
15
15
|
SaveData(data: string): void;
|
|
16
|
-
AddCallbackCustom<T extends ModCallbacksCustom>(modCallbacksCustom: T, ...args:
|
|
16
|
+
AddCallbackCustom<T extends ModCallbacksCustom>(modCallbacksCustom: T, ...args: AddCallbackParameterCustom[T]): void;
|
|
17
17
|
}
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { ItemPoolType, LevelStage, PlayerType, RoomType } from "isaac-typescript-definitions";
|
|
2
2
|
/**
|
|
3
|
-
* The distance of the laser when Azazel does not have any range up items yet.
|
|
4
|
-
*
|
|
3
|
+
* The distance of the laser when Azazel does not have any range up items yet. For more info, see
|
|
4
|
+
* the documentation for the `getAzazelBrimstoneDistance` function.
|
|
5
5
|
*/
|
|
6
6
|
export declare const AZAZEL_DEFAULT_BRIMSTONE_DISTANCE = 75.125;
|
|
7
7
|
/**
|
|
@@ -11,7 +11,7 @@ export declare const AZAZEL_DEFAULT_BRIMSTONE_DISTANCE = 75.125;
|
|
|
11
11
|
export declare const BLIND_ITEM_PNG_PATH = "gfx/items/collectibles/questionmark.png";
|
|
12
12
|
/** Bombs explode when their frame count is equal to this value. */
|
|
13
13
|
export declare const BOMB_EXPLODE_FRAME = 45;
|
|
14
|
-
export declare const DEFAULT_ITEM_POOL_TYPE = ItemPoolType.
|
|
14
|
+
export declare const DEFAULT_ITEM_POOL_TYPE = ItemPoolType.TREASURE;
|
|
15
15
|
/** This is also the distance that a player spawns from the door that they enter a room from. */
|
|
16
16
|
export declare const DISTANCE_OF_GRID_TILE = 40;
|
|
17
17
|
export declare const DOOR_HITBOX_DISTANCE = 11;
|
|
@@ -26,8 +26,6 @@ export declare const EGGY_STATE_FRAME_OF_FINAL_SPIDER = 45;
|
|
|
26
26
|
* information, see the documentation for the `clearSprite` helper function.
|
|
27
27
|
*/
|
|
28
28
|
export declare const EMPTY_PNG_PATH = "gfx/none.png";
|
|
29
|
-
/** As of Repentance, the final stage is floor 13 (which is the Home floor). */
|
|
30
|
-
export declare const FINAL_STAGE: number;
|
|
31
29
|
/**
|
|
32
30
|
* The random items that appear when the player has TMTRAINER are generated on the fly as they are
|
|
33
31
|
* encountered by the player. The first TMTRAINER item takes the final possible 32 bit number. The
|
|
@@ -39,8 +37,6 @@ export declare const GRID_INDEX_CENTER_OF_1X1_ROOM = 67;
|
|
|
39
37
|
export declare const ISAAC_FRAMES_PER_SECOND = 60;
|
|
40
38
|
export declare const LEVEL_GRID_COLUMN_HEIGHT = 13;
|
|
41
39
|
export declare const LEVEL_GRID_ROW_LENGTH = 13;
|
|
42
|
-
/** In a 2x2 room, there can be 8 doors. */
|
|
43
|
-
export declare const MAX_NUM_DOORS = 8;
|
|
44
40
|
/**
|
|
45
41
|
* The game has a limit on the number of currently spawned familiars and will refuse to spawn any
|
|
46
42
|
* more if it reaches the limit. Blue flies and blue spiders have a lower priority and will be
|
|
@@ -51,7 +47,6 @@ export declare const MAX_NUM_FAMILIARS = 64;
|
|
|
51
47
|
export declare const MAX_NUM_INPUTS = 4;
|
|
52
48
|
/** With Birthright, it is possible for Magdalene to have 18 heart containers. */
|
|
53
49
|
export declare const MAX_PLAYER_HEART_CONTAINERS = 18;
|
|
54
|
-
export declare const MAX_PLAYER_POCKET_ITEM_SLOTS = 4;
|
|
55
50
|
/**
|
|
56
51
|
* As the player continues to move in a direction, they will accelerate. When going from one wall to
|
|
57
52
|
* another in a 2x2 room at 2.0 speed (the maximum that the speed stat can rise to), the amount of
|
|
@@ -59,58 +54,29 @@ export declare const MAX_PLAYER_POCKET_ITEM_SLOTS = 4;
|
|
|
59
54
|
* constant specifies a value of 9.8 to be safe.
|
|
60
55
|
*/
|
|
61
56
|
export declare const MAX_PLAYER_SPEED_IN_UNITS = 9.8;
|
|
62
|
-
export declare const MAX_PLAYER_TRINKET_SLOTS
|
|
57
|
+
export declare const MAX_PLAYER_TRINKET_SLOTS: number;
|
|
63
58
|
/**
|
|
64
59
|
* The floor is represented by a 13x13 grid. Room indexes start at 0. The first row is represented
|
|
65
60
|
* by grid indexes from 0 to 12. The second row is represented by grid indexes from 13 to 25, and so
|
|
66
61
|
* on. The maximum room index possible is 168. (It is not 169 because we start at 0 instead of 1.)
|
|
67
62
|
*/
|
|
68
63
|
export declare const MAX_ROOM_INDEX = 168;
|
|
64
|
+
export declare const MAX_ROOM_TYPE: RoomType;
|
|
69
65
|
/**
|
|
70
66
|
* The maximum speed stat that a player can have. Any additional speed beyond this will not take
|
|
71
67
|
* effect.
|
|
72
68
|
*/
|
|
73
69
|
export declare const MAX_SPEED_STAT = 2;
|
|
70
|
+
export declare const MAX_STAGE: LevelStage;
|
|
74
71
|
/** Corresponds to the maximum value for `EntityPlayer.SamsonBerserkCharge`. */
|
|
75
72
|
export declare const MAX_TAINTED_SAMSON_BERSERK_CHARGE = 100000;
|
|
76
|
-
export declare const MAX_VANILLA_CHARACTER:
|
|
77
|
-
export declare const
|
|
78
|
-
export declare const NUM_DIMENSIONS = 3;
|
|
73
|
+
export declare const MAX_VANILLA_CHARACTER: PlayerType;
|
|
74
|
+
export declare const NUM_DIMENSIONS: number;
|
|
79
75
|
export declare const SECOND_IN_MILLISECONDS = 1000;
|
|
80
76
|
export declare const MINUTE_IN_MILLISECONDS: number;
|
|
81
77
|
export declare const ONE_BY_ONE_ROOM_GRID_SIZE = 135;
|
|
82
|
-
/**
|
|
83
|
-
* In vanilla, this is part of the `PillColor` enum, but we implement it as a constant in
|
|
84
|
-
* IsaacScript since it is not a real pill color.
|
|
85
|
-
*
|
|
86
|
-
* (1 << 11) - 1
|
|
87
|
-
*/
|
|
88
|
-
export declare const PILL_COLOR_MASK = 2047;
|
|
89
|
-
/**
|
|
90
|
-
* In vanilla, this is part of the `PillColor` enum, but we implement it as a constant in
|
|
91
|
-
* IsaacScript since it is not a real pill color.
|
|
92
|
-
*
|
|
93
|
-
* 1 << 11
|
|
94
|
-
*/
|
|
95
|
-
export declare const PILL_GIANT_FLAG = 2048;
|
|
96
78
|
/** After taking damage, `EntityPlayer.SamsonBerserkCharge` is incremented by this amount. */
|
|
97
79
|
export declare const TAINTED_SAMSON_BERSERK_CHARGE_FROM_TAKING_DAMAGE = 10000;
|
|
98
|
-
/**
|
|
99
|
-
* Add this to a `TrinketType` to get the corresponding golden trinket type.
|
|
100
|
-
*
|
|
101
|
-
* In vanilla, this is part of the `TrinketType` enum, but we implement it as a constant in
|
|
102
|
-
* IsaacScript since it is not a real trinket type.
|
|
103
|
-
*
|
|
104
|
-
* 1 << 15
|
|
105
|
-
*/
|
|
106
|
-
export declare const TRINKET_GOLDEN_FLAG = 32768;
|
|
107
|
-
/**
|
|
108
|
-
* In vanilla, this is part of the `TrinketType` enum, but we implement it as a constant in
|
|
109
|
-
* IsaacScript since it is not a real trinket type.
|
|
110
|
-
*
|
|
111
|
-
* (1 << 15) - 1
|
|
112
|
-
*/
|
|
113
|
-
export declare const TRINKET_ID_MASK = 32767;
|
|
114
80
|
/**
|
|
115
81
|
* This is the number of draw coordinates that each heart spans on the UI in the upper left hand
|
|
116
82
|
* corner.
|
package/dist/constants.lua
CHANGED
|
@@ -1,41 +1,44 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
2
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
3
|
+
local Dimension = ____isaac_2Dtypescript_2Ddefinitions.Dimension
|
|
4
|
+
local ItemPoolType = ____isaac_2Dtypescript_2Ddefinitions.ItemPoolType
|
|
5
|
+
local LevelStage = ____isaac_2Dtypescript_2Ddefinitions.LevelStage
|
|
6
|
+
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
7
|
+
local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
|
|
8
|
+
local TrinketSlot = ____isaac_2Dtypescript_2Ddefinitions.TrinketSlot
|
|
9
|
+
local ____enums = require("functions.enums")
|
|
10
|
+
local getEnumLength = ____enums.getEnumLength
|
|
11
|
+
local getLastEnumValue = ____enums.getLastEnumValue
|
|
3
12
|
____exports.AZAZEL_DEFAULT_BRIMSTONE_DISTANCE = 75.125
|
|
4
13
|
____exports.BLIND_ITEM_PNG_PATH = "gfx/items/collectibles/questionmark.png"
|
|
5
14
|
____exports.BOMB_EXPLODE_FRAME = 45
|
|
6
|
-
____exports.DEFAULT_ITEM_POOL_TYPE = ItemPoolType.
|
|
15
|
+
____exports.DEFAULT_ITEM_POOL_TYPE = ItemPoolType.TREASURE
|
|
7
16
|
____exports.DISTANCE_OF_GRID_TILE = 40
|
|
8
17
|
____exports.DOOR_HITBOX_DISTANCE = 11
|
|
9
18
|
____exports.EGGY_STATE_FRAME_OF_FINAL_SPIDER = 45
|
|
10
19
|
____exports.EMPTY_PNG_PATH = "gfx/none.png"
|
|
11
|
-
____exports.FINAL_STAGE = LevelStage.NUM_STAGES - 1
|
|
12
20
|
____exports.FIRST_GLITCHED_COLLECTIBLE_TYPE = (1 << 32) - 1
|
|
13
21
|
____exports.GAME_FRAMES_PER_SECOND = 30
|
|
14
22
|
____exports.GRID_INDEX_CENTER_OF_1X1_ROOM = 67
|
|
15
23
|
____exports.ISAAC_FRAMES_PER_SECOND = 60
|
|
16
24
|
____exports.LEVEL_GRID_COLUMN_HEIGHT = 13
|
|
17
25
|
____exports.LEVEL_GRID_ROW_LENGTH = 13
|
|
18
|
-
____exports.MAX_NUM_DOORS = 8
|
|
19
26
|
____exports.MAX_NUM_FAMILIARS = 64
|
|
20
27
|
____exports.MAX_NUM_INPUTS = 4
|
|
21
28
|
____exports.MAX_PLAYER_HEART_CONTAINERS = 18
|
|
22
|
-
____exports.MAX_PLAYER_POCKET_ITEM_SLOTS = 4
|
|
23
29
|
____exports.MAX_PLAYER_SPEED_IN_UNITS = 9.8
|
|
24
|
-
____exports.MAX_PLAYER_TRINKET_SLOTS =
|
|
30
|
+
____exports.MAX_PLAYER_TRINKET_SLOTS = getEnumLength(nil, TrinketSlot)
|
|
25
31
|
____exports.MAX_ROOM_INDEX = 168
|
|
32
|
+
____exports.MAX_ROOM_TYPE = getLastEnumValue(nil, RoomType)
|
|
26
33
|
____exports.MAX_SPEED_STAT = 2
|
|
34
|
+
____exports.MAX_STAGE = getLastEnumValue(nil, LevelStage)
|
|
27
35
|
____exports.MAX_TAINTED_SAMSON_BERSERK_CHARGE = 100000
|
|
28
|
-
____exports.MAX_VANILLA_CHARACTER = PlayerType
|
|
29
|
-
____exports.
|
|
30
|
-
____exports.NUM_DIMENSIONS = 3
|
|
36
|
+
____exports.MAX_VANILLA_CHARACTER = getLastEnumValue(nil, PlayerType)
|
|
37
|
+
____exports.NUM_DIMENSIONS = getEnumLength(nil, Dimension) - 1
|
|
31
38
|
____exports.SECOND_IN_MILLISECONDS = 1000
|
|
32
39
|
____exports.MINUTE_IN_MILLISECONDS = 60 * ____exports.SECOND_IN_MILLISECONDS
|
|
33
40
|
____exports.ONE_BY_ONE_ROOM_GRID_SIZE = 135
|
|
34
|
-
____exports.PILL_COLOR_MASK = 2047
|
|
35
|
-
____exports.PILL_GIANT_FLAG = 2048
|
|
36
41
|
____exports.TAINTED_SAMSON_BERSERK_CHARGE_FROM_TAKING_DAMAGE = 10000
|
|
37
|
-
____exports.TRINKET_GOLDEN_FLAG = 32768
|
|
38
|
-
____exports.TRINKET_ID_MASK = 32767
|
|
39
42
|
____exports.UI_HEART_WIDTH = 12
|
|
40
43
|
____exports.VectorOne = Vector(1, 1)
|
|
41
44
|
____exports.VectorZero = Vector(0, 0)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const NUM_CARDS: number;
|
|
2
|
+
export declare const MAX_CARD: number;
|
|
3
|
+
export declare const NUM_VANILLA_CARDS: number;
|
|
4
|
+
export declare const MAX_VANILLA_CARD: number;
|
|
5
|
+
export declare const NUM_COLLECTIBLE_TYPES: number;
|
|
6
|
+
export declare const MAX_COLLECTIBLE_TYPE: number;
|
|
7
|
+
export declare const NUM_VANILLA_COLLECTIBLE_TYPES: number;
|
|
8
|
+
export declare const MAX_VANILLA_COLLECTIBLE_TYPE: number;
|
|
9
|
+
export declare const NUM_PILL_EFFECTS: number;
|
|
10
|
+
export declare const MAX_PILL_EFFECT: number;
|
|
11
|
+
export declare const NUM_VANILLA_PILL_EFFECTS: number;
|
|
12
|
+
export declare const MAX_VANILLA_PILL_EFFECT: number;
|
|
13
|
+
export declare const NUM_TRINKET_TYPES: number;
|
|
14
|
+
export declare const MAX_TRINKET_TYPE: number;
|
|
15
|
+
export declare const NUM_VANILLA_TRINKET_TYPES: number;
|
|
16
|
+
export declare const MAX_VANILLA_TRINKET_TYPE: number;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
local ____exports = {}
|
|
2
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
3
|
+
local Card = ____isaac_2Dtypescript_2Ddefinitions.Card
|
|
4
|
+
local CollectibleType = ____isaac_2Dtypescript_2Ddefinitions.CollectibleType
|
|
5
|
+
local PillEffect = ____isaac_2Dtypescript_2Ddefinitions.PillEffect
|
|
6
|
+
local TrinketType = ____isaac_2Dtypescript_2Ddefinitions.TrinketType
|
|
7
|
+
local ____cachedClasses = require("cachedClasses")
|
|
8
|
+
local itemConfig = ____cachedClasses.itemConfig
|
|
9
|
+
local ____enums = require("functions.enums")
|
|
10
|
+
local getEnumLength = ____enums.getEnumLength
|
|
11
|
+
____exports.NUM_CARDS = itemConfig:GetCards().Size - 1
|
|
12
|
+
____exports.MAX_CARD = ____exports.NUM_CARDS
|
|
13
|
+
____exports.NUM_VANILLA_CARDS = getEnumLength(nil, Card) - 1
|
|
14
|
+
____exports.MAX_VANILLA_CARD = ____exports.NUM_VANILLA_CARDS
|
|
15
|
+
____exports.NUM_COLLECTIBLE_TYPES = itemConfig:GetCollectibles().Size - 1
|
|
16
|
+
____exports.MAX_COLLECTIBLE_TYPE = ____exports.NUM_COLLECTIBLE_TYPES - 1
|
|
17
|
+
____exports.NUM_VANILLA_COLLECTIBLE_TYPES = getEnumLength(nil, CollectibleType) - 1
|
|
18
|
+
____exports.MAX_VANILLA_COLLECTIBLE_TYPE = ____exports.NUM_VANILLA_COLLECTIBLE_TYPES
|
|
19
|
+
____exports.NUM_PILL_EFFECTS = itemConfig:GetPillEffects().Size - 1
|
|
20
|
+
____exports.MAX_PILL_EFFECT = ____exports.NUM_PILL_EFFECTS
|
|
21
|
+
____exports.NUM_VANILLA_PILL_EFFECTS = getEnumLength(nil, PillEffect)
|
|
22
|
+
____exports.MAX_VANILLA_PILL_EFFECT = ____exports.NUM_VANILLA_PILL_EFFECTS
|
|
23
|
+
____exports.NUM_TRINKET_TYPES = itemConfig:GetTrinkets().Size - 1
|
|
24
|
+
____exports.MAX_TRINKET_TYPE = ____exports.NUM_COLLECTIBLE_TYPES - 1
|
|
25
|
+
____exports.NUM_VANILLA_TRINKET_TYPES = getEnumLength(nil, TrinketType) - 1
|
|
26
|
+
____exports.MAX_VANILLA_TRINKET_TYPE = ____exports.NUM_VANILLA_COLLECTIBLE_TYPES
|
|
27
|
+
return ____exports
|
package/dist/enums/CardType.lua
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
2
|
local ____exports = {}
|
|
3
|
-
____exports.CardType =
|
|
3
|
+
____exports.CardType = {}
|
|
4
4
|
____exports.CardType.NULL = 0
|
|
5
5
|
____exports.CardType[____exports.CardType.NULL] = "NULL"
|
|
6
6
|
____exports.CardType.TAROT = 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
2
|
local ____exports = {}
|
|
3
|
-
____exports.CollectiblePedestalType =
|
|
3
|
+
____exports.CollectiblePedestalType = {}
|
|
4
4
|
____exports.CollectiblePedestalType.NONE = -1
|
|
5
5
|
____exports.CollectiblePedestalType[____exports.CollectiblePedestalType.NONE] = "NONE"
|
|
6
6
|
____exports.CollectiblePedestalType.NORMAL = 0
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This represents the type of health that is either given or taken away from a player. Note that
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* This represents the type of health that is either given or taken away from a player. Note that we
|
|
3
|
+
* cannot use the HeartSubType enum for this purpose this since it has no value for broken hearts or
|
|
4
|
+
* max hearts.
|
|
5
5
|
*/
|
|
6
6
|
export declare enum HealthType {
|
|
7
7
|
RED = 0,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____exports = {}
|
|
3
|
-
____exports.HealthType =
|
|
2
|
+
____exports.HealthType = {}
|
|
4
3
|
____exports.HealthType.RED = 0
|
|
5
4
|
____exports.HealthType[____exports.HealthType.RED] = "RED"
|
|
6
5
|
____exports.HealthType.SOUL = 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* These are the custom callbacks available for use once the mod object has been upgraded.
|
|
3
|
-
*
|
|
2
|
+
* These are the custom callbacks available for use once the mod object has been upgraded. Also see
|
|
3
|
+
* the [[`upgradeMod`]] function.
|
|
4
4
|
*
|
|
5
5
|
* For a better listing of all custom callbacks, check out the
|
|
6
6
|
* [Function Signatures](https://isaacscript.github.io/docs/function-signatures#custom-callbacks).
|
|
@@ -21,12 +21,20 @@ export declare enum ModCallbacksCustom {
|
|
|
21
21
|
MC_POST_FIRST_FLIP = 12,
|
|
22
22
|
MC_POST_FLIP = 13,
|
|
23
23
|
MC_POST_GAME_STARTED_REORDERED = 14,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Fires from the `MC_POST_UPDATE` callback when the Greed Mode wave increases.
|
|
26
|
+
*
|
|
27
|
+
* ```ts
|
|
28
|
+
* function postGreedModeWave(oldWave: int, newWave: int) {}
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
MC_POST_GREED_MODE_WAVE = 15,
|
|
32
|
+
MC_POST_GRID_ENTITY_BROKEN = 16,
|
|
33
|
+
MC_POST_GRID_ENTITY_COLLISION = 17,
|
|
34
|
+
MC_POST_GRID_ENTITY_INIT = 18,
|
|
35
|
+
MC_POST_GRID_ENTITY_REMOVE = 19,
|
|
36
|
+
MC_POST_GRID_ENTITY_STATE_CHANGED = 20,
|
|
37
|
+
MC_POST_GRID_ENTITY_UPDATE = 21,
|
|
30
38
|
/**
|
|
31
39
|
* Fires from the `MC_POST_PEFFECT_UPDATE` callback when the player loses a Holy Mantle temporary
|
|
32
40
|
* collectible effect.
|
|
@@ -36,9 +44,9 @@ export declare enum ModCallbacksCustom {
|
|
|
36
44
|
* that callback never fires if the player has a Holy Mantle shield.
|
|
37
45
|
*
|
|
38
46
|
* - When registering the callback, takes an optional second argument that will make the callback
|
|
39
|
-
*
|
|
47
|
+
* only fire if the player matches the `PlayerVariant` provided.
|
|
40
48
|
* - When registering the callback, takes an optional third argument that will make the callback
|
|
41
|
-
*
|
|
49
|
+
* only fire if the player matches the `PlayerType` provided.
|
|
42
50
|
*
|
|
43
51
|
* ```ts
|
|
44
52
|
* function postPlayerInitReordered(
|
|
@@ -48,42 +56,42 @@ export declare enum ModCallbacksCustom {
|
|
|
48
56
|
* ): void {}
|
|
49
57
|
* ```
|
|
50
58
|
*/
|
|
51
|
-
MC_POST_HOLY_MANTLE_REMOVED =
|
|
52
|
-
MC_POST_ITEM_DISCHARGE =
|
|
53
|
-
MC_POST_ITEM_PICKUP =
|
|
54
|
-
MC_POST_KNIFE_INIT_LATE =
|
|
55
|
-
MC_POST_LASER_INIT_LATE =
|
|
56
|
-
MC_POST_NEW_LEVEL_REORDERED =
|
|
57
|
-
MC_POST_NEW_ROOM_EARLY =
|
|
58
|
-
MC_POST_NEW_ROOM_REORDERED =
|
|
59
|
-
MC_POST_NPC_INIT_LATE =
|
|
60
|
-
MC_POST_NPC_STATE_CHANGED =
|
|
61
|
-
MC_POST_PEFFECT_UPDATE_REORDERED =
|
|
62
|
-
MC_POST_PICKUP_COLLECT =
|
|
63
|
-
MC_POST_PICKUP_INIT_LATE =
|
|
64
|
-
MC_POST_PICKUP_STATE_CHANGED =
|
|
65
|
-
MC_POST_PLAYER_CHANGE_HEALTH =
|
|
66
|
-
MC_POST_PLAYER_CHANGE_TYPE =
|
|
67
|
-
MC_POST_PLAYER_FATAL_DAMAGE =
|
|
68
|
-
MC_POST_PLAYER_INIT_LATE =
|
|
69
|
-
MC_POST_PLAYER_INIT_REORDERED =
|
|
70
|
-
MC_POST_PLAYER_RENDER_REORDERED =
|
|
71
|
-
MC_POST_PLAYER_UPDATE_REORDERED =
|
|
72
|
-
MC_POST_PROJECTILE_INIT_LATE =
|
|
73
|
-
MC_POST_PURCHASE =
|
|
74
|
-
MC_POST_ROOM_CLEAR_CHANGED =
|
|
75
|
-
MC_POST_SACRIFICE =
|
|
76
|
-
MC_POST_SLOT_ANIMATION_CHANGED =
|
|
77
|
-
MC_POST_SLOT_DESTROYED =
|
|
78
|
-
MC_POST_SLOT_INIT =
|
|
79
|
-
MC_POST_SLOT_RENDER =
|
|
80
|
-
MC_POST_SLOT_UPDATE =
|
|
81
|
-
MC_POST_TEAR_INIT_LATE =
|
|
82
|
-
MC_POST_TEAR_INIT_VERY_LATE =
|
|
83
|
-
MC_POST_TRANSFORMATION =
|
|
84
|
-
MC_POST_TRINKET_BREAK =
|
|
85
|
-
MC_PRE_BERSERK_DEATH =
|
|
86
|
-
MC_PRE_CUSTOM_REVIVE =
|
|
87
|
-
MC_PRE_ITEM_PICKUP =
|
|
88
|
-
MC_PRE_NEW_LEVEL =
|
|
59
|
+
MC_POST_HOLY_MANTLE_REMOVED = 22,
|
|
60
|
+
MC_POST_ITEM_DISCHARGE = 23,
|
|
61
|
+
MC_POST_ITEM_PICKUP = 24,
|
|
62
|
+
MC_POST_KNIFE_INIT_LATE = 25,
|
|
63
|
+
MC_POST_LASER_INIT_LATE = 26,
|
|
64
|
+
MC_POST_NEW_LEVEL_REORDERED = 27,
|
|
65
|
+
MC_POST_NEW_ROOM_EARLY = 28,
|
|
66
|
+
MC_POST_NEW_ROOM_REORDERED = 29,
|
|
67
|
+
MC_POST_NPC_INIT_LATE = 30,
|
|
68
|
+
MC_POST_NPC_STATE_CHANGED = 31,
|
|
69
|
+
MC_POST_PEFFECT_UPDATE_REORDERED = 32,
|
|
70
|
+
MC_POST_PICKUP_COLLECT = 33,
|
|
71
|
+
MC_POST_PICKUP_INIT_LATE = 34,
|
|
72
|
+
MC_POST_PICKUP_STATE_CHANGED = 35,
|
|
73
|
+
MC_POST_PLAYER_CHANGE_HEALTH = 36,
|
|
74
|
+
MC_POST_PLAYER_CHANGE_TYPE = 37,
|
|
75
|
+
MC_POST_PLAYER_FATAL_DAMAGE = 38,
|
|
76
|
+
MC_POST_PLAYER_INIT_LATE = 39,
|
|
77
|
+
MC_POST_PLAYER_INIT_REORDERED = 40,
|
|
78
|
+
MC_POST_PLAYER_RENDER_REORDERED = 41,
|
|
79
|
+
MC_POST_PLAYER_UPDATE_REORDERED = 42,
|
|
80
|
+
MC_POST_PROJECTILE_INIT_LATE = 43,
|
|
81
|
+
MC_POST_PURCHASE = 44,
|
|
82
|
+
MC_POST_ROOM_CLEAR_CHANGED = 45,
|
|
83
|
+
MC_POST_SACRIFICE = 46,
|
|
84
|
+
MC_POST_SLOT_ANIMATION_CHANGED = 47,
|
|
85
|
+
MC_POST_SLOT_DESTROYED = 48,
|
|
86
|
+
MC_POST_SLOT_INIT = 49,
|
|
87
|
+
MC_POST_SLOT_RENDER = 50,
|
|
88
|
+
MC_POST_SLOT_UPDATE = 51,
|
|
89
|
+
MC_POST_TEAR_INIT_LATE = 52,
|
|
90
|
+
MC_POST_TEAR_INIT_VERY_LATE = 53,
|
|
91
|
+
MC_POST_TRANSFORMATION = 54,
|
|
92
|
+
MC_POST_TRINKET_BREAK = 55,
|
|
93
|
+
MC_PRE_BERSERK_DEATH = 56,
|
|
94
|
+
MC_PRE_CUSTOM_REVIVE = 57,
|
|
95
|
+
MC_PRE_ITEM_PICKUP = 58,
|
|
96
|
+
MC_PRE_NEW_LEVEL = 59
|
|
89
97
|
}
|