isaacscript-common 76.2.0 → 77.0.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/classes/features/callbackLogic/CustomGridEntities.d.ts +8 -0
- package/dist/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
- package/dist/classes/features/callbackLogic/GameReorderedCallbacks.d.ts +6 -0
- package/dist/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
- package/dist/classes/features/other/CharacterHealthConversion.d.ts +2 -0
- package/dist/classes/features/other/CharacterHealthConversion.d.ts.map +1 -1
- package/dist/classes/features/other/CharacterStats.d.ts +2 -0
- package/dist/classes/features/other/CharacterStats.d.ts.map +1 -1
- package/dist/classes/features/other/CollectibleItemPoolType.d.ts +2 -0
- package/dist/classes/features/other/CollectibleItemPoolType.d.ts.map +1 -1
- package/dist/classes/features/other/CustomHotkeys.d.ts +4 -0
- package/dist/classes/features/other/CustomHotkeys.d.ts.map +1 -1
- package/dist/classes/features/other/CustomItemPools.d.ts +2 -0
- package/dist/classes/features/other/CustomItemPools.d.ts.map +1 -1
- package/dist/classes/features/other/CustomPickups.d.ts +1 -0
- package/dist/classes/features/other/CustomPickups.d.ts.map +1 -1
- package/dist/classes/features/other/CustomStages.d.ts +3 -0
- package/dist/classes/features/other/CustomStages.d.ts.map +1 -1
- package/dist/classes/features/other/DebugDisplay.d.ts +54 -0
- package/dist/classes/features/other/DebugDisplay.d.ts.map +1 -1
- package/dist/classes/features/other/DeployJSONRoom.d.ts +1 -0
- package/dist/classes/features/other/DeployJSONRoom.d.ts.map +1 -1
- package/dist/classes/features/other/DisableInputs.d.ts +9 -0
- package/dist/classes/features/other/DisableInputs.d.ts.map +1 -1
- package/dist/classes/features/other/EdenStartingStatsHealth.d.ts +6 -0
- package/dist/classes/features/other/EdenStartingStatsHealth.d.ts.map +1 -1
- package/dist/classes/features/other/ExtraConsoleCommands.d.ts +6 -0
- package/dist/classes/features/other/ExtraConsoleCommands.d.ts.map +1 -1
- package/dist/classes/features/other/FadeInRemover.d.ts +4 -0
- package/dist/classes/features/other/FadeInRemover.d.ts.map +1 -1
- package/dist/classes/features/other/FastReset.d.ts +4 -0
- package/dist/classes/features/other/FastReset.d.ts.map +1 -1
- package/dist/classes/features/other/FlyingDetection.d.ts +2 -0
- package/dist/classes/features/other/FlyingDetection.d.ts.map +1 -1
- package/dist/classes/features/other/FlyingDetection.lua +2 -3
- package/dist/classes/features/other/ForgottenSwitch.d.ts +2 -0
- package/dist/classes/features/other/ForgottenSwitch.d.ts.map +1 -1
- package/dist/classes/features/other/ItemPoolDetection.d.ts +7 -1
- package/dist/classes/features/other/ItemPoolDetection.d.ts.map +1 -1
- package/dist/classes/features/other/ModdedElementDetection.d.ts +32 -0
- package/dist/classes/features/other/ModdedElementDetection.d.ts.map +1 -1
- package/dist/classes/features/other/ModdedElementSets.d.ts +88 -20
- package/dist/classes/features/other/ModdedElementSets.d.ts.map +1 -1
- package/dist/classes/features/other/ModdedElementSets.lua +75 -86
- package/dist/classes/features/other/NoSirenSteal.d.ts +1 -0
- package/dist/classes/features/other/NoSirenSteal.d.ts.map +1 -1
- package/dist/classes/features/other/Pause.d.ts +10 -0
- package/dist/classes/features/other/Pause.d.ts.map +1 -1
- package/dist/classes/features/other/PersistentEntities.d.ts +2 -0
- package/dist/classes/features/other/PersistentEntities.d.ts.map +1 -1
- package/dist/classes/features/other/PlayerCollectibleTracking.d.ts +3 -0
- package/dist/classes/features/other/PlayerCollectibleTracking.d.ts.map +1 -1
- package/dist/classes/features/other/PonyDetection.d.ts +4 -0
- package/dist/classes/features/other/PonyDetection.d.ts.map +1 -1
- package/dist/classes/features/other/PreventChildEntities.d.ts +2 -0
- package/dist/classes/features/other/PreventChildEntities.d.ts.map +1 -1
- package/dist/classes/features/other/RoomClearFrame.d.ts +19 -0
- package/dist/classes/features/other/RoomClearFrame.d.ts.map +1 -1
- package/dist/classes/features/other/RoomClearFrame.lua +8 -2
- package/dist/classes/features/other/RoomHistory.d.ts +17 -1
- package/dist/classes/features/other/RoomHistory.d.ts.map +1 -1
- package/dist/classes/features/other/RunInNFrames.d.ts +9 -2
- package/dist/classes/features/other/RunInNFrames.d.ts.map +1 -1
- package/dist/classes/features/other/RunNextRun.d.ts +2 -0
- package/dist/classes/features/other/RunNextRun.d.ts.map +1 -1
- package/dist/classes/features/other/SaveDataManager.d.ts +21 -0
- package/dist/classes/features/other/SaveDataManager.d.ts.map +1 -1
- package/dist/classes/features/other/SpawnRockAltRewards.d.ts +1 -0
- package/dist/classes/features/other/SpawnRockAltRewards.d.ts.map +1 -1
- package/dist/classes/features/other/StageHistory.d.ts +3 -0
- package/dist/classes/features/other/StageHistory.d.ts.map +1 -1
- package/dist/classes/features/other/StartAmbush.d.ts +2 -0
- package/dist/classes/features/other/StartAmbush.d.ts.map +1 -1
- package/dist/classes/features/other/TaintedLazarusPlayers.d.ts +2 -0
- package/dist/classes/features/other/TaintedLazarusPlayers.d.ts.map +1 -1
- package/dist/classes/features/other/UnlockAchievementsDetection.d.ts +2 -0
- package/dist/classes/features/other/UnlockAchievementsDetection.d.ts.map +1 -1
- package/dist/classes/private/CustomCallback.d.ts +0 -1
- package/dist/classes/private/CustomCallback.d.ts.map +1 -1
- package/dist/classes/private/CustomCallback.lua +0 -19
- package/dist/functions/array.d.ts +3 -3
- package/dist/functions/array.d.ts.map +1 -1
- package/dist/functions/array.lua +34 -28
- package/dist/functions/cards.lua +3 -3
- package/dist/functions/collectibles.d.ts +2 -2
- package/dist/functions/collectibles.d.ts.map +1 -1
- package/dist/functions/collectibles.lua +4 -5
- package/dist/functions/pills.d.ts +3 -3
- package/dist/functions/pills.d.ts.map +1 -1
- package/dist/functions/playerTrinkets.d.ts +1 -1
- package/dist/functions/playerTrinkets.d.ts.map +1 -1
- package/dist/functions/players.d.ts.map +1 -1
- package/dist/functions/players.lua +7 -7
- package/dist/index.rollup.d.ts +354 -34
- package/dist/isaacscript-common.lua +490 -510
- package/dist/sets/{itemConfigCardTypesForCardsSet.d.ts → itemConfigCardTypesForCards.d.ts} +2 -2
- package/dist/sets/itemConfigCardTypesForCards.d.ts.map +1 -0
- package/dist/sets/{itemConfigCardTypesForCardsSet.lua → itemConfigCardTypesForCards.lua} +1 -1
- package/package.json +1 -1
- package/src/classes/features/callbackLogic/CustomGridEntities.ts +8 -0
- package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +6 -0
- package/src/classes/features/other/CharacterHealthConversion.ts +2 -0
- package/src/classes/features/other/CharacterStats.ts +2 -0
- package/src/classes/features/other/CollectibleItemPoolType.ts +2 -0
- package/src/classes/features/other/CustomHotkeys.ts +4 -0
- package/src/classes/features/other/CustomItemPools.ts +2 -0
- package/src/classes/features/other/CustomPickups.ts +1 -0
- package/src/classes/features/other/CustomStages.ts +3 -0
- package/src/classes/features/other/DebugDisplay.ts +54 -0
- package/src/classes/features/other/DeployJSONRoom.ts +1 -0
- package/src/classes/features/other/DisableInputs.ts +9 -0
- package/src/classes/features/other/EdenStartingStatsHealth.ts +6 -0
- package/src/classes/features/other/ExtraConsoleCommands.ts +6 -0
- package/src/classes/features/other/FadeInRemover.ts +4 -0
- package/src/classes/features/other/FastReset.ts +4 -0
- package/src/classes/features/other/FlyingDetection.ts +2 -0
- package/src/classes/features/other/ForgottenSwitch.ts +2 -0
- package/src/classes/features/other/ItemPoolDetection.ts +7 -1
- package/src/classes/features/other/ModdedElementDetection.ts +32 -0
- package/src/classes/features/other/ModdedElementSets.ts +174 -121
- package/src/classes/features/other/NoSirenSteal.ts +1 -0
- package/src/classes/features/other/Pause.ts +10 -0
- package/src/classes/features/other/PersistentEntities.ts +2 -0
- package/src/classes/features/other/PlayerCollectibleTracking.ts +3 -0
- package/src/classes/features/other/PonyDetection.ts +4 -0
- package/src/classes/features/other/PreventChildEntities.ts +2 -0
- package/src/classes/features/other/RoomClearFrame.ts +27 -1
- package/src/classes/features/other/RoomHistory.ts +17 -1
- package/src/classes/features/other/RunInNFrames.ts +9 -2
- package/src/classes/features/other/RunNextRun.ts +2 -0
- package/src/classes/features/other/SaveDataManager.ts +21 -0
- package/src/classes/features/other/SpawnRockAltRewards.ts +1 -0
- package/src/classes/features/other/StageHistory.ts +3 -0
- package/src/classes/features/other/StartAmbush.ts +2 -0
- package/src/classes/features/other/TaintedLazarusPlayers.ts +2 -0
- package/src/classes/features/other/UnlockAchievementsDetection.ts +2 -0
- package/src/classes/private/CustomCallback.ts +0 -15
- package/src/functions/array.ts +12 -5
- package/src/functions/cards.ts +2 -2
- package/src/functions/collectibles.ts +7 -7
- package/src/functions/pills.ts +3 -3
- package/src/functions/playerTrinkets.ts +3 -1
- package/src/sets/{itemConfigCardTypesForCardsSet.ts → itemConfigCardTypesForCards.ts} +3 -1
- package/dist/sets/itemConfigCardTypesForCardsSet.d.ts.map +0 -1
|
@@ -29,21 +29,21 @@ export declare class ModdedElementSets extends Feature {
|
|
|
29
29
|
private readonly moddedPillEffectsSet;
|
|
30
30
|
private readonly cacheFlagToCollectibleTypesMap;
|
|
31
31
|
private readonly cacheFlagToTrinketTypesMap;
|
|
32
|
-
private
|
|
33
|
-
private
|
|
34
|
-
private
|
|
32
|
+
private flyingCollectibleTypes;
|
|
33
|
+
private permanentFlyingCollectibleTypes;
|
|
34
|
+
private flyingTrinketTypes;
|
|
35
35
|
private readonly tagToCollectibleTypesMap;
|
|
36
36
|
private readonly edenActiveCollectibleTypesSet;
|
|
37
37
|
private readonly edenPassiveCollectibleTypesSet;
|
|
38
38
|
private readonly qualityToCollectibleTypesMap;
|
|
39
39
|
private readonly itemConfigCardTypeToCardTypeMap;
|
|
40
40
|
/**
|
|
41
|
-
* The
|
|
41
|
+
* The array of card types that are not:
|
|
42
42
|
*
|
|
43
43
|
* - ItemConfigCardType.RUNE
|
|
44
44
|
* - ItemConfigCardType.SPECIAL_OBJECT
|
|
45
45
|
*/
|
|
46
|
-
private readonly
|
|
46
|
+
private readonly cardTypeCardArray;
|
|
47
47
|
private readonly moddedElementDetection;
|
|
48
48
|
private lazyInit;
|
|
49
49
|
private lazyInitModdedCollectibleTypes;
|
|
@@ -70,6 +70,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
70
70
|
* order).
|
|
71
71
|
*
|
|
72
72
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
73
75
|
*/
|
|
74
76
|
getCollectibleTypes(): readonly CollectibleType[];
|
|
75
77
|
/**
|
|
@@ -84,6 +86,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
84
86
|
* order).
|
|
85
87
|
*
|
|
86
88
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
87
91
|
*/
|
|
88
92
|
getCollectibleTypeSet(): ReadonlySet<CollectibleType>;
|
|
89
93
|
/**
|
|
@@ -97,6 +101,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
97
101
|
* order).
|
|
98
102
|
*
|
|
99
103
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
100
106
|
*/
|
|
101
107
|
getModdedCollectibleTypes(): readonly CollectibleType[];
|
|
102
108
|
/**
|
|
@@ -110,6 +116,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
110
116
|
* order).
|
|
111
117
|
*
|
|
112
118
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
119
|
+
*
|
|
120
|
+
* @public
|
|
113
121
|
*/
|
|
114
122
|
getModdedCollectibleTypesSet(): ReadonlySet<CollectibleType>;
|
|
115
123
|
/**
|
|
@@ -123,6 +131,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
123
131
|
* order).
|
|
124
132
|
*
|
|
125
133
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
134
|
+
*
|
|
135
|
+
* @public
|
|
126
136
|
*/
|
|
127
137
|
getPlayerCollectibleMap(player: EntityPlayer): Map<CollectibleType, int>;
|
|
128
138
|
/**
|
|
@@ -136,6 +146,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
136
146
|
* order).
|
|
137
147
|
*
|
|
138
148
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
149
|
+
*
|
|
150
|
+
* @public
|
|
139
151
|
*/
|
|
140
152
|
getTrinketTypes(): readonly TrinketType[];
|
|
141
153
|
/**
|
|
@@ -149,6 +161,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
149
161
|
* order).
|
|
150
162
|
*
|
|
151
163
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
164
|
+
*
|
|
165
|
+
* @public
|
|
152
166
|
*/
|
|
153
167
|
getTrinketTypesSet(): ReadonlySet<TrinketType>;
|
|
154
168
|
/**
|
|
@@ -162,6 +176,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
162
176
|
* order).
|
|
163
177
|
*
|
|
164
178
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
179
|
+
*
|
|
180
|
+
* @public
|
|
165
181
|
*/
|
|
166
182
|
getModdedTrinketTypes(): readonly TrinketType[];
|
|
167
183
|
/**
|
|
@@ -175,6 +191,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
175
191
|
* order).
|
|
176
192
|
*
|
|
177
193
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
194
|
+
*
|
|
195
|
+
* @public
|
|
178
196
|
*/
|
|
179
197
|
getModdedTrinketTypesSet(): ReadonlySet<TrinketType>;
|
|
180
198
|
/**
|
|
@@ -187,6 +205,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
187
205
|
* not all card types will necessarily be present when a mod first loads (due to mod load order).
|
|
188
206
|
*
|
|
189
207
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
208
|
+
*
|
|
209
|
+
* @public
|
|
190
210
|
*/
|
|
191
211
|
getCardTypes(): readonly CardType[];
|
|
192
212
|
/**
|
|
@@ -199,6 +219,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
199
219
|
* not all card types will necessarily be present when a mod first loads (due to mod load order).
|
|
200
220
|
*
|
|
201
221
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
222
|
+
*
|
|
223
|
+
* @public
|
|
202
224
|
*/
|
|
203
225
|
getCardTypesSet(): ReadonlySet<CardType>;
|
|
204
226
|
/**
|
|
@@ -211,6 +233,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
211
233
|
* not all card types will necessarily be present when a mod first loads (due to mod load order).
|
|
212
234
|
*
|
|
213
235
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
236
|
+
*
|
|
237
|
+
* @public
|
|
214
238
|
*/
|
|
215
239
|
getModdedCardTypes(): readonly CardType[];
|
|
216
240
|
/**
|
|
@@ -223,6 +247,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
223
247
|
* not all card types will necessarily be present when a mod first loads (due to mod load order).
|
|
224
248
|
*
|
|
225
249
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
250
|
+
*
|
|
251
|
+
* @public
|
|
226
252
|
*/
|
|
227
253
|
getModdedCardTypesSet(): ReadonlySet<CardType>;
|
|
228
254
|
/**
|
|
@@ -236,6 +262,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
236
262
|
* order).
|
|
237
263
|
*
|
|
238
264
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
265
|
+
*
|
|
266
|
+
* @public
|
|
239
267
|
*/
|
|
240
268
|
getPillEffects(): readonly PillEffect[];
|
|
241
269
|
/**
|
|
@@ -249,6 +277,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
249
277
|
* order).
|
|
250
278
|
*
|
|
251
279
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
280
|
+
*
|
|
281
|
+
* @public
|
|
252
282
|
*/
|
|
253
283
|
getPillEffectsSet(): ReadonlySet<PillEffect>;
|
|
254
284
|
/**
|
|
@@ -262,6 +292,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
262
292
|
* order).
|
|
263
293
|
*
|
|
264
294
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
295
|
+
*
|
|
296
|
+
* @public
|
|
265
297
|
*/
|
|
266
298
|
getModdedPillEffects(): readonly PillEffect[];
|
|
267
299
|
/**
|
|
@@ -275,6 +307,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
275
307
|
* order).
|
|
276
308
|
*
|
|
277
309
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
310
|
+
*
|
|
311
|
+
* @public
|
|
278
312
|
*/
|
|
279
313
|
getModdedPillEffectsSet(): ReadonlySet<PillEffect>;
|
|
280
314
|
/**
|
|
@@ -286,8 +320,10 @@ export declare class ModdedElementSets extends Feature {
|
|
|
286
320
|
* order).
|
|
287
321
|
*
|
|
288
322
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
323
|
+
*
|
|
324
|
+
* @public
|
|
289
325
|
*/
|
|
290
|
-
getCollectibleTypesWithCacheFlag(cacheFlag: CacheFlag):
|
|
326
|
+
getCollectibleTypesWithCacheFlag(cacheFlag: CacheFlag): readonly CollectibleType[];
|
|
291
327
|
/**
|
|
292
328
|
* Returns a set containing every trinket type with the given cache flag, including modded
|
|
293
329
|
* trinkets.
|
|
@@ -297,8 +333,10 @@ export declare class ModdedElementSets extends Feature {
|
|
|
297
333
|
* order).
|
|
298
334
|
*
|
|
299
335
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
336
|
+
*
|
|
337
|
+
* @public
|
|
300
338
|
*/
|
|
301
|
-
getTrinketsTypesWithCacheFlag(cacheFlag: CacheFlag):
|
|
339
|
+
getTrinketsTypesWithCacheFlag(cacheFlag: CacheFlag): readonly TrinketType[];
|
|
302
340
|
/**
|
|
303
341
|
* Returns an array containing every collectible type that the player has that matches the
|
|
304
342
|
* provided `CacheFlag`.
|
|
@@ -322,8 +360,10 @@ export declare class ModdedElementSets extends Feature {
|
|
|
322
360
|
* order).
|
|
323
361
|
*
|
|
324
362
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
363
|
+
*
|
|
364
|
+
* @public
|
|
325
365
|
*/
|
|
326
|
-
getPlayerCollectiblesWithCacheFlag(player: EntityPlayer, cacheFlag: CacheFlag): CollectibleType[];
|
|
366
|
+
getPlayerCollectiblesWithCacheFlag(player: EntityPlayer, cacheFlag: CacheFlag): readonly CollectibleType[];
|
|
327
367
|
/**
|
|
328
368
|
* Returns a map containing every trinket type that the player has that matches the provided
|
|
329
369
|
* `CacheFlag`. The values of the map correspond to the multiplier for that trinket.
|
|
@@ -333,6 +373,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
333
373
|
* order).
|
|
334
374
|
*
|
|
335
375
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
376
|
+
*
|
|
377
|
+
* @public
|
|
336
378
|
*/
|
|
337
379
|
getPlayerTrinketsWithCacheFlag(player: EntityPlayer, cacheFlag: CacheFlag): Map<TrinketType, int>;
|
|
338
380
|
/**
|
|
@@ -355,8 +397,9 @@ export declare class ModdedElementSets extends Feature {
|
|
|
355
397
|
*
|
|
356
398
|
* @param includeConditionalItems Whether collectibles that only grant flight conditionally should
|
|
357
399
|
* be included in the set (like Empty Vessel).
|
|
400
|
+
* @public
|
|
358
401
|
*/
|
|
359
|
-
getFlyingCollectibleTypes(includeConditionalItems: boolean):
|
|
402
|
+
getFlyingCollectibleTypes(includeConditionalItems: boolean): readonly CollectibleType[];
|
|
360
403
|
/**
|
|
361
404
|
* Returns a set of all of the trinkets that grant flight. (All vanilla trinkets that grant flight
|
|
362
405
|
* do so conditionally, like Bat Wing and Azazel's Stump.)
|
|
@@ -370,8 +413,10 @@ export declare class ModdedElementSets extends Feature {
|
|
|
370
413
|
* order).
|
|
371
414
|
*
|
|
372
415
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
416
|
+
*
|
|
417
|
+
* @public
|
|
373
418
|
*/
|
|
374
|
-
getFlyingTrinketTypes():
|
|
419
|
+
getFlyingTrinketTypes(): readonly TrinketType[];
|
|
375
420
|
/**
|
|
376
421
|
* Returns a set containing every collectible type with the given tag.
|
|
377
422
|
*
|
|
@@ -387,8 +432,10 @@ export declare class ModdedElementSets extends Feature {
|
|
|
387
432
|
* order).
|
|
388
433
|
*
|
|
389
434
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
435
|
+
*
|
|
436
|
+
* @public
|
|
390
437
|
*/
|
|
391
|
-
getCollectibleTypesWithTag(itemConfigTag: ItemConfigTag):
|
|
438
|
+
getCollectibleTypesWithTag(itemConfigTag: ItemConfigTag): readonly CollectibleType[];
|
|
392
439
|
/**
|
|
393
440
|
* Returns an array of collectible types that a player has with a particular tag.
|
|
394
441
|
*
|
|
@@ -397,8 +444,10 @@ export declare class ModdedElementSets extends Feature {
|
|
|
397
444
|
* order).
|
|
398
445
|
*
|
|
399
446
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
447
|
+
*
|
|
448
|
+
* @public
|
|
400
449
|
*/
|
|
401
|
-
getPlayerCollectiblesWithTag(player: EntityPlayer, itemConfigTag: ItemConfigTag): CollectibleType[];
|
|
450
|
+
getPlayerCollectiblesWithTag(player: EntityPlayer, itemConfigTag: ItemConfigTag): readonly CollectibleType[];
|
|
402
451
|
/**
|
|
403
452
|
* Helper function to get all of the collectible types in the game that count towards a particular
|
|
404
453
|
* transformation.
|
|
@@ -414,8 +463,10 @@ export declare class ModdedElementSets extends Feature {
|
|
|
414
463
|
* order).
|
|
415
464
|
*
|
|
416
465
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
466
|
+
*
|
|
467
|
+
* @public
|
|
417
468
|
*/
|
|
418
|
-
getCollectibleTypesForTransformation(playerForm: PlayerForm):
|
|
469
|
+
getCollectibleTypesForTransformation(playerForm: PlayerForm): readonly CollectibleType[];
|
|
419
470
|
/**
|
|
420
471
|
* Returns an array of collectible types that a player has that count towards a particular
|
|
421
472
|
* transformation.
|
|
@@ -425,8 +476,10 @@ export declare class ModdedElementSets extends Feature {
|
|
|
425
476
|
* order).
|
|
426
477
|
*
|
|
427
478
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
479
|
+
*
|
|
480
|
+
* @public
|
|
428
481
|
*/
|
|
429
|
-
getPlayerCollectiblesForTransformation(player: EntityPlayer, playerForm: PlayerForm): CollectibleType[];
|
|
482
|
+
getPlayerCollectiblesForTransformation(player: EntityPlayer, playerForm: PlayerForm): readonly CollectibleType[];
|
|
430
483
|
/**
|
|
431
484
|
* Returns a set containing every valid passive item that can be randomly granted to Eden as a
|
|
432
485
|
* starting item.
|
|
@@ -438,6 +491,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
438
491
|
* order).
|
|
439
492
|
*
|
|
440
493
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
494
|
+
*
|
|
495
|
+
* @public
|
|
441
496
|
*/
|
|
442
497
|
getEdenActiveCollectibleTypes(): ReadonlySet<CollectibleType>;
|
|
443
498
|
/**
|
|
@@ -451,6 +506,8 @@ export declare class ModdedElementSets extends Feature {
|
|
|
451
506
|
* order).
|
|
452
507
|
*
|
|
453
508
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
509
|
+
*
|
|
510
|
+
* @public
|
|
454
511
|
*/
|
|
455
512
|
getEdenPassiveCollectibleTypes(): ReadonlySet<CollectibleType>;
|
|
456
513
|
/**
|
|
@@ -469,6 +526,7 @@ export declare class ModdedElementSets extends Feature {
|
|
|
469
526
|
* `RNG.Next` method will be called. If `undefined` is provided, it will default
|
|
470
527
|
* to a random seed.
|
|
471
528
|
* @param exceptions Optional. An array of runes to not select.
|
|
529
|
+
* @public
|
|
472
530
|
*/
|
|
473
531
|
getRandomEdenActiveCollectibleType(seedOrRNG: Seed | RNG | undefined, exceptions?: CollectibleType[] | readonly CollectibleType[]): CollectibleType;
|
|
474
532
|
/**
|
|
@@ -488,18 +546,21 @@ export declare class ModdedElementSets extends Feature {
|
|
|
488
546
|
* `RNG.Next` method will be called. If `undefined` is provided, it will default
|
|
489
547
|
* to a random seed.
|
|
490
548
|
* @param exceptions Optional. An array of runes to not select.
|
|
549
|
+
* @public
|
|
491
550
|
*/
|
|
492
551
|
getRandomEdenPassiveCollectibleType(seedOrRNG: Seed | RNG | undefined, exceptions?: CollectibleType[] | readonly CollectibleType[]): CollectibleType;
|
|
493
552
|
/**
|
|
494
|
-
* Returns
|
|
553
|
+
* Returns an array containing every collectible type with the given quality.
|
|
495
554
|
*
|
|
496
555
|
* This function can only be called if at least one callback has been executed. This is because
|
|
497
556
|
* not all collectible types will necessarily be present when a mod first loads (due to mod load
|
|
498
557
|
* order).
|
|
499
558
|
*
|
|
500
559
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
560
|
+
*
|
|
561
|
+
* @public
|
|
501
562
|
*/
|
|
502
|
-
getCollectibleTypesOfQuality(quality: Quality):
|
|
563
|
+
getCollectibleTypesOfQuality(quality: Quality): readonly CollectibleType[];
|
|
503
564
|
/**
|
|
504
565
|
* Returns an array of collectible types that a player has that are of a particular quality.
|
|
505
566
|
*
|
|
@@ -508,20 +569,24 @@ export declare class ModdedElementSets extends Feature {
|
|
|
508
569
|
* order).
|
|
509
570
|
*
|
|
510
571
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
572
|
+
*
|
|
573
|
+
* @public
|
|
511
574
|
*/
|
|
512
|
-
getPlayerCollectiblesOfQuality(player: EntityPlayer, quality: Quality): CollectibleType[];
|
|
575
|
+
getPlayerCollectiblesOfQuality(player: EntityPlayer, quality: Quality): readonly CollectibleType[];
|
|
513
576
|
/**
|
|
514
|
-
* Helper function to get
|
|
577
|
+
* Helper function to get an array of card types matching the `ItemConfigCardType`.
|
|
515
578
|
*
|
|
516
|
-
* This function is variadic, meaning that you can you can specify N card types to get
|
|
579
|
+
* This function is variadic, meaning that you can you can specify N card types to get an array
|
|
517
580
|
* containing cards that match any of the specified types.
|
|
518
581
|
*
|
|
519
582
|
* This function can only be called if at least one callback has been executed. This is because
|
|
520
583
|
* not all card types will necessarily be present when a mod first loads (due to mod load order).
|
|
521
584
|
*
|
|
522
585
|
* In order to use this function, you must upgrade your mod with `ISCFeature.MODDED_ELEMENT_SETS`.
|
|
586
|
+
*
|
|
587
|
+
* @public
|
|
523
588
|
*/
|
|
524
|
-
getCardTypesOfType(...itemConfigCardTypes: ItemConfigCardType[]):
|
|
589
|
+
getCardTypesOfType(...itemConfigCardTypes: ItemConfigCardType[]): readonly CardType[];
|
|
525
590
|
/**
|
|
526
591
|
* Helper function to get a random card type that matches the provided `ItemConfigCardType`.
|
|
527
592
|
*
|
|
@@ -539,6 +604,7 @@ export declare class ModdedElementSets extends Feature {
|
|
|
539
604
|
* `RNG.Next` method will be called. If `undefined` is provided, it will default
|
|
540
605
|
* to a random seed.
|
|
541
606
|
* @param exceptions Optional. An array of cards to not select.
|
|
607
|
+
* @public
|
|
542
608
|
*/
|
|
543
609
|
getRandomCardTypeOfType(itemConfigCardType: ItemConfigCardType, seedOrRNG: Seed | RNG | undefined, exceptions?: CardType[]): CardType;
|
|
544
610
|
/**
|
|
@@ -560,6 +626,7 @@ export declare class ModdedElementSets extends Feature {
|
|
|
560
626
|
* `RNG.Next` method will be called. If `undefined` is provided, it will default
|
|
561
627
|
* to a random seed.
|
|
562
628
|
* @param exceptions Optional. An array of cards to not select.
|
|
629
|
+
* @public
|
|
563
630
|
*/
|
|
564
631
|
getRandomCard(seedOrRNG: Seed | RNG | undefined, exceptions?: CardType[]): CardType;
|
|
565
632
|
/**
|
|
@@ -578,6 +645,7 @@ export declare class ModdedElementSets extends Feature {
|
|
|
578
645
|
* `RNG.Next` method will be called. If `undefined` is provided, it will default
|
|
579
646
|
* to a random seed.
|
|
580
647
|
* @param exceptions Optional. An array of runes to not select.
|
|
648
|
+
* @public
|
|
581
649
|
*/
|
|
582
650
|
getRandomRune(seedOrRNG: Seed | RNG | undefined, exceptions?: CardType[]): CardType;
|
|
583
651
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModdedElementSets.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ModdedElementSets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EACL,SAAS,EACT,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,WAAW,EACZ,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"ModdedElementSets.d.ts","sourceRoot":"","sources":["../../../../src/classes/features/other/ModdedElementSets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EACL,SAAS,EACT,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,WAAW,EACZ,MAAM,8BAA8B,CAAC;AA0CtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AA2BhD;;;;;;;GAOG;AACH,qBAAa,iBAAkB,SA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