isaacscript-common 1.2.95 → 1.2.98

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 (148) hide show
  1. package/dist/callbacks/itemPickup.lua +1 -2
  2. package/dist/callbacks/postBombInitLate.lua +1 -3
  3. package/dist/callbacks/postBoneSwing.lua +1 -4
  4. package/dist/callbacks/postCursedTeleport.lua +1 -3
  5. package/dist/callbacks/postEffectInitLate.lua +1 -3
  6. package/dist/callbacks/postEsauJr.lua +1 -2
  7. package/dist/callbacks/postFamiliarInitLate.lua +1 -3
  8. package/dist/callbacks/postFlip.lua +1 -2
  9. package/dist/callbacks/postGridEntity.lua +1 -4
  10. package/dist/callbacks/postGridEntityCollision.lua +1 -6
  11. package/dist/callbacks/postKnifeInitLate.lua +1 -3
  12. package/dist/callbacks/postLaserInitLate.lua +1 -3
  13. package/dist/callbacks/postNPCInitLate.lua +1 -3
  14. package/dist/callbacks/postPickupCollect.lua +1 -3
  15. package/dist/callbacks/postPickupInitLate.lua +1 -3
  16. package/dist/callbacks/postPlayerChangeHealth.lua +15 -9
  17. package/dist/callbacks/postPlayerChangeType.lua +1 -3
  18. package/dist/callbacks/postPlayerFatalDamage.lua +1 -2
  19. package/dist/callbacks/postPlayerInitLate.lua +1 -3
  20. package/dist/callbacks/postPlayerReordered.lua +1 -2
  21. package/dist/callbacks/postProjectileInitLate.lua +1 -3
  22. package/dist/callbacks/postPurchase.lua +1 -6
  23. package/dist/callbacks/postSlotInitUpdate.lua +1 -3
  24. package/dist/callbacks/postSlotRenderBroken.lua +1 -3
  25. package/dist/callbacks/postTearInitLate.lua +1 -3
  26. package/dist/callbacks/postTearInitVeryLate.lua +1 -3
  27. package/dist/callbacks/postTransformation.lua +1 -4
  28. package/dist/callbacks/postTrinketBreak.lua +1 -2
  29. package/dist/callbacks/preNewLevel.lua +1 -3
  30. package/dist/callbacks/subscriptions/postBombInitLate.lua +1 -2
  31. package/dist/callbacks/subscriptions/postBoneSwing.lua +1 -2
  32. package/dist/callbacks/subscriptions/postCursedTeleport.lua +1 -2
  33. package/dist/callbacks/subscriptions/postCustomRevive.lua +1 -2
  34. package/dist/callbacks/subscriptions/postEffectInitLate.lua +1 -2
  35. package/dist/callbacks/subscriptions/postEsauJr.lua +1 -2
  36. package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +1 -2
  37. package/dist/callbacks/subscriptions/postFirstEsauJr.lua +1 -2
  38. package/dist/callbacks/subscriptions/postFirstFlip.lua +1 -2
  39. package/dist/callbacks/subscriptions/postFlip.lua +1 -2
  40. package/dist/callbacks/subscriptions/postGameStartedReordered.lua +1 -2
  41. package/dist/callbacks/subscriptions/postGridEntityBroken.lua +1 -2
  42. package/dist/callbacks/subscriptions/postGridEntityCollision.lua +1 -2
  43. package/dist/callbacks/subscriptions/postGridEntityInit.lua +1 -2
  44. package/dist/callbacks/subscriptions/postGridEntityRemove.lua +1 -2
  45. package/dist/callbacks/subscriptions/postGridEntityStateChange.lua +1 -2
  46. package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +1 -2
  47. package/dist/callbacks/subscriptions/postItemPickup.lua +1 -2
  48. package/dist/callbacks/subscriptions/postKnifeInitLate.lua +1 -2
  49. package/dist/callbacks/subscriptions/postLaserInitLate.lua +1 -2
  50. package/dist/callbacks/subscriptions/postNPCInitLate.lua +1 -2
  51. package/dist/callbacks/subscriptions/postNewLevelReordered.lua +1 -2
  52. package/dist/callbacks/subscriptions/postNewRoomEarly.lua +1 -2
  53. package/dist/callbacks/subscriptions/postNewRoomReordered.lua +1 -2
  54. package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +1 -2
  55. package/dist/callbacks/subscriptions/postPickupCollect.lua +1 -2
  56. package/dist/callbacks/subscriptions/postPickupInitLate.lua +1 -2
  57. package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +1 -2
  58. package/dist/callbacks/subscriptions/postPlayerChangeType.lua +1 -2
  59. package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +1 -2
  60. package/dist/callbacks/subscriptions/postPlayerInitLate.lua +1 -2
  61. package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +1 -2
  62. package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +1 -2
  63. package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +1 -2
  64. package/dist/callbacks/subscriptions/postProjectileInitLate.lua +1 -2
  65. package/dist/callbacks/subscriptions/postPurchase.lua +1 -2
  66. package/dist/callbacks/subscriptions/postSacrifice.lua +1 -2
  67. package/dist/callbacks/subscriptions/postSlotDestroyed.lua +1 -2
  68. package/dist/callbacks/subscriptions/postSlotInit.lua +1 -2
  69. package/dist/callbacks/subscriptions/postSlotRender.lua +1 -2
  70. package/dist/callbacks/subscriptions/postSlotUpdate.lua +1 -2
  71. package/dist/callbacks/subscriptions/postTearInitLate.lua +1 -2
  72. package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +1 -2
  73. package/dist/callbacks/subscriptions/postTransformation.lua +1 -2
  74. package/dist/callbacks/subscriptions/postTrinketBreak.lua +1 -2
  75. package/dist/callbacks/subscriptions/preBerserkDeath.lua +1 -2
  76. package/dist/callbacks/subscriptions/preCustomRevive.lua +1 -2
  77. package/dist/callbacks/subscriptions/preItemPickup.lua +1 -2
  78. package/dist/callbacks/subscriptions/preNewLevel.lua +1 -2
  79. package/dist/constants.lua +1 -3
  80. package/dist/features/deployJSONRoom.lua +1 -6
  81. package/dist/features/disableInputs.lua +1 -5
  82. package/dist/features/getCollectibleItemPoolType.lua +1 -3
  83. package/dist/features/isPonyActive.lua +1 -3
  84. package/dist/features/preventCollectibleRotate.lua +1 -3
  85. package/dist/features/runInNFrames.lua +1 -4
  86. package/dist/features/saveDataManager/exports.lua +1 -3
  87. package/dist/features/saveDataManager/load.lua +1 -2
  88. package/dist/features/saveDataManager/main.lua +0 -2
  89. package/dist/features/saveDataManager/maps.lua +1 -3
  90. package/dist/features/saveDataManager/merge.lua +1 -4
  91. package/dist/features/saveDataManager/save.lua +1 -3
  92. package/dist/features/sirenHelpers.lua +1 -3
  93. package/dist/functions/array.lua +1 -8
  94. package/dist/functions/bitwise.d.ts +1 -0
  95. package/dist/functions/bitwise.lua +8 -0
  96. package/dist/functions/cards.lua +1 -2
  97. package/dist/functions/collectibleCacheFlag.lua +1 -6
  98. package/dist/functions/collectibleSet.lua +1 -3
  99. package/dist/functions/deepCopy.lua +1 -6
  100. package/dist/functions/deepCopyTests.lua +1 -5
  101. package/dist/functions/doors.lua +1 -6
  102. package/dist/functions/entity.lua +1 -6
  103. package/dist/functions/entitySpecific.lua +1 -2
  104. package/dist/functions/familiars.lua +1 -3
  105. package/dist/functions/flying.lua +1 -4
  106. package/dist/functions/globals.lua +1 -6
  107. package/dist/functions/gridEntity.lua +1 -7
  108. package/dist/functions/input.lua +1 -7
  109. package/dist/functions/jsonRoom.lua +1 -3
  110. package/dist/functions/log.lua +1 -6
  111. package/dist/functions/map.lua +1 -4
  112. package/dist/functions/math.d.ts +0 -1
  113. package/dist/functions/math.lua +12 -21
  114. package/dist/functions/npc.lua +1 -5
  115. package/dist/functions/player.d.ts +9 -0
  116. package/dist/functions/player.lua +37 -41
  117. package/dist/functions/playerHealth.lua +1 -3
  118. package/dist/functions/pocketItems.lua +1 -4
  119. package/dist/functions/positionVelocity.lua +1 -3
  120. package/dist/functions/rooms.lua +2 -10
  121. package/dist/functions/set.lua +1 -4
  122. package/dist/functions/string.lua +1 -4
  123. package/dist/functions/transformations.lua +1 -5
  124. package/dist/functions/trinketCacheFlag.lua +1 -5
  125. package/dist/functions/trinketSet.lua +1 -3
  126. package/dist/functions/utils.lua +1 -5
  127. package/dist/lualib_bundle.lua +1027 -1158
  128. package/dist/maps/cardDescriptionMap.lua +1 -3
  129. package/dist/maps/cardNameMap.lua +1 -3
  130. package/dist/maps/challengeNameMap.lua +1 -3
  131. package/dist/maps/collectibleDescriptionMap.lua +1 -3
  132. package/dist/maps/collectibleNameMap.lua +1 -3
  133. package/dist/maps/gridEntityTypeToBrokenStateMap.lua +1 -3
  134. package/dist/maps/gridEntityXMLMap.lua +1 -3
  135. package/dist/maps/pillEffectClassMap.lua +1 -3
  136. package/dist/maps/pillEffectNameMap.lua +1 -3
  137. package/dist/maps/pillEffectTypeMap.lua +1 -3
  138. package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +1 -3
  139. package/dist/maps/transformationNameMap.lua +1 -3
  140. package/dist/maps/trinketDescriptionMap.lua +1 -3
  141. package/dist/maps/trinketNameMap.lua +1 -3
  142. package/dist/patchErrorFunctions.lua +1 -4
  143. package/dist/sets/cards.lua +1 -3
  144. package/dist/types/DefaultMap.lua +1 -5
  145. package/dist/types/ModUpgraded.lua +1 -4
  146. package/dist/types/SerializationBrand.lua +1 -3
  147. package/dist/upgradeMod.lua +1 -2
  148. package/package.json +5 -5
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local hasSubscriptions, postPEffectUpdateReordered, queueEmpty, queueNotEmpty, v
6
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postBombUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,8 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
5
- local Map = ____lualib.Map
2
+ require("lualib_bundle");
6
3
  local ____exports = {}
7
4
  local hasSubscriptions, postKnifeRender, postKnifeRenderBoneClub, boneClubAnimationChanged, BONE_SWING_ANIMATIONS, v
8
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Map = ____lualib.Map
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, entityTakeDmgPlayer, setDamageFrame, isPotentialNaturalTeleportFromSacrificeRoom, incrementNumSacrifices, postPlayerRenderPlayer, playerIsTeleportingFromCursedTeleport, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postEffectUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayFind = ____lualib.__TS__ArrayFind
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local hasSubscriptions, postUpdate, getPlayerWithControllerIndex, useItemEsauJr, v
6
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postFamiliarUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayFind = ____lualib.__TS__ArrayFind
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local hasSubscriptions, useItemFlip, getNewLazarus, v
6
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,8 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Map = ____lualib.Map
4
- local __TS__New = ____lualib.__TS__New
5
- local __TS__Iterator = ____lualib.__TS__Iterator
2
+ require("lualib_bundle");
6
3
  local ____exports = {}
7
4
  local hasSubscriptions, postUpdate, checkGridEntitiesRemoved, checkGridEntityStateChanged, checkNewGridEntity, updateTupleInMap, postNewRoom, v
8
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,10 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
5
- local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
6
- local __TS__ArrayMap = ____lualib.__TS__ArrayMap
7
- local __TS__Iterator = ____lualib.__TS__Iterator
2
+ require("lualib_bundle");
8
3
  local ____exports = {}
9
4
  local hasSubscriptions, postUpdate, v
10
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postKnifeUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postLaserUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postNPCUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postPickupRender, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postPickupUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,13 +1,11 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Map = ____lualib.Map
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postPEffectUpdateReordered, getCurrentHealthValue, v
7
5
  local ____exports = require("features.saveDataManager.exports")
8
6
  local saveDataManager = ____exports.saveDataManager
9
- local ____math = require("functions.math")
10
- local countSetBits = ____math.countSetBits
7
+ local ____bitwise = require("functions.bitwise")
8
+ local countSetBits = ____bitwise.countSetBits
11
9
  local ____player = require("functions.player")
12
10
  local getPlayerIndex = ____player.getPlayerIndex
13
11
  local ____utils = require("functions.utils")
@@ -47,13 +45,19 @@ function getCurrentHealthValue(self, player, healthType)
47
45
  local ____cond11 = ____switch11 == HealthType.RED
48
46
  if ____cond11 then
49
47
  do
50
- return player:GetHearts()
48
+ local rottenHearts = player:GetRottenHearts()
49
+ local hearts = player:GetHearts()
50
+ return hearts - rottenHearts * 2
51
51
  end
52
52
  end
53
53
  ____cond11 = ____cond11 or ____switch11 == HealthType.SOUL
54
54
  if ____cond11 then
55
55
  do
56
- return player:GetSoulHearts()
56
+ local soulHearts = player:GetSoulHearts()
57
+ local blackHeartsBitmask = player:GetBlackHearts()
58
+ local blackHeartsBits = countSetBits(nil, blackHeartsBitmask)
59
+ local blackHearts = blackHeartsBits * 2
60
+ return soulHearts - blackHearts
57
61
  end
58
62
  end
59
63
  ____cond11 = ____cond11 or ____switch11 == HealthType.ETERNAL
@@ -65,8 +69,10 @@ function getCurrentHealthValue(self, player, healthType)
65
69
  ____cond11 = ____cond11 or ____switch11 == HealthType.BLACK
66
70
  if ____cond11 then
67
71
  do
68
- local blackHearts = player:GetBlackHearts()
69
- return countSetBits(nil, blackHearts)
72
+ local blackHeartsBitmask = player:GetBlackHearts()
73
+ local blackHeartsBits = countSetBits(nil, blackHeartsBitmask)
74
+ local blackHearts = blackHeartsBits * 2
75
+ return blackHearts
70
76
  end
71
77
  end
72
78
  ____cond11 = ____cond11 or ____switch11 == HealthType.GOLDEN
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Map = ____lualib.Map
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postPEffectUpdateReordered, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local hasSubscriptions, entityTakeDmgPlayer, v
6
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postPlayerUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local hasSubscriptions, postPEffectUpdate, postPlayerInit, postPlayerUpdate, postPlayerRender, postGameStarted, dequeue, v
6
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postProjectileUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,10 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Map = ____lualib.Map
4
- local __TS__New = ____lualib.__TS__New
5
- local __TS__Iterator = ____lualib.__TS__Iterator
6
- local __TS__ArrayFind = ____lualib.__TS__ArrayFind
7
- local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
2
+ require("lualib_bundle");
8
3
  local ____exports = {}
9
4
  local hasSubscriptions, postUpdate, checkPickupsPurchased, getPlayerThatIsNoLongerHoldingAnItem, storePickupsInMap, storePlayersInMap, pickupAtIndexStillExists, v
10
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postUpdate, postNewRoom, checkNewEntity, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postRender, checkSlotBroken, BROKEN_ANIMATIONS, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postTearUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postTearUpdate, v
7
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,8 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
5
- local __TS__ArrayFilter = ____lualib.__TS__ArrayFilter
2
+ require("lualib_bundle");
6
3
  local ____exports = {}
7
4
  local hasSubscriptions, postPEffectUpdateReordered, VALID_TRANSFORMATIONS, v
8
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local hasSubscriptions, entityTakeDmgPlayer, postPEffectUpdateReordered, TRINKETS_THAT_CAN_BREAK, v
6
5
  local ____exports = require("features.saveDataManager.exports")
@@ -1,7 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local Set = ____lualib.Set
4
- local __TS__New = ____lualib.__TS__New
2
+ require("lualib_bundle");
5
3
  local ____exports = {}
6
4
  local hasSubscriptions, postPlayerRender, TRAVELING_TO_NEXT_FLOOR_ANIMATIONS, firedOnStage
7
5
  local ____sprite = require("functions.sprite")
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postBombInitLateHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postBoneSwingHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postCursedTeleportHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postCustomReviveHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postEffectInitLateHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postEsauJrHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postFamiliarInitLateHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postFirstEsauJrHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postFirstFlipHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postFlipHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postGameStartedReorderedHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postGridEntityBrokenHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postGridEntityCollisionHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postGridEntityInitHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postGridEntityRemoveHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postGridEntityStateChangeHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postGridEntityUpdateHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postItemPickupHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postKnifeInitLateHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postLaserInitLateHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postNPCInitLateHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postNewLevelReorderedHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postNewRoomEarlyHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postNewRoomReorderedHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postPEffectUpdateReorderedHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postPickupCollectHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postPickupInitLateHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postPlayerChangeHealthHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postPlayerChangeTypeHasSubscriptions(self)
@@ -1,6 +1,5 @@
1
1
  --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
2
- local ____lualib = require("lualib_bundle")
3
- local __TS__ArrayPush = ____lualib.__TS__ArrayPush
2
+ require("lualib_bundle");
4
3
  local ____exports = {}
5
4
  local subscriptions = {}
6
5
  function ____exports.postPlayerFatalDamageHasSubscriptions(self)