isaacscript-common 6.11.0 → 6.11.1
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/postPlayerFatalDamage.lua +1 -1
- package/dist/callbacks/postPlayerInitFirst.d.ts +2 -0
- package/dist/callbacks/postPlayerInitFirst.d.ts.map +1 -0
- package/dist/callbacks/postPlayerInitFirst.lua +42 -0
- package/dist/callbacks/postPlayerInitLate.lua +5 -5
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts +2 -0
- package/dist/callbacks/postPlayerReorderedCallbacks.d.ts.map +1 -0
- package/dist/callbacks/{postPlayerReordered.lua → postPlayerReorderedCallbacks.lua} +11 -37
- package/dist/callbacks/subscriptions/{postPlayerInitReordered.d.ts → postPlayerInitFirst.d.ts} +2 -2
- package/dist/callbacks/subscriptions/postPlayerInitFirst.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/{postPlayerInitReordered.lua → postPlayerInitFirst.lua} +3 -3
- package/dist/enums/ModCallbackCustom.d.ts +17 -15
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.lua +3 -3
- package/dist/enums/private/StageTravelState.d.ts +4 -0
- package/dist/enums/private/StageTravelState.d.ts.map +1 -0
- package/dist/enums/private/StageTravelState.lua +5 -0
- package/dist/features/customGridEntity.d.ts +2 -2
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +14 -8
- package/dist/features/customStage/init.d.ts.map +1 -1
- package/dist/features/customStage/init.lua +8 -1
- package/dist/features/customStage/streakText.d.ts +6 -0
- package/dist/features/customStage/streakText.d.ts.map +1 -1
- package/dist/features/customStage/streakText.lua +16 -11
- package/dist/features/customStage/versusScreen.d.ts +6 -0
- package/dist/features/customStage/versusScreen.d.ts.map +1 -1
- package/dist/features/customStage/versusScreen.lua +10 -5
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts +10 -0
- package/dist/features/customTrapdoor/customTrapdoorConstants.d.ts.map +1 -0
- package/dist/features/customTrapdoor/customTrapdoorConstants.lua +8 -0
- package/dist/features/customTrapdoor/exports.d.ts +37 -0
- package/dist/features/customTrapdoor/exports.d.ts.map +1 -0
- package/dist/features/customTrapdoor/exports.lua +127 -0
- package/dist/features/customTrapdoor/v.d.ts +4 -0
- package/dist/features/customTrapdoor/v.d.ts.map +1 -0
- package/dist/features/customTrapdoor/v.lua +15 -0
- package/dist/features/deployJSONRoom.d.ts.map +1 -1
- package/dist/features/deployJSONRoom.lua +1 -1
- package/dist/features/extraConsoleCommands/listCommands.lua +2 -2
- package/dist/functions/{character.d.ts → characters.d.ts} +3 -1
- package/dist/functions/characters.d.ts.map +1 -0
- package/dist/functions/{character.lua → characters.lua} +12 -0
- package/dist/functions/playerIndex.d.ts +6 -2
- package/dist/functions/playerIndex.d.ts.map +1 -1
- package/dist/functions/playerIndex.lua +4 -2
- package/dist/functions/players.lua +4 -4
- package/dist/functions/revive.lua +2 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.lua +10 -2
- package/dist/initCustomCallbacks.d.ts.map +1 -1
- package/dist/initCustomCallbacks.lua +5 -2
- package/dist/initFeatures.d.ts +1 -2
- package/dist/initFeatures.d.ts.map +1 -1
- package/dist/initFeatures.lua +7 -2
- package/dist/interfaces/AddCallbackParameterCustom.d.ts +2 -2
- package/dist/interfaces/AddCallbackParameterCustom.d.ts.map +1 -1
- package/dist/interfaces/CustomGridEntityData.d.ts +1 -1
- package/dist/interfaces/CustomGridEntityData.d.ts.map +1 -1
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts +4 -0
- package/dist/interfaces/private/CustomTrapdoorDescription.d.ts.map +1 -0
- package/dist/interfaces/private/CustomTrapdoorDescription.lua +2 -0
- package/dist/lib/jsonLua.lua +2 -0
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.lua +3 -3
- package/dist/objects/characterDamageMultipliers.d.ts +6 -0
- package/dist/objects/characterDamageMultipliers.d.ts.map +1 -0
- package/dist/objects/characterDamageMultipliers.lua +49 -0
- package/dist/upgradeMod.d.ts.map +1 -1
- package/dist/upgradeMod.lua +2 -4
- package/package.json +2 -2
- package/src/callbacks/customRevive.ts +3 -3
- package/src/callbacks/itemPickup.ts +3 -3
- package/src/callbacks/postAmbush.ts +3 -3
- package/src/callbacks/postEsauJr.ts +3 -3
- package/src/callbacks/postFlip.ts +3 -3
- package/src/callbacks/postGridEntity.ts +5 -5
- package/src/callbacks/postPlayerCollectible.ts +2 -2
- package/src/callbacks/postPlayerFatalDamage.ts +5 -0
- package/src/callbacks/postPlayerInitFirst.ts +57 -0
- package/src/callbacks/postPlayerInitLate.ts +9 -5
- package/src/callbacks/{postPlayerReordered.ts → postPlayerReorderedCallbacks.ts} +9 -29
- package/src/callbacks/postSlotInitUpdate.ts +5 -2
- package/src/callbacks/postSlotRender.ts +2 -2
- package/src/callbacks/reorderedCallbacks.ts +1 -1
- package/src/callbacks/subscriptions/{postPlayerInitReordered.ts → postPlayerInitFirst.ts} +6 -6
- package/src/enums/ModCallbackCustom.ts +17 -15
- package/src/enums/private/StageTravelState.ts +4 -0
- package/src/features/customGridEntity.ts +29 -6
- package/src/features/customStage/init.ts +10 -1
- package/src/features/customStage/streakText.ts +13 -4
- package/src/features/customStage/versusScreen.ts +20 -12
- package/src/features/customTrapdoor/customTrapdoorConstants.ts +13 -0
- package/src/features/customTrapdoor/exports.ts +168 -0
- package/src/features/customTrapdoor/v.ts +20 -0
- package/src/features/deployJSONRoom.ts +5 -0
- package/src/features/extraConsoleCommands/listCommands.ts +1 -1
- package/src/functions/{character.ts → characters.ts} +13 -0
- package/src/functions/playerIndex.ts +6 -2
- package/src/functions/players.ts +1 -1
- package/src/functions/revive.ts +1 -1
- package/src/index.ts +6 -2
- package/src/initCustomCallbacks.ts +3 -1
- package/src/initFeatures.ts +7 -2
- package/src/interfaces/AddCallbackParameterCustom.ts +2 -2
- package/src/interfaces/CustomGridEntityData.ts +1 -1
- package/src/interfaces/private/CustomTrapdoorDescription.ts +3 -0
- package/src/lib/jsonLua.lua +2 -0
- package/src/objects/callbackRegisterFunctions.ts +2 -3
- package/src/objects/characterDamageMultipliers.ts +49 -0
- package/src/upgradeMod.ts +2 -3
- package/dist/callbacks/postPlayerReordered.d.ts +0 -2
- package/dist/callbacks/postPlayerReordered.d.ts.map +0 -1
- package/dist/callbacks/subscriptions/postPlayerInitReordered.d.ts.map +0 -1
- package/dist/functions/character.d.ts.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
local ____exports = {}
|
|
2
|
+
____exports.CUSTOM_TRAPDOOR_FEATURE_NAME = "customTrapdoor"
|
|
3
|
+
--- This also applies to crawl spaces. The value was determined through trial and error.
|
|
4
|
+
____exports.TRAPDOOR_OPEN_DISTANCE = 60
|
|
5
|
+
____exports.TRAPDOOR_OPEN_DISTANCE_AFTER_BOSS = ____exports.TRAPDOOR_OPEN_DISTANCE * 2.5
|
|
6
|
+
____exports.TRAPDOOR_BOSS_REACTION_FRAMES = 30
|
|
7
|
+
____exports.GridEntityTypeCustom = {TRAPDOOR_CUSTOM = 1000}
|
|
8
|
+
return ____exports
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { LevelStage, StageType } from "isaac-typescript-definitions";
|
|
2
|
+
/**
|
|
3
|
+
* Helper function to spawn a trapdoor grid entity that will have one or more of the following
|
|
4
|
+
* attributes:
|
|
5
|
+
*
|
|
6
|
+
* - custom destination (or custom logic for after the player enters)
|
|
7
|
+
* - custom graphics
|
|
8
|
+
* - custom logic for opening/closing
|
|
9
|
+
* - TODO: animation
|
|
10
|
+
*
|
|
11
|
+
* You can use this function to take the player to your custom stage.
|
|
12
|
+
*
|
|
13
|
+
* Under the hood, the custom trapdoor is represented by a decoration grid entity and is manually
|
|
14
|
+
* respawned every time the player re-enters the room.
|
|
15
|
+
*
|
|
16
|
+
* @param gridIndexOrPosition The location in the room to spawn the trapdoor.
|
|
17
|
+
* @param _destination Used to specify where the player will go after jumping into the trapdoor. Can
|
|
18
|
+
* either be a tuple containing the stage and stage type, a string containing
|
|
19
|
+
* the name of a custom stage, or undefined. If undefined, nothing will happen
|
|
20
|
+
* after the player jumps in the trapdoor. (Use undefined to perform some custom
|
|
21
|
+
* behavior and/or handle the traveling part yourself.) You can also specify a
|
|
22
|
+
* function that returns one of these things. By default, the destination will
|
|
23
|
+
* be set to the next floor like that of a vanilla trapdoor.
|
|
24
|
+
* @param anm2Path Optional. The path to the anm2 file to use. By default, the vanilla trapdoor anm2
|
|
25
|
+
* of "gfx/grid/door_11_trapdoor.anm2" will be used.
|
|
26
|
+
* @param _shouldOpenFunc Optional. If the trapdoor is currently closed, this function will run on
|
|
27
|
+
* every frame to determine if it should open. By default, a function that
|
|
28
|
+
* emulates a vanilla trapdoor will be used.
|
|
29
|
+
* @param _shouldCloseFunc Optional. If the trapdoor is currently open, this function will run on
|
|
30
|
+
* every frame to determine if it should close. By default, a function that
|
|
31
|
+
* emulates a vanilla trapdoor will be used.
|
|
32
|
+
* @param _spawnOpen Optional. Whether or not to spawn the trapdoor in an open state. Can either be
|
|
33
|
+
* a boolean or a function returning a boolean. By default, a function that
|
|
34
|
+
* emulates a vanilla trapdoor will be used.
|
|
35
|
+
*/
|
|
36
|
+
export declare function spawnCustomTrapdoor(gridIndexOrPosition: int | Vector, _destination?: [stage: LevelStage, stageType: StageType] | string | ((gridEntity: GridEntity) => [stage: LevelStage, stageType: StageType] | string | undefined), anm2Path?: string, _shouldOpenFunc?: (gridEntity: GridEntity) => boolean, _shouldCloseFunc?: (gridEntity: GridEntity) => boolean, _spawnOpen?: boolean | ((gridEntity: GridEntity) => boolean)): GridEntity;
|
|
37
|
+
//# sourceMappingURL=exports.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/features/customTrapdoor/exports.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAgBtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,mBAAmB,CACjC,mBAAmB,EAAE,GAAG,GAAG,MAAM,EACjC,YAAY,GACR,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,CAAC,GACzC,MAAM,GACN,CAAC,CACC,UAAU,EAAE,UAAU,KAEpB,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,CAAC,GACzC,MAAM,GACN,SAAS,CAA0B,EAC3C,QAAQ,SAAmC,EAC3C,eAAe,GAAE,CAAC,UAAU,EAAE,UAAU,KAAK,OAA+B,EAC5E,gBAAgB,GAAE,CAChB,UAAU,EAAE,UAAU,KACnB,OAAgC,EACrC,UAAU,GACN,OAAO,GACP,CAAC,CAAC,UAAU,EAAE,UAAU,KAAK,OAAO,CAA8B,GACrE,UAAU,CAWZ"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
local ____exports = {}
|
|
2
|
+
local defaultDestinationFunc, defaultShouldOpenFunc, isPlayerCloseAfterBoss, shouldBeClosedFromStartingInRoomWithEnemies, defaultShouldCloseFunc, defaultShouldSpawnOpenFunc
|
|
3
|
+
local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
|
|
4
|
+
local GridCollisionClass = ____isaac_2Dtypescript_2Ddefinitions.GridCollisionClass
|
|
5
|
+
local RoomType = ____isaac_2Dtypescript_2Ddefinitions.RoomType
|
|
6
|
+
local ____cachedClasses = require("cachedClasses")
|
|
7
|
+
local game = ____cachedClasses.game
|
|
8
|
+
local ____featuresInitialized = require("featuresInitialized")
|
|
9
|
+
local errorIfFeaturesNotInitialized = ____featuresInitialized.errorIfFeaturesNotInitialized
|
|
10
|
+
local ____nextStage = require("functions.nextStage")
|
|
11
|
+
local getNextStage = ____nextStage.getNextStage
|
|
12
|
+
local getNextStageType = ____nextStage.getNextStageType
|
|
13
|
+
local ____positionVelocity = require("functions.positionVelocity")
|
|
14
|
+
local anyPlayerCloserThan = ____positionVelocity.anyPlayerCloserThan
|
|
15
|
+
local ____customGridEntity = require("features.customGridEntity")
|
|
16
|
+
local spawnCustomGridEntity = ____customGridEntity.spawnCustomGridEntity
|
|
17
|
+
local ____roomClearFrame = require("features.roomClearFrame")
|
|
18
|
+
local getRoomClearGameFrame = ____roomClearFrame.getRoomClearGameFrame
|
|
19
|
+
local ____customTrapdoorConstants = require("features.customTrapdoor.customTrapdoorConstants")
|
|
20
|
+
local CUSTOM_TRAPDOOR_FEATURE_NAME = ____customTrapdoorConstants.CUSTOM_TRAPDOOR_FEATURE_NAME
|
|
21
|
+
local GridEntityTypeCustom = ____customTrapdoorConstants.GridEntityTypeCustom
|
|
22
|
+
local TRAPDOOR_BOSS_REACTION_FRAMES = ____customTrapdoorConstants.TRAPDOOR_BOSS_REACTION_FRAMES
|
|
23
|
+
local TRAPDOOR_OPEN_DISTANCE = ____customTrapdoorConstants.TRAPDOOR_OPEN_DISTANCE
|
|
24
|
+
local TRAPDOOR_OPEN_DISTANCE_AFTER_BOSS = ____customTrapdoorConstants.TRAPDOOR_OPEN_DISTANCE_AFTER_BOSS
|
|
25
|
+
local ____v = require("features.customTrapdoor.v")
|
|
26
|
+
local getCustomTrapdoorDescription = ____v.getCustomTrapdoorDescription
|
|
27
|
+
function defaultDestinationFunc(self)
|
|
28
|
+
local nextStage = getNextStage(nil)
|
|
29
|
+
local nextStageType = getNextStageType(nil)
|
|
30
|
+
return {nextStage, nextStageType}
|
|
31
|
+
end
|
|
32
|
+
function defaultShouldOpenFunc(self, gridEntity)
|
|
33
|
+
local trapdoorDescription = getCustomTrapdoorDescription(nil, gridEntity)
|
|
34
|
+
if trapdoorDescription == nil then
|
|
35
|
+
return false
|
|
36
|
+
end
|
|
37
|
+
local room = game:GetRoom()
|
|
38
|
+
local roomClear = room:IsClear()
|
|
39
|
+
return not anyPlayerCloserThan(nil, gridEntity.Position, TRAPDOOR_OPEN_DISTANCE) and not isPlayerCloseAfterBoss(nil, gridEntity.Position) and not shouldBeClosedFromStartingInRoomWithEnemies(nil, trapdoorDescription.firstSpawn, roomClear)
|
|
40
|
+
end
|
|
41
|
+
function isPlayerCloseAfterBoss(self, position)
|
|
42
|
+
local gameFrameCount = game:GetFrameCount()
|
|
43
|
+
local room = game:GetRoom()
|
|
44
|
+
local roomType = room:GetType()
|
|
45
|
+
local roomClearGameFrame = getRoomClearGameFrame(nil)
|
|
46
|
+
if roomType ~= RoomType.BOSS or roomClearGameFrame == nil or gameFrameCount >= roomClearGameFrame + TRAPDOOR_BOSS_REACTION_FRAMES then
|
|
47
|
+
return false
|
|
48
|
+
end
|
|
49
|
+
return anyPlayerCloserThan(nil, position, TRAPDOOR_OPEN_DISTANCE_AFTER_BOSS)
|
|
50
|
+
end
|
|
51
|
+
function shouldBeClosedFromStartingInRoomWithEnemies(self, firstSpawn, roomClear)
|
|
52
|
+
return firstSpawn and not roomClear
|
|
53
|
+
end
|
|
54
|
+
function defaultShouldCloseFunc(self)
|
|
55
|
+
return false
|
|
56
|
+
end
|
|
57
|
+
function defaultShouldSpawnOpenFunc(self, gridEntity)
|
|
58
|
+
local room = game:GetRoom()
|
|
59
|
+
local roomFrameCount = room:GetFrameCount()
|
|
60
|
+
local roomClear = room:IsClear()
|
|
61
|
+
if roomFrameCount > 0 then
|
|
62
|
+
return false
|
|
63
|
+
end
|
|
64
|
+
if not roomClear then
|
|
65
|
+
return false
|
|
66
|
+
end
|
|
67
|
+
return defaultShouldOpenFunc(nil, gridEntity)
|
|
68
|
+
end
|
|
69
|
+
--- Helper function to spawn a trapdoor grid entity that will have one or more of the following
|
|
70
|
+
-- attributes:
|
|
71
|
+
--
|
|
72
|
+
-- - custom destination (or custom logic for after the player enters)
|
|
73
|
+
-- - custom graphics
|
|
74
|
+
-- - custom logic for opening/closing
|
|
75
|
+
-- - TODO: animation
|
|
76
|
+
--
|
|
77
|
+
-- You can use this function to take the player to your custom stage.
|
|
78
|
+
--
|
|
79
|
+
-- Under the hood, the custom trapdoor is represented by a decoration grid entity and is manually
|
|
80
|
+
-- respawned every time the player re-enters the room.
|
|
81
|
+
--
|
|
82
|
+
-- @param gridIndexOrPosition The location in the room to spawn the trapdoor.
|
|
83
|
+
-- @param _destination Used to specify where the player will go after jumping into the trapdoor. Can
|
|
84
|
+
-- either be a tuple containing the stage and stage type, a string containing
|
|
85
|
+
-- the name of a custom stage, or undefined. If undefined, nothing will happen
|
|
86
|
+
-- after the player jumps in the trapdoor. (Use undefined to perform some custom
|
|
87
|
+
-- behavior and/or handle the traveling part yourself.) You can also specify a
|
|
88
|
+
-- function that returns one of these things. By default, the destination will
|
|
89
|
+
-- be set to the next floor like that of a vanilla trapdoor.
|
|
90
|
+
-- @param anm2Path Optional. The path to the anm2 file to use. By default, the vanilla trapdoor anm2
|
|
91
|
+
-- of "gfx/grid/door_11_trapdoor.anm2" will be used.
|
|
92
|
+
-- @param _shouldOpenFunc Optional. If the trapdoor is currently closed, this function will run on
|
|
93
|
+
-- every frame to determine if it should open. By default, a function that
|
|
94
|
+
-- emulates a vanilla trapdoor will be used.
|
|
95
|
+
-- @param _shouldCloseFunc Optional. If the trapdoor is currently open, this function will run on
|
|
96
|
+
-- every frame to determine if it should close. By default, a function that
|
|
97
|
+
-- emulates a vanilla trapdoor will be used.
|
|
98
|
+
-- @param _spawnOpen Optional. Whether or not to spawn the trapdoor in an open state. Can either be
|
|
99
|
+
-- a boolean or a function returning a boolean. By default, a function that
|
|
100
|
+
-- emulates a vanilla trapdoor will be used.
|
|
101
|
+
function ____exports.spawnCustomTrapdoor(self, gridIndexOrPosition, _destination, anm2Path, _shouldOpenFunc, _shouldCloseFunc, _spawnOpen)
|
|
102
|
+
if _destination == nil then
|
|
103
|
+
_destination = defaultDestinationFunc
|
|
104
|
+
end
|
|
105
|
+
if anm2Path == nil then
|
|
106
|
+
anm2Path = "gfx/grid/door_11_trapdoor.anm2"
|
|
107
|
+
end
|
|
108
|
+
if _shouldOpenFunc == nil then
|
|
109
|
+
_shouldOpenFunc = defaultShouldOpenFunc
|
|
110
|
+
end
|
|
111
|
+
if _shouldCloseFunc == nil then
|
|
112
|
+
_shouldCloseFunc = defaultShouldCloseFunc
|
|
113
|
+
end
|
|
114
|
+
if _spawnOpen == nil then
|
|
115
|
+
_spawnOpen = defaultShouldSpawnOpenFunc
|
|
116
|
+
end
|
|
117
|
+
errorIfFeaturesNotInitialized(nil, CUSTOM_TRAPDOOR_FEATURE_NAME)
|
|
118
|
+
return spawnCustomGridEntity(
|
|
119
|
+
nil,
|
|
120
|
+
GridEntityTypeCustom.TRAPDOOR_CUSTOM,
|
|
121
|
+
gridIndexOrPosition,
|
|
122
|
+
anm2Path,
|
|
123
|
+
"Closed",
|
|
124
|
+
GridCollisionClass.NONE
|
|
125
|
+
)
|
|
126
|
+
end
|
|
127
|
+
return ____exports
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="isaac-typescript-definitions" />
|
|
2
|
+
import { CustomTrapdoorDescription } from "../../interfaces/private/CustomTrapdoorDescription";
|
|
3
|
+
export declare function getCustomTrapdoorDescription(gridEntity: GridEntity): CustomTrapdoorDescription | undefined;
|
|
4
|
+
//# sourceMappingURL=v.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v.d.ts","sourceRoot":"","sources":["../../../src/features/customTrapdoor/v.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAa/F,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,UAAU,GACrB,yBAAyB,GAAG,SAAS,CAGvC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
local ____lualib = require("lualib_bundle")
|
|
2
|
+
local Map = ____lualib.Map
|
|
3
|
+
local __TS__New = ____lualib.__TS__New
|
|
4
|
+
local ____exports = {}
|
|
5
|
+
local ____StageTravelState = require("enums.private.StageTravelState")
|
|
6
|
+
local StageTravelState = ____StageTravelState.StageTravelState
|
|
7
|
+
local v = {
|
|
8
|
+
run = {state = StageTravelState.NONE},
|
|
9
|
+
room = {trapdoors = __TS__New(Map)}
|
|
10
|
+
}
|
|
11
|
+
function ____exports.getCustomTrapdoorDescription(self, gridEntity)
|
|
12
|
+
local gridIndex = gridEntity:GetGridIndex()
|
|
13
|
+
return v.room.trapdoors:get(gridIndex)
|
|
14
|
+
end
|
|
15
|
+
return ____exports
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployJSONRoom.d.ts","sourceRoot":"","sources":["../../src/features/deployJSONRoom.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"deployJSONRoom.d.ts","sourceRoot":"","sources":["../../src/features/deployJSONRoom.ts"],"names":[],"mappings":";;AAuDA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAuKvD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,EACvC,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,GACd,IAAI,CAuBN;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,QAAQ,EAAE,EAC3C,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,GACd,IAAI,CAaN;AAED;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAwB5D"}
|
|
@@ -66,7 +66,7 @@ local ____runInNFrames = require("features.runInNFrames")
|
|
|
66
66
|
local runNextGameFrame = ____runInNFrames.runNextGameFrame
|
|
67
67
|
local ____exports = require("features.saveDataManager.exports")
|
|
68
68
|
local saveDataManager = ____exports.saveDataManager
|
|
69
|
-
function preUseItemWeNeedToGoDeeper(self, _collectibleType, _rng, player)
|
|
69
|
+
function preUseItemWeNeedToGoDeeper(self, _collectibleType, _rng, player, _useFlags, _activeSlot, _customVarData)
|
|
70
70
|
if v.room.manuallyUsingShovel then
|
|
71
71
|
return nil
|
|
72
72
|
end
|
|
@@ -36,8 +36,8 @@ local ____HealthType = require("enums.HealthType")
|
|
|
36
36
|
local HealthType = ____HealthType.HealthType
|
|
37
37
|
local ____cards = require("functions.cards")
|
|
38
38
|
local getCardName = ____cards.getCardName
|
|
39
|
-
local
|
|
40
|
-
local getCharacterName =
|
|
39
|
+
local ____characters = require("functions.characters")
|
|
40
|
+
local getCharacterName = ____characters.getCharacterName
|
|
41
41
|
local ____charge = require("functions.charge")
|
|
42
42
|
local addCharge = ____charge.addCharge
|
|
43
43
|
local ____collectibles = require("functions.collectibles")
|
|
@@ -30,6 +30,8 @@ export declare function characterGetsBlackHeartFromEternalHeart(character: Playe
|
|
|
30
30
|
* is considered to starts with the D6, but this is not the case on a brand new save file).
|
|
31
31
|
*/
|
|
32
32
|
export declare function characterStartsWithActiveItem(character: PlayerType): boolean;
|
|
33
|
+
/** Helper function to get the numerical damage multiplier for a character. */
|
|
34
|
+
export declare function getCharacterDamageMultiplier(character: PlayerType, hasWhoreOfBabylon?: boolean): float;
|
|
33
35
|
/**
|
|
34
36
|
* - Most characters have a 56 frame death animation (i.e. the "Death" animation).
|
|
35
37
|
* - The Lost and Tainted Lost have a 38 frame death animation (i.e. the "LostDeath" animation).
|
|
@@ -46,4 +48,4 @@ export declare function getCharacterMaxHeartContainers(character: PlayerType): i
|
|
|
46
48
|
export declare function getCharacterName(character: PlayerType): string;
|
|
47
49
|
export declare function isModdedCharacter(character: PlayerType): boolean;
|
|
48
50
|
export declare function isVanillaCharacter(character: PlayerType): boolean;
|
|
49
|
-
//# sourceMappingURL=
|
|
51
|
+
//# sourceMappingURL=characters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"characters.d.ts","sourceRoot":"","sources":["../../src/functions/characters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAW1D;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAExE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEzE;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE7E;AAED;;;;GAIG;AACH,wBAAgB,uCAAuC,CACrD,SAAS,EAAE,UAAU,GACpB,OAAO,CAET;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAE5E;AAED,8EAA8E;AAC9E,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,UAAU,EACrB,iBAAiB,UAAQ,GACxB,KAAK,CAMP;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAU5E;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,UAAU,GAAG,GAAG,CAsBzE;AAED,+FAA+F;AAC/F,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,UAAU,GAAG,MAAM,CAM9D;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEhE;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,UAAU,GAAG,OAAO,CAEjE"}
|
|
@@ -3,6 +3,8 @@ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitio
|
|
|
3
3
|
local PlayerType = ____isaac_2Dtypescript_2Ddefinitions.PlayerType
|
|
4
4
|
local ____constantsFirstLast = require("constantsFirstLast")
|
|
5
5
|
local LAST_VANILLA_CHARACTER = ____constantsFirstLast.LAST_VANILLA_CHARACTER
|
|
6
|
+
local ____characterDamageMultipliers = require("objects.characterDamageMultipliers")
|
|
7
|
+
local CHARACTER_DAMAGE_MULTIPLIERS = ____characterDamageMultipliers.CHARACTER_DAMAGE_MULTIPLIERS
|
|
6
8
|
local ____characterNames = require("objects.characterNames")
|
|
7
9
|
local CHARACTER_NAMES = ____characterNames.CHARACTER_NAMES
|
|
8
10
|
local ____charactersThatStartWithAnActiveItemSet = require("sets.charactersThatStartWithAnActiveItemSet")
|
|
@@ -54,6 +56,16 @@ end
|
|
|
54
56
|
function ____exports.characterStartsWithActiveItem(self, character)
|
|
55
57
|
return CHARACTERS_THAT_START_WITH_AN_ACTIVE_ITEM_SET:has(character)
|
|
56
58
|
end
|
|
59
|
+
--- Helper function to get the numerical damage multiplier for a character.
|
|
60
|
+
function ____exports.getCharacterDamageMultiplier(self, character, hasWhoreOfBabylon)
|
|
61
|
+
if hasWhoreOfBabylon == nil then
|
|
62
|
+
hasWhoreOfBabylon = false
|
|
63
|
+
end
|
|
64
|
+
if character == PlayerType.EVE and hasWhoreOfBabylon then
|
|
65
|
+
return 1
|
|
66
|
+
end
|
|
67
|
+
return CHARACTER_DAMAGE_MULTIPLIERS[character]
|
|
68
|
+
end
|
|
57
69
|
--- - Most characters have a 56 frame death animation (i.e. the "Death" animation).
|
|
58
70
|
-- - The Lost and Tainted Lost have a 38 frame death animation (i.e. the "LostDeath" animation).
|
|
59
71
|
-- - Tainted Forgotten have a 20 frame death animation (i.e. the "ForgottenDeath" animation).
|
|
@@ -10,6 +10,10 @@ import { PlayerIndex } from "../types/PlayerIndex";
|
|
|
10
10
|
* helper function instead to get a filtered list of players.
|
|
11
11
|
*/
|
|
12
12
|
export declare function getAllPlayers(): EntityPlayer[];
|
|
13
|
+
/**
|
|
14
|
+
* Helper function to get the corresponding `EntityPlayer` object that corresponds to a
|
|
15
|
+
* `PlayerIndex`.
|
|
16
|
+
*/
|
|
13
17
|
export declare function getPlayerFromIndex(playerIndex: PlayerIndex): EntityPlayer | undefined;
|
|
14
18
|
/**
|
|
15
19
|
* Mods often have to track variables relating to the player. In naive mods, information will only
|
|
@@ -71,8 +75,8 @@ export declare function getPlayers(performCharacterExclusions?: boolean): Entity
|
|
|
71
75
|
*/
|
|
72
76
|
export declare function getSubPlayerParent(subPlayer: EntitySubPlayer): EntityPlayer | undefined;
|
|
73
77
|
/**
|
|
74
|
-
*
|
|
75
|
-
* example, the Strawman Keeper.)
|
|
78
|
+
* Helper function to detect if a particular player is a "child" player, meaning that they have a
|
|
79
|
+
* non-undefined `EntityPlayer.Parent` property. (For example, the Strawman Keeper.)
|
|
76
80
|
*/
|
|
77
81
|
export declare function isChildPlayer(player: EntityPlayer): boolean;
|
|
78
82
|
//# sourceMappingURL=playerIndex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playerIndex.d.ts","sourceRoot":"","sources":["../../src/functions/playerIndex.ts"],"names":[],"mappings":";;;AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AASnD;;;;;;GAMG;AACH,wBAAgB,aAAa,IAAI,YAAY,EAAE,CAU9C;AAED,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,WAAW,GACvB,YAAY,GAAG,SAAS,CAG1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,YAAY,EACpB,6BAA6B,UAAQ,GACpC,WAAW,CA4Bb;AA2BD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,YAAY,GACzB,GAAG,GAAG,SAAS,CAajB;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,0BAA0B,UAAQ,GAAG,YAAY,EAAE,CAS7E;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,eAAe,GACzB,YAAY,GAAG,SAAS,CAa1B;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAE3D"}
|
|
1
|
+
{"version":3,"file":"playerIndex.d.ts","sourceRoot":"","sources":["../../src/functions/playerIndex.ts"],"names":[],"mappings":";;;AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AASnD;;;;;;GAMG;AACH,wBAAgB,aAAa,IAAI,YAAY,EAAE,CAU9C;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,WAAW,GACvB,YAAY,GAAG,SAAS,CAG1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,YAAY,EACpB,6BAA6B,UAAQ,GACpC,WAAW,CA4Bb;AA2BD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,YAAY,EAAE,YAAY,GACzB,GAAG,GAAG,SAAS,CAajB;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,0BAA0B,UAAQ,GAAG,YAAY,EAAE,CAS7E;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,eAAe,GACzB,YAAY,GAAG,SAAS,CAa1B;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAE3D"}
|
|
@@ -143,13 +143,15 @@ function ____exports.getSubPlayerParent(self, subPlayer)
|
|
|
143
143
|
end
|
|
144
144
|
)
|
|
145
145
|
end
|
|
146
|
-
---
|
|
147
|
-
-- example, the Strawman Keeper.)
|
|
146
|
+
--- Helper function to detect if a particular player is a "child" player, meaning that they have a
|
|
147
|
+
-- non-undefined `EntityPlayer.Parent` property. (For example, the Strawman Keeper.)
|
|
148
148
|
function ____exports.isChildPlayer(self, player)
|
|
149
149
|
return player.Parent ~= nil
|
|
150
150
|
end
|
|
151
151
|
DEFAULT_COLLECTIBLE_TYPE = CollectibleType.SAD_ONION
|
|
152
152
|
EXCLUDED_CHARACTERS = __TS__New(Set, {PlayerType.ESAU, PlayerType.THE_SOUL_B})
|
|
153
|
+
--- Helper function to get the corresponding `EntityPlayer` object that corresponds to a
|
|
154
|
+
-- `PlayerIndex`.
|
|
153
155
|
function ____exports.getPlayerFromIndex(self, playerIndex)
|
|
154
156
|
local players = ____exports.getPlayers(nil)
|
|
155
157
|
return __TS__ArrayFind(
|
|
@@ -31,10 +31,10 @@ local ____bitwise = require("functions.bitwise")
|
|
|
31
31
|
local countSetBits = ____bitwise.countSetBits
|
|
32
32
|
local getKBitOfN = ____bitwise.getKBitOfN
|
|
33
33
|
local getNumBitsOfN = ____bitwise.getNumBitsOfN
|
|
34
|
-
local
|
|
35
|
-
local getCharacterMaxHeartContainers =
|
|
36
|
-
local getCharacterName =
|
|
37
|
-
local isVanillaCharacter =
|
|
34
|
+
local ____characters = require("functions.characters")
|
|
35
|
+
local getCharacterMaxHeartContainers = ____characters.getCharacterMaxHeartContainers
|
|
36
|
+
local getCharacterName = ____characters.getCharacterName
|
|
37
|
+
local isVanillaCharacter = ____characters.isVanillaCharacter
|
|
38
38
|
local ____collectibles = require("functions.collectibles")
|
|
39
39
|
local getCollectibleMaxCharges = ____collectibles.getCollectibleMaxCharges
|
|
40
40
|
local ____collectibleSet = require("functions.collectibleSet")
|
|
@@ -10,8 +10,8 @@ local game = ____cachedClasses.game
|
|
|
10
10
|
local ____constants = require("constants")
|
|
11
11
|
local MAX_TAINTED_SAMSON_BERSERK_CHARGE = ____constants.MAX_TAINTED_SAMSON_BERSERK_CHARGE
|
|
12
12
|
local TAINTED_SAMSON_BERSERK_CHARGE_FROM_TAKING_DAMAGE = ____constants.TAINTED_SAMSON_BERSERK_CHARGE_FROM_TAKING_DAMAGE
|
|
13
|
-
local
|
|
14
|
-
local getCharacterDeathAnimationName =
|
|
13
|
+
local ____characters = require("functions.characters")
|
|
14
|
+
local getCharacterDeathAnimationName = ____characters.getCharacterDeathAnimationName
|
|
15
15
|
local ____players = require("functions.players")
|
|
16
16
|
local getPlayerMaxHeartContainers = ____players.getPlayerMaxHeartContainers
|
|
17
17
|
local getPlayerNumHitsRemaining = ____players.getPlayerNumHitsRemaining
|
package/dist/index.d.ts
CHANGED
|
@@ -12,8 +12,9 @@ export * from "./enums/SerializationType";
|
|
|
12
12
|
export { ConversionHeartSubType, registerCharacterHealthConversion, } from "./features/characterHealthConversion";
|
|
13
13
|
export { registerCharacterStats } from "./features/characterStats";
|
|
14
14
|
export { getCollectibleItemPoolType } from "./features/collectibleItemPoolType";
|
|
15
|
-
export { removeCustomGrid, spawnCustomGrid } from "./features/customGridEntity";
|
|
15
|
+
export { removeCustomGrid, spawnCustomGridEntity as spawnCustomGrid, } from "./features/customGridEntity";
|
|
16
16
|
export * from "./features/customStage/exports";
|
|
17
|
+
export * from "./features/customTrapdoor/exports";
|
|
17
18
|
export * from "./features/debugDisplay/exports";
|
|
18
19
|
export { deployJSONRoom, deployRandomJSONRoom, emptyRoom, } from "./features/deployJSONRoom";
|
|
19
20
|
export { disableAllSound, enableAllSound } from "./features/disableAllSound";
|
|
@@ -42,7 +43,7 @@ export * from "./functions/bosses";
|
|
|
42
43
|
export * from "./functions/cacheFlag";
|
|
43
44
|
export * from "./functions/cards";
|
|
44
45
|
export * from "./functions/challenges";
|
|
45
|
-
export * from "./functions/
|
|
46
|
+
export * from "./functions/characters";
|
|
46
47
|
export * from "./functions/charge";
|
|
47
48
|
export * from "./functions/chargeBar";
|
|
48
49
|
export * from "./functions/collectibleCacheFlag";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,OAAO,EACL,cAAc,EACd,eAAe,GAChB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,GAC3B,MAAM,gCAAgC,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AA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,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC"}
|
package/dist/index.lua
CHANGED
|
@@ -105,7 +105,7 @@ end
|
|
|
105
105
|
do
|
|
106
106
|
local ____customGridEntity = require("features.customGridEntity")
|
|
107
107
|
local removeCustomGrid = ____customGridEntity.removeCustomGrid
|
|
108
|
-
local spawnCustomGrid = ____customGridEntity.
|
|
108
|
+
local spawnCustomGrid = ____customGridEntity.spawnCustomGridEntity
|
|
109
109
|
____exports.removeCustomGrid = removeCustomGrid
|
|
110
110
|
____exports.spawnCustomGrid = spawnCustomGrid
|
|
111
111
|
end
|
|
@@ -117,6 +117,14 @@ do
|
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
end
|
|
120
|
+
do
|
|
121
|
+
local ____export = require("features.customTrapdoor.exports")
|
|
122
|
+
for ____exportKey, ____exportValue in pairs(____export) do
|
|
123
|
+
if ____exportKey ~= "default" then
|
|
124
|
+
____exports[____exportKey] = ____exportValue
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
120
128
|
do
|
|
121
129
|
local ____export = require("features.debugDisplay.exports")
|
|
122
130
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
@@ -336,7 +344,7 @@ do
|
|
|
336
344
|
end
|
|
337
345
|
end
|
|
338
346
|
do
|
|
339
|
-
local ____export = require("functions.
|
|
347
|
+
local ____export = require("functions.characters")
|
|
340
348
|
for ____exportKey, ____exportValue in pairs(____export) do
|
|
341
349
|
if ____exportKey ~= "default" then
|
|
342
350
|
____exports[____exportKey] = ____exportValue
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initCustomCallbacks.d.ts","sourceRoot":"","sources":["../src/initCustomCallbacks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initCustomCallbacks.d.ts","sourceRoot":"","sources":["../src/initCustomCallbacks.ts"],"names":[],"mappings":"AAkEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAmE1D"}
|
|
@@ -77,10 +77,12 @@ local ____postPlayerCollectible = require("callbacks.postPlayerCollectible")
|
|
|
77
77
|
local postPlayerCollectibleCallbacksInit = ____postPlayerCollectible.postPlayerCollectibleCallbacksInit
|
|
78
78
|
local ____postPlayerFatalDamage = require("callbacks.postPlayerFatalDamage")
|
|
79
79
|
local postPlayerFatalDamageInit = ____postPlayerFatalDamage.postPlayerFatalDamageInit
|
|
80
|
+
local ____postPlayerInitFirst = require("callbacks.postPlayerInitFirst")
|
|
81
|
+
local postPlayerInitFirstInit = ____postPlayerInitFirst.postPlayerInitFirstInit
|
|
80
82
|
local ____postPlayerInitLate = require("callbacks.postPlayerInitLate")
|
|
81
83
|
local postPlayerInitLateInit = ____postPlayerInitLate.postPlayerInitLateInit
|
|
82
|
-
local
|
|
83
|
-
local postPlayerReorderedCallbacksInit =
|
|
84
|
+
local ____postPlayerReorderedCallbacks = require("callbacks.postPlayerReorderedCallbacks")
|
|
85
|
+
local postPlayerReorderedCallbacksInit = ____postPlayerReorderedCallbacks.postPlayerReorderedCallbacksInit
|
|
84
86
|
local ____postPoopRender = require("callbacks.postPoopRender")
|
|
85
87
|
local postPoopRenderInit = ____postPoopRender.postPoopRenderInit
|
|
86
88
|
local ____postPoopUpdate = require("callbacks.postPoopUpdate")
|
|
@@ -169,6 +171,7 @@ function ____exports.initCustomCallbacks(self, mod)
|
|
|
169
171
|
postPlayerChangeTypeInit(nil, mod)
|
|
170
172
|
postPlayerCollectibleCallbacksInit(nil, mod)
|
|
171
173
|
postPlayerFatalDamageInit(nil, mod)
|
|
174
|
+
postPlayerInitFirstInit(nil, mod)
|
|
172
175
|
postPlayerInitLateInit(nil, mod)
|
|
173
176
|
postPlayerReorderedCallbacksInit(nil, mod)
|
|
174
177
|
postPoopRenderInit(nil, mod)
|
package/dist/initFeatures.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ModUpgraded } from "./classes/ModUpgraded";
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function initFeaturesMinor(mod: ModUpgraded): void;
|
|
2
|
+
export declare function initFeatures(mod: ModUpgraded): void;
|
|
4
3
|
//# sourceMappingURL=initFeatures.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initFeatures.d.ts","sourceRoot":"","sources":["../src/initFeatures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAyBpD,wBAAgB,
|
|
1
|
+
{"version":3,"file":"initFeatures.d.ts","sourceRoot":"","sources":["../src/initFeatures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAyBpD,wBAAgB,YAAY,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAGnD"}
|
package/dist/initFeatures.lua
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
local ____exports = {}
|
|
2
|
+
local initFeaturesMajor, initFeaturesMinor
|
|
2
3
|
local ____characterHealthConversion = require("features.characterHealthConversion")
|
|
3
4
|
local characterHealthConversionInit = ____characterHealthConversion.characterHealthConversionInit
|
|
4
5
|
local ____characterStats = require("features.characterStats")
|
|
@@ -45,7 +46,7 @@ local ____stageHistory = require("features.stageHistory")
|
|
|
45
46
|
local stageHistoryInit = ____stageHistory.stageHistoryInit
|
|
46
47
|
local ____taintedLazarusPlayers = require("features.taintedLazarusPlayers")
|
|
47
48
|
local taintedLazarusPlayersInit = ____taintedLazarusPlayers.taintedLazarusPlayersInit
|
|
48
|
-
function
|
|
49
|
+
function initFeaturesMajor(self, mod)
|
|
49
50
|
customStageInit(nil, mod)
|
|
50
51
|
deployJSONRoomInit(nil, mod)
|
|
51
52
|
runInNFramesInit(nil, mod)
|
|
@@ -53,7 +54,7 @@ function ____exports.initFeaturesMajor(self, mod)
|
|
|
53
54
|
characterHealthConversionInit(nil, mod)
|
|
54
55
|
customGridEntityInit(nil, mod)
|
|
55
56
|
end
|
|
56
|
-
function
|
|
57
|
+
function initFeaturesMinor(self, mod)
|
|
57
58
|
disableAllSoundInit(nil, mod)
|
|
58
59
|
disableInputsInit(nil, mod)
|
|
59
60
|
fadeInRemoverInit(nil, mod)
|
|
@@ -72,4 +73,8 @@ function ____exports.initFeaturesMinor(self, mod)
|
|
|
72
73
|
stageHistoryInit(nil, mod)
|
|
73
74
|
taintedLazarusPlayersInit(nil, mod)
|
|
74
75
|
end
|
|
76
|
+
function ____exports.initFeatures(self, mod)
|
|
77
|
+
initFeaturesMajor(nil, mod)
|
|
78
|
+
initFeaturesMinor(nil, mod)
|
|
79
|
+
end
|
|
75
80
|
return ____exports
|
|
@@ -50,8 +50,8 @@ import { PostPlayerChangeTypeRegisterParameters } from "../callbacks/subscriptio
|
|
|
50
50
|
import { PostPlayerCollectibleAddedRegisterParameters } from "../callbacks/subscriptions/postPlayerCollectibleAdded";
|
|
51
51
|
import { PostPlayerCollectibleRemovedRegisterParameters } from "../callbacks/subscriptions/postPlayerCollectibleRemoved";
|
|
52
52
|
import { PostPlayerFatalDamageRegisterParameters } from "../callbacks/subscriptions/postPlayerFatalDamage";
|
|
53
|
+
import { PostPlayerInitFirstRegisterParameters } from "../callbacks/subscriptions/postPlayerInitFirst";
|
|
53
54
|
import { PostPlayerInitLateRegisterParameters } from "../callbacks/subscriptions/postPlayerInitLate";
|
|
54
|
-
import { PostPlayerInitReorderedRegisterParameters } from "../callbacks/subscriptions/postPlayerInitReordered";
|
|
55
55
|
import { PostPlayerRenderReorderedRegisterParameters } from "../callbacks/subscriptions/postPlayerRenderReordered";
|
|
56
56
|
import { PostPlayerUpdateReorderedRegisterParameters } from "../callbacks/subscriptions/postPlayerUpdateReordered";
|
|
57
57
|
import { PostPoopRenderRegisterParameters } from "../callbacks/subscriptions/postPoopRender";
|
|
@@ -135,8 +135,8 @@ export interface AddCallbackParameterCustom {
|
|
|
135
135
|
[ModCallbackCustom.POST_PLAYER_COLLECTIBLE_ADDED]: PostPlayerCollectibleAddedRegisterParameters;
|
|
136
136
|
[ModCallbackCustom.POST_PLAYER_COLLECTIBLE_REMOVED]: PostPlayerCollectibleRemovedRegisterParameters;
|
|
137
137
|
[ModCallbackCustom.POST_PLAYER_FATAL_DAMAGE]: PostPlayerFatalDamageRegisterParameters;
|
|
138
|
+
[ModCallbackCustom.POST_PLAYER_INIT_FIRST]: PostPlayerInitFirstRegisterParameters;
|
|
138
139
|
[ModCallbackCustom.POST_PLAYER_INIT_LATE]: PostPlayerInitLateRegisterParameters;
|
|
139
|
-
[ModCallbackCustom.POST_PLAYER_INIT_REORDERED]: PostPlayerInitReorderedRegisterParameters;
|
|
140
140
|
[ModCallbackCustom.POST_PLAYER_RENDER_REORDERED]: PostPlayerRenderReorderedRegisterParameters;
|
|
141
141
|
[ModCallbackCustom.POST_PLAYER_UPDATE_REORDERED]: PostPlayerUpdateReorderedRegisterParameters;
|
|
142
142
|
[ModCallbackCustom.POST_POOP_RENDER]: PostPoopRenderRegisterParameters;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddCallbackParameterCustom.d.ts","sourceRoot":"","sources":["../../src/interfaces/AddCallbackParameterCustom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AACrG,OAAO,EAAE,mCAAmC,EAAE,MAAM,8CAA8C,CAAC;AACnG,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,kCAAkC,EAAE,MAAM,6CAA6C,CAAC;AACjG,OAAO,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAC3F,OAAO,EAAE,sCAAsC,EAAE,MAAM,iDAAiD,CAAC;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AAAA,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,MAAM,WAAW,oBAAoB;IACnC,oBAAoB,EAAE,cAAc,CAAC;IACrC,aAAa,EAAE,GAAG,CAAC;IACnB,SAAS,EAAE,GAAG,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"CustomGridEntityData.d.ts","sourceRoot":"","sources":["../../src/interfaces/CustomGridEntityData.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,MAAM,WAAW,oBAAoB;IACnC,oBAAoB,EAAE,cAAc,CAAC;IACrC,aAAa,EAAE,GAAG,CAAC;IACnB,SAAS,EAAE,GAAG,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,kBAAkB,CAAC;CACxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomTrapdoorDescription.d.ts","sourceRoot":"","sources":["../../../src/interfaces/private/CustomTrapdoorDescription.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,OAAO,CAAC;CACrB"}
|
package/dist/lib/jsonLua.lua
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callbackRegisterFunctions.d.ts","sourceRoot":"","sources":["../../src/objects/callbackRegisterFunctions.ts"],"names":[],"mappings":"AAmFA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAEtF,eAAO,MAAM,2BAA2B,EAAE;IACxC,QAAQ,EAAE,GAAG,IAAI,iBAAiB,GAAG,CACnC,GAAG,IAAI,EAAE,0BAA0B,CAAC,GAAG,CAAC,KACrC,IAAI;
|
|
1
|
+
{"version":3,"file":"callbackRegisterFunctions.d.ts","sourceRoot":"","sources":["../../src/objects/callbackRegisterFunctions.ts"],"names":[],"mappings":"AAmFA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAEtF,eAAO,MAAM,2BAA2B,EAAE;IACxC,QAAQ,EAAE,GAAG,IAAI,iBAAiB,GAAG,CACnC,GAAG,IAAI,EAAE,0BAA0B,CAAC,GAAG,CAAC,KACrC,IAAI;CAkGD,CAAC"}
|