isaacscript-common 1.2.98 → 1.2.101

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