isaacscript-common 1.2.175 → 1.2.178
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 +0 -1
- package/dist/callbacks/postBombInitLate.lua +0 -1
- package/dist/callbacks/postBoneSwing.lua +0 -1
- package/dist/callbacks/postCollectibleInitFirst.d.ts +1 -0
- package/dist/callbacks/postCollectibleInitFirst.lua +29 -0
- package/dist/callbacks/postCursedTeleport.lua +0 -1
- package/dist/callbacks/postCustomDoorEnter.lua +0 -1
- package/dist/callbacks/postEffectInitLate.lua +0 -1
- package/dist/callbacks/postEsauJr.lua +0 -1
- package/dist/callbacks/postFamiliarInitLate.lua +0 -1
- package/dist/callbacks/postFlip.lua +0 -1
- package/dist/callbacks/postGridEntity.lua +0 -1
- package/dist/callbacks/postGridEntityCollision.lua +0 -1
- package/dist/callbacks/postKnifeInitLate.lua +0 -1
- package/dist/callbacks/postLaserInitLate.lua +0 -1
- package/dist/callbacks/postNPCInitLate.lua +0 -1
- package/dist/callbacks/postPickupCollect.lua +0 -1
- package/dist/callbacks/postPickupInitLate.lua +0 -1
- package/dist/callbacks/postPlayerChangeHealth.lua +0 -1
- package/dist/callbacks/postPlayerChangeType.lua +0 -1
- package/dist/callbacks/postPlayerFatalDamage.lua +0 -1
- package/dist/callbacks/postPlayerInitLate.lua +0 -1
- package/dist/callbacks/postPlayerReordered.lua +0 -1
- package/dist/callbacks/postProjectileInitLate.lua +0 -1
- package/dist/callbacks/postPurchase.lua +0 -1
- package/dist/callbacks/postSlotInitUpdate.lua +0 -1
- package/dist/callbacks/postSlotRender.lua +0 -1
- package/dist/callbacks/postTearInitLate.lua +0 -1
- package/dist/callbacks/postTearInitVeryLate.lua +0 -1
- package/dist/callbacks/postTransformation.lua +0 -1
- package/dist/callbacks/postTrinketBreak.lua +0 -1
- package/dist/callbacks/preNewLevel.lua +0 -1
- package/dist/callbacks/subscriptions/postBombInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postBoneSwing.lua +0 -1
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.d.ts +2 -0
- package/dist/callbacks/subscriptions/postCollectibleInitFirst.lua +24 -0
- package/dist/callbacks/subscriptions/postCursedTeleport.lua +0 -1
- package/dist/callbacks/subscriptions/postCustomDoorEnter.lua +0 -1
- package/dist/callbacks/subscriptions/postCustomRevive.lua +0 -1
- package/dist/callbacks/subscriptions/postEffectInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postEsauJr.lua +0 -1
- package/dist/callbacks/subscriptions/postFamiliarInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postFirstEsauJr.lua +0 -1
- package/dist/callbacks/subscriptions/postFirstFlip.lua +0 -1
- package/dist/callbacks/subscriptions/postFlip.lua +0 -1
- package/dist/callbacks/subscriptions/postGameStartedReordered.lua +0 -1
- package/dist/callbacks/subscriptions/postGridEntityBroken.lua +0 -1
- package/dist/callbacks/subscriptions/postGridEntityCollision.lua +0 -1
- package/dist/callbacks/subscriptions/postGridEntityInit.lua +0 -1
- package/dist/callbacks/subscriptions/postGridEntityRemove.lua +0 -1
- package/dist/callbacks/subscriptions/postGridEntityStateChange.lua +0 -1
- package/dist/callbacks/subscriptions/postGridEntityUpdate.lua +0 -1
- package/dist/callbacks/subscriptions/postItemPickup.lua +0 -1
- package/dist/callbacks/subscriptions/postKnifeInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postLaserInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postNPCInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postNewLevelReordered.lua +0 -1
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +0 -1
- package/dist/callbacks/subscriptions/postNewRoomReordered.lua +0 -1
- package/dist/callbacks/subscriptions/postPEffectUpdateReordered.lua +0 -1
- package/dist/callbacks/subscriptions/postPickupCollect.lua +0 -1
- package/dist/callbacks/subscriptions/postPickupInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeHealth.lua +0 -1
- package/dist/callbacks/subscriptions/postPlayerChangeType.lua +0 -1
- package/dist/callbacks/subscriptions/postPlayerFatalDamage.lua +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitReordered.lua +0 -1
- package/dist/callbacks/subscriptions/postPlayerRenderReordered.lua +0 -1
- package/dist/callbacks/subscriptions/postPlayerUpdateReordered.lua +0 -1
- package/dist/callbacks/subscriptions/postProjectileInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postPurchase.lua +0 -1
- package/dist/callbacks/subscriptions/postSacrifice.lua +0 -1
- package/dist/callbacks/subscriptions/postSlotAnimationChanged.lua +0 -1
- package/dist/callbacks/subscriptions/postSlotDestroyed.lua +0 -1
- package/dist/callbacks/subscriptions/postSlotInit.lua +0 -1
- package/dist/callbacks/subscriptions/postSlotRender.lua +0 -1
- package/dist/callbacks/subscriptions/postSlotUpdate.lua +0 -1
- package/dist/callbacks/subscriptions/postTearInitLate.lua +0 -1
- package/dist/callbacks/subscriptions/postTearInitVeryLate.lua +0 -1
- package/dist/callbacks/subscriptions/postTransformation.lua +0 -1
- package/dist/callbacks/subscriptions/postTrinketBreak.lua +0 -1
- package/dist/callbacks/subscriptions/preBerserkDeath.lua +0 -1
- package/dist/callbacks/subscriptions/preCustomRevive.lua +0 -1
- package/dist/callbacks/subscriptions/preItemPickup.lua +0 -1
- package/dist/callbacks/subscriptions/preNewLevel.lua +0 -1
- package/dist/callbacks/subscriptions/roomClearChange.lua +0 -1
- package/dist/classes/DefaultMap.lua +0 -1
- package/dist/classes/ModUpgraded.lua +0 -1
- package/dist/classes/null.lua +0 -1
- package/dist/constants.lua +0 -1
- package/dist/enums/ModCallbacksCustom.d.ts +32 -31
- package/dist/enums/ModCallbacksCustom.lua +33 -31
- package/dist/enums/private/SerializationBrand.lua +0 -1
- package/dist/features/collectiblesSeen.lua +0 -1
- package/dist/features/deployJSONRoom.lua +0 -1
- package/dist/features/disableInputs.lua +0 -1
- package/dist/features/disableSound.lua +0 -1
- package/dist/features/extraConsoleCommands/commands.lua +0 -1
- package/dist/features/extraConsoleCommands/init.lua +0 -1
- package/dist/features/getCollectibleItemPoolType.lua +0 -1
- package/dist/features/isPonyActive.lua +0 -1
- package/dist/features/playerInventory.lua +0 -1
- package/dist/features/preventCollectibleRotate.lua +0 -1
- package/dist/features/runInNFrames.lua +0 -1
- package/dist/features/saveDataManager/exports.lua +0 -1
- package/dist/features/saveDataManager/load.lua +0 -1
- package/dist/features/saveDataManager/main.lua +0 -1
- package/dist/features/saveDataManager/maps.lua +0 -1
- package/dist/features/saveDataManager/merge.lua +0 -1
- package/dist/features/saveDataManager/save.lua +0 -1
- package/dist/features/sirenHelpers.lua +0 -1
- package/dist/features/taintedLazarusPlayers.lua +0 -1
- package/dist/functions/array.lua +0 -1
- package/dist/functions/cards.lua +0 -1
- package/dist/functions/collectibleCacheFlag.lua +0 -1
- package/dist/functions/collectibleSet.lua +0 -1
- package/dist/functions/deepCopy.lua +0 -1
- package/dist/functions/deepCopyTests.lua +0 -1
- package/dist/functions/doors.lua +0 -1
- package/dist/functions/entity.lua +0 -1
- package/dist/functions/entitySpecific.lua +0 -1
- package/dist/functions/familiars.lua +0 -1
- package/dist/functions/flying.lua +1 -2
- package/dist/functions/globals.lua +0 -1
- package/dist/functions/gridEntity.lua +0 -1
- package/dist/functions/input.lua +0 -1
- package/dist/functions/jsonRoom.lua +0 -1
- package/dist/functions/log.lua +0 -1
- package/dist/functions/map.lua +0 -1
- package/dist/functions/math.lua +0 -1
- package/dist/functions/npc.lua +0 -1
- package/dist/functions/pickups.lua +0 -1
- package/dist/functions/player.lua +0 -1
- package/dist/functions/playerDataStructures.lua +0 -1
- package/dist/functions/playerHealth.lua +0 -1
- package/dist/functions/pocketItems.lua +0 -1
- package/dist/functions/positionVelocity.lua +0 -1
- package/dist/functions/rooms.lua +0 -1
- package/dist/functions/set.lua +0 -1
- package/dist/functions/string.lua +0 -1
- package/dist/functions/transformations.lua +0 -1
- package/dist/functions/trinketCacheFlag.lua +0 -1
- package/dist/functions/trinketSet.lua +0 -1
- package/dist/functions/utils.lua +0 -1
- package/dist/lualib_bundle.lua +83 -49
- package/dist/maps/cardMap.lua +0 -1
- package/dist/maps/characterMap.lua +0 -1
- package/dist/maps/collectibleDescriptionMap.lua +0 -1
- package/dist/maps/collectibleNameMap.lua +0 -1
- package/dist/maps/gridEntityTypeToBrokenStateMap.lua +0 -1
- package/dist/maps/gridEntityXMLMap.lua +0 -1
- package/dist/maps/pillEffectMap.lua +0 -1
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +0 -1
- package/dist/maps/roomTypeMap.lua +0 -1
- package/dist/maps/trinketDescriptionMap.lua +0 -1
- package/dist/maps/trinketNameMap.lua +0 -1
- package/dist/objects/callbackRegisterFunctions.lua +3 -0
- package/dist/patchErrorFunctions.lua +0 -1
- package/dist/types/AddCallbackParametersCustom.d.ts +6 -1
- package/dist/upgradeMod.lua +3 -4
- package/package.json +2 -2
package/dist/lualib_bundle.lua
CHANGED
|
@@ -115,6 +115,88 @@ local function __TS__ArrayFindIndex(arr, callbackFn)
|
|
|
115
115
|
return -1
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
+
local function __TS__ArrayPush(arr, ...)
|
|
119
|
+
local items = {...}
|
|
120
|
+
for ____, item in ipairs(items) do
|
|
121
|
+
arr[#arr + 1] = item
|
|
122
|
+
end
|
|
123
|
+
return #arr
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
local __TS__Iterator
|
|
127
|
+
do
|
|
128
|
+
local function iteratorGeneratorStep(self)
|
|
129
|
+
local co = self.____coroutine
|
|
130
|
+
local status, value = coroutine.resume(co)
|
|
131
|
+
if not status then
|
|
132
|
+
error(value, 0)
|
|
133
|
+
end
|
|
134
|
+
if coroutine.status(co) == "dead" then
|
|
135
|
+
return
|
|
136
|
+
end
|
|
137
|
+
return true, value
|
|
138
|
+
end
|
|
139
|
+
local function iteratorIteratorStep(self)
|
|
140
|
+
local result = self:next()
|
|
141
|
+
if result.done then
|
|
142
|
+
return
|
|
143
|
+
end
|
|
144
|
+
return true, result.value
|
|
145
|
+
end
|
|
146
|
+
local function iteratorStringStep(self, index)
|
|
147
|
+
index = index + 1
|
|
148
|
+
if index > #self then
|
|
149
|
+
return
|
|
150
|
+
end
|
|
151
|
+
return index, string.sub(self, index, index)
|
|
152
|
+
end
|
|
153
|
+
function __TS__Iterator(iterable)
|
|
154
|
+
if type(iterable) == "string" then
|
|
155
|
+
return iteratorStringStep, iterable, 0
|
|
156
|
+
elseif iterable.____coroutine ~= nil then
|
|
157
|
+
return iteratorGeneratorStep, iterable
|
|
158
|
+
elseif iterable[Symbol.iterator] then
|
|
159
|
+
local iterator = iterable[Symbol.iterator](iterable)
|
|
160
|
+
return iteratorIteratorStep, iterator
|
|
161
|
+
else
|
|
162
|
+
return ipairs(iterable)
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
local __TS__ArrayFrom
|
|
168
|
+
do
|
|
169
|
+
local function arrayLikeStep(self, index)
|
|
170
|
+
index = index + 1
|
|
171
|
+
if index > self.length then
|
|
172
|
+
return
|
|
173
|
+
end
|
|
174
|
+
return index, self[index]
|
|
175
|
+
end
|
|
176
|
+
local function arrayLikeIterator(arr)
|
|
177
|
+
if type(arr.length) == "number" then
|
|
178
|
+
return arrayLikeStep, arr, 0
|
|
179
|
+
end
|
|
180
|
+
return __TS__Iterator(arr)
|
|
181
|
+
end
|
|
182
|
+
function __TS__ArrayFrom(arrayLike, mapFn, thisArg)
|
|
183
|
+
local result = {}
|
|
184
|
+
if mapFn == nil then
|
|
185
|
+
for ____, v in arrayLikeIterator(arrayLike) do
|
|
186
|
+
__TS__ArrayPush(result, v)
|
|
187
|
+
end
|
|
188
|
+
else
|
|
189
|
+
for i, v in arrayLikeIterator(arrayLike) do
|
|
190
|
+
__TS__ArrayPush(
|
|
191
|
+
result,
|
|
192
|
+
mapFn(thisArg, v, i - 1)
|
|
193
|
+
)
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
return result
|
|
197
|
+
end
|
|
198
|
+
end
|
|
199
|
+
|
|
118
200
|
local function __TS__ArrayIncludes(self, searchElement, fromIndex)
|
|
119
201
|
if fromIndex == nil then
|
|
120
202
|
fromIndex = 0
|
|
@@ -194,14 +276,6 @@ local function __TS__ArrayMap(arr, callbackfn)
|
|
|
194
276
|
return newArray
|
|
195
277
|
end
|
|
196
278
|
|
|
197
|
-
local function __TS__ArrayPush(arr, ...)
|
|
198
|
-
local items = {...}
|
|
199
|
-
for ____, item in ipairs(items) do
|
|
200
|
-
arr[#arr + 1] = item
|
|
201
|
-
end
|
|
202
|
-
return #arr
|
|
203
|
-
end
|
|
204
|
-
|
|
205
279
|
local function __TS__ArrayReduce(arr, callbackFn, ...)
|
|
206
280
|
local len = #arr
|
|
207
281
|
local k = 0
|
|
@@ -1158,47 +1232,6 @@ local function __TS__InstanceOfObject(value)
|
|
|
1158
1232
|
return valueType == "table" or valueType == "function"
|
|
1159
1233
|
end
|
|
1160
1234
|
|
|
1161
|
-
local __TS__Iterator
|
|
1162
|
-
do
|
|
1163
|
-
local function iteratorGeneratorStep(self)
|
|
1164
|
-
local co = self.____coroutine
|
|
1165
|
-
local status, value = coroutine.resume(co)
|
|
1166
|
-
if not status then
|
|
1167
|
-
error(value, 0)
|
|
1168
|
-
end
|
|
1169
|
-
if coroutine.status(co) == "dead" then
|
|
1170
|
-
return
|
|
1171
|
-
end
|
|
1172
|
-
return true, value
|
|
1173
|
-
end
|
|
1174
|
-
local function iteratorIteratorStep(self)
|
|
1175
|
-
local result = self:next()
|
|
1176
|
-
if result.done then
|
|
1177
|
-
return
|
|
1178
|
-
end
|
|
1179
|
-
return true, result.value
|
|
1180
|
-
end
|
|
1181
|
-
local function iteratorStringStep(self, index)
|
|
1182
|
-
index = index + 1
|
|
1183
|
-
if index > #self then
|
|
1184
|
-
return
|
|
1185
|
-
end
|
|
1186
|
-
return index, string.sub(self, index, index)
|
|
1187
|
-
end
|
|
1188
|
-
function __TS__Iterator(iterable)
|
|
1189
|
-
if type(iterable) == "string" then
|
|
1190
|
-
return iteratorStringStep, iterable, 0
|
|
1191
|
-
elseif iterable.____coroutine ~= nil then
|
|
1192
|
-
return iteratorGeneratorStep, iterable
|
|
1193
|
-
elseif iterable[Symbol.iterator] then
|
|
1194
|
-
local iterator = iterable[Symbol.iterator](iterable)
|
|
1195
|
-
return iteratorIteratorStep, iterator
|
|
1196
|
-
else
|
|
1197
|
-
return ipairs(iterable)
|
|
1198
|
-
end
|
|
1199
|
-
end
|
|
1200
|
-
end
|
|
1201
|
-
|
|
1202
1235
|
local Map
|
|
1203
1236
|
do
|
|
1204
1237
|
Map = __TS__Class()
|
|
@@ -2372,6 +2405,7 @@ return {
|
|
|
2372
2405
|
__TS__ArrayForEach = __TS__ArrayForEach,
|
|
2373
2406
|
__TS__ArrayFind = __TS__ArrayFind,
|
|
2374
2407
|
__TS__ArrayFindIndex = __TS__ArrayFindIndex,
|
|
2408
|
+
__TS__ArrayFrom = __TS__ArrayFrom,
|
|
2375
2409
|
__TS__ArrayIncludes = __TS__ArrayIncludes,
|
|
2376
2410
|
__TS__ArrayIndexOf = __TS__ArrayIndexOf,
|
|
2377
2411
|
__TS__ArrayIsArray = __TS__ArrayIsArray,
|
package/dist/maps/cardMap.lua
CHANGED
|
@@ -4,6 +4,8 @@ local ____postBombInitLate = require("callbacks.subscriptions.postBombInitLate")
|
|
|
4
4
|
local postBombInitLateRegister = ____postBombInitLate.postBombInitLateRegister
|
|
5
5
|
local ____postBoneSwing = require("callbacks.subscriptions.postBoneSwing")
|
|
6
6
|
local postBoneSwingRegister = ____postBoneSwing.postBoneSwingRegister
|
|
7
|
+
local ____postCollectibleInitFirst = require("callbacks.subscriptions.postCollectibleInitFirst")
|
|
8
|
+
local postCollectibleInitFirstRegister = ____postCollectibleInitFirst.postCollectibleInitFirstRegister
|
|
7
9
|
local ____postCursedTeleport = require("callbacks.subscriptions.postCursedTeleport")
|
|
8
10
|
local postCursedTeleportRegister = ____postCursedTeleport.postCursedTeleportRegister
|
|
9
11
|
local ____postCustomDoorEnter = require("callbacks.subscriptions.postCustomDoorEnter")
|
|
@@ -128,6 +130,7 @@ ____exports.CALLBACK_REGISTER_FUNCTIONS = {
|
|
|
128
130
|
[ModCallbacksCustom.MC_POST_PROJECTILE_INIT_LATE] = postProjectileInitLateRegister,
|
|
129
131
|
[ModCallbacksCustom.MC_POST_NPC_INIT_LATE] = postNPCInitLateRegister,
|
|
130
132
|
[ModCallbacksCustom.MC_POST_EFFECT_INIT_LATE] = postEffectInitLateRegister,
|
|
133
|
+
[ModCallbacksCustom.MC_POST_COLLECTIBLE_INIT_FIRST] = postCollectibleInitFirstRegister,
|
|
131
134
|
[ModCallbacksCustom.MC_POST_PICKUP_COLLECT] = postPickupCollectRegister,
|
|
132
135
|
[ModCallbacksCustom.MC_PRE_ITEM_PICKUP] = preItemPickupRegister,
|
|
133
136
|
[ModCallbacksCustom.MC_POST_ITEM_PICKUP] = postItemPickupRegister,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="isaac-typescript-definitions" />
|
|
2
2
|
import { PostBombInitLateCallbackType } from "../callbacks/subscriptions/postBombInitLate";
|
|
3
3
|
import { PostBoneSwingCallbackType } from "../callbacks/subscriptions/postBoneSwing";
|
|
4
|
+
import { PostCollectibleInitFirstCallbackType } from "../callbacks/subscriptions/postCollectibleInitFirst";
|
|
4
5
|
import { PostCursedTeleportCallbackType } from "../callbacks/subscriptions/postCursedTeleport";
|
|
5
6
|
import { PostCustomDoorEnterCallbackType } from "../callbacks/subscriptions/postCustomDoorEnter";
|
|
6
7
|
import { PostCustomReviveCallbackType } from "../callbacks/subscriptions/postCustomRevive";
|
|
@@ -127,7 +128,11 @@ export interface AddCallbackParametersCustom {
|
|
|
127
128
|
];
|
|
128
129
|
[ModCallbacksCustom.MC_POST_EFFECT_INIT_LATE]: [
|
|
129
130
|
callback: PostEffectInitLateCallbackType,
|
|
130
|
-
effectVariant?: EffectVariant
|
|
131
|
+
effectVariant?: EffectVariant | int
|
|
132
|
+
];
|
|
133
|
+
[ModCallbacksCustom.MC_POST_COLLECTIBLE_INIT_FIRST]: [
|
|
134
|
+
callback: PostCollectibleInitFirstCallbackType,
|
|
135
|
+
collectibleType?: CollectibleType | int
|
|
131
136
|
];
|
|
132
137
|
[ModCallbacksCustom.MC_POST_PICKUP_COLLECT]: [
|
|
133
138
|
callback: PostPickupCollectCallbackType,
|
package/dist/upgradeMod.lua
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
|
|
2
1
|
local ____lualib = require("lualib_bundle")
|
|
3
2
|
local __TS__New = ____lualib.__TS__New
|
|
4
3
|
local ____exports = {}
|
|
@@ -11,6 +10,8 @@ local ____postBombInitLate = require("callbacks.postBombInitLate")
|
|
|
11
10
|
local postBombInitLateCallbackInit = ____postBombInitLate.postBombInitLateCallbackInit
|
|
12
11
|
local ____postBoneSwing = require("callbacks.postBoneSwing")
|
|
13
12
|
local postBoneSwingCallbackInit = ____postBoneSwing.postBoneSwingCallbackInit
|
|
13
|
+
local ____postCollectibleInitFirst = require("callbacks.postCollectibleInitFirst")
|
|
14
|
+
local postCollectibleInitFirstCallbackInit = ____postCollectibleInitFirst.postCollectibleInitFirstCallbackInit
|
|
14
15
|
local ____postCursedTeleport = require("callbacks.postCursedTeleport")
|
|
15
16
|
local postCursedTeleportCallbackInit = ____postCursedTeleport.postCursedTeleportCallbackInit
|
|
16
17
|
local ____postCustomDoorEnter = require("callbacks.postCustomDoorEnter")
|
|
@@ -77,8 +78,6 @@ local ____roomClearChange = require("callbacks.roomClearChange")
|
|
|
77
78
|
local roomClearChangeCallbackInit = ____roomClearChange.roomClearChangeCallbackInit
|
|
78
79
|
local ____ModUpgraded = require("classes.ModUpgraded")
|
|
79
80
|
local ModUpgraded = ____ModUpgraded.ModUpgraded
|
|
80
|
-
local ____collectiblesSeen = require("features.collectiblesSeen")
|
|
81
|
-
local collectiblesSeenInit = ____collectiblesSeen.collectiblesSeenInit
|
|
82
81
|
local ____deployJSONRoom = require("features.deployJSONRoom")
|
|
83
82
|
local deployJSONRoomInit = ____deployJSONRoom.deployJSONRoomInit
|
|
84
83
|
local ____disableInputs = require("features.disableInputs")
|
|
@@ -124,6 +123,7 @@ function initCustomCallbacks(self, mod)
|
|
|
124
123
|
postProjectileInitLateCallbackInit(nil, mod)
|
|
125
124
|
postNPCInitLateCallbackInit(nil, mod)
|
|
126
125
|
postEffectInitLateCallbackInit(nil, mod)
|
|
126
|
+
postCollectibleInitFirstCallbackInit(nil, mod)
|
|
127
127
|
postPickupCollectCallbackInit(nil, mod)
|
|
128
128
|
itemPickupCallbacksInit(nil, mod)
|
|
129
129
|
postPlayerChangeTypeCallbackInit(nil, mod)
|
|
@@ -157,7 +157,6 @@ function initFeatures(self, mod)
|
|
|
157
157
|
isPonyActiveInit(nil, mod)
|
|
158
158
|
playerInventoryInit(nil, mod)
|
|
159
159
|
taintedLazarusPlayersInit(nil, mod)
|
|
160
|
-
collectiblesSeenInit(nil, mod)
|
|
161
160
|
end
|
|
162
161
|
function ____exports.upgradeMod(self, modVanilla, verbose)
|
|
163
162
|
if verbose == nil then
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.178",
|
|
4
4
|
"description": "Helper functions for IsaacScript mods",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"isaacscript-tsconfig": "^1.1.8",
|
|
31
31
|
"typedoc": "^0.22.13",
|
|
32
32
|
"typescript": "4.6.2",
|
|
33
|
-
"typescript-to-lua": "^1.4.
|
|
33
|
+
"typescript-to-lua": "^1.4.1"
|
|
34
34
|
}
|
|
35
35
|
}
|