isaacscript-common 15.0.0 → 15.0.2
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/index.d.ts +236 -13
- package/dist/isaacscript-common.lua +3 -2
- package/dist/src/classes/callbacks/PostPlayerInitFirst.d.ts.map +1 -1
- package/dist/src/classes/callbacks/PostPlayerInitFirst.lua +2 -1
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts +15 -0
- package/dist/src/classes/features/callbackLogic/CustomGridEntities.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts +43 -0
- package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
- package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.lua +7 -0
- package/dist/src/classes/features/other/CharacterHealthConversion.d.ts +3 -0
- package/dist/src/classes/features/other/CharacterHealthConversion.d.ts.map +1 -1
- package/dist/src/classes/features/other/CharacterStats.d.ts +2 -0
- package/dist/src/classes/features/other/CharacterStats.d.ts.map +1 -1
- package/dist/src/classes/features/other/CollectibleItemPoolType.d.ts +3 -0
- package/dist/src/classes/features/other/CollectibleItemPoolType.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomHotkeys.d.ts +8 -0
- package/dist/src/classes/features/other/CustomHotkeys.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomItemPools.d.ts +4 -0
- package/dist/src/classes/features/other/CustomItemPools.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomPickups.d.ts +2 -0
- package/dist/src/classes/features/other/CustomPickups.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomStages.d.ts +5 -2
- package/dist/src/classes/features/other/CustomStages.d.ts.map +1 -1
- package/dist/src/classes/features/other/CustomTrapdoors.d.ts +4 -0
- package/dist/src/classes/features/other/CustomTrapdoors.d.ts.map +1 -1
- package/dist/src/classes/features/other/DebugDisplay.d.ts +99 -9
- package/dist/src/classes/features/other/DebugDisplay.d.ts.map +1 -1
- package/dist/src/classes/features/other/DeployJSONRoom.d.ts +2 -0
- package/dist/src/classes/features/other/DeployJSONRoom.d.ts.map +1 -1
- package/dist/src/classes/features/other/DisableAllSound.d.ts +4 -0
- package/dist/src/classes/features/other/DisableAllSound.d.ts.map +1 -1
- package/dist/src/classes/features/other/SpawnCollectible.d.ts +4 -0
- package/dist/src/classes/features/other/SpawnCollectible.d.ts.map +1 -1
- package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts +21 -0
- package/dist/src/classes/features/other/SpawnRockAltRewards.d.ts.map +1 -1
- package/dist/src/classes/features/other/StageHistory.d.ts +11 -1
- package/dist/src/classes/features/other/StageHistory.d.ts.map +1 -1
- package/dist/src/classes/features/other/StartAmbush.d.ts +2 -0
- package/dist/src/classes/features/other/StartAmbush.d.ts.map +1 -1
- package/dist/src/classes/features/other/TaintedLazarusPlayers.d.ts +3 -0
- package/dist/src/classes/features/other/TaintedLazarusPlayers.d.ts.map +1 -1
- package/dist/src/types/ModUpgraded.d.ts +1 -1
- package/dist/src/types/ModUpgraded.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/classes/callbacks/PostPlayerInitFirst.ts +3 -1
- package/src/classes/features/callbackLogic/CustomGridEntities.ts +15 -0
- package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +43 -8
- package/src/classes/features/other/CharacterHealthConversion.ts +3 -0
- package/src/classes/features/other/CharacterStats.ts +2 -0
- package/src/classes/features/other/CollectibleItemPoolType.ts +3 -0
- package/src/classes/features/other/CustomHotkeys.ts +8 -0
- package/src/classes/features/other/CustomItemPools.ts +4 -0
- package/src/classes/features/other/CustomPickups.ts +2 -0
- package/src/classes/features/other/CustomStages.ts +5 -2
- package/src/classes/features/other/CustomTrapdoors.ts +4 -0
- package/src/classes/features/other/DebugDisplay.ts +99 -9
- package/src/classes/features/other/DeployJSONRoom.ts +2 -0
- package/src/classes/features/other/DisableAllSound.ts +4 -0
- package/src/classes/features/other/SpawnCollectible.ts +4 -0
- package/src/classes/features/other/SpawnRockAltRewards.ts +21 -0
- package/src/classes/features/other/StageHistory.ts +11 -1
- package/src/classes/features/other/StartAmbush.ts +2 -0
- package/src/classes/features/other/TaintedLazarusPlayers.ts +3 -0
- package/src/types/ModUpgraded.ts +2 -2
|
@@ -41,166 +41,256 @@ export declare class DebugDisplay extends Feature {
|
|
|
41
41
|
* If the "togglePlayerDisplay" function is called, text will be drawn on the screen next to each
|
|
42
42
|
* player. Use this function to specify a callback function that returns the string that should be
|
|
43
43
|
* drawn.
|
|
44
|
+
*
|
|
45
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
44
46
|
*/
|
|
45
47
|
setPlayerDisplay(textCallback: (player: EntityPlayer) => string): void;
|
|
46
48
|
/**
|
|
47
49
|
* If the "toggleTearDisplay" function is called, text will be drawn on the screen next to each
|
|
48
50
|
* tear. Use this function to specify a callback function that returns the string that should be
|
|
49
51
|
* drawn.
|
|
52
|
+
*
|
|
53
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
50
54
|
*/
|
|
51
55
|
setTearDisplay(textCallback: (tear: EntityTear) => string): void;
|
|
52
56
|
/**
|
|
53
57
|
* If the "toggleFamiliarDisplay" function is called, text will be drawn on the screen next to
|
|
54
58
|
* each familiar. Use this function to specify a callback function that returns the string that
|
|
55
59
|
* should be drawn.
|
|
60
|
+
*
|
|
61
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
56
62
|
*/
|
|
57
63
|
setFamiliarDisplay(textCallback: (familiar: EntityFamiliar) => string): void;
|
|
58
64
|
/**
|
|
59
65
|
* If the "toggleBombDisplay" function is called, text will be drawn on the screen next to each
|
|
60
66
|
* bomb. Use this function to specify a callback function that returns the string that should be
|
|
61
67
|
* drawn.
|
|
68
|
+
*
|
|
69
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
62
70
|
*/
|
|
63
71
|
setBombDisplay(textCallback: (bomb: EntityBomb) => string): void;
|
|
64
72
|
/**
|
|
65
73
|
* If the "togglePickupDisplay" function is called, text will be drawn on the screen next to each
|
|
66
74
|
* pickup. Use this function to specify a callback function that returns the string that should be
|
|
67
75
|
* drawn.
|
|
76
|
+
*
|
|
77
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
68
78
|
*/
|
|
69
79
|
setPickupDisplay(textCallback: (pickup: EntityPickup) => string): void;
|
|
70
80
|
/**
|
|
71
81
|
* If the "toggleSlotDisplay" function is called, text will be drawn on the screen next to each
|
|
72
82
|
* slot. Use this function to specify a callback function that returns the string that should be
|
|
73
83
|
* drawn.
|
|
84
|
+
*
|
|
85
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
74
86
|
*/
|
|
75
87
|
setSlotDisplay(textCallback: (slot: Entity) => string): void;
|
|
76
88
|
/**
|
|
77
89
|
* If the "toggleLaserDisplay" function is called, text will be drawn on the screen next to each
|
|
78
90
|
* laser. Use this function to specify a callback function that returns the string that should be
|
|
79
91
|
* drawn.
|
|
92
|
+
*
|
|
93
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
80
94
|
*/
|
|
81
95
|
setLaserDisplay(textCallback: (laser: EntityLaser) => string): void;
|
|
82
96
|
/**
|
|
83
97
|
* If the "toggleKnifeDisplay" function is called, text will be drawn on the screen next to each
|
|
84
98
|
* knife. Use this function to specify a callback function that returns the string that should be
|
|
85
99
|
* drawn.
|
|
100
|
+
*
|
|
101
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
86
102
|
*/
|
|
87
103
|
setKnifeDisplay(textCallback: (knife: EntityKnife) => string): void;
|
|
88
104
|
/**
|
|
89
105
|
* If the "toggleProjectileDisplay" function is called, text will be drawn on the screen next to
|
|
90
106
|
* each projectile. Use this function to specify a callback function that returns the string that
|
|
91
107
|
* should be drawn.
|
|
108
|
+
*
|
|
109
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
92
110
|
*/
|
|
93
111
|
setProjectileDisplay(textCallback: (projectile: EntityProjectile) => string): void;
|
|
94
112
|
/**
|
|
95
113
|
* If the "extra console commands" feature is specified, the "effectDisplay" console command will
|
|
96
114
|
* draw text on the screen next to each effect. Use this function to specify a callback function
|
|
97
115
|
* that returns the string that should be drawn.
|
|
116
|
+
*
|
|
117
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
98
118
|
*/
|
|
99
119
|
setEffectDisplay(textCallback: (effect: EntityEffect) => string): void;
|
|
100
120
|
/**
|
|
101
121
|
* If the "toggleNPCDisplay" function is called, text will be drawn on the screen next to each
|
|
102
122
|
* NPC. Use this function to specify a callback function that returns the string that should be
|
|
103
123
|
* drawn.
|
|
124
|
+
*
|
|
125
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
104
126
|
*/
|
|
105
127
|
setNPCDisplay(textCallback: (npc: EntityNPC) => string): void;
|
|
106
128
|
/**
|
|
107
129
|
* If the "toggleRockDisplay" function is called, text will be drawn on the screen next to each
|
|
108
130
|
* rock. Use this function to specify a callback function that returns the string that should be
|
|
109
131
|
* drawn.
|
|
132
|
+
*
|
|
133
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
110
134
|
*/
|
|
111
135
|
setRockDisplay(textCallback: (rock: GridEntityRock) => string): void;
|
|
112
136
|
/**
|
|
113
137
|
* If the "togglePitDisplay" function is called, text will be drawn on the screen next to each
|
|
114
138
|
* pit. Use this function to specify a callback function that returns the string that should be
|
|
115
139
|
* drawn.
|
|
140
|
+
*
|
|
141
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
116
142
|
*/
|
|
117
143
|
setPitDisplay(textCallback: (pit: GridEntityPit) => string): void;
|
|
118
144
|
/**
|
|
119
145
|
* If the "toggleSpikesDisplay" function is called, text will be drawn on the screen next to each
|
|
120
146
|
* spikes. Use this function to specify a callback function that returns the string that should be
|
|
121
147
|
* drawn.
|
|
148
|
+
*
|
|
149
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
122
150
|
*/
|
|
123
151
|
setSpikesDisplay(textCallback: (spikes: GridEntitySpikes) => string): void;
|
|
124
152
|
/**
|
|
125
153
|
* If the "toggleTNTDisplay" function is called, text will be drawn on the screen next to each
|
|
126
154
|
* TNT. Use this function to specify a callback function that returns the string that should be
|
|
127
155
|
* drawn.
|
|
156
|
+
*
|
|
157
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
128
158
|
*/
|
|
129
159
|
setTNTDisplay(textCallback: (tnt: GridEntityTNT) => string): void;
|
|
130
160
|
/**
|
|
131
161
|
* If the "togglePoopDisplay" function is called, text will be drawn on the screen next to each
|
|
132
162
|
* poop. Use this function to specify a callback function that returns the string that should be
|
|
133
163
|
* drawn.
|
|
164
|
+
*
|
|
165
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
134
166
|
*/
|
|
135
167
|
setPoopDisplay(textCallback: (poop: GridEntityPoop) => string): void;
|
|
136
168
|
/**
|
|
137
169
|
* If the "toggleDoorDisplay" function is called, text will be drawn on the screen next to each
|
|
138
170
|
* door. Use this function to specify a callback function that returns the string that should be
|
|
139
171
|
* drawn.
|
|
172
|
+
*
|
|
173
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
140
174
|
*/
|
|
141
175
|
setDoorDisplay(textCallback: (door: GridEntityDoor) => string): void;
|
|
142
176
|
/**
|
|
143
177
|
* If the "togglePressurePlateDisplay" function is called, text will be drawn on the screen next
|
|
144
178
|
* to each pressure plate. Use this function to specify a callback function that returns the
|
|
145
179
|
* string that should be drawn.
|
|
180
|
+
*
|
|
181
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
146
182
|
*/
|
|
147
183
|
setPressurePlateDisplay(textCallback: (pressurePlate: GridEntityPressurePlate) => string): void;
|
|
148
184
|
private toggleFeature;
|
|
149
185
|
/**
|
|
150
186
|
* Toggles the debug display for players, which will draw text on the screen next to each player.
|
|
187
|
+
*
|
|
188
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
151
189
|
*/
|
|
152
190
|
togglePlayerDisplay(): void;
|
|
153
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* Toggles the debug display for tears, which will draw text on the screen next to each tear.
|
|
193
|
+
*
|
|
194
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
195
|
+
*/
|
|
154
196
|
toggleTearDisplay(): void;
|
|
155
197
|
/**
|
|
156
198
|
* Toggles the debug display for familiars, which will draw text on the screen next to each
|
|
157
199
|
* familiar.
|
|
200
|
+
*
|
|
201
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
158
202
|
*/
|
|
159
203
|
toggleFamiliarDisplay(): void;
|
|
160
|
-
/**
|
|
204
|
+
/**
|
|
205
|
+
* Toggles the debug display for bombs, which will draw text on the screen next to each bomb.
|
|
206
|
+
*
|
|
207
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
208
|
+
*/
|
|
161
209
|
toggleBombDisplay(): void;
|
|
162
210
|
/**
|
|
163
211
|
* Toggles the debug display for pickups, which will draw text on the screen next to each pickup.
|
|
212
|
+
*
|
|
213
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
164
214
|
*/
|
|
165
215
|
togglePickupDisplay(): void;
|
|
166
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* Toggles the debug display for slots, which will draw text on the screen next to each slot.
|
|
218
|
+
*
|
|
219
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
220
|
+
*/
|
|
167
221
|
toggleSlotDisplay(): void;
|
|
168
222
|
/**
|
|
169
223
|
* Toggles the debug display for lasers, which will draw text on the screen next to each laser.
|
|
224
|
+
*
|
|
225
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
170
226
|
*/
|
|
171
227
|
toggleLaserDisplay(): void;
|
|
172
228
|
/**
|
|
173
229
|
* Toggles the debug display for knives, which will draw text on the screen next to each knife.
|
|
230
|
+
*
|
|
231
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
174
232
|
*/
|
|
175
233
|
toggleKnifeDisplay(): void;
|
|
176
234
|
/**
|
|
177
235
|
* Toggles the debug display for projectiles, which will draw text on the screen next to each
|
|
178
236
|
* projectile.
|
|
237
|
+
*
|
|
238
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
179
239
|
*/
|
|
180
240
|
toggleProjectileDisplay(): void;
|
|
181
241
|
/**
|
|
182
242
|
* Toggles the debug display for effects, which will draw text on the screen next to each effect.
|
|
243
|
+
*
|
|
244
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
183
245
|
*/
|
|
184
246
|
toggleEffectDisplay(): void;
|
|
185
|
-
/**
|
|
247
|
+
/**
|
|
248
|
+
* Toggles the debug display for NPCs, which will draw text on the screen next to each NPC.
|
|
249
|
+
*
|
|
250
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
251
|
+
*/
|
|
186
252
|
toggleNPCDisplay(): void;
|
|
187
|
-
/**
|
|
253
|
+
/**
|
|
254
|
+
* Toggles the debug display for rocks, which will draw text on the screen next to each rock.
|
|
255
|
+
*
|
|
256
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
257
|
+
*/
|
|
188
258
|
toggleRockDisplay(): void;
|
|
189
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* Toggles the debug display for pits, which will draw text on the screen next to each pit.
|
|
261
|
+
*
|
|
262
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
263
|
+
*/
|
|
190
264
|
togglePitDisplay(): void;
|
|
191
265
|
/**
|
|
192
266
|
* Toggles the debug display for spikes, which will draw text on the screen next to each spike.
|
|
267
|
+
*
|
|
268
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
193
269
|
*/
|
|
194
270
|
toggleSpikesDisplay(): void;
|
|
195
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* Toggles the debug display for TNT, which will draw text on the screen next to each TNT.
|
|
273
|
+
*
|
|
274
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
275
|
+
*/
|
|
196
276
|
toggleTNTDisplay(): void;
|
|
197
|
-
/**
|
|
277
|
+
/**
|
|
278
|
+
* Toggles the debug display for poops, which will draw text on the screen next to each poop.
|
|
279
|
+
*
|
|
280
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
281
|
+
*/
|
|
198
282
|
togglePoopDisplay(): void;
|
|
199
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* Toggles the debug display for doors, which will draw text on the screen next to each door.
|
|
285
|
+
*
|
|
286
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
287
|
+
*/
|
|
200
288
|
toggleDoorDisplay(): void;
|
|
201
289
|
/**
|
|
202
290
|
* Toggles the debug display for pressure plates, which will draw text on the screen next to each
|
|
203
291
|
* pressure plate.
|
|
292
|
+
*
|
|
293
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEBUG_DISPLAY`.
|
|
204
294
|
*/
|
|
205
295
|
togglePressurePlateDisplay(): void;
|
|
206
296
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugDisplay.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/DebugDisplay.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAoBhD,qBAAa,YAAa,SAAQ,OAAO;IACvC,OAAO,CAAC,GAAG,CAAuB;IAElC,OAAO,CAAC,MAAM,CAA4B;IAC1C,OAAO,CAAC,IAAI,CAA0B;IACtC,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,IAAI,CAA0B;IACtC,OAAO,CAAC,MAAM,CAA4B;IAC1C,OAAO,CAAC,IAAI,CAA0B;IACtC,OAAO,CAAC,KAAK,CAA2B;IACxC,OAAO,CAAC,KAAK,CAA2B;IACxC,OAAO,CAAC,UAAU,CAAgC;IAClD,OAAO,CAAC,MAAM,CAA4B;IAC1C,OAAO,CAAC,GAAG,CAAyB;IAEpC,OAAO,CAAC,IAAI,CAA0B;IACtC,OAAO,CAAC,GAAG,CAAyB;IACpC,OAAO,CAAC,MAAM,CAA4B;IAC1C,OAAO,CAAC,GAAG,CAAyB;IACpC,OAAO,CAAC,IAAI,CAA0B;IACtC,OAAO,CAAC,IAAI,CAA0B;IACtC,OAAO,CAAC,aAAa,CAAmC;IAaxD
|
|
1
|
+
{"version":3,"file":"DebugDisplay.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/DebugDisplay.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAoBhD,qBAAa,YAAa,SAAQ,OAAO;IACvC,OAAO,CAAC,GAAG,CAAuB;IAElC,OAAO,CAAC,MAAM,CAA4B;IAC1C,OAAO,CAAC,IAAI,CAA0B;IACtC,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,IAAI,CAA0B;IACtC,OAAO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IG;IAEI,iBAAiB,IAAI,IAAI;IAIhC;;;;OAIG;IAEI,kBAAkB,IAAI,IAAI;IAIjC;;;;OAIG;IAEI,kBAAkB,IAAI,IAAI;IAIjC;;;;;OAKG;IAEI,uBAAuB,IAAI,IAAI;IAItC;;;;OAIG;IAEI,mBAAmB,IAAI,IAAI;IAIlC;;;;OAIG;IAEI,gBAAgB,IAAI,IAAI;IAI/B;;;;OAIG;IAEI,iBAAiB,IAAI,IAAI;IAIhC;;;;OAIG;IAEI,gBAAgB,IAAI,IAAI;IAI/B;;;;OAIG;IAEI,mBAAmB,IAAI,IAAI;IAIlC;;;;OAIG;IAEI,gBAAgB,IAAI,IAAI;IAI/B;;;;OAIG;IAEI,iBAAiB,IAAI,IAAI;IAIhC;;;;OAIG;IAEI,iBAAiB,IAAI,IAAI;IAIhC;;;;;OAKG;IAEI,0BAA0B,IAAI,IAAI;CAG1C"}
|
|
@@ -30,6 +30,8 @@ export declare class DeployJSONRoom extends Feature {
|
|
|
30
30
|
* }
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DEPLOY_JSON_ROOM`.
|
|
34
|
+
*
|
|
33
35
|
* @param jsonRoom The JSON room to deploy.
|
|
34
36
|
* @param seedOrRNG Optional. The `Seed` or `RNG` object to use. If an `RNG` object is provided,
|
|
35
37
|
* the `RNG.Next` method will be called. Default is `getRandomSeed()`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeployJSONRoom.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/DeployJSONRoom.ts"],"names":[],"mappings":";;AA8BA,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD,qBAAa,cAAe,SAAQ,OAAO;IACzC,OAAO,CAAC,wBAAwB,CAA2B;IAC3D,OAAO,CAAC,gBAAgB,CAAmB;IAkB3C,OAAO,CAAC,gBAAgB;IA8FxB,OAAO,CAAC,4BAA4B;IAyCpC
|
|
1
|
+
{"version":3,"file":"DeployJSONRoom.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/DeployJSONRoom.ts"],"names":[],"mappings":";;AA8BA,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAShD,qBAAa,cAAe,SAAQ,OAAO;IACzC,OAAO,CAAC,wBAAwB,CAA2B;IAC3D,OAAO,CAAC,gBAAgB,CAAmB;IAkB3C,OAAO,CAAC,gBAAgB;IA8FxB,OAAO,CAAC,4BAA4B;IAyCpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IAEI,cAAc,CACnB,QAAQ,EAAE,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,EACvC,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,GACd,IAAI;CAwBR"}
|
|
@@ -7,6 +7,8 @@ export declare class DisableAllSound extends Feature {
|
|
|
7
7
|
*
|
|
8
8
|
* Use this function to set things back to normal after having used `disableAllSounds`.
|
|
9
9
|
*
|
|
10
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DISABLE_ALL_SOUND`.
|
|
11
|
+
*
|
|
10
12
|
* @param key The name of the mod feature that is requesting the enable/disable. This is needed so
|
|
11
13
|
* that multiple mod features can work in tandem.
|
|
12
14
|
*/
|
|
@@ -16,6 +18,8 @@ export declare class DisableAllSound extends Feature {
|
|
|
16
18
|
*
|
|
17
19
|
* Use the `enableAllSounds` helper function to set things back to normal.
|
|
18
20
|
*
|
|
21
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.DISABLE_ALL_SOUND`.
|
|
22
|
+
*
|
|
19
23
|
* @param key The name of the mod feature that is requesting the enable/disable. This is needed so
|
|
20
24
|
* that multiple mod features can work in tandem.
|
|
21
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisableAllSound.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/DisableAllSound.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,eAAgB,SAAQ,OAAO;IAQ1C,OAAO,CAAC,eAAe,CAAS;IAYhC,OAAO,CAAC,UAAU,CAMhB;IAEF
|
|
1
|
+
{"version":3,"file":"DisableAllSound.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/DisableAllSound.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,eAAgB,SAAQ,OAAO;IAQ1C,OAAO,CAAC,eAAe,CAAS;IAYhC,OAAO,CAAC,UAAU,CAMhB;IAEF;;;;;;;;;OASG;IAEI,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAexC;;;;;;;;;OASG;IAEI,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;CAU1C"}
|
|
@@ -13,6 +13,8 @@ export declare class SpawnCollectible extends Feature {
|
|
|
13
13
|
* to be a quest item), then you can use the `spawnCollectibleUnsafe` helper function instead
|
|
14
14
|
* (which does not require an upgraded mod).
|
|
15
15
|
*
|
|
16
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.SPAWN_COLLECTIBLE`.
|
|
17
|
+
*
|
|
16
18
|
* @param collectibleType The collectible type to spawn.
|
|
17
19
|
* @param position The position to spawn the collectible at.
|
|
18
20
|
* @param seedOrRNG Optional. The `Seed` or `RNG` object to use. If an `RNG` object is provided,
|
|
@@ -31,6 +33,8 @@ export declare class SpawnCollectible extends Feature {
|
|
|
31
33
|
* collectibles costing coins and preventing quest items from being rotated by Tainted Isaac's
|
|
32
34
|
* rotation mechanic.
|
|
33
35
|
*
|
|
36
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.SPAWN_COLLECTIBLE`.
|
|
37
|
+
*
|
|
34
38
|
* @param itemPoolType The item pool to draw the collectible type from.
|
|
35
39
|
* @param position The position to spawn the collectible at.
|
|
36
40
|
* @param seedOrRNG Optional. The `Seed` or `RNG` object to use. If an `RNG` object is provided,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpawnCollectible.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/SpawnCollectible.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAO7E,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,qBAAa,gBAAiB,SAAQ,OAAO;IAC3C,OAAO,CAAC,0BAA0B,CAA6B;IAW/D
|
|
1
|
+
{"version":3,"file":"SpawnCollectible.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/SpawnCollectible.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAO7E,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAGhD,qBAAa,gBAAiB,SAAQ,OAAO;IAC3C,OAAO,CAAC,0BAA0B,CAA6B;IAW/D;;;;;;;;;;;;;;;;;;;;;;OAsBG;IAEI,gBAAgB,CACrB,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,MAAM,EAChB,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,EACf,aAAa,UAAQ,EACrB,OAAO,CAAC,EAAE,MAAM,GACf,uBAAuB;IAoB1B;;;;;;;;;;;;;;;;;;OAkBG;IAEI,wBAAwB,CAC7B,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,MAAM,EAChB,SAAS,GAAE,IAAI,GAAG,GAAqB,EACvC,OAAO,UAAQ,EACf,aAAa,UAAQ,EACrB,OAAO,CAAC,EAAE,MAAM,GACf,uBAAuB;CAa3B"}
|
|
@@ -26,6 +26,9 @@ export declare class SpawnRockAltRewards extends Feature {
|
|
|
26
26
|
* The logic in this function is based on the rewards listed on the wiki:
|
|
27
27
|
* https://bindingofisaacrebirth.fandom.com/wiki/Rocks
|
|
28
28
|
*
|
|
29
|
+
* In order to use this function, you must upgrade your mod with
|
|
30
|
+
* `ISCFeature.SPAWN_ALT_ROCK_REWARDS`.
|
|
31
|
+
*
|
|
29
32
|
* @param position The place to spawn the reward.
|
|
30
33
|
* @param rockAltType The type of reward to spawn. For example, `RockAltType.URN` will have a
|
|
31
34
|
* chance at spawning coins and spiders.
|
|
@@ -40,6 +43,9 @@ export declare class SpawnRockAltRewards extends Feature {
|
|
|
40
43
|
* breaks of `RockAltType.URN`.
|
|
41
44
|
*
|
|
42
45
|
* For more information, see the documentation for the `spawnRockAltReward` function.
|
|
46
|
+
*
|
|
47
|
+
* In order to use this function, you must upgrade your mod with
|
|
48
|
+
* `ISCFeature.SPAWN_ALT_ROCK_REWARDS`.
|
|
43
49
|
*/
|
|
44
50
|
spawnRockAltRewardUrn(position: Vector, rng: RNG): boolean;
|
|
45
51
|
/**
|
|
@@ -47,6 +53,9 @@ export declare class SpawnRockAltRewards extends Feature {
|
|
|
47
53
|
* breaks of `RockAltType.MUSHROOM`.
|
|
48
54
|
*
|
|
49
55
|
* For more information, see the documentation for the `spawnRockAltReward` function.
|
|
56
|
+
*
|
|
57
|
+
* In order to use this function, you must upgrade your mod with
|
|
58
|
+
* `ISCFeature.SPAWN_ALT_ROCK_REWARDS`.
|
|
50
59
|
*/
|
|
51
60
|
spawnRockAltRewardMushroom(position: Vector, rng: RNG): boolean;
|
|
52
61
|
/**
|
|
@@ -54,6 +63,9 @@ export declare class SpawnRockAltRewards extends Feature {
|
|
|
54
63
|
* breaks of `RockAltType.SKULL`.
|
|
55
64
|
*
|
|
56
65
|
* For more information, see the documentation for the `spawnRockAltReward` function.
|
|
66
|
+
*
|
|
67
|
+
* In order to use this function, you must upgrade your mod with
|
|
68
|
+
* `ISCFeature.SPAWN_ALT_ROCK_REWARDS`.
|
|
57
69
|
*/
|
|
58
70
|
spawnRockAltRewardSkull(position: Vector, rng: RNG): boolean;
|
|
59
71
|
/**
|
|
@@ -61,6 +73,9 @@ export declare class SpawnRockAltRewards extends Feature {
|
|
|
61
73
|
* breaks of `RockAltType.POLYP`.
|
|
62
74
|
*
|
|
63
75
|
* For more information, see the documentation for the `spawnRockAltReward` function.
|
|
76
|
+
*
|
|
77
|
+
* In order to use this function, you must upgrade your mod with
|
|
78
|
+
* `ISCFeature.SPAWN_ALT_ROCK_REWARDS`.
|
|
64
79
|
*/
|
|
65
80
|
spawnRockAltRewardPolyp(position: Vector, rng: RNG): boolean;
|
|
66
81
|
/**
|
|
@@ -68,6 +83,9 @@ export declare class SpawnRockAltRewards extends Feature {
|
|
|
68
83
|
* breaks of `RockAltType.BUCKET_DOWNPOUR`.
|
|
69
84
|
*
|
|
70
85
|
* For more information, see the documentation for the `spawnRockAltReward` function.
|
|
86
|
+
*
|
|
87
|
+
* In order to use this function, you must upgrade your mod with
|
|
88
|
+
* `ISCFeature.SPAWN_ALT_ROCK_REWARDS`.
|
|
71
89
|
*/
|
|
72
90
|
spawnRockAltRewardBucketDownpour(position: Vector, rng: RNG): boolean;
|
|
73
91
|
/**
|
|
@@ -75,6 +93,9 @@ export declare class SpawnRockAltRewards extends Feature {
|
|
|
75
93
|
* breaks of `RockAltType.BUCKET_DROSS`.
|
|
76
94
|
*
|
|
77
95
|
* For more information, see the documentation for the `spawnRockAltReward` function.
|
|
96
|
+
*
|
|
97
|
+
* In order to use this function, you must upgrade your mod with
|
|
98
|
+
* `ISCFeature.SPAWN_ALT_ROCK_REWARDS`.
|
|
78
99
|
*/
|
|
79
100
|
spawnRockAltRewardBucketDross(position: Vector, rng: RNG): boolean;
|
|
80
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpawnRockAltRewards.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/SpawnRockAltRewards.ts"],"names":[],"mappings":";;;AAgBA,OAAO,EA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10,6 +10,8 @@ export declare class StageHistory extends Feature {
|
|
|
10
10
|
* that the next stage type can be properly calculated on The Ascent (which makes it unlike the
|
|
11
11
|
* `getNextStageType` function).
|
|
12
12
|
*
|
|
13
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.STAGE_HISTORY`.
|
|
14
|
+
*
|
|
13
15
|
* @param upwards Whether or not the player should go up to Cathedral in the case of being on Womb
|
|
14
16
|
* 2. Default is false.
|
|
15
17
|
*/
|
|
@@ -21,9 +23,15 @@ export declare class StageHistory extends Feature {
|
|
|
21
23
|
* This function accounts for the previous floors that a player has visited thus far on the run so
|
|
22
24
|
* that the next stage can be properly calculated on The Ascent (which makes it unlike the
|
|
23
25
|
* `getNextStage` function).
|
|
26
|
+
*
|
|
27
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.STAGE_HISTORY`.
|
|
24
28
|
*/
|
|
25
29
|
getNextStageWithHistory(): LevelStage;
|
|
26
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Helper function to get all of the stages that a player has visited thus far on this run.
|
|
32
|
+
*
|
|
33
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.STAGE_HISTORY`.
|
|
34
|
+
*/
|
|
27
35
|
getStageHistory(): ReadonlyArray<[
|
|
28
36
|
stage: LevelStage,
|
|
29
37
|
stageType: StageType
|
|
@@ -32,6 +40,8 @@ export declare class StageHistory extends Feature {
|
|
|
32
40
|
* Helper function to check if a player has previous visited a particular stage (or stage + stage
|
|
33
41
|
* type combination) on this run.
|
|
34
42
|
*
|
|
43
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.STAGE_HISTORY`.
|
|
44
|
+
*
|
|
35
45
|
* @param stage The stage to check for.
|
|
36
46
|
* @param stageType Optional. If provided, will check for a specific stage and stage type
|
|
37
47
|
* combination.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StageHistory.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/StageHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAUtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,YAAa,SAAQ,OAAO;IAqBvC,OAAO,CAAC,qBAAqB,CAM3B;IAEF
|
|
1
|
+
{"version":3,"file":"StageHistory.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/StageHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,SAAS,EACV,MAAM,8BAA8B,CAAC;AAUtC,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,qBAAa,YAAa,SAAQ,OAAO;IAqBvC,OAAO,CAAC,qBAAqB,CAM3B;IAEF;;;;;;;;;;;;OAYG;IAEI,2BAA2B,CAAC,OAAO,UAAQ,GAAG,SAAS;IAiG9D;;;;;;;;;OASG;IAEI,uBAAuB,IAAI,UAAU;IA8H5C;;;;OAIG;IAEI,eAAe,IAAI,aAAa,CACrC;QAAC,KAAK,EAAE,UAAU;QAAE,SAAS,EAAE,SAAS;KAAC,CAC1C;IAID;;;;;;;;;OASG;IAEI,eAAe,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO;CAY1E"}
|
|
@@ -6,6 +6,8 @@ export declare class StartAmbush extends Feature {
|
|
|
6
6
|
*
|
|
7
7
|
* Specifically, this is performed by spawning a sack on top of the player, waiting a game frame,
|
|
8
8
|
* and then removing the sack and the pickups that the sack dropped.
|
|
9
|
+
*
|
|
10
|
+
* In order to use this function, you must upgrade your mod with `ISCFeature.START_AMBUSH`.
|
|
9
11
|
*/
|
|
10
12
|
startAmbush(): void;
|
|
11
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StartAmbush.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/StartAmbush.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAMhD,qBAAa,WAAY,SAAQ,OAAO;IACtC,OAAO,CAAC,YAAY,CAAe;IAWnC
|
|
1
|
+
{"version":3,"file":"StartAmbush.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/StartAmbush.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAMhD,qBAAa,WAAY,SAAQ,OAAO;IACtC,OAAO,CAAC,YAAY,CAAe;IAWnC;;;;;;;OAOG;IAEI,WAAW,IAAI,IAAI;CA+B3B"}
|
|
@@ -27,6 +27,9 @@ export declare class TaintedLazarusPlayers extends Feature {
|
|
|
27
27
|
* If you call the `EntityPlayer.Exists` method on the returned object, it will return false.
|
|
28
28
|
* However, you can still call the other methods like you normally would (e.g.
|
|
29
29
|
* `EntityPlayer.AddCollectible`).
|
|
30
|
+
*
|
|
31
|
+
* In order to use this function, you must upgrade your mod with
|
|
32
|
+
* `ISCFeature.CHARACTER_HEALTH_CONVERSION`.
|
|
30
33
|
*/
|
|
31
34
|
getTaintedLazarusSubPlayer(player: EntityPlayer): EntityPlayer | undefined;
|
|
32
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaintedLazarusPlayers.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/TaintedLazarusPlayers.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,OAAO;IAyBhC,gBAAgB,QAAO,OAAO,CAAU;IAYxD,OAAO,CAAC,cAAc,CAYpB;IAEF;;;;;;;;OAQG;IACH,OAAO,CAAC,YAAY;IA6BpB
|
|
1
|
+
{"version":3,"file":"TaintedLazarusPlayers.d.ts","sourceRoot":"","sources":["../../../../../src/classes/features/other/TaintedLazarusPlayers.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,OAAO;IAyBhC,gBAAgB,QAAO,OAAO,CAAU;IAYxD,OAAO,CAAC,cAAc,CAYpB;IAEF;;;;;;;;OAQG;IACH,OAAO,CAAC,YAAY;IA6BpB;;;;;;;;;;;;;OAaG;IAEI,0BAA0B,CAC/B,MAAM,EAAE,YAAY,GACnB,YAAY,GAAG,SAAS;CAI5B"}
|
|
@@ -15,7 +15,7 @@ import { Writeable } from "./Writable";
|
|
|
15
15
|
* By specifying one or more optional features, end-users will get a version of `ModUpgraded` that
|
|
16
16
|
* has extra methods corresponding to the features that were specified.
|
|
17
17
|
*/
|
|
18
|
-
export declare type ModUpgraded<T extends readonly ISCFeature[]> = ModUpgradedBase & ISCFeaturesToKeys<T>;
|
|
18
|
+
export declare type ModUpgraded<T extends readonly ISCFeature[] = []> = ModUpgradedBase & ISCFeaturesToKeys<T>;
|
|
19
19
|
/**
|
|
20
20
|
* We want to only extract the class public methods, so we omit the keys of the `Feature` base
|
|
21
21
|
* class.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModUpgraded.d.ts","sourceRoot":"","sources":["../../../src/types/ModUpgraded.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;;;;;;;;GASG;AACH,oBAAY,WAAW,CAAC,CAAC,SAAS,SAAS,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"ModUpgraded.d.ts","sourceRoot":"","sources":["../../../src/types/ModUpgraded.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC;;;;;;;;;GASG;AACH,oBAAY,WAAW,CAAC,CAAC,SAAS,SAAS,UAAU,EAAE,GAAG,EAAE,IAC1D,eAAe,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAEzC;;;GAGG;AACH,aAAK,iBAAiB,CAAC,CAAC,SAAS,SAAS,UAAU,EAAE,IAAI,IAAI,CAC5D,mBAAmB,CAAC,2BAA2B,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EAC9D,MAAM,OAAO,CACd,CAAC;AAEF;;;GAGG;AACH,aAAK,2BAA2B,CAAC,CAAC,SAAS,UAAU,EAAE,IAAI;KACxD,CAAC,IAAI,MAAM,CAAC,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACzD,CAAC"}
|
package/package.json
CHANGED
|
@@ -12,6 +12,8 @@ export class PostPlayerInitFirst extends CustomCallback<ModCallbackCustom.POST_P
|
|
|
12
12
|
[ModCallbackCustom.POST_NEW_ROOM_REORDERED, [this.postNewRoomReordered]],
|
|
13
13
|
[ModCallbackCustom.POST_PLAYER_INIT_LATE, [this.postPlayerInitLate]],
|
|
14
14
|
];
|
|
15
|
+
|
|
16
|
+
Isaac.DebugString("GETTING HERE ZZZZZ");
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
protected override shouldFire = shouldFirePlayer;
|
|
@@ -34,7 +36,7 @@ export class PostPlayerInitFirst extends CustomCallback<ModCallbackCustom.POST_P
|
|
|
34
36
|
// ModCallbackCustom.POST_PLAYER_INIT_LATE
|
|
35
37
|
private postPlayerInitLate = (player: EntityPlayer) => {
|
|
36
38
|
// We want to exclude non-real players like the Strawman keeper.
|
|
37
|
-
if (
|
|
39
|
+
if (isChildPlayer(player)) {
|
|
38
40
|
return;
|
|
39
41
|
}
|
|
40
42
|
|
|
@@ -144,6 +144,9 @@ export class CustomGridEntities extends Feature {
|
|
|
144
144
|
* will reappear if the player leaves and re-enters the room. (It will be manually respawned in
|
|
145
145
|
* the `POST_NEW_ROOM` callback.)
|
|
146
146
|
*
|
|
147
|
+
* In order to use this function, you must upgrade your mod with
|
|
148
|
+
* `ISCFeature.CUSTOM_GRID_ENTITIES`.
|
|
149
|
+
*
|
|
147
150
|
* Custom grid entities are built on top of real grid entities. You can use any existing grid
|
|
148
151
|
* entity type as a base. For example, if you want to create a custom rock that would be breakable
|
|
149
152
|
* like a normal rock, then you should specify `GridEntityType.ROCK` as the base grid entity type.
|
|
@@ -274,6 +277,9 @@ export class CustomGridEntities extends Feature {
|
|
|
274
277
|
/**
|
|
275
278
|
* Helper function to remove a custom grid entity created by the `spawnCustomGrid` function.
|
|
276
279
|
*
|
|
280
|
+
* In order to use this function, you must upgrade your mod with
|
|
281
|
+
* `ISCFeature.CUSTOM_GRID_ENTITIES`.
|
|
282
|
+
*
|
|
277
283
|
* @param gridIndexOrPositionOrGridEntity You can specify the custom grid entity to remove by
|
|
278
284
|
* providing the grid index, the room position, or the grid entity
|
|
279
285
|
* itself.
|
|
@@ -332,6 +338,9 @@ export class CustomGridEntities extends Feature {
|
|
|
332
338
|
/**
|
|
333
339
|
* Helper function to get the custom grid entities in the current room. Returns an array of tuples
|
|
334
340
|
* containing the raw decoration grid entity and the associated entity data.
|
|
341
|
+
*
|
|
342
|
+
* In order to use this function, you must upgrade your mod with
|
|
343
|
+
* `ISCFeature.CUSTOM_GRID_ENTITIES`.
|
|
335
344
|
*/
|
|
336
345
|
@Exported
|
|
337
346
|
public getCustomGridEntities(): Array<
|
|
@@ -360,6 +369,9 @@ export class CustomGridEntities extends Feature {
|
|
|
360
369
|
* Helper function to get the custom `GridEntityType` from a `GridEntity` or grid index. Returns
|
|
361
370
|
* undefined if the provided `GridEntity` is not a custom grid entity, or if there was not a grid
|
|
362
371
|
* entity on the provided grid index.
|
|
372
|
+
*
|
|
373
|
+
* In order to use this function, you must upgrade your mod with
|
|
374
|
+
* `ISCFeature.CUSTOM_GRID_ENTITIES`.
|
|
363
375
|
*/
|
|
364
376
|
@Exported
|
|
365
377
|
public getCustomGridEntityType(
|
|
@@ -392,6 +404,9 @@ export class CustomGridEntities extends Feature {
|
|
|
392
404
|
/**
|
|
393
405
|
* Helper function to check if a `GridEntity` is a custom grid entity or if a grid index has a
|
|
394
406
|
* custom grid entity.
|
|
407
|
+
*
|
|
408
|
+
* In order to use this function, you must upgrade your mod with
|
|
409
|
+
* `ISCFeature.CUSTOM_GRID_ENTITIES`.
|
|
395
410
|
*/
|
|
396
411
|
@Exported
|
|
397
412
|
public isCustomGridEntity(gridEntityOrGridIndex: GridEntity | int): boolean {
|