isaacscript-common 7.4.1 → 7.5.0
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/postGridEntity.d.ts.map +1 -1
- package/dist/callbacks/postGridEntity.lua +53 -6
- package/dist/callbacks/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/callbacks/postPlayerChangeStat.lua +9 -2
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.d.ts.map +1 -1
- package/dist/callbacks/subscriptions/postGridEntityCustomBroken.lua +5 -2
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts +9 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomInit.lua +23 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts +9 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomRemove.lua +23 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts +9 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.d.ts.map +1 -0
- package/dist/callbacks/subscriptions/postGridEntityCustomStateChanged.lua +29 -0
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts +3 -2
- package/dist/callbacks/subscriptions/postPlayerChangeStat.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.d.ts +131 -81
- package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
- package/dist/enums/ModCallbackCustom.lua +67 -61
- package/dist/enums/StatType.d.ts +3 -1
- package/dist/enums/StatType.d.ts.map +1 -1
- package/dist/enums/StatType.lua +2 -0
- package/dist/features/customGridEntity.d.ts +30 -13
- package/dist/features/customGridEntity.d.ts.map +1 -1
- package/dist/features/customGridEntity.lua +67 -48
- package/dist/features/customStage/customStageGridEntities.d.ts.map +1 -1
- package/dist/features/customStage/customStageGridEntities.lua +37 -31
- package/dist/functions/dev.d.ts +20 -0
- package/dist/functions/dev.d.ts.map +1 -0
- package/dist/functions/dev.lua +34 -0
- package/dist/functions/gridEntities.d.ts +3 -0
- package/dist/functions/gridEntities.d.ts.map +1 -1
- package/dist/functions/gridEntities.lua +35 -4
- package/dist/functions/playerStats.d.ts.map +1 -1
- package/dist/functions/playerStats.lua +2 -1
- package/dist/functions/rooms.d.ts +5 -0
- package/dist/functions/rooms.d.ts.map +1 -1
- package/dist/functions/rooms.lua +12 -2
- package/dist/index.d.ts +11145 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.lua +1134 -8
- package/dist/interfaces/StatTypeType.d.ts +1 -0
- package/dist/interfaces/StatTypeType.d.ts.map +1 -1
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +6 -0
- package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
- package/dist/objects/callbackRegisterFunctions.lua +9 -0
- package/dist/types/PossibleStatType.d.ts +7 -0
- package/dist/types/PossibleStatType.d.ts.map +1 -0
- package/dist/{interfaces/index.lua → types/PossibleStatType.lua} +0 -0
- package/package.json +1 -1
- package/src/callbacks/postGridEntity.ts +75 -10
- package/src/callbacks/postPlayerChangeStat.ts +8 -4
- package/src/callbacks/subscriptions/postGridEntityCustomBroken.ts +4 -0
- package/src/callbacks/subscriptions/postGridEntityCustomInit.ts +38 -0
- package/src/callbacks/subscriptions/postGridEntityCustomRemove.ts +35 -0
- package/src/callbacks/subscriptions/postGridEntityCustomStateChanged.ts +42 -0
- package/src/callbacks/subscriptions/postPlayerChangeStat.ts +4 -7
- package/src/enums/ModCallbackCustom.ts +73 -20
- package/src/enums/StatType.ts +3 -3
- package/src/features/customGridEntity.ts +87 -61
- package/src/features/customStage/customStageGridEntities.ts +16 -7
- package/src/functions/dev.ts +31 -0
- package/src/functions/gridEntities.ts +33 -1
- package/src/functions/playerStats.ts +1 -0
- package/src/functions/rooms.ts +18 -0
- package/src/index.ts +208 -9
- package/src/interfaces/StatTypeType.ts +1 -0
- package/src/interfaces/private/AddCallbackParameterCustom.ts +6 -0
- package/src/objects/callbackRegisterFunctions.ts +9 -0
- package/src/types/PossibleStatType.ts +12 -0
- package/dist/classes/index.d.ts +0 -3
- package/dist/classes/index.d.ts.map +0 -1
- package/dist/classes/index.lua +0 -18
- package/dist/core/index.d.ts +0 -5
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/index.lua +0 -34
- package/dist/enums/DecorationVariant.d.ts +0 -10
- package/dist/enums/DecorationVariant.d.ts.map +0 -1
- package/dist/enums/DecorationVariant.lua +0 -7
- package/dist/enums/index.d.ts +0 -11
- package/dist/enums/index.d.ts.map +0 -1
- package/dist/enums/index.lua +0 -82
- package/dist/features/index.d.ts +0 -30
- package/dist/features/index.d.ts.map +0 -1
- package/dist/features/index.lua +0 -216
- package/dist/functions/index.d.ts +0 -100
- package/dist/functions/index.d.ts.map +0 -1
- package/dist/functions/index.lua +0 -794
- package/dist/interfaces/index.d.ts +0 -12
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/maps/index.d.ts +0 -5
- package/dist/maps/index.d.ts.map +0 -1
- package/dist/maps/index.lua +0 -34
- package/dist/objects/index.d.ts +0 -2
- package/dist/objects/index.d.ts.map +0 -1
- package/dist/objects/index.lua +0 -10
- package/dist/types/index.d.ts +0 -11
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.lua +0 -10
- package/src/classes/index.ts +0 -2
- package/src/classes/indexTypeDoc.ts +0 -2
- package/src/core/index.ts +0 -4
- package/src/core/indexTypeDoc.ts +0 -4
- package/src/enums/DecorationVariant.ts +0 -10
- package/src/enums/index.ts +0 -10
- package/src/enums/indexTypeDoc.ts +0 -10
- package/src/features/index.ts +0 -59
- package/src/features/indexTypeDoc.ts +0 -30
- package/src/functions/index.ts +0 -101
- package/src/functions/indexTypeDoc.ts +0 -101
- package/src/indexTypeDoc.ts +0 -13
- package/src/interfaces/index.ts +0 -11
- package/src/interfaces/indexTypeDoc.ts +0 -11
- package/src/maps/index.ts +0 -4
- package/src/maps/indexTypeDoc.ts +0 -4
- package/src/objects/index.ts +0 -1
- package/src/objects/indexTypeDoc.ts +0 -1
- package/src/types/index.ts +0 -10
- package/src/types/indexTypeDoc.ts +0 -10
package/src/index.ts
CHANGED
|
@@ -1,9 +1,208 @@
|
|
|
1
|
-
export * from "./classes/
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
1
|
+
export * from "./classes/DefaultMap";
|
|
2
|
+
export * from "./classes/ModUpgraded";
|
|
3
|
+
export * from "./core/cachedClasses";
|
|
4
|
+
export * from "./core/constants";
|
|
5
|
+
export * from "./core/constantsFirstLast";
|
|
6
|
+
export * from "./core/upgradeMod";
|
|
7
|
+
export * from "./enums/AmbushType";
|
|
8
|
+
export * from "./enums/CornerType";
|
|
9
|
+
export * from "./enums/HealthType";
|
|
10
|
+
export * from "./enums/ModCallbackCustom";
|
|
11
|
+
export * from "./enums/PocketItemType";
|
|
12
|
+
export * from "./enums/RockAltType";
|
|
13
|
+
export * from "./enums/SaveDataKey";
|
|
14
|
+
export * from "./enums/SerializationType";
|
|
15
|
+
export * from "./enums/SlotDestructionType";
|
|
16
|
+
export * from "./enums/StatType";
|
|
17
|
+
export {
|
|
18
|
+
ConversionHeartSubType,
|
|
19
|
+
registerCharacterHealthConversion,
|
|
20
|
+
} from "./features/characterHealthConversion";
|
|
21
|
+
export { registerCharacterStats } from "./features/characterStats";
|
|
22
|
+
export { getCollectibleItemPoolType } from "./features/collectibleItemPoolType";
|
|
23
|
+
export { initCustomDoor, spawnCustomDoor } from "./features/customDoor";
|
|
24
|
+
export {
|
|
25
|
+
removeCustomGridEntity as removeCustomGrid,
|
|
26
|
+
spawnCustomGridEntity as spawnCustomGrid,
|
|
27
|
+
} from "./features/customGridEntity";
|
|
28
|
+
export * from "./features/customStage/exports";
|
|
29
|
+
export * from "./features/customTrapdoor/exports";
|
|
30
|
+
export * from "./features/debugDisplay/exports";
|
|
31
|
+
export {
|
|
32
|
+
deployJSONRoom,
|
|
33
|
+
deployRandomJSONRoom,
|
|
34
|
+
emptyRoom,
|
|
35
|
+
} from "./features/deployJSONRoom";
|
|
36
|
+
export { disableAllSound, enableAllSound } from "./features/disableAllSound";
|
|
37
|
+
export {
|
|
38
|
+
disableAllInputs,
|
|
39
|
+
disableAllInputsExceptFor,
|
|
40
|
+
disableMovementInputs,
|
|
41
|
+
disableShootingInputs,
|
|
42
|
+
enableAllInputs,
|
|
43
|
+
enableAllInputsExceptFor,
|
|
44
|
+
} from "./features/disableInputs";
|
|
45
|
+
export * from "./features/extraConsoleCommands/exports";
|
|
46
|
+
export { removeFadeIn, restoreFadeIn } from "./features/fadeInRemover";
|
|
47
|
+
export { disableFastReset, enableFastReset } from "./features/fastReset";
|
|
48
|
+
export { forgottenSwitch } from "./features/forgottenSwitch";
|
|
49
|
+
export { pause, unpause } from "./features/pause";
|
|
50
|
+
export {
|
|
51
|
+
removePersistentEntity,
|
|
52
|
+
spawnPersistentEntity,
|
|
53
|
+
} from "./features/persistentEntities";
|
|
54
|
+
export * from "./features/pickupIndex";
|
|
55
|
+
export { getPlayerInventory } from "./features/playerInventory";
|
|
56
|
+
export {
|
|
57
|
+
anyPlayerUsingPony,
|
|
58
|
+
isPlayerUsingPony,
|
|
59
|
+
} from "./features/ponyDetection";
|
|
60
|
+
export { preventCollectibleRotation } from "./features/preventCollectibleRotation";
|
|
61
|
+
export { registerHotkey, unregisterHotkey } from "./features/registerHotkey";
|
|
62
|
+
export {
|
|
63
|
+
getRoomClearGameFrame,
|
|
64
|
+
getRoomClearRoomFrame,
|
|
65
|
+
} from "./features/roomClearFrame";
|
|
66
|
+
export * from "./features/roomHistory";
|
|
67
|
+
export {
|
|
68
|
+
runInNGameFrames,
|
|
69
|
+
runInNRenderFrames,
|
|
70
|
+
runNextGameFrame,
|
|
71
|
+
runNextRenderFrame,
|
|
72
|
+
setIntervalGameFrames,
|
|
73
|
+
setIntervalRenderFrames,
|
|
74
|
+
} from "./features/runInNFrames";
|
|
75
|
+
export * from "./features/saveDataManager/exports";
|
|
76
|
+
export {
|
|
77
|
+
hasSirenStolenFamiliar,
|
|
78
|
+
setFamiliarNoSirenSteal,
|
|
79
|
+
} from "./features/sirenHelpers";
|
|
80
|
+
export { getStageHistory, hasVisitedStage } from "./features/stageHistory";
|
|
81
|
+
export { getTaintedLazarusSubPlayer } from "./features/taintedLazarusPlayers";
|
|
82
|
+
export * from "./functions/ambush";
|
|
83
|
+
export * from "./functions/array";
|
|
84
|
+
export * from "./functions/benchmark";
|
|
85
|
+
export * from "./functions/bitSet128";
|
|
86
|
+
export * from "./functions/bitwise";
|
|
87
|
+
export * from "./functions/bombs";
|
|
88
|
+
export * from "./functions/bosses";
|
|
89
|
+
export * from "./functions/cacheFlag";
|
|
90
|
+
export * from "./functions/cards";
|
|
91
|
+
export * from "./functions/challenges";
|
|
92
|
+
export * from "./functions/characters";
|
|
93
|
+
export * from "./functions/charge";
|
|
94
|
+
export * from "./functions/chargeBar";
|
|
95
|
+
export * from "./functions/collectibles";
|
|
96
|
+
export * from "./functions/collectibleSet";
|
|
97
|
+
export * from "./functions/collectibleTag";
|
|
98
|
+
export * from "./functions/color";
|
|
99
|
+
export * from "./functions/curses";
|
|
100
|
+
export * from "./functions/debug";
|
|
101
|
+
export * from "./functions/deepCopy";
|
|
102
|
+
export * from "./functions/deepCopyTests";
|
|
103
|
+
export * from "./functions/dev";
|
|
104
|
+
export * from "./functions/dimensions";
|
|
105
|
+
export * from "./functions/direction";
|
|
106
|
+
export * from "./functions/doors";
|
|
107
|
+
export * from "./functions/easing";
|
|
108
|
+
export * from "./functions/eden";
|
|
109
|
+
export * from "./functions/effects";
|
|
110
|
+
export * from "./functions/entities";
|
|
111
|
+
export * from "./functions/entitiesSpecific";
|
|
112
|
+
export * from "./functions/entityTypes";
|
|
113
|
+
export * from "./functions/enums";
|
|
114
|
+
export * from "./functions/familiars";
|
|
115
|
+
export * from "./functions/flag";
|
|
116
|
+
export * from "./functions/flying";
|
|
117
|
+
export * from "./functions/globals";
|
|
118
|
+
export * from "./functions/gridEntities";
|
|
119
|
+
export * from "./functions/gridEntitiesSpecific";
|
|
120
|
+
export * from "./functions/input";
|
|
121
|
+
export * from "./functions/isaacAPIClass";
|
|
122
|
+
export * from "./functions/itemPool";
|
|
123
|
+
export * from "./functions/jsonHelpers";
|
|
124
|
+
export * from "./functions/jsonRoom";
|
|
125
|
+
export * from "./functions/kColor";
|
|
126
|
+
export * from "./functions/language";
|
|
127
|
+
export * from "./functions/level";
|
|
128
|
+
export * from "./functions/levelGrid";
|
|
129
|
+
export * from "./functions/log";
|
|
130
|
+
export * from "./functions/logEntities";
|
|
131
|
+
export * from "./functions/map";
|
|
132
|
+
export * from "./functions/math";
|
|
133
|
+
export * from "./functions/mergeTests";
|
|
134
|
+
export * from "./functions/minimap";
|
|
135
|
+
export * from "./functions/nextStage";
|
|
136
|
+
export * from "./functions/npcs";
|
|
137
|
+
export * from "./functions/pickups";
|
|
138
|
+
export * from "./functions/pickupsSpecific";
|
|
139
|
+
export * from "./functions/pickupVariants";
|
|
140
|
+
export * from "./functions/pills";
|
|
141
|
+
export * from "./functions/playerCenter";
|
|
142
|
+
export * from "./functions/playerDataStructures";
|
|
143
|
+
export * from "./functions/playerHealth";
|
|
144
|
+
export * from "./functions/playerIndex";
|
|
145
|
+
export * from "./functions/players";
|
|
146
|
+
export * from "./functions/playerStats";
|
|
147
|
+
export * from "./functions/pocketItems";
|
|
148
|
+
export * from "./functions/positionVelocity";
|
|
149
|
+
export * from "./functions/pressurePlate";
|
|
150
|
+
export * from "./functions/projectiles";
|
|
151
|
+
export * from "./functions/random";
|
|
152
|
+
export * from "./functions/reorderedCallbacks";
|
|
153
|
+
export * from "./functions/revive";
|
|
154
|
+
export * from "./functions/rng";
|
|
155
|
+
export * from "./functions/rockAlt";
|
|
156
|
+
export * from "./functions/roomData";
|
|
157
|
+
export * from "./functions/roomGrid";
|
|
158
|
+
export * from "./functions/rooms";
|
|
159
|
+
export * from "./functions/roomShape";
|
|
160
|
+
export * from "./functions/roomTransition";
|
|
161
|
+
export * from "./functions/run";
|
|
162
|
+
export * from "./functions/saveFile";
|
|
163
|
+
export * from "./functions/seeds";
|
|
164
|
+
export * from "./functions/serialization";
|
|
165
|
+
export * from "./functions/set";
|
|
166
|
+
export * from "./functions/sound";
|
|
167
|
+
export * from "./functions/spawnCollectible";
|
|
168
|
+
export * from "./functions/sprites";
|
|
169
|
+
export * from "./functions/stage";
|
|
170
|
+
export * from "./functions/string";
|
|
171
|
+
export * from "./functions/table";
|
|
172
|
+
export * from "./functions/tears";
|
|
173
|
+
export * from "./functions/transformations";
|
|
174
|
+
export * from "./functions/trinketCacheFlag";
|
|
175
|
+
export * from "./functions/trinketGive";
|
|
176
|
+
export * from "./functions/trinkets";
|
|
177
|
+
export * from "./functions/tstlClass";
|
|
178
|
+
export * from "./functions/types";
|
|
179
|
+
export * from "./functions/ui";
|
|
180
|
+
export * from "./functions/utils";
|
|
181
|
+
export * from "./functions/vector";
|
|
182
|
+
export * from "./interfaces/ChargeBarSprites";
|
|
183
|
+
export * from "./interfaces/Corner";
|
|
184
|
+
export * from "./interfaces/CustomStageLua";
|
|
185
|
+
export * from "./interfaces/GridEntityCustomData";
|
|
186
|
+
export * from "./interfaces/JSONRoomsFile";
|
|
187
|
+
export * from "./interfaces/PlayerHealth";
|
|
188
|
+
export * from "./interfaces/PocketItemDescription";
|
|
189
|
+
export * from "./interfaces/RoomDescription";
|
|
190
|
+
export * from "./interfaces/SaveData";
|
|
191
|
+
export * from "./interfaces/StatTypeType";
|
|
192
|
+
export * from "./interfaces/TrinketSituation";
|
|
193
|
+
export * from "./maps/cardMap";
|
|
194
|
+
export * from "./maps/characterMap";
|
|
195
|
+
export * from "./maps/pillEffectMap";
|
|
196
|
+
export * from "./maps/roomTypeMap";
|
|
197
|
+
export * from "./objects/colors";
|
|
198
|
+
export * from "./types/AnyEntity";
|
|
199
|
+
export * from "./types/AnyGridEntity";
|
|
200
|
+
export * from "./types/CollectibleIndex";
|
|
201
|
+
export * from "./types/Immutable";
|
|
202
|
+
export * from "./types/PickingUpItem";
|
|
203
|
+
export * from "./types/PickupIndex";
|
|
204
|
+
export * from "./types/PlayerIndex";
|
|
205
|
+
export * from "./types/PossibleStatType";
|
|
206
|
+
export * from "./types/SerializedIsaacAPIClass";
|
|
207
|
+
export * from "./types/TrapdoorDestination";
|
|
208
|
+
export * from "./types/TSTLClass";
|
|
@@ -25,7 +25,10 @@ import { PostGridEntityBrokenRegisterParameters } from "../../callbacks/subscrip
|
|
|
25
25
|
import { PostGridEntityCollisionRegisterParameters } from "../../callbacks/subscriptions/postGridEntityCollision";
|
|
26
26
|
import { PostGridEntityCustomBrokenRegisterParameters } from "../../callbacks/subscriptions/postGridEntityCustomBroken";
|
|
27
27
|
import { PostGridEntityCustomCollisionRegisterParameters } from "../../callbacks/subscriptions/postGridEntityCustomCollision";
|
|
28
|
+
import { PostGridEntityCustomInitRegisterParameters } from "../../callbacks/subscriptions/postGridEntityCustomInit";
|
|
29
|
+
import { PostGridEntityCustomRemoveRegisterParameters } from "../../callbacks/subscriptions/postGridEntityCustomRemove";
|
|
28
30
|
import { PostGridEntityCustomRenderRegisterParameters } from "../../callbacks/subscriptions/postGridEntityCustomRender";
|
|
31
|
+
import { PostGridEntityCustomStateChangedRegisterParameters } from "../../callbacks/subscriptions/postGridEntityCustomStateChanged";
|
|
29
32
|
import { PostGridEntityCustomUpdateRegisterParameters } from "../../callbacks/subscriptions/postGridEntityCustomUpdate";
|
|
30
33
|
import { PostGridEntityInitRegisterParameters } from "../../callbacks/subscriptions/postGridEntityInit";
|
|
31
34
|
import { PostGridEntityRemoveRegisterParameters } from "../../callbacks/subscriptions/postGridEntityRemove";
|
|
@@ -116,7 +119,10 @@ export interface AddCallbackParameterCustom {
|
|
|
116
119
|
[ModCallbackCustom.POST_GRID_ENTITY_COLLISION]: PostGridEntityCollisionRegisterParameters;
|
|
117
120
|
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_BROKEN]: PostGridEntityCustomBrokenRegisterParameters;
|
|
118
121
|
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_COLLISION]: PostGridEntityCustomCollisionRegisterParameters;
|
|
122
|
+
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_INIT]: PostGridEntityCustomInitRegisterParameters;
|
|
123
|
+
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_REMOVE]: PostGridEntityCustomRemoveRegisterParameters;
|
|
119
124
|
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_RENDER]: PostGridEntityCustomRenderRegisterParameters;
|
|
125
|
+
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_STATE_CHANGED]: PostGridEntityCustomStateChangedRegisterParameters;
|
|
120
126
|
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_UPDATE]: PostGridEntityCustomUpdateRegisterParameters;
|
|
121
127
|
[ModCallbackCustom.POST_GRID_ENTITY_INIT]: PostGridEntityInitRegisterParameters;
|
|
122
128
|
[ModCallbackCustom.POST_GRID_ENTITY_REMOVE]: PostGridEntityRemoveRegisterParameters;
|
|
@@ -25,7 +25,10 @@ import { postGridEntityBrokenRegister } from "../callbacks/subscriptions/postGri
|
|
|
25
25
|
import { postGridEntityCollisionRegister } from "../callbacks/subscriptions/postGridEntityCollision";
|
|
26
26
|
import { postGridEntityCustomBrokenRegister } from "../callbacks/subscriptions/postGridEntityCustomBroken";
|
|
27
27
|
import { postGridEntityCustomCollisionRegister } from "../callbacks/subscriptions/postGridEntityCustomCollision";
|
|
28
|
+
import { postGridEntityCustomInitRegister } from "../callbacks/subscriptions/postGridEntityCustomInit";
|
|
29
|
+
import { postGridEntityCustomRemoveRegister } from "../callbacks/subscriptions/postGridEntityCustomRemove";
|
|
28
30
|
import { postGridEntityCustomRenderRegister } from "../callbacks/subscriptions/postGridEntityCustomRender";
|
|
31
|
+
import { postGridEntityCustomStateChangedRegister } from "../callbacks/subscriptions/postGridEntityCustomStateChanged";
|
|
29
32
|
import { postGridEntityCustomUpdateRegister } from "../callbacks/subscriptions/postGridEntityCustomUpdate";
|
|
30
33
|
import { postGridEntityInitRegister } from "../callbacks/subscriptions/postGridEntityInit";
|
|
31
34
|
import { postGridEntityRemoveRegister } from "../callbacks/subscriptions/postGridEntityRemove";
|
|
@@ -127,8 +130,14 @@ export const CALLBACK_REGISTER_FUNCTIONS: {
|
|
|
127
130
|
postGridEntityCustomBrokenRegister,
|
|
128
131
|
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_COLLISION]:
|
|
129
132
|
postGridEntityCustomCollisionRegister,
|
|
133
|
+
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_INIT]:
|
|
134
|
+
postGridEntityCustomInitRegister,
|
|
135
|
+
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_REMOVE]:
|
|
136
|
+
postGridEntityCustomRemoveRegister,
|
|
130
137
|
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_RENDER]:
|
|
131
138
|
postGridEntityCustomRenderRegister,
|
|
139
|
+
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_STATE_CHANGED]:
|
|
140
|
+
postGridEntityCustomStateChangedRegister,
|
|
132
141
|
[ModCallbackCustom.POST_GRID_ENTITY_CUSTOM_UPDATE]:
|
|
133
142
|
postGridEntityCustomUpdateRegister,
|
|
134
143
|
[ModCallbackCustom.POST_GRID_ENTITY_INIT]: postGridEntityInitRegister,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TearFlag } from "isaac-typescript-definitions";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* These are the possible types that player stats can be. For example, `EntityPlayer.Damage` is of
|
|
5
|
+
* type `float`, `EntityPlayer.CanFly` is of type `boolean`, and so on.
|
|
6
|
+
*/
|
|
7
|
+
export type PossibleStatType =
|
|
8
|
+
| number
|
|
9
|
+
| boolean
|
|
10
|
+
| BitFlags<TearFlag>
|
|
11
|
+
| Color
|
|
12
|
+
| Vector;
|
package/dist/classes/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/classes/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
package/dist/classes/index.lua
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
do
|
|
3
|
-
local ____export = require("classes.DefaultMap")
|
|
4
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
5
|
-
if ____exportKey ~= "default" then
|
|
6
|
-
____exports[____exportKey] = ____exportValue
|
|
7
|
-
end
|
|
8
|
-
end
|
|
9
|
-
end
|
|
10
|
-
do
|
|
11
|
-
local ____export = require("classes.ModUpgraded")
|
|
12
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
13
|
-
if ____exportKey ~= "default" then
|
|
14
|
-
____exports[____exportKey] = ____exportValue
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
return ____exports
|
package/dist/core/index.d.ts
DELETED
package/dist/core/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC"}
|
package/dist/core/index.lua
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
do
|
|
3
|
-
local ____export = require("core.cachedClasses")
|
|
4
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
5
|
-
if ____exportKey ~= "default" then
|
|
6
|
-
____exports[____exportKey] = ____exportValue
|
|
7
|
-
end
|
|
8
|
-
end
|
|
9
|
-
end
|
|
10
|
-
do
|
|
11
|
-
local ____export = require("core.constants")
|
|
12
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
13
|
-
if ____exportKey ~= "default" then
|
|
14
|
-
____exports[____exportKey] = ____exportValue
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
do
|
|
19
|
-
local ____export = require("core.constantsFirstLast")
|
|
20
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
21
|
-
if ____exportKey ~= "default" then
|
|
22
|
-
____exports[____exportKey] = ____exportValue
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
do
|
|
27
|
-
local ____export = require("core.upgradeMod")
|
|
28
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
29
|
-
if ____exportKey ~= "default" then
|
|
30
|
-
____exports[____exportKey] = ____exportValue
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
return ____exports
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare enum DecorationVariant {
|
|
2
|
-
VANILLA_DECORATION = 0,
|
|
3
|
-
/**
|
|
4
|
-
* The vanilla game does not support any custom grid entities. Under the hood, IsaacScript allows
|
|
5
|
-
* for custom grid entities by using decorations with this variant to represent custom grid
|
|
6
|
-
* entities.
|
|
7
|
-
*/
|
|
8
|
-
CUSTOM_GRID_ENTITY = 1
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=DecorationVariant.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DecorationVariant.d.ts","sourceRoot":"","sources":["../../src/enums/DecorationVariant.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,kBAAkB,IAAI;IAEtB;;;;OAIG;IACH,kBAAkB,IAAI;CACvB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
____exports.DecorationVariant = {}
|
|
3
|
-
____exports.DecorationVariant.VANILLA_DECORATION = 0
|
|
4
|
-
____exports.DecorationVariant[____exports.DecorationVariant.VANILLA_DECORATION] = "VANILLA_DECORATION"
|
|
5
|
-
____exports.DecorationVariant.CUSTOM_GRID_ENTITY = 1
|
|
6
|
-
____exports.DecorationVariant[____exports.DecorationVariant.CUSTOM_GRID_ENTITY] = "CUSTOM_GRID_ENTITY"
|
|
7
|
-
return ____exports
|
package/dist/enums/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./AmbushType";
|
|
2
|
-
export * from "./CornerType";
|
|
3
|
-
export * from "./HealthType";
|
|
4
|
-
export * from "./ModCallbackCustom";
|
|
5
|
-
export * from "./PocketItemType";
|
|
6
|
-
export * from "./RockAltType";
|
|
7
|
-
export * from "./SaveDataKey";
|
|
8
|
-
export * from "./SerializationType";
|
|
9
|
-
export * from "./SlotDestructionType";
|
|
10
|
-
export * from "./StatType";
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC"}
|
package/dist/enums/index.lua
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
local ____exports = {}
|
|
2
|
-
do
|
|
3
|
-
local ____export = require("enums.AmbushType")
|
|
4
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
5
|
-
if ____exportKey ~= "default" then
|
|
6
|
-
____exports[____exportKey] = ____exportValue
|
|
7
|
-
end
|
|
8
|
-
end
|
|
9
|
-
end
|
|
10
|
-
do
|
|
11
|
-
local ____export = require("enums.CornerType")
|
|
12
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
13
|
-
if ____exportKey ~= "default" then
|
|
14
|
-
____exports[____exportKey] = ____exportValue
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
do
|
|
19
|
-
local ____export = require("enums.HealthType")
|
|
20
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
21
|
-
if ____exportKey ~= "default" then
|
|
22
|
-
____exports[____exportKey] = ____exportValue
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
do
|
|
27
|
-
local ____export = require("enums.ModCallbackCustom")
|
|
28
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
29
|
-
if ____exportKey ~= "default" then
|
|
30
|
-
____exports[____exportKey] = ____exportValue
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
do
|
|
35
|
-
local ____export = require("enums.PocketItemType")
|
|
36
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
37
|
-
if ____exportKey ~= "default" then
|
|
38
|
-
____exports[____exportKey] = ____exportValue
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
do
|
|
43
|
-
local ____export = require("enums.RockAltType")
|
|
44
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
45
|
-
if ____exportKey ~= "default" then
|
|
46
|
-
____exports[____exportKey] = ____exportValue
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
do
|
|
51
|
-
local ____export = require("enums.SaveDataKey")
|
|
52
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
53
|
-
if ____exportKey ~= "default" then
|
|
54
|
-
____exports[____exportKey] = ____exportValue
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
end
|
|
58
|
-
do
|
|
59
|
-
local ____export = require("enums.SerializationType")
|
|
60
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
61
|
-
if ____exportKey ~= "default" then
|
|
62
|
-
____exports[____exportKey] = ____exportValue
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
end
|
|
66
|
-
do
|
|
67
|
-
local ____export = require("enums.SlotDestructionType")
|
|
68
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
69
|
-
if ____exportKey ~= "default" then
|
|
70
|
-
____exports[____exportKey] = ____exportValue
|
|
71
|
-
end
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
do
|
|
75
|
-
local ____export = require("enums.StatType")
|
|
76
|
-
for ____exportKey, ____exportValue in pairs(____export) do
|
|
77
|
-
if ____exportKey ~= "default" then
|
|
78
|
-
____exports[____exportKey] = ____exportValue
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
return ____exports
|
package/dist/features/index.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export { ConversionHeartSubType, registerCharacterHealthConversion, } from "./characterHealthConversion";
|
|
2
|
-
export { registerCharacterStats } from "./characterStats";
|
|
3
|
-
export { getCollectibleItemPoolType } from "./collectibleItemPoolType";
|
|
4
|
-
export { initCustomDoor, spawnCustomDoor } from "./customDoor";
|
|
5
|
-
export { removeCustomGridEntity as removeCustomGrid, spawnCustomGridEntity as spawnCustomGrid, } from "./customGridEntity";
|
|
6
|
-
export * from "./customStage/exports";
|
|
7
|
-
export * from "./customTrapdoor/exports";
|
|
8
|
-
export * from "./debugDisplay/exports";
|
|
9
|
-
export { deployJSONRoom, deployRandomJSONRoom, emptyRoom, } from "./deployJSONRoom";
|
|
10
|
-
export { disableAllSound, enableAllSound } from "./disableAllSound";
|
|
11
|
-
export { disableAllInputs, disableAllInputsExceptFor, disableMovementInputs, disableShootingInputs, enableAllInputs, enableAllInputsExceptFor, } from "./disableInputs";
|
|
12
|
-
export * from "./extraConsoleCommands/exports";
|
|
13
|
-
export { removeFadeIn, restoreFadeIn } from "./fadeInRemover";
|
|
14
|
-
export { disableFastReset, enableFastReset } from "./fastReset";
|
|
15
|
-
export { forgottenSwitch } from "./forgottenSwitch";
|
|
16
|
-
export { pause, unpause } from "./pause";
|
|
17
|
-
export { removePersistentEntity, spawnPersistentEntity, } from "./persistentEntities";
|
|
18
|
-
export * from "./pickupIndex";
|
|
19
|
-
export { getPlayerInventory } from "./playerInventory";
|
|
20
|
-
export { anyPlayerUsingPony, isPlayerUsingPony } from "./ponyDetection";
|
|
21
|
-
export { preventCollectibleRotation } from "./preventCollectibleRotation";
|
|
22
|
-
export { registerHotkey, unregisterHotkey } from "./registerHotkey";
|
|
23
|
-
export { getRoomClearGameFrame, getRoomClearRoomFrame } from "./roomClearFrame";
|
|
24
|
-
export * from "./roomHistory";
|
|
25
|
-
export { runInNGameFrames, runInNRenderFrames, runNextGameFrame, runNextRenderFrame, setIntervalGameFrames, setIntervalRenderFrames, } from "./runInNFrames";
|
|
26
|
-
export * from "./saveDataManager/exports";
|
|
27
|
-
export { hasSirenStolenFamiliar, setFamiliarNoSirenSteal, } from "./sirenHelpers";
|
|
28
|
-
export { getStageHistory, hasVisitedStage } from "./stageHistory";
|
|
29
|
-
export { getTaintedLazarusSubPlayer } from "./taintedLazarusPlayers";
|
|
30
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/features/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,iCAAiC,GAClC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EACL,sBAAsB,IAAI,gBAAgB,EAC1C,qBAAqB,IAAI,eAAe,GACzC,MAAM,oBAAoB,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,SAAS,GACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,wBAAwB,GACzB,MAAM,iBAAiB,CAAC;AACzB,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EACL,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAChF,cAAc,eAAe,CAAC;AAC9B,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EACL,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC"}
|