isaacscript-common 1.0.561 → 1.0.562
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
2
|
local ____exports = {}
|
|
3
|
-
local hasSubscriptions, postRender, postNewRoom,
|
|
3
|
+
local hasSubscriptions, postRender, postNewRoom, postPEffectUpdateReordered, postPlayerFatalDamage, CustomReviveState, v
|
|
4
4
|
local ____exports = require("features.saveDataManager.exports")
|
|
5
5
|
local saveDataManager = ____exports.saveDataManager
|
|
6
6
|
local ____collectibles = require("functions.collectibles")
|
|
@@ -36,7 +36,7 @@ function postNewRoom(self)
|
|
|
36
36
|
v.run.dyingPlayerIndex = nil
|
|
37
37
|
end
|
|
38
38
|
end
|
|
39
|
-
function
|
|
39
|
+
function postPEffectUpdateReordered(self, player)
|
|
40
40
|
if v.run.state ~= CustomReviveState.WAITING_FOR_ITEM_ANIMATION then
|
|
41
41
|
return
|
|
42
42
|
end
|
|
@@ -92,7 +92,7 @@ function ____exports.customReviveCallbacksInit(self, mod)
|
|
|
92
92
|
saveDataManager(nil, "customRevive", v, hasSubscriptions)
|
|
93
93
|
mod:AddCallback(ModCallbacks.MC_POST_RENDER, postRender)
|
|
94
94
|
mod:AddCallback(ModCallbacks.MC_POST_NEW_ROOM, postNewRoom)
|
|
95
|
-
mod:AddCallbackCustom(ModCallbacksCustom.
|
|
95
|
+
mod:AddCallbackCustom(ModCallbacksCustom.MC_POST_PEFFECT_UPDATE_REORDERED, postPEffectUpdateReordered)
|
|
96
96
|
mod:AddCallbackCustom(ModCallbacksCustom.MC_POST_PLAYER_FATAL_DAMAGE, postPlayerFatalDamage)
|
|
97
97
|
end
|
|
98
98
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
|
-
local hasSubscriptions,
|
|
4
|
+
local hasSubscriptions, postPEffectUpdateReordered, queueEmpty, queueNotEmpty, getPickingUpItemForPlayer, v
|
|
5
5
|
local ____exports = require("features.saveDataManager.exports")
|
|
6
6
|
local saveDataManager = ____exports.saveDataManager
|
|
7
7
|
local ____player = require("functions.player")
|
|
@@ -17,7 +17,7 @@ local preItemPickupHasSubscriptions = ____preItemPickup.preItemPickupHasSubscrip
|
|
|
17
17
|
function hasSubscriptions(self)
|
|
18
18
|
return preItemPickupHasSubscriptions(nil) or postItemPickupHasSubscriptions(nil)
|
|
19
19
|
end
|
|
20
|
-
function
|
|
20
|
+
function postPEffectUpdateReordered(self, player)
|
|
21
21
|
if not hasSubscriptions(nil) then
|
|
22
22
|
return
|
|
23
23
|
end
|
|
@@ -62,6 +62,6 @@ v = {
|
|
|
62
62
|
}
|
|
63
63
|
function ____exports.itemPickupCallbacksInit(self, mod)
|
|
64
64
|
saveDataManager(nil, "itemPickup", v, hasSubscriptions)
|
|
65
|
-
mod:AddCallbackCustom(ModCallbacksCustom.
|
|
65
|
+
mod:AddCallbackCustom(ModCallbacksCustom.MC_POST_PEFFECT_UPDATE_REORDERED, postPEffectUpdateReordered)
|
|
66
66
|
end
|
|
67
67
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
|
-
local hasSubscriptions,
|
|
4
|
+
local hasSubscriptions, postPEffectUpdateReordered, getCurrentHealthValue, v
|
|
5
5
|
local ____exports = require("features.saveDataManager.exports")
|
|
6
6
|
local saveDataManager = ____exports.saveDataManager
|
|
7
7
|
local ____player = require("functions.player")
|
|
@@ -19,7 +19,7 @@ local postPlayerChangeHealthHasSubscriptions = ____postPlayerChangeHealth.postPl
|
|
|
19
19
|
function hasSubscriptions(self)
|
|
20
20
|
return postPlayerChangeHealthHasSubscriptions(nil)
|
|
21
21
|
end
|
|
22
|
-
function
|
|
22
|
+
function postPEffectUpdateReordered(self, player)
|
|
23
23
|
if not hasSubscriptions(nil) then
|
|
24
24
|
return
|
|
25
25
|
end
|
|
@@ -104,6 +104,6 @@ v = {
|
|
|
104
104
|
}
|
|
105
105
|
function ____exports.postPlayerChangeHealthCallbackInit(self, mod)
|
|
106
106
|
saveDataManager(nil, "postPlayerChangeHealth", v, hasSubscriptions)
|
|
107
|
-
mod:AddCallbackCustom(ModCallbacksCustom.
|
|
107
|
+
mod:AddCallbackCustom(ModCallbacksCustom.MC_POST_PEFFECT_UPDATE_REORDERED, postPEffectUpdateReordered)
|
|
108
108
|
end
|
|
109
109
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
|
-
local hasSubscriptions,
|
|
4
|
+
local hasSubscriptions, postPEffectUpdateReordered, v
|
|
5
5
|
local ____exports = require("features.saveDataManager.exports")
|
|
6
6
|
local saveDataManager = ____exports.saveDataManager
|
|
7
7
|
local ____player = require("functions.player")
|
|
@@ -14,7 +14,7 @@ local postPlayerChangeTypeHasSubscriptions = ____postPlayerChangeType.postPlayer
|
|
|
14
14
|
function hasSubscriptions(self)
|
|
15
15
|
return postPlayerChangeTypeHasSubscriptions(nil)
|
|
16
16
|
end
|
|
17
|
-
function
|
|
17
|
+
function postPEffectUpdateReordered(self, player)
|
|
18
18
|
if not hasSubscriptions(nil) then
|
|
19
19
|
return
|
|
20
20
|
end
|
|
@@ -37,6 +37,6 @@ v = {
|
|
|
37
37
|
}
|
|
38
38
|
function ____exports.postPlayerChangeTypeCallbackInit(self, mod)
|
|
39
39
|
saveDataManager(nil, "postPlayerChangeType", v, hasSubscriptions)
|
|
40
|
-
mod:AddCallbackCustom(ModCallbacksCustom.
|
|
40
|
+
mod:AddCallbackCustom(ModCallbacksCustom.MC_POST_PEFFECT_UPDATE_REORDERED, postPEffectUpdateReordered)
|
|
41
41
|
end
|
|
42
42
|
return ____exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
|
-
local hasSubscriptions,
|
|
4
|
+
local hasSubscriptions, postPEffectUpdateReordered, v
|
|
5
5
|
local ____exports = require("features.saveDataManager.exports")
|
|
6
6
|
local saveDataManager = ____exports.saveDataManager
|
|
7
7
|
local ____array = require("functions.array")
|
|
@@ -16,7 +16,7 @@ local postTransformationHasSubscriptions = ____postTransformation.postTransforma
|
|
|
16
16
|
function hasSubscriptions(self)
|
|
17
17
|
return postTransformationHasSubscriptions(nil)
|
|
18
18
|
end
|
|
19
|
-
function
|
|
19
|
+
function postPEffectUpdateReordered(self, player)
|
|
20
20
|
if not hasSubscriptions(nil) then
|
|
21
21
|
return
|
|
22
22
|
end
|
|
@@ -46,6 +46,6 @@ v = {
|
|
|
46
46
|
}
|
|
47
47
|
function ____exports.postTransformationCallbackInit(self, mod)
|
|
48
48
|
saveDataManager(nil, "postTransformation", v, hasSubscriptions)
|
|
49
|
-
mod:AddCallbackCustom(ModCallbacksCustom.
|
|
49
|
+
mod:AddCallbackCustom(ModCallbacksCustom.MC_POST_PEFFECT_UPDATE_REORDERED, postPEffectUpdateReordered)
|
|
50
50
|
end
|
|
51
51
|
return ____exports
|