isaacscript-common 1.0.607 → 1.0.608-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/callbacks/itemPickup.lua +3 -1
- package/dist/callbacks/postBombInitLate.lua +3 -1
- package/dist/callbacks/postCursedTeleport.lua +6 -4
- package/dist/callbacks/postEffectInitLate.lua +3 -1
- package/dist/callbacks/postFamiliarInitLate.lua +3 -1
- package/dist/callbacks/postGridEntity.lua +4 -1
- package/dist/callbacks/postKnifeInitLate.lua +3 -1
- package/dist/callbacks/postLaserInitLate.lua +3 -1
- package/dist/callbacks/postNPCInitLate.lua +3 -1
- package/dist/callbacks/postPickupCollect.lua +3 -1
- package/dist/callbacks/postPickupInitLate.lua +3 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +3 -1
- package/dist/callbacks/postPlayerChangeType.lua +3 -1
- package/dist/callbacks/postPlayerFatalDamage.lua +3 -1
- package/dist/callbacks/postPlayerInitLate.lua +3 -1
- package/dist/callbacks/postPlayerReordered.lua +2 -1
- package/dist/callbacks/postProjectileInitLate.lua +3 -1
- package/dist/callbacks/postPurchase.lua +4 -1
- package/dist/callbacks/postSlotInitUpdate.lua +3 -1
- package/dist/callbacks/postSlotRenderBroken.lua +3 -1
- package/dist/callbacks/postTearInitLate.lua +3 -1
- package/dist/callbacks/postTearInitVeryLate.lua +3 -1
- package/dist/callbacks/postTransformation.lua +3 -1
- package/dist/callbacks/postTrinketBreak.lua +3 -1
- package/dist/callbacks/preBerserkDeath.lua +3 -3
- package/dist/callbacks/preNewLevel.lua +3 -1
- package/dist/callbacks/subscriptions/postBombInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +2 -1
- package/dist/callbacks/subscriptions/postCustomRevive.lua +2 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postEsauJr.lua +2 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +2 -1
- package/dist/callbacks/subscriptions/postFirstFlip.lua +2 -1
- package/dist/callbacks/subscriptions/postFlip.lua +2 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +2 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +2 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +2 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +2 -1
- package/dist/callbacks/subscriptions/postItemPickup.lua +2 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +2 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +2 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +2 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +2 -1
- package/dist/callbacks/subscriptions/postPickupCollect.lua +2 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +2 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +2 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +2 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +2 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +2 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +2 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postPurchase.lua +2 -1
- package/dist/callbacks/subscriptions/postSacrifice.lua +2 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +2 -1
- package/dist/callbacks/subscriptions/postSlotInit.lua +2 -1
- package/dist/callbacks/subscriptions/postSlotRender.lua +2 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +2 -1
- package/dist/callbacks/subscriptions/postTearInitLate.lua +2 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +2 -1
- package/dist/callbacks/subscriptions/postTransformation.lua +2 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +2 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +2 -1
- package/dist/callbacks/subscriptions/preCustomRevive.lua +2 -1
- package/dist/callbacks/subscriptions/preItemPickup.lua +2 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +2 -1
- package/dist/constants.lua +3 -1
- package/dist/features/deployJSONRoom.lua +6 -1
- package/dist/features/getCollectibleItemPoolType.lua +3 -1
- package/dist/features/preventCollectibleRotate.lua +3 -1
- package/dist/features/runInNFrames.lua +3 -1
- package/dist/features/saveDataManager/exports.lua +2 -1
- package/dist/features/saveDataManager/load.lua +2 -1
- package/dist/features/saveDataManager/maps.lua +3 -1
- package/dist/features/saveDataManager/merge.lua +2 -1
- package/dist/features/sirenHelpers.lua +2 -1
- package/dist/functions/array.lua +8 -1
- package/dist/functions/cards.lua +2 -1
- package/dist/functions/collectibleSet.lua +3 -1
- package/dist/functions/deepCopy.lua +6 -1
- package/dist/functions/deepCopyTests.lua +5 -1
- package/dist/functions/doors.lua +4 -1
- package/dist/functions/entity.lua +7 -1
- package/dist/functions/globals.lua +5 -1
- package/dist/functions/gridEntity.lua +5 -1
- package/dist/functions/input.lua +5 -1
- package/dist/functions/jsonRoom.lua +3 -1
- package/dist/functions/log.lua +2 -1
- package/dist/functions/math.lua +2 -1
- package/dist/functions/npc.lua +5 -1
- package/dist/functions/pickups.lua +3 -1
- package/dist/functions/player.d.ts +8 -3
- package/dist/functions/player.lua +11 -3
- package/dist/functions/playerHealth.lua +2 -1
- package/dist/functions/pocketItems.lua +3 -1
- package/dist/functions/rooms.lua +7 -1
- package/dist/functions/sprite.lua +2 -1
- package/dist/functions/trinketSet.lua +3 -1
- package/dist/functions/util.lua +9 -1
- package/dist/lualib_bundle.lua +1158 -1027
- package/dist/maps/cardDescriptionMap.lua +3 -1
- package/dist/maps/cardNameMap.lua +3 -1
- package/dist/maps/challengeNameMap.lua +3 -1
- package/dist/maps/collectibleDescriptionMap.lua +3 -1
- package/dist/maps/collectibleNameMap.lua +3 -1
- package/dist/maps/gridEntityXMLMap.lua +3 -1
- package/dist/maps/pillEffectNameMap.lua +3 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +3 -1
- package/dist/maps/transformationMaps.lua +6 -1
- package/dist/maps/transformationNameMap.lua +3 -1
- package/dist/maps/trinketDescriptionMap.lua +3 -1
- package/dist/maps/trinketNameMap.lua +3 -1
- package/dist/patchErrorFunctions.lua +4 -1
- package/dist/sets/cards.lua +3 -1
- package/dist/types/ModUpgraded.lua +4 -1
- package/dist/upgradeMod.lua +2 -1
- 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
|
|
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
|
|
97
|
-
if player:HasTrinket(TrinketType.TRINKET_CURSED_SKULL) and
|
|
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
|
|
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
|
|
27
|
-
if berserkEffect ~= nil and berserkEffect.Cooldown == 1 and
|
|
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)
|