isaacscript-common 1.0.499 → 1.0.503
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/postBombInitLate.lua +3 -17
- package/dist/callbacks/postEffectInitLate.lua +3 -17
- package/dist/callbacks/postFamiliarInitLate.lua +1 -15
- package/dist/callbacks/postKnifeInitLate.lua +3 -17
- package/dist/callbacks/postLaserInitLate.lua +3 -17
- package/dist/callbacks/postNPCInitLate.lua +3 -17
- package/dist/callbacks/postNewRoomEarly.d.ts +2 -0
- package/dist/callbacks/postNewRoomEarly.lua +50 -0
- package/dist/callbacks/postPickupInitLate.lua +3 -17
- package/dist/callbacks/postProjectileInitLate.lua +3 -17
- package/dist/callbacks/postTearInitLate.lua +3 -17
- package/dist/callbacks/subscriptions/postNewRoomEarly.d.ts +4 -0
- package/dist/callbacks/subscriptions/postNewRoomEarly.lua +18 -0
- package/dist/features/deployJSONRoom.lua +16 -16
- package/dist/features/getCollectibleItemPoolType.lua +1 -6
- package/dist/features/saveDataManager/main.lua +5 -3
- package/dist/functions/collectibles.d.ts +5 -5
- package/dist/functions/collectibles.lua +4 -0
- package/dist/functions/flag.d.ts +1 -1
- package/dist/functions/gridEntity.d.ts +8 -2
- package/dist/functions/gridEntity.lua +16 -0
- package/dist/functions/input.d.ts +3 -5
- package/dist/functions/player.d.ts +5 -5
- package/dist/functions/revive.d.ts +2 -2
- package/dist/functions/rooms.d.ts +39 -18
- package/dist/functions/rooms.lua +60 -47
- package/dist/functions/util.d.ts +2 -2
- package/dist/functions/util.lua +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.lua +8 -0
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.d.ts +3 -0
- package/dist/maps/roomShapeToTopLeftWallGridIndexMap.lua +12 -0
- package/dist/types/CallbackParametersCustom.d.ts +4 -0
- package/dist/types/ModCallbacksCustom.d.ts +34 -33
- package/dist/types/ModCallbacksCustom.lua +35 -33
- package/dist/types/ModUpgraded.lua +178 -321
- package/dist/upgradeMod.d.ts +2 -2
- package/dist/upgradeMod.lua +9 -6
- package/package.json +2 -2
package/dist/upgradeMod.lua
CHANGED
|
@@ -24,6 +24,8 @@ local ____postKnifeInitLate = require("callbacks.postKnifeInitLate")
|
|
|
24
24
|
local postKnifeInitLateCallbackInit = ____postKnifeInitLate.postKnifeInitLateCallbackInit
|
|
25
25
|
local ____postLaserInitLate = require("callbacks.postLaserInitLate")
|
|
26
26
|
local postLaserInitLateCallbackInit = ____postLaserInitLate.postLaserInitLateCallbackInit
|
|
27
|
+
local ____postNewRoomEarly = require("callbacks.postNewRoomEarly")
|
|
28
|
+
local postNewRoomEarlyCallbackInit = ____postNewRoomEarly.postNewRoomEarlyCallbackInit
|
|
27
29
|
local ____postNPCInitLate = require("callbacks.postNPCInitLate")
|
|
28
30
|
local postNPCInitLateCallbackInit = ____postNPCInitLate.postNPCInitLateCallbackInit
|
|
29
31
|
local ____postPickupCollect = require("callbacks.postPickupCollect")
|
|
@@ -115,17 +117,18 @@ function initFeatures(self, mod)
|
|
|
115
117
|
runInNFramesInit(nil, mod)
|
|
116
118
|
sirenHelpersInit(nil, mod)
|
|
117
119
|
end
|
|
118
|
-
function ____exports.upgradeMod(self,
|
|
120
|
+
function ____exports.upgradeMod(self, modVanilla, verbose)
|
|
119
121
|
if verbose == nil then
|
|
120
122
|
verbose = false
|
|
121
123
|
end
|
|
122
|
-
local
|
|
124
|
+
local mod = __TS__New(ModUpgraded, modVanilla, verbose)
|
|
123
125
|
if not areFeaturesInitialized(nil) then
|
|
124
126
|
setFeaturesInitialized(nil)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
127
|
+
postNewRoomEarlyCallbackInit(nil, mod)
|
|
128
|
+
saveDataManagerInit(nil, mod)
|
|
129
|
+
initCustomCallbacks(nil, mod)
|
|
130
|
+
initFeatures(nil, mod)
|
|
128
131
|
end
|
|
129
|
-
return
|
|
132
|
+
return mod
|
|
130
133
|
end
|
|
131
134
|
return ____exports
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.503",
|
|
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.292",
|
|
29
29
|
"isaacscript-lint": "^1.0.68",
|
|
30
30
|
"typedoc": "^0.22.10",
|
|
31
31
|
"typescript": "4.5.2",
|