isaacscript-common 1.0.604 → 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 (123) 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 +23 -3
  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 +8 -2
  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.d.ts +12 -0
  105. package/dist/functions/util.lua +17 -1
  106. package/dist/lualib_bundle.lua +1158 -1027
  107. package/dist/maps/cardDescriptionMap.lua +3 -1
  108. package/dist/maps/cardNameMap.lua +3 -1
  109. package/dist/maps/challengeNameMap.lua +3 -1
  110. package/dist/maps/collectibleDescriptionMap.lua +3 -1
  111. package/dist/maps/collectibleNameMap.lua +3 -1
  112. package/dist/maps/gridEntityXMLMap.lua +3 -1
  113. package/dist/maps/pillEffectNameMap.lua +3 -1
  114. package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +3 -1
  115. package/dist/maps/transformationMaps.lua +6 -1
  116. package/dist/maps/transformationNameMap.lua +3 -1
  117. package/dist/maps/trinketDescriptionMap.lua +3 -1
  118. package/dist/maps/trinketNameMap.lua +3 -1
  119. package/dist/patchErrorFunctions.lua +4 -1
  120. package/dist/sets/cards.lua +3 -1
  121. package/dist/types/ModUpgraded.lua +4 -1
  122. package/dist/upgradeMod.lua +2 -1
  123. 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
  local hasSubscriptions, postPEffectUpdateReordered, queueEmpty, queueNotEmpty, getPickingUpItemForPlayer, 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, postBombUpdate, 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 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")
@@ -8,7 +10,7 @@ local ____flag = require("functions.flag")
8
10
  local hasFlag = ____flag.hasFlag
9
11
  local ____player = require("functions.player")
10
12
  local getPlayerIndex = ____player.getPlayerIndex
11
- local getPlayerNumAllHearts = ____player.getPlayerNumAllHearts
13
+ local getPlayerNumHitsRemaining = ____player.getPlayerNumHitsRemaining
12
14
  local ____postCursedTeleport = require("callbacks.subscriptions.postCursedTeleport")
13
15
  local postCursedTeleportFire = ____postCursedTeleport.postCursedTeleportFire
14
16
  local postCursedTeleportHasSubscriptions = ____postCursedTeleport.postCursedTeleportHasSubscriptions
@@ -93,8 +95,8 @@ function playerIsTeleportingFromCursedTeleport(self, player, lastDamageFrame)
93
95
  if player:HasCollectible(CollectibleType.COLLECTIBLE_CURSED_EYE) then
94
96
  return true
95
97
  end
96
- local numHitsLeft = getPlayerNumAllHearts(nil, player)
97
- if player:HasTrinket(TrinketType.TRINKET_CURSED_SKULL) and numHitsLeft == 1 then
98
+ local numHitsRemaining = getPlayerNumHitsRemaining(nil, player)
99
+ if player:HasTrinket(TrinketType.TRINKET_CURSED_SKULL) and numHitsRemaining == 1 then
98
100
  return true
99
101
  end
100
102
  return false
@@ -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,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,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, checkGridEntityRemoved, postNewRoom, checkNewGridEntity, 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 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,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, getCurrentHealthValue, 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 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,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, 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, 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,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, checkPickupsPurchased, storePickupsInMap, storePlayersInMap, pickupIndexExists, 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 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,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,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, postPEffectUpdateReordered, getTrinketMap, TRINKETS_THAT_CAN_BREAK, v
5
7
  local ____exports = require("features.saveDataManager.exports")
@@ -2,7 +2,7 @@
2
2
  local ____exports = {}
3
3
  local hasSubscriptions, postPEffectUpdateReordered
4
4
  local ____player = require("functions.player")
5
- local getPlayerNumAllHearts = ____player.getPlayerNumAllHearts
5
+ local getPlayerNumHitsRemaining = ____player.getPlayerNumHitsRemaining
6
6
  local isChildPlayer = ____player.isChildPlayer
7
7
  local ____revive = require("functions.revive")
8
8
  local willPlayerRevive = ____revive.willPlayerRevive
@@ -23,8 +23,8 @@ function postPEffectUpdateReordered(self, player)
23
23
  end
24
24
  local effects = player:GetEffects()
25
25
  local berserkEffect = effects:GetCollectibleEffect(CollectibleType.COLLECTIBLE_BERSERK)
26
- local playerNumAllHearts = getPlayerNumAllHearts(nil, player)
27
- if berserkEffect ~= nil and berserkEffect.Cooldown == 1 and playerNumAllHearts == 0 and not willPlayerRevive(nil, player) then
26
+ local numHitsRemaining = getPlayerNumHitsRemaining(nil, player)
27
+ if berserkEffect ~= nil and berserkEffect.Cooldown == 1 and numHitsRemaining == 0 and not willPlayerRevive(nil, player) then
28
28
  preBerserkDeathFire(nil, player)
29
29
  end
30
30
  end
@@ -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.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.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.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)
@@ -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.postPlayerFatalDamageHasSubscriptions(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.postPlayerInitLateHasSubscriptions(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.postPlayerInitReorderedHasSubscriptions(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.postPlayerRenderReorderedHasSubscriptions(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.postPlayerUpdateReorderedHasSubscriptions(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.postProjectileInitLateHasSubscriptions(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.postPurchaseHasSubscriptions(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.postSacrificeHasSubscriptions(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.postSlotDestroyedHasSubscriptions(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.postSlotInitHasSubscriptions(self)