isaacscript-common 1.2.201 → 1.2.204
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/classes/ModUpgraded.d.ts +1 -3
- package/dist/classes/ModUpgraded.lua +2 -36
- package/dist/enums/private/SerializationBrand.d.ts +2 -0
- package/dist/enums/private/SerializationBrand.lua +2 -0
- package/dist/features/deployJSONRoom.d.ts +6 -12
- package/dist/features/deployJSONRoom.lua +17 -19
- package/dist/features/saveDataManager/merge.d.ts +12 -3
- package/dist/features/saveDataManager/merge.lua +16 -11
- package/dist/functions/array.d.ts +7 -7
- package/dist/functions/array.lua +22 -23
- package/dist/functions/cards.d.ts +6 -7
- package/dist/functions/cards.lua +14 -14
- package/dist/functions/color.d.ts +20 -1
- package/dist/functions/color.lua +89 -10
- package/dist/functions/deepCopy.d.ts +8 -12
- package/dist/functions/deepCopy.lua +13 -29
- package/dist/functions/doors.d.ts +4 -0
- package/dist/functions/doors.lua +12 -2
- package/dist/functions/entity.lua +4 -4
- package/dist/functions/jsonRoom.d.ts +1 -1
- package/dist/functions/jsonRoom.lua +6 -5
- package/dist/functions/map.d.ts +0 -12
- package/dist/functions/map.lua +0 -23
- package/dist/functions/random.d.ts +25 -31
- package/dist/functions/random.lua +34 -33
- package/dist/functions/rng.d.ts +45 -0
- package/dist/functions/rng.lua +106 -0
- package/dist/functions/roomData.d.ts +5 -0
- package/dist/functions/roomData.lua +31 -4
- package/dist/functions/set.d.ts +2 -2
- package/dist/functions/set.lua +6 -6
- package/dist/functions/spawnCollectible.d.ts +3 -3
- package/dist/functions/spawnCollectible.lua +11 -12
- package/dist/functions/table.d.ts +30 -0
- package/dist/functions/table.lua +73 -1
- package/dist/functions/utils.d.ts +5 -0
- package/dist/functions/utils.lua +12 -0
- package/dist/functions/vector.d.ts +24 -3
- package/dist/functions/vector.lua +72 -21
- package/dist/index.d.ts +1 -0
- package/dist/index.lua +8 -0
- package/dist/objects/roomShapeToDoorSlots.d.ts +4 -0
- package/dist/objects/roomShapeToDoorSlots.lua +44 -0
- package/dist/upgradeMod.d.ts +1 -3
- package/dist/upgradeMod.lua +2 -5
- package/package.json +1 -1
package/dist/upgradeMod.d.ts
CHANGED
|
@@ -19,8 +19,6 @@ import { ModUpgraded } from "./classes/ModUpgraded";
|
|
|
19
19
|
* [Function Signatures](https://isaacscript.github.io/docs/function-signatures#custom-callbacks).
|
|
20
20
|
*
|
|
21
21
|
* @param modVanilla The mod object returned by the `RegisterMod` function.
|
|
22
|
-
* @param verbose Enables verbose logging for the purposes of crash troubleshooting.
|
|
23
|
-
* Defaults to false.
|
|
24
22
|
* @returns The upgraded mod object.
|
|
25
23
|
*/
|
|
26
|
-
export declare function upgradeMod(modVanilla: Mod
|
|
24
|
+
export declare function upgradeMod(modVanilla: Mod): ModUpgraded;
|
package/dist/upgradeMod.lua
CHANGED
|
@@ -167,12 +167,9 @@ function initFeatures(self, mod)
|
|
|
167
167
|
fadeInRemoverInit(nil, mod)
|
|
168
168
|
characterStatsInit(nil, mod)
|
|
169
169
|
end
|
|
170
|
-
function ____exports.upgradeMod(self, modVanilla
|
|
171
|
-
if verbose == nil then
|
|
172
|
-
verbose = false
|
|
173
|
-
end
|
|
170
|
+
function ____exports.upgradeMod(self, modVanilla)
|
|
174
171
|
patchErrorFunction(nil)
|
|
175
|
-
local mod = __TS__New(ModUpgraded, modVanilla
|
|
172
|
+
local mod = __TS__New(ModUpgraded, modVanilla)
|
|
176
173
|
if not areFeaturesInitialized(nil) then
|
|
177
174
|
setFeaturesInitialized(nil)
|
|
178
175
|
postNewRoomEarlyCallbackInit(nil, mod)
|