isaacscript-common 1.0.607 → 1.0.608-dev.1

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.
Files changed (122) hide show
  1. package/dist/callbacks/itemPickup.lua +3 -1
  2. package/dist/callbacks/postBombInitLate.lua +3 -1
  3. package/dist/callbacks/postCursedTeleport.lua +6 -4
  4. package/dist/callbacks/postEffectInitLate.lua +3 -1
  5. package/dist/callbacks/postFamiliarInitLate.lua +3 -1
  6. package/dist/callbacks/postGridEntity.lua +4 -1
  7. package/dist/callbacks/postKnifeInitLate.lua +3 -1
  8. package/dist/callbacks/postLaserInitLate.lua +3 -1
  9. package/dist/callbacks/postNPCInitLate.lua +3 -1
  10. package/dist/callbacks/postPickupCollect.lua +3 -1
  11. package/dist/callbacks/postPickupInitLate.lua +3 -1
  12. package/dist/callbacks/postPlayerChangeHealth.lua +3 -1
  13. package/dist/callbacks/postPlayerChangeType.lua +3 -1
  14. package/dist/callbacks/postPlayerFatalDamage.lua +3 -1
  15. package/dist/callbacks/postPlayerInitLate.lua +3 -1
  16. package/dist/callbacks/postPlayerReordered.lua +2 -1
  17. package/dist/callbacks/postProjectileInitLate.lua +3 -1
  18. package/dist/callbacks/postPurchase.lua +4 -1
  19. package/dist/callbacks/postSlotInitUpdate.lua +3 -1
  20. package/dist/callbacks/postSlotRenderBroken.lua +3 -1
  21. package/dist/callbacks/postTearInitLate.lua +3 -1
  22. package/dist/callbacks/postTearInitVeryLate.lua +3 -1
  23. package/dist/callbacks/postTransformation.lua +3 -1
  24. package/dist/callbacks/postTrinketBreak.lua +3 -1
  25. package/dist/callbacks/preBerserkDeath.lua +3 -3
  26. package/dist/callbacks/preNewLevel.lua +3 -1
  27. package/dist/callbacks/subscriptions/postBombInitLate.lua +2 -1
  28. package/dist/callbacks/subscriptions/postCursedTeleport.lua +2 -1
  29. package/dist/callbacks/subscriptions/postCustomRevive.lua +2 -1
  30. package/dist/callbacks/subscriptions/postEffectInitLate.lua +2 -1
  31. package/dist/callbacks/subscriptions/postEsauJr.lua +2 -1
  32. package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +2 -1
  33. package/dist/callbacks/subscriptions/postFirstEsauJr.lua +2 -1
  34. package/dist/callbacks/subscriptions/postFirstFlip.lua +2 -1
  35. package/dist/callbacks/subscriptions/postFlip.lua +2 -1
  36. package/dist/callbacks/subscriptions/postGameStartedReordered.lua +2 -1
  37. package/dist/callbacks/subscriptions/postGridEntityInit.lua +2 -1
  38. package/dist/callbacks/subscriptions/postGridEntityRemove.lua +2 -1
  39. package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +2 -1
  40. package/dist/callbacks/subscriptions/postItemPickup.lua +2 -1
  41. package/dist/callbacks/subscriptions/postKnifeInitLate.lua +2 -1
  42. package/dist/callbacks/subscriptions/postLaserInitLate.lua +2 -1
  43. package/dist/callbacks/subscriptions/postNPCInitLate.lua +2 -1
  44. package/dist/callbacks/subscriptions/postNewLevelReordered.lua +2 -1
  45. package/dist/callbacks/subscriptions/postNewRoomEarly.lua +2 -1
  46. package/dist/callbacks/subscriptions/postNewRoomReordered.lua +2 -1
  47. package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +2 -1
  48. package/dist/callbacks/subscriptions/postPickupCollect.lua +2 -1
  49. package/dist/callbacks/subscriptions/postPickupInitLate.lua +2 -1
  50. package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +2 -1
  51. package/dist/callbacks/subscriptions/postPlayerChangeType.lua +2 -1
  52. package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +2 -1
  53. package/dist/callbacks/subscriptions/postPlayerInitLate.lua +2 -1
  54. package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +2 -1
  55. package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +2 -1
  56. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +2 -1
  57. package/dist/callbacks/subscriptions/postProjectileInitLate.lua +2 -1
  58. package/dist/callbacks/subscriptions/postPurchase.lua +2 -1
  59. package/dist/callbacks/subscriptions/postSacrifice.lua +2 -1
  60. package/dist/callbacks/subscriptions/postSlotDestroyed.lua +2 -1
  61. package/dist/callbacks/subscriptions/postSlotInit.lua +2 -1
  62. package/dist/callbacks/subscriptions/postSlotRender.lua +2 -1
  63. package/dist/callbacks/subscriptions/postSlotUpdate.lua +2 -1
  64. package/dist/callbacks/subscriptions/postTearInitLate.lua +2 -1
  65. package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +2 -1
  66. package/dist/callbacks/subscriptions/postTransformation.lua +2 -1
  67. package/dist/callbacks/subscriptions/postTrinketBreak.lua +2 -1
  68. package/dist/callbacks/subscriptions/preBerserkDeath.lua +2 -1
  69. package/dist/callbacks/subscriptions/preCustomRevive.lua +2 -1
  70. package/dist/callbacks/subscriptions/preItemPickup.lua +2 -1
  71. package/dist/callbacks/subscriptions/preNewLevel.lua +2 -1
  72. package/dist/constants.lua +3 -1
  73. package/dist/features/deployJSONRoom.lua +6 -1
  74. package/dist/features/getCollectibleItemPoolType.lua +3 -1
  75. package/dist/features/preventCollectibleRotate.lua +3 -1
  76. package/dist/features/runInNFrames.lua +3 -1
  77. package/dist/features/saveDataManager/exports.lua +2 -1
  78. package/dist/features/saveDataManager/load.lua +2 -1
  79. package/dist/features/saveDataManager/maps.lua +3 -1
  80. package/dist/features/saveDataManager/merge.lua +2 -1
  81. package/dist/features/sirenHelpers.lua +2 -1
  82. package/dist/functions/array.lua +8 -1
  83. package/dist/functions/cards.lua +2 -1
  84. package/dist/functions/collectibleSet.lua +3 -1
  85. package/dist/functions/deepCopy.lua +6 -1
  86. package/dist/functions/deepCopyTests.lua +5 -1
  87. package/dist/functions/doors.lua +4 -1
  88. package/dist/functions/entity.lua +7 -1
  89. package/dist/functions/globals.lua +5 -1
  90. package/dist/functions/gridEntity.lua +5 -1
  91. package/dist/functions/input.lua +5 -1
  92. package/dist/functions/jsonRoom.lua +3 -1
  93. package/dist/functions/log.lua +2 -1
  94. package/dist/functions/math.lua +2 -1
  95. package/dist/functions/npc.lua +5 -1
  96. package/dist/functions/pickups.lua +3 -1
  97. package/dist/functions/player.d.ts +8 -3
  98. package/dist/functions/player.lua +11 -3
  99. package/dist/functions/playerHealth.lua +2 -1
  100. package/dist/functions/pocketItems.lua +3 -1
  101. package/dist/functions/rooms.lua +7 -1
  102. package/dist/functions/sprite.lua +2 -1
  103. package/dist/functions/trinketSet.lua +3 -1
  104. package/dist/functions/util.lua +9 -1
  105. package/dist/lualib_bundle.lua +1158 -1027
  106. package/dist/maps/cardDescriptionMap.lua +3 -1
  107. package/dist/maps/cardNameMap.lua +3 -1
  108. package/dist/maps/challengeNameMap.lua +3 -1
  109. package/dist/maps/collectibleDescriptionMap.lua +3 -1
  110. package/dist/maps/collectibleNameMap.lua +3 -1
  111. package/dist/maps/gridEntityXMLMap.lua +3 -1
  112. package/dist/maps/pillEffectNameMap.lua +3 -1
  113. package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +3 -1
  114. package/dist/maps/transformationMaps.lua +6 -1
  115. package/dist/maps/transformationNameMap.lua +3 -1
  116. package/dist/maps/trinketDescriptionMap.lua +3 -1
  117. package/dist/maps/trinketNameMap.lua +3 -1
  118. package/dist/patchErrorFunctions.lua +4 -1
  119. package/dist/sets/cards.lua +3 -1
  120. package/dist/types/ModUpgraded.lua +4 -1
  121. package/dist/upgradeMod.lua +2 -1
  122. package/package.json +1 -1
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.CARD_DESCRIPTION_MAP = __TS__New(Map, {
5
7
  {1, "Where journey begins"},
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.CARD_NAME_MAP = __TS__New(Map, {
5
7
  {Card.CARD_FOOL, "0 - The Fool"},
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.CHALLENGE_NAME_MAP = __TS__New(Map, {
5
7
  {Challenge.CHALLENGE_PITCH_BLACK, "Pitch Black"},
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.COLLECTIBLE_DESCRIPTION_MAP = __TS__New(Map, {
5
7
  {1, "Tears up"},
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.COLLECTIBLE_NAME_MAP = __TS__New(Map, {
5
7
  {1, "The Sad Onion"},
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.GRID_ENTITY_XML_MAP = __TS__New(Map, {
5
7
  {1000, {GridEntityType.GRID_ROCK, 0}},
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.PILL_EFFECT_NAME_MAP = __TS__New(Map, {
5
7
  {PillEffect.PILLEFFECT_BAD_GAS, "Bad Gas"},
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.ROOM_SHAPE_TO_TOP_LEFT_WALL_GRID_INDEX_MAP = __TS__New(Map, {
5
7
  {RoomShape.ROOMSHAPE_IH, 30},
@@ -1,5 +1,10 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
5
+ local Set = ____lualib.Set
6
+ local __TS__Iterator = ____lualib.__TS__Iterator
7
+ local __TS__ArrayPush = ____lualib.__TS__ArrayPush
3
8
  local ____exports = {}
4
9
  local initMaps
5
10
  local ____collectibles = require("functions.collectibles")
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.TRANSFORMATION_NAME_MAP = __TS__New(Map, {
5
7
  {PlayerForm.PLAYERFORM_GUPPY, "Guppy"},
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.TRINKET_DESCRIPTION_MAP = __TS__New(Map, {
5
7
  {1, "Gulp!"},
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Map = ____lualib.Map
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.TRINKET_NAME_MAP = __TS__New(Map, {
5
7
  {1, "Swallowed Penny"},
@@ -1,5 +1,8 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local __TS__StringSplit = ____lualib.__TS__StringSplit
4
+ local __TS__StringIncludes = ____lualib.__TS__StringIncludes
5
+ local __TS__ArraySplice = ____lualib.__TS__ArraySplice
3
6
  local ____exports = {}
4
7
  local errorWithTraceback, slimTracebackOutput, removeAnyLineThatContains, LINE_SEPARATOR, USELESS_TRACEBACK_MESSAGES, vanillaError
5
8
  local ____debug = require("functions.debug")
@@ -1,5 +1,7 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local Set = ____lualib.Set
4
+ local __TS__New = ____lualib.__TS__New
3
5
  local ____exports = {}
4
6
  ____exports.CARDS = {
5
7
  Card.CARD_FOOL,
@@ -1,5 +1,8 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local __TS__Class = ____lualib.__TS__Class
4
+ local __TS__Spread = ____lualib.__TS__Spread
5
+ local __TS__ObjectEntries = ____lualib.__TS__ObjectEntries
3
6
  local ____exports = {}
4
7
  local getCallbackName, getCallbackRegisterFunction
5
8
  local ____postBombInitLate = require("callbacks.subscriptions.postBombInitLate")
@@ -1,5 +1,6 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- require("lualib_bundle");
2
+ local ____lualib = require("lualib_bundle")
3
+ local __TS__New = ____lualib.__TS__New
3
4
  local ____exports = {}
4
5
  local initCustomCallbacks, initFeatures
5
6
  local ____customRevive = require("callbacks.customRevive")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.607",
3
+ "version": "1.0.608-dev.1",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",