isaacscript-common 1.0.559 → 1.0.563
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/customRevive.lua +3 -3
- package/dist/callbacks/itemPickup.lua +3 -3
- package/dist/callbacks/postPlayerChangeHealth.lua +3 -3
- package/dist/callbacks/postPlayerChangeType.lua +3 -3
- package/dist/callbacks/postPlayerReordered.lua +20 -5
- package/dist/callbacks/postTransformation.lua +3 -3
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.d.ts +2 -0
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +27 -0
- package/dist/functions/challenges.d.ts +3 -0
- package/dist/functions/challenges.lua +9 -0
- package/dist/functions/input.lua +7 -1
- package/dist/functions/log.d.ts +5 -0
- package/dist/functions/log.lua +30 -4
- package/dist/functions/pocketItems.lua +3 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.lua +8 -0
- package/dist/maps/challengeNameMap.d.ts +2 -0
- package/dist/maps/challengeNameMap.lua +5 -0
- package/dist/types/CallbackParametersCustom.d.ts +5 -0
- package/dist/types/ModCallbacksCustom.d.ts +40 -39
- package/dist/types/ModCallbacksCustom.lua +41 -39
- package/dist/types/ModUpgraded.lua +8 -0
- package/package.json +2 -2
|
@@ -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, postPlayerInit, postPlayerUpdate, postPlayerRender, postGameStarted, dequeue, v
|
|
4
|
+
local hasSubscriptions, postPEffectUpdate, postPlayerInit, postPlayerUpdate, postPlayerRender, postGameStarted, dequeue, v
|
|
5
5
|
local ____exports = require("features.saveDataManager.exports")
|
|
6
6
|
local saveDataManager = ____exports.saveDataManager
|
|
7
7
|
local ____array = require("functions.array")
|
|
@@ -9,6 +9,9 @@ local arrayEmpty = ____array.arrayEmpty
|
|
|
9
9
|
local ____player = require("functions.player")
|
|
10
10
|
local getPlayerFromIndex = ____player.getPlayerFromIndex
|
|
11
11
|
local getPlayerIndex = ____player.getPlayerIndex
|
|
12
|
+
local ____postPEffectUpdateReordered = require("callbacks.subscriptions.postPEffectUpdateReordered")
|
|
13
|
+
local postPEffectUpdateReorderedFire = ____postPEffectUpdateReordered.postPEffectUpdateReorderedFire
|
|
14
|
+
local postPEffectUpdateReorderedHasSubscriptions = ____postPEffectUpdateReordered.postPEffectUpdateReorderedHasSubscriptions
|
|
12
15
|
local ____postPlayerInitReordered = require("callbacks.subscriptions.postPlayerInitReordered")
|
|
13
16
|
local postPlayerInitReorderedFire = ____postPlayerInitReordered.postPlayerInitReorderedFire
|
|
14
17
|
local postPlayerInitReorderedHasSubscriptions = ____postPlayerInitReordered.postPlayerInitReorderedHasSubscriptions
|
|
@@ -19,7 +22,18 @@ local ____postPlayerUpdateReordered = require("callbacks.subscriptions.postPlaye
|
|
|
19
22
|
local postPlayerUpdateReorderedFire = ____postPlayerUpdateReordered.postPlayerUpdateReorderedFire
|
|
20
23
|
local postPlayerUpdateReorderedHasSubscriptions = ____postPlayerUpdateReordered.postPlayerUpdateReorderedHasSubscriptions
|
|
21
24
|
function hasSubscriptions(self)
|
|
22
|
-
return (postPlayerInitReorderedHasSubscriptions(nil) or postPlayerUpdateReorderedHasSubscriptions(nil)) or postPlayerRenderReorderedHasSubscriptions(nil)
|
|
25
|
+
return ((postPlayerInitReorderedHasSubscriptions(nil) or postPEffectUpdateReorderedHasSubscriptions(nil)) or postPlayerUpdateReorderedHasSubscriptions(nil)) or postPlayerRenderReorderedHasSubscriptions(nil)
|
|
26
|
+
end
|
|
27
|
+
function postPEffectUpdate(self, player)
|
|
28
|
+
if not hasSubscriptions(nil) then
|
|
29
|
+
return
|
|
30
|
+
end
|
|
31
|
+
if v.run.postGameStartedFiredOnThisRun then
|
|
32
|
+
postPEffectUpdateReorderedFire(nil, player)
|
|
33
|
+
else
|
|
34
|
+
local playerIndex = getPlayerIndex(nil, player)
|
|
35
|
+
__TS__ArrayPush(v.run.postPEffectUpdateQueue, playerIndex)
|
|
36
|
+
end
|
|
23
37
|
end
|
|
24
38
|
function postPlayerInit(self, player)
|
|
25
39
|
if not hasSubscriptions(nil) then
|
|
@@ -68,17 +82,18 @@ function dequeue(self, playerIndexes, fireFunction)
|
|
|
68
82
|
do
|
|
69
83
|
local player = getPlayerFromIndex(nil, playerIndex)
|
|
70
84
|
if player == nil then
|
|
71
|
-
goto
|
|
85
|
+
goto __continue23
|
|
72
86
|
end
|
|
73
87
|
fireFunction(nil, player)
|
|
74
88
|
end
|
|
75
|
-
::
|
|
89
|
+
::__continue23::
|
|
76
90
|
end
|
|
77
91
|
arrayEmpty(nil, playerIndexes)
|
|
78
92
|
end
|
|
79
|
-
v = {run = {postGameStartedFiredOnThisRun = false, postPlayerInitQueue = {}, postPlayerUpdateQueue = {}, postPlayerRenderQueue = {}}}
|
|
93
|
+
v = {run = {postGameStartedFiredOnThisRun = false, postPlayerInitQueue = {}, postPEffectUpdateQueue = {}, postPlayerUpdateQueue = {}, postPlayerRenderQueue = {}}}
|
|
80
94
|
function ____exports.postPlayerReorderedCallbacksInit(self, mod)
|
|
81
95
|
saveDataManager(nil, "postPlayerReordered", v, hasSubscriptions)
|
|
96
|
+
mod:AddCallback(ModCallbacks.MC_POST_PEFFECT_UPDATE, postPEffectUpdate)
|
|
82
97
|
mod:AddCallback(ModCallbacks.MC_POST_PLAYER_INIT, postPlayerInit)
|
|
83
98
|
mod:AddCallback(ModCallbacks.MC_POST_PLAYER_UPDATE, postPlayerUpdate)
|
|
84
99
|
mod:AddCallback(ModCallbacks.MC_POST_PLAYER_RENDER, postPlayerRender)
|
|
@@ -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
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
+
require("lualib_bundle");
|
|
3
|
+
local ____exports = {}
|
|
4
|
+
local subscriptions = {}
|
|
5
|
+
function ____exports.postPEffectUpdateReorderedHasSubscriptions(self)
|
|
6
|
+
return #subscriptions > 0
|
|
7
|
+
end
|
|
8
|
+
function ____exports.postPEffectUpdateReorderedRegister(self, callback, character)
|
|
9
|
+
__TS__ArrayPush(subscriptions, {callback, character})
|
|
10
|
+
end
|
|
11
|
+
function ____exports.postPEffectUpdateReorderedFire(self, player)
|
|
12
|
+
local character = player:GetPlayerType()
|
|
13
|
+
for ____, ____value in ipairs(subscriptions) do
|
|
14
|
+
local callback
|
|
15
|
+
callback = ____value[1]
|
|
16
|
+
local callbackCharacter
|
|
17
|
+
callbackCharacter = ____value[2]
|
|
18
|
+
do
|
|
19
|
+
if (callbackCharacter ~= nil) and (callbackCharacter ~= character) then
|
|
20
|
+
goto __continue5
|
|
21
|
+
end
|
|
22
|
+
callback(nil, player)
|
|
23
|
+
end
|
|
24
|
+
::__continue5::
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
return ____exports
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
+
local ____exports = {}
|
|
3
|
+
local ____challengeNameMap = require("maps.challengeNameMap")
|
|
4
|
+
local CHALLENGE_NAME_MAP = ____challengeNameMap.CHALLENGE_NAME_MAP
|
|
5
|
+
function ____exports.getChallengeName(self, challenge)
|
|
6
|
+
local challengeName = CHALLENGE_NAME_MAP:get(challenge)
|
|
7
|
+
return ((challengeName == nil) and "Unknown") or challengeName
|
|
8
|
+
end
|
|
9
|
+
return ____exports
|
package/dist/functions/input.lua
CHANGED
|
@@ -132,7 +132,13 @@ function ____exports.isShootActionTriggeredOnAnyInput(self)
|
|
|
132
132
|
return false
|
|
133
133
|
end
|
|
134
134
|
function ____exports.keyboardToString(self, keyboard)
|
|
135
|
-
for
|
|
135
|
+
for ____, ____value in ipairs(
|
|
136
|
+
__TS__ObjectEntries(Keyboard)
|
|
137
|
+
) do
|
|
138
|
+
local keyName
|
|
139
|
+
keyName = ____value[1]
|
|
140
|
+
local keyCode
|
|
141
|
+
keyCode = ____value[2]
|
|
136
142
|
if keyCode == keyboard then
|
|
137
143
|
local withoutPrefix = __TS__StringSlice(keyName, #"KEY_")
|
|
138
144
|
local withoutUnderscores = string.gsub(withoutPrefix, "_", " ")
|
package/dist/functions/log.d.ts
CHANGED
|
@@ -28,6 +28,11 @@ export declare function logAllProjectileFlags(this: void, flags: int): void;
|
|
|
28
28
|
export declare function logAllTearFlags(this: void, flags: int): void;
|
|
29
29
|
/** Helper function for printing out every use flag that is turned on. Helpful when debugging. */
|
|
30
30
|
export declare function logAllUseFlags(this: void, flags: int): void;
|
|
31
|
+
/**
|
|
32
|
+
* Helper function for printing out every seed effect (i.e. Easter Egg) that is turned on for the
|
|
33
|
+
* particular run.
|
|
34
|
+
*/
|
|
35
|
+
export declare function logAllSeedEffects(this: void): void;
|
|
31
36
|
export declare function logArray<T>(this: void, array: T[]): void;
|
|
32
37
|
export declare function logColor(this: void, color: Color): void;
|
|
33
38
|
export declare function logEntity(this: void, entity: Entity): void;
|
package/dist/functions/log.lua
CHANGED
|
@@ -34,11 +34,15 @@ function ____exports.logAllFlags(flags, flagEnum, description)
|
|
|
34
34
|
description = description .. " "
|
|
35
35
|
end
|
|
36
36
|
____exports.log(("Logging all " .. description) .. "flags:")
|
|
37
|
-
for
|
|
37
|
+
for ____, ____value in ipairs(
|
|
38
|
+
__TS__ObjectEntries(flagEnum)
|
|
39
|
+
) do
|
|
40
|
+
local key
|
|
41
|
+
key = ____value[1]
|
|
42
|
+
local value
|
|
43
|
+
value = ____value[2]
|
|
38
44
|
if hasFlag(nil, flags, value) then
|
|
39
|
-
____exports.log(
|
|
40
|
-
"- Has flag: " .. tostring(key)
|
|
41
|
-
)
|
|
45
|
+
____exports.log("- Has flag: " .. key)
|
|
42
46
|
end
|
|
43
47
|
end
|
|
44
48
|
end
|
|
@@ -74,6 +78,28 @@ end
|
|
|
74
78
|
function ____exports.logAllUseFlags(flags)
|
|
75
79
|
____exports.logAllFlags(flags, UseFlag, "use")
|
|
76
80
|
end
|
|
81
|
+
function ____exports.logAllSeedEffects()
|
|
82
|
+
local game = Game()
|
|
83
|
+
local seeds = game:GetSeeds()
|
|
84
|
+
____exports.log("Logging all seed effects:")
|
|
85
|
+
local hasNoSeedEffects = true
|
|
86
|
+
for ____, ____value in ipairs(
|
|
87
|
+
__TS__ObjectEntries(SeedEffect)
|
|
88
|
+
) do
|
|
89
|
+
local key
|
|
90
|
+
key = ____value[1]
|
|
91
|
+
local value
|
|
92
|
+
value = ____value[2]
|
|
93
|
+
local seedEffect = value
|
|
94
|
+
if seeds:HasSeedEffect(seedEffect) then
|
|
95
|
+
____exports.log("- " .. key)
|
|
96
|
+
hasNoSeedEffects = false
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
if hasNoSeedEffects then
|
|
100
|
+
____exports.log("- n/a")
|
|
101
|
+
end
|
|
102
|
+
end
|
|
77
103
|
function ____exports.logArray(array)
|
|
78
104
|
local arrayString = arrayToString(nil, array)
|
|
79
105
|
____exports.log("Array: " .. arrayString)
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
2
|
require("lualib_bundle");
|
|
3
3
|
local ____exports = {}
|
|
4
|
+
local ____constants = require("constants")
|
|
5
|
+
local MAX_PLAYER_POCKET_ITEM_SLOTS = ____constants.MAX_PLAYER_POCKET_ITEM_SLOTS
|
|
4
6
|
local ____PocketItemType = require("types.PocketItemType")
|
|
5
7
|
local PocketItemType = ____PocketItemType.PocketItemType
|
|
6
8
|
function ____exports.getPocketItems(self, player)
|
|
@@ -14,7 +16,7 @@ function ____exports.getPocketItems(self, player)
|
|
|
14
16
|
local pocketItem2Identified = false
|
|
15
17
|
do
|
|
16
18
|
local slot = 0
|
|
17
|
-
while slot <
|
|
19
|
+
while slot < MAX_PLAYER_POCKET_ITEM_SLOTS do
|
|
18
20
|
local card = player:GetCard(slot)
|
|
19
21
|
local pill = player:GetPill(slot)
|
|
20
22
|
if card ~= Card.CARD_NULL then
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { hasSirenStolenFamiliar, setFamiliarNoSirenSteal, } from "./features/sir
|
|
|
11
11
|
export * from "./functions/array";
|
|
12
12
|
export * from "./functions/bitwise";
|
|
13
13
|
export * from "./functions/cards";
|
|
14
|
+
export * from "./functions/challenges";
|
|
14
15
|
export * from "./functions/charge";
|
|
15
16
|
export * from "./functions/collectibles";
|
|
16
17
|
export * from "./functions/collectibleSet";
|
package/dist/index.lua
CHANGED
|
@@ -100,6 +100,14 @@ do
|
|
|
100
100
|
end
|
|
101
101
|
end
|
|
102
102
|
end
|
|
103
|
+
do
|
|
104
|
+
local ____export = require("functions.challenges")
|
|
105
|
+
for ____exportKey, ____exportValue in pairs(____export) do
|
|
106
|
+
if ____exportKey ~= "default" then
|
|
107
|
+
____exports[____exportKey] = ____exportValue
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
103
111
|
do
|
|
104
112
|
local ____export = require("functions.charge")
|
|
105
113
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
|
+
require("lualib_bundle");
|
|
3
|
+
local ____exports = {}
|
|
4
|
+
____exports.CHALLENGE_NAME_MAP = __TS__New(Map, {{Challenge.CHALLENGE_PITCH_BLACK, "Pitch Black"}, {Challenge.CHALLENGE_HIGH_BROW, "High Brow"}, {Challenge.CHALLENGE_HEAD_TRAUMA, "Head Trauma"}, {Challenge.CHALLENGE_DARKNESS_FALLS, "Darkness Falls"}, {Challenge.CHALLENGE_THE_TANK, "The Tank"}, {Challenge.CHALLENGE_SOLAR_SYSTEM, "Solar System"}, {Challenge.CHALLENGE_SUICIDE_KING, "Suicide King"}, {Challenge.CHALLENGE_CAT_GOT_YOUR_TONGUE, "Cat Got Your Tongue"}, {Challenge.CHALLENGE_DEMO_MAN, "Demo Man"}, {Challenge.CHALLENGE_CURSED, "Cursed!"}, {Challenge.CHALLENGE_GLASS_CANNON, "Glass Cannon"}, {Challenge.CHALLENGE_WHEN_LIFE_GIVES_LEMONS, "When Life Gives You Lemons"}, {Challenge.CHALLENGE_BEANS, "Beans!"}, {Challenge.CHALLENGE_ITS_IN_THE_CARDS, "It's In The Cards"}, {Challenge.CHALLENGE_SLOW_ROLL, "Slow Roll"}, {Challenge.CHALLENGE_COMPUTER_SAVY, "Computer Savvy"}, {Challenge.CHALLENGE_WAKA_WAKA, "Waka Waka"}, {Challenge.CHALLENGE_THE_HOST, "The Host"}, {Challenge.CHALLENGE_THE_FAMILY_MAN, "The Family Man"}, {Challenge.CHALLENGE_PURIST, "Purist"}, {Challenge.CHALLENGE_XXXXXXXXL, "XXXXXXXXL"}, {Challenge.CHALLENGE_SPEED, "SPEED!"}, {Challenge.CHALLENGE_BLUE_BOMBER, "Blue Bomber"}, {Challenge.CHALLENGE_PAY_TO_PLAY, "PAY TO PLAY"}, {Challenge.CHALLENGE_HAVE_A_HEART, "Have a Heart"}, {Challenge.CHALLENGE_I_RULE, "I RULE!"}, {Challenge.CHALLENGE_BRAINS, "BRAINS!"}, {Challenge.CHALLENGE_PRIDE_DAY, "PRIDE DAY!"}, {Challenge.CHALLENGE_ONANS_STREAK, "Onan's Streak"}, {Challenge.CHALLENGE_GUARDIAN, "The Guardian"}, {Challenge.CHALLENGE_BACKASSWARDS, "Backasswards"}, {Challenge.CHALLENGE_APRILS_FOOL, "Aprils Fool"}, {Challenge.CHALLENGE_POKEY_MANS, "Pokey Mans"}, {Challenge.CHALLENGE_ULTRA_HARD, "Ultra Hard"}, {Challenge.CHALLENGE_PONG, "Pong"}, {Challenge.CHALLENGE_SCAT_MAN, "Scat Man"}, {Challenge.CHALLENGE_BLOODY_MARY, "Bloody Mary"}, {Challenge.CHALLENGE_BAPTISM_BY_FIRE, "Baptism By Fire"}, {Challenge.CHALLENGE_ISAACS_AWAKENING, "Isaac's Awakening"}, {Challenge.CHALLENGE_SEEING_DOUBLE, "Seeing Double"}, {Challenge.CHALLENGE_PICA_RUN, "Pica Run"}, {Challenge.CHALLENGE_HOT_POTATO, "Hot Potato"}, {Challenge.CHALLENGE_CANTRIPPED, "Cantripped!"}, {Challenge.CHALLENGE_RED_REDEMPTION, "Red Redemption"}, {Challenge.CHALLENGE_DELETE_THIS, "DELETE THIS"}})
|
|
5
|
+
return ____exports
|
|
@@ -19,6 +19,7 @@ import { PostNewLevelReorderedCallbackType } from "../callbacks/subscriptions/po
|
|
|
19
19
|
import { PostNewRoomEarlyCallbackType } from "../callbacks/subscriptions/postNewRoomEarly";
|
|
20
20
|
import { PostNewRoomReorderedCallbackType } from "../callbacks/subscriptions/postNewRoomReordered";
|
|
21
21
|
import { PostNPCInitLateCallbackType } from "../callbacks/subscriptions/postNPCInitLate";
|
|
22
|
+
import { PostPEffectUpdateReorderedCallbackType } from "../callbacks/subscriptions/postPEffectUpdateReordered";
|
|
22
23
|
import { PostPickupCollectCallbackType } from "../callbacks/subscriptions/postPickupCollect";
|
|
23
24
|
import { PostPickupInitLateCallbackType } from "../callbacks/subscriptions/postPickupInitLate";
|
|
24
25
|
import { PostPlayerChangeHealthCallbackType } from "../callbacks/subscriptions/postPlayerChangeHealth";
|
|
@@ -57,6 +58,10 @@ export interface CallbackParametersCustom {
|
|
|
57
58
|
callback: PostPlayerInitReorderedCallbackType,
|
|
58
59
|
playerVariant?: PlayerVariant
|
|
59
60
|
];
|
|
61
|
+
[ModCallbacksCustom.MC_POST_PEFFECT_UPDATE_REORDERED]: [
|
|
62
|
+
callback: PostPEffectUpdateReorderedCallbackType,
|
|
63
|
+
character?: PlayerType
|
|
64
|
+
];
|
|
60
65
|
[ModCallbacksCustom.MC_POST_PLAYER_UPDATE_REORDERED]: [
|
|
61
66
|
callback: PostPlayerUpdateReorderedCallbackType,
|
|
62
67
|
playerVariant?: PlayerVariant
|
|
@@ -10,43 +10,44 @@ export declare enum ModCallbacksCustom {
|
|
|
10
10
|
MC_POST_NEW_LEVEL_REORDERED = 1,
|
|
11
11
|
MC_POST_NEW_ROOM_REORDERED = 2,
|
|
12
12
|
MC_POST_PLAYER_INIT_REORDERED = 3,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
13
|
+
MC_POST_PEFFECT_UPDATE_REORDERED = 4,
|
|
14
|
+
MC_POST_PLAYER_UPDATE_REORDERED = 5,
|
|
15
|
+
MC_POST_PLAYER_RENDER_REORDERED = 6,
|
|
16
|
+
MC_POST_NEW_ROOM_EARLY = 7,
|
|
17
|
+
MC_PRE_NEW_LEVEL = 8,
|
|
18
|
+
MC_POST_PLAYER_INIT_LATE = 9,
|
|
19
|
+
MC_POST_TEAR_INIT_LATE = 10,
|
|
20
|
+
MC_POST_TEAR_INIT_VERY_LATE = 11,
|
|
21
|
+
MC_POST_FAMILIAR_INIT_LATE = 12,
|
|
22
|
+
MC_POST_BOMB_INIT_LATE = 13,
|
|
23
|
+
MC_POST_PICKUP_INIT_LATE = 14,
|
|
24
|
+
MC_POST_LASER_INIT_LATE = 15,
|
|
25
|
+
MC_POST_KNIFE_INIT_LATE = 16,
|
|
26
|
+
MC_POST_PROJECTILE_INIT_LATE = 17,
|
|
27
|
+
MC_POST_NPC_INIT_LATE = 18,
|
|
28
|
+
MC_POST_EFFECT_INIT_LATE = 19,
|
|
29
|
+
MC_POST_PICKUP_COLLECT = 20,
|
|
30
|
+
MC_PRE_ITEM_PICKUP = 21,
|
|
31
|
+
MC_POST_ITEM_PICKUP = 22,
|
|
32
|
+
MC_POST_PLAYER_CHANGE_TYPE = 23,
|
|
33
|
+
MC_POST_PLAYER_CHANGE_HEALTH = 24,
|
|
34
|
+
MC_POST_PLAYER_FATAL_DAMAGE = 25,
|
|
35
|
+
MC_PRE_CUSTOM_REVIVE = 26,
|
|
36
|
+
MC_POST_CUSTOM_REVIVE = 27,
|
|
37
|
+
MC_POST_FLIP = 28,
|
|
38
|
+
MC_POST_FIRST_FLIP = 29,
|
|
39
|
+
MC_POST_ESAU_JR = 30,
|
|
40
|
+
MC_POST_FIRST_ESAU_JR = 31,
|
|
41
|
+
MC_POST_TRANSFORMATION = 32,
|
|
42
|
+
MC_POST_PURCHASE = 33,
|
|
43
|
+
MC_POST_SACRIFICE = 34,
|
|
44
|
+
MC_POST_CURSED_TELEPORT = 35,
|
|
45
|
+
MC_POST_TRINKET_BREAK = 36,
|
|
46
|
+
MC_POST_SLOT_INIT = 37,
|
|
47
|
+
MC_POST_SLOT_UPDATE = 38,
|
|
48
|
+
MC_POST_SLOT_RENDER = 39,
|
|
49
|
+
MC_POST_SLOT_DESTROYED = 40,
|
|
50
|
+
MC_POST_GRID_ENTITY_INIT = 41,
|
|
51
|
+
MC_POST_GRID_ENTITY_UPDATE = 42,
|
|
52
|
+
MC_POST_GRID_ENTITY_REMOVE = 43
|
|
52
53
|
}
|
|
@@ -9,82 +9,84 @@ ____exports.ModCallbacksCustom.MC_POST_NEW_ROOM_REORDERED = 2
|
|
|
9
9
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_NEW_ROOM_REORDERED] = "MC_POST_NEW_ROOM_REORDERED"
|
|
10
10
|
____exports.ModCallbacksCustom.MC_POST_PLAYER_INIT_REORDERED = 3
|
|
11
11
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PLAYER_INIT_REORDERED] = "MC_POST_PLAYER_INIT_REORDERED"
|
|
12
|
-
____exports.ModCallbacksCustom.
|
|
12
|
+
____exports.ModCallbacksCustom.MC_POST_PEFFECT_UPDATE_REORDERED = 4
|
|
13
|
+
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PEFFECT_UPDATE_REORDERED] = "MC_POST_PEFFECT_UPDATE_REORDERED"
|
|
14
|
+
____exports.ModCallbacksCustom.MC_POST_PLAYER_UPDATE_REORDERED = 5
|
|
13
15
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PLAYER_UPDATE_REORDERED] = "MC_POST_PLAYER_UPDATE_REORDERED"
|
|
14
|
-
____exports.ModCallbacksCustom.MC_POST_PLAYER_RENDER_REORDERED =
|
|
16
|
+
____exports.ModCallbacksCustom.MC_POST_PLAYER_RENDER_REORDERED = 6
|
|
15
17
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PLAYER_RENDER_REORDERED] = "MC_POST_PLAYER_RENDER_REORDERED"
|
|
16
|
-
____exports.ModCallbacksCustom.MC_POST_NEW_ROOM_EARLY =
|
|
18
|
+
____exports.ModCallbacksCustom.MC_POST_NEW_ROOM_EARLY = 7
|
|
17
19
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_NEW_ROOM_EARLY] = "MC_POST_NEW_ROOM_EARLY"
|
|
18
|
-
____exports.ModCallbacksCustom.MC_PRE_NEW_LEVEL =
|
|
20
|
+
____exports.ModCallbacksCustom.MC_PRE_NEW_LEVEL = 8
|
|
19
21
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_PRE_NEW_LEVEL] = "MC_PRE_NEW_LEVEL"
|
|
20
|
-
____exports.ModCallbacksCustom.MC_POST_PLAYER_INIT_LATE =
|
|
22
|
+
____exports.ModCallbacksCustom.MC_POST_PLAYER_INIT_LATE = 9
|
|
21
23
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PLAYER_INIT_LATE] = "MC_POST_PLAYER_INIT_LATE"
|
|
22
|
-
____exports.ModCallbacksCustom.MC_POST_TEAR_INIT_LATE =
|
|
24
|
+
____exports.ModCallbacksCustom.MC_POST_TEAR_INIT_LATE = 10
|
|
23
25
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_TEAR_INIT_LATE] = "MC_POST_TEAR_INIT_LATE"
|
|
24
|
-
____exports.ModCallbacksCustom.MC_POST_TEAR_INIT_VERY_LATE =
|
|
26
|
+
____exports.ModCallbacksCustom.MC_POST_TEAR_INIT_VERY_LATE = 11
|
|
25
27
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_TEAR_INIT_VERY_LATE] = "MC_POST_TEAR_INIT_VERY_LATE"
|
|
26
|
-
____exports.ModCallbacksCustom.MC_POST_FAMILIAR_INIT_LATE =
|
|
28
|
+
____exports.ModCallbacksCustom.MC_POST_FAMILIAR_INIT_LATE = 12
|
|
27
29
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_FAMILIAR_INIT_LATE] = "MC_POST_FAMILIAR_INIT_LATE"
|
|
28
|
-
____exports.ModCallbacksCustom.MC_POST_BOMB_INIT_LATE =
|
|
30
|
+
____exports.ModCallbacksCustom.MC_POST_BOMB_INIT_LATE = 13
|
|
29
31
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_BOMB_INIT_LATE] = "MC_POST_BOMB_INIT_LATE"
|
|
30
|
-
____exports.ModCallbacksCustom.MC_POST_PICKUP_INIT_LATE =
|
|
32
|
+
____exports.ModCallbacksCustom.MC_POST_PICKUP_INIT_LATE = 14
|
|
31
33
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PICKUP_INIT_LATE] = "MC_POST_PICKUP_INIT_LATE"
|
|
32
|
-
____exports.ModCallbacksCustom.MC_POST_LASER_INIT_LATE =
|
|
34
|
+
____exports.ModCallbacksCustom.MC_POST_LASER_INIT_LATE = 15
|
|
33
35
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_LASER_INIT_LATE] = "MC_POST_LASER_INIT_LATE"
|
|
34
|
-
____exports.ModCallbacksCustom.MC_POST_KNIFE_INIT_LATE =
|
|
36
|
+
____exports.ModCallbacksCustom.MC_POST_KNIFE_INIT_LATE = 16
|
|
35
37
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_KNIFE_INIT_LATE] = "MC_POST_KNIFE_INIT_LATE"
|
|
36
|
-
____exports.ModCallbacksCustom.MC_POST_PROJECTILE_INIT_LATE =
|
|
38
|
+
____exports.ModCallbacksCustom.MC_POST_PROJECTILE_INIT_LATE = 17
|
|
37
39
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PROJECTILE_INIT_LATE] = "MC_POST_PROJECTILE_INIT_LATE"
|
|
38
|
-
____exports.ModCallbacksCustom.MC_POST_NPC_INIT_LATE =
|
|
40
|
+
____exports.ModCallbacksCustom.MC_POST_NPC_INIT_LATE = 18
|
|
39
41
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_NPC_INIT_LATE] = "MC_POST_NPC_INIT_LATE"
|
|
40
|
-
____exports.ModCallbacksCustom.MC_POST_EFFECT_INIT_LATE =
|
|
42
|
+
____exports.ModCallbacksCustom.MC_POST_EFFECT_INIT_LATE = 19
|
|
41
43
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_EFFECT_INIT_LATE] = "MC_POST_EFFECT_INIT_LATE"
|
|
42
|
-
____exports.ModCallbacksCustom.MC_POST_PICKUP_COLLECT =
|
|
44
|
+
____exports.ModCallbacksCustom.MC_POST_PICKUP_COLLECT = 20
|
|
43
45
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PICKUP_COLLECT] = "MC_POST_PICKUP_COLLECT"
|
|
44
|
-
____exports.ModCallbacksCustom.MC_PRE_ITEM_PICKUP =
|
|
46
|
+
____exports.ModCallbacksCustom.MC_PRE_ITEM_PICKUP = 21
|
|
45
47
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_PRE_ITEM_PICKUP] = "MC_PRE_ITEM_PICKUP"
|
|
46
|
-
____exports.ModCallbacksCustom.MC_POST_ITEM_PICKUP =
|
|
48
|
+
____exports.ModCallbacksCustom.MC_POST_ITEM_PICKUP = 22
|
|
47
49
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_ITEM_PICKUP] = "MC_POST_ITEM_PICKUP"
|
|
48
|
-
____exports.ModCallbacksCustom.MC_POST_PLAYER_CHANGE_TYPE =
|
|
50
|
+
____exports.ModCallbacksCustom.MC_POST_PLAYER_CHANGE_TYPE = 23
|
|
49
51
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PLAYER_CHANGE_TYPE] = "MC_POST_PLAYER_CHANGE_TYPE"
|
|
50
|
-
____exports.ModCallbacksCustom.MC_POST_PLAYER_CHANGE_HEALTH =
|
|
52
|
+
____exports.ModCallbacksCustom.MC_POST_PLAYER_CHANGE_HEALTH = 24
|
|
51
53
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PLAYER_CHANGE_HEALTH] = "MC_POST_PLAYER_CHANGE_HEALTH"
|
|
52
|
-
____exports.ModCallbacksCustom.MC_POST_PLAYER_FATAL_DAMAGE =
|
|
54
|
+
____exports.ModCallbacksCustom.MC_POST_PLAYER_FATAL_DAMAGE = 25
|
|
53
55
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PLAYER_FATAL_DAMAGE] = "MC_POST_PLAYER_FATAL_DAMAGE"
|
|
54
|
-
____exports.ModCallbacksCustom.MC_PRE_CUSTOM_REVIVE =
|
|
56
|
+
____exports.ModCallbacksCustom.MC_PRE_CUSTOM_REVIVE = 26
|
|
55
57
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_PRE_CUSTOM_REVIVE] = "MC_PRE_CUSTOM_REVIVE"
|
|
56
|
-
____exports.ModCallbacksCustom.MC_POST_CUSTOM_REVIVE =
|
|
58
|
+
____exports.ModCallbacksCustom.MC_POST_CUSTOM_REVIVE = 27
|
|
57
59
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_CUSTOM_REVIVE] = "MC_POST_CUSTOM_REVIVE"
|
|
58
|
-
____exports.ModCallbacksCustom.MC_POST_FLIP =
|
|
60
|
+
____exports.ModCallbacksCustom.MC_POST_FLIP = 28
|
|
59
61
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_FLIP] = "MC_POST_FLIP"
|
|
60
|
-
____exports.ModCallbacksCustom.MC_POST_FIRST_FLIP =
|
|
62
|
+
____exports.ModCallbacksCustom.MC_POST_FIRST_FLIP = 29
|
|
61
63
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_FIRST_FLIP] = "MC_POST_FIRST_FLIP"
|
|
62
|
-
____exports.ModCallbacksCustom.MC_POST_ESAU_JR =
|
|
64
|
+
____exports.ModCallbacksCustom.MC_POST_ESAU_JR = 30
|
|
63
65
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_ESAU_JR] = "MC_POST_ESAU_JR"
|
|
64
|
-
____exports.ModCallbacksCustom.MC_POST_FIRST_ESAU_JR =
|
|
66
|
+
____exports.ModCallbacksCustom.MC_POST_FIRST_ESAU_JR = 31
|
|
65
67
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_FIRST_ESAU_JR] = "MC_POST_FIRST_ESAU_JR"
|
|
66
|
-
____exports.ModCallbacksCustom.MC_POST_TRANSFORMATION =
|
|
68
|
+
____exports.ModCallbacksCustom.MC_POST_TRANSFORMATION = 32
|
|
67
69
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_TRANSFORMATION] = "MC_POST_TRANSFORMATION"
|
|
68
|
-
____exports.ModCallbacksCustom.MC_POST_PURCHASE =
|
|
70
|
+
____exports.ModCallbacksCustom.MC_POST_PURCHASE = 33
|
|
69
71
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_PURCHASE] = "MC_POST_PURCHASE"
|
|
70
|
-
____exports.ModCallbacksCustom.MC_POST_SACRIFICE =
|
|
72
|
+
____exports.ModCallbacksCustom.MC_POST_SACRIFICE = 34
|
|
71
73
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_SACRIFICE] = "MC_POST_SACRIFICE"
|
|
72
|
-
____exports.ModCallbacksCustom.MC_POST_CURSED_TELEPORT =
|
|
74
|
+
____exports.ModCallbacksCustom.MC_POST_CURSED_TELEPORT = 35
|
|
73
75
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_CURSED_TELEPORT] = "MC_POST_CURSED_TELEPORT"
|
|
74
|
-
____exports.ModCallbacksCustom.MC_POST_TRINKET_BREAK =
|
|
76
|
+
____exports.ModCallbacksCustom.MC_POST_TRINKET_BREAK = 36
|
|
75
77
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_TRINKET_BREAK] = "MC_POST_TRINKET_BREAK"
|
|
76
|
-
____exports.ModCallbacksCustom.MC_POST_SLOT_INIT =
|
|
78
|
+
____exports.ModCallbacksCustom.MC_POST_SLOT_INIT = 37
|
|
77
79
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_SLOT_INIT] = "MC_POST_SLOT_INIT"
|
|
78
|
-
____exports.ModCallbacksCustom.MC_POST_SLOT_UPDATE =
|
|
80
|
+
____exports.ModCallbacksCustom.MC_POST_SLOT_UPDATE = 38
|
|
79
81
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_SLOT_UPDATE] = "MC_POST_SLOT_UPDATE"
|
|
80
|
-
____exports.ModCallbacksCustom.MC_POST_SLOT_RENDER =
|
|
82
|
+
____exports.ModCallbacksCustom.MC_POST_SLOT_RENDER = 39
|
|
81
83
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_SLOT_RENDER] = "MC_POST_SLOT_RENDER"
|
|
82
|
-
____exports.ModCallbacksCustom.MC_POST_SLOT_DESTROYED =
|
|
84
|
+
____exports.ModCallbacksCustom.MC_POST_SLOT_DESTROYED = 40
|
|
83
85
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_SLOT_DESTROYED] = "MC_POST_SLOT_DESTROYED"
|
|
84
|
-
____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_INIT =
|
|
86
|
+
____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_INIT = 41
|
|
85
87
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_INIT] = "MC_POST_GRID_ENTITY_INIT"
|
|
86
|
-
____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_UPDATE =
|
|
88
|
+
____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_UPDATE = 42
|
|
87
89
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_UPDATE] = "MC_POST_GRID_ENTITY_UPDATE"
|
|
88
|
-
____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_REMOVE =
|
|
90
|
+
____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_REMOVE = 43
|
|
89
91
|
____exports.ModCallbacksCustom[____exports.ModCallbacksCustom.MC_POST_GRID_ENTITY_REMOVE] = "MC_POST_GRID_ENTITY_REMOVE"
|
|
90
92
|
return ____exports
|
|
@@ -42,6 +42,8 @@ local ____postNewRoomReordered = require("callbacks.subscriptions.postNewRoomReo
|
|
|
42
42
|
local postNewRoomReorderedRegister = ____postNewRoomReordered.postNewRoomReorderedRegister
|
|
43
43
|
local ____postNPCInitLate = require("callbacks.subscriptions.postNPCInitLate")
|
|
44
44
|
local postNPCInitLateRegister = ____postNPCInitLate.postNPCInitLateRegister
|
|
45
|
+
local ____postPEffectUpdateReordered = require("callbacks.subscriptions.postPEffectUpdateReordered")
|
|
46
|
+
local postPEffectUpdateReorderedRegister = ____postPEffectUpdateReordered.postPEffectUpdateReorderedRegister
|
|
45
47
|
local ____postPickupCollect = require("callbacks.subscriptions.postPickupCollect")
|
|
46
48
|
local postPickupCollectRegister = ____postPickupCollect.postPickupCollectRegister
|
|
47
49
|
local ____postPickupInitLate = require("callbacks.subscriptions.postPickupInitLate")
|
|
@@ -135,6 +137,12 @@ function getCallbackRegisterFunction(self, callbackID)
|
|
|
135
137
|
return postPlayerInitReorderedRegister
|
|
136
138
|
end
|
|
137
139
|
end
|
|
140
|
+
____cond18 = ____cond18 or (____switch18 == ModCallbacksCustom.MC_POST_PEFFECT_UPDATE_REORDERED)
|
|
141
|
+
if ____cond18 then
|
|
142
|
+
do
|
|
143
|
+
return postPEffectUpdateReorderedRegister
|
|
144
|
+
end
|
|
145
|
+
end
|
|
138
146
|
____cond18 = ____cond18 or (____switch18 == ModCallbacksCustom.MC_POST_PLAYER_UPDATE_REORDERED)
|
|
139
147
|
if ____cond18 then
|
|
140
148
|
do
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.563",
|
|
4
4
|
"description": "Helper functions for IsaacScript mods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dist/**/*.d.ts"
|
|
26
26
|
],
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"isaac-typescript-definitions": "^1.0.
|
|
28
|
+
"isaac-typescript-definitions": "^1.0.310",
|
|
29
29
|
"isaacscript-lint": "^1.0.74",
|
|
30
30
|
"typedoc": "^0.22.10",
|
|
31
31
|
"typescript": "4.4.4",
|