isaacscript-common 7.15.1 → 7.16.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.
Files changed (40) hide show
  1. package/dist/callbacks/postSlotCollision.d.ts +3 -0
  2. package/dist/callbacks/postSlotCollision.d.ts.map +1 -0
  3. package/dist/callbacks/postSlotCollision.lua +25 -0
  4. package/dist/callbacks/subscriptions/postSlotCollision.d.ts +9 -0
  5. package/dist/callbacks/subscriptions/postSlotCollision.d.ts.map +1 -0
  6. package/dist/callbacks/subscriptions/postSlotCollision.lua +23 -0
  7. package/dist/enums/ModCallbackCustom.d.ts +38 -17
  8. package/dist/enums/ModCallbackCustom.d.ts.map +1 -1
  9. package/dist/enums/ModCallbackCustom.lua +18 -16
  10. package/dist/features/customPickup.d.ts +5 -2
  11. package/dist/features/customPickup.d.ts.map +1 -1
  12. package/dist/features/customPickup.lua +5 -2
  13. package/dist/features/extraConsoleCommands/init.lua +1 -0
  14. package/dist/features/extraConsoleCommands/listCommands.d.ts +2 -0
  15. package/dist/features/extraConsoleCommands/listCommands.d.ts.map +1 -1
  16. package/dist/features/extraConsoleCommands/listCommands.lua +8 -4
  17. package/dist/functions/dev.d.ts +1 -1
  18. package/dist/functions/dev.lua +1 -1
  19. package/dist/functions/doors.d.ts +10 -1
  20. package/dist/functions/doors.d.ts.map +1 -1
  21. package/dist/functions/doors.lua +15 -3
  22. package/dist/index.d.ts +61 -21
  23. package/dist/initCustomCallbacks.d.ts.map +1 -1
  24. package/dist/initCustomCallbacks.lua +3 -0
  25. package/dist/interfaces/private/AddCallbackParameterCustom.d.ts +2 -0
  26. package/dist/interfaces/private/AddCallbackParameterCustom.d.ts.map +1 -1
  27. package/dist/objects/callbackRegisterFunctions.d.ts.map +1 -1
  28. package/dist/objects/callbackRegisterFunctions.lua +3 -0
  29. package/package.json +1 -1
  30. package/src/callbacks/postSlotCollision.ts +30 -0
  31. package/src/callbacks/subscriptions/postSlotCollision.ts +35 -0
  32. package/src/enums/ModCallbackCustom.ts +23 -1
  33. package/src/features/customPickup.ts +5 -2
  34. package/src/features/extraConsoleCommands/init.ts +1 -0
  35. package/src/features/extraConsoleCommands/listCommands.ts +5 -0
  36. package/src/functions/dev.ts +1 -1
  37. package/src/functions/doors.ts +16 -1
  38. package/src/initCustomCallbacks.ts +2 -0
  39. package/src/interfaces/private/AddCallbackParameterCustom.ts +2 -0
  40. package/src/objects/callbackRegisterFunctions.ts +2 -0
@@ -0,0 +1,3 @@
1
+ /// <reference types="isaac-typescript-definitions" />
2
+ export declare function postSlotCollisionInit(mod: Mod): void;
3
+ //# sourceMappingURL=postSlotCollision.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postSlotCollision.d.ts","sourceRoot":"","sources":["../../src/callbacks/postSlotCollision.ts"],"names":[],"mappings":";AAOA,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CAEpD"}
@@ -0,0 +1,25 @@
1
+ local ____exports = {}
2
+ local hasSubscriptions, prePlayerCollision
3
+ local ____isaac_2Dtypescript_2Ddefinitions = require("isaac-typescript-definitions")
4
+ local ModCallback = ____isaac_2Dtypescript_2Ddefinitions.ModCallback
5
+ local ____entityTypes = require("functions.entityTypes")
6
+ local isSlot = ____entityTypes.isSlot
7
+ local ____postSlotCollision = require("callbacks.subscriptions.postSlotCollision")
8
+ local postSlotCollisionFire = ____postSlotCollision.postSlotCollisionFire
9
+ local postSlotCollisionHasSubscriptions = ____postSlotCollision.postSlotCollisionHasSubscriptions
10
+ function hasSubscriptions(self)
11
+ return postSlotCollisionHasSubscriptions(nil)
12
+ end
13
+ function prePlayerCollision(self, player, collider)
14
+ if not hasSubscriptions(nil) then
15
+ return
16
+ end
17
+ if isSlot(nil, collider) then
18
+ postSlotCollisionFire(nil, collider, player)
19
+ end
20
+ return nil
21
+ end
22
+ function ____exports.postSlotCollisionInit(self, mod)
23
+ mod:AddCallback(ModCallback.PRE_PLAYER_COLLISION, prePlayerCollision)
24
+ end
25
+ return ____exports
@@ -0,0 +1,9 @@
1
+ import { SlotVariant } from "isaac-typescript-definitions";
2
+ export declare type PostSlotCollisionRegisterParameters = [
3
+ callback: (slot: EntitySlot, player: EntityPlayer) => void,
4
+ slotVariant?: SlotVariant
5
+ ];
6
+ export declare function postSlotCollisionHasSubscriptions(): boolean;
7
+ export declare function postSlotCollisionRegister(...args: PostSlotCollisionRegisterParameters): void;
8
+ export declare function postSlotCollisionFire(slot: EntitySlot, player: EntityPlayer): void;
9
+ //# sourceMappingURL=postSlotCollision.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postSlotCollision.d.ts","sourceRoot":"","sources":["../../../src/callbacks/subscriptions/postSlotCollision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,oBAAY,mCAAmC,GAAG;IAChD,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,KAAK,IAAI;IAC1D,WAAW,CAAC,EAAE,WAAW;CAC1B,CAAC;AAIF,wBAAgB,iCAAiC,IAAI,OAAO,CAE3D;AAED,wBAAgB,yBAAyB,CACvC,GAAG,IAAI,EAAE,mCAAmC,GAC3C,IAAI,CAEN;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,YAAY,GACnB,IAAI,CAYN"}
@@ -0,0 +1,23 @@
1
+ local ____exports = {}
2
+ local subscriptions = {}
3
+ function ____exports.postSlotCollisionHasSubscriptions(self)
4
+ return #subscriptions > 0
5
+ end
6
+ function ____exports.postSlotCollisionRegister(self, ...)
7
+ local args = {...}
8
+ subscriptions[#subscriptions + 1] = args
9
+ end
10
+ function ____exports.postSlotCollisionFire(self, slot, player)
11
+ for ____, ____value in ipairs(subscriptions) do
12
+ local callback = ____value[1]
13
+ local callbackSlotVariant = ____value[2]
14
+ do
15
+ if callbackSlotVariant ~= nil and callbackSlotVariant ~= slot.Variant then
16
+ goto __continue5
17
+ end
18
+ callback(nil, slot, player)
19
+ end
20
+ ::__continue5::
21
+ end
22
+ end
23
+ return ____exports
@@ -329,7 +329,9 @@ export declare enum ModCallbackCustom {
329
329
  */
330
330
  POST_GRID_ENTITY_BROKEN = 24,
331
331
  /**
332
- * Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity.
332
+ * Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity. (After
333
+ * this, the callback will not continue to fire. It will only fire again once the entity moves out
334
+ * of range and then moves back into range.)
333
335
  *
334
336
  * When registering the callback, takes an optional second argument that will make the callback
335
337
  * only fire if it matches the `GridEntityType` provided.
@@ -1132,6 +1134,25 @@ export declare enum ModCallbackCustom {
1132
1134
  * ```
1133
1135
  */
1134
1136
  POST_SLOT_ANIMATION_CHANGED = 75,
1137
+ /**
1138
+ * Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
1139
+ * (It will not fire if any other type of entity collides with the slot entity.)
1140
+ *
1141
+ * When a player runs into a slot entity, this callback will continually fire, since the player is
1142
+ * colliding with it on every frame. Thus, you should only perform actions in this callback under
1143
+ * certain conditions, like if the slot entity is playing the "Idle" animation, and so on.
1144
+ *
1145
+ * When registering the callback, takes an optional second argument that will make the callback
1146
+ * only fire if it matches the `SlotVariant` provided.
1147
+ *
1148
+ * ```ts
1149
+ * function postSlotCollision(
1150
+ * slot: EntitySlot,
1151
+ * entity: Entity,
1152
+ * ): void {}
1153
+ * ```
1154
+ */
1155
+ POST_SLOT_COLLISION = 76,
1135
1156
  /**
1136
1157
  * Fires from the `POST_RENDER` callback when a slot plays the animation that indicates that it
1137
1158
  * has broken.
@@ -1145,7 +1166,7 @@ export declare enum ModCallbackCustom {
1145
1166
  * function postSlotDestroyed(slot: Entity, slotDestructionType: SlotDestructionType): void {}
1146
1167
  * ```
1147
1168
  */
1148
- POST_SLOT_DESTROYED = 76,
1169
+ POST_SLOT_DESTROYED = 77,
1149
1170
  /**
1150
1171
  * Fires when a new slot entity is initialized. Specifically, this is either:
1151
1172
  *
@@ -1161,7 +1182,7 @@ export declare enum ModCallbackCustom {
1161
1182
  * function postSlotInit(slot: Entity): void {}
1162
1183
  * ```
1163
1184
  */
1164
- POST_SLOT_INIT = 77,
1185
+ POST_SLOT_INIT = 78,
1165
1186
  /**
1166
1187
  * Fires from the `POST_RENDER` callback on every frame that a slot entity exists.
1167
1188
  *
@@ -1172,7 +1193,7 @@ export declare enum ModCallbackCustom {
1172
1193
  * function postSlotRender(slot: Entity): void {}
1173
1194
  * ```
1174
1195
  */
1175
- POST_SLOT_RENDER = 78,
1196
+ POST_SLOT_RENDER = 79,
1176
1197
  /**
1177
1198
  * Fires from the `POST_UPDATE` callback on every frame that a slot entity exists.
1178
1199
  *
@@ -1183,7 +1204,7 @@ export declare enum ModCallbackCustom {
1183
1204
  * function postSlotUpdate(slot: Entity): void {}
1184
1205
  * ```
1185
1206
  */
1186
- POST_SLOT_UPDATE = 79,
1207
+ POST_SLOT_UPDATE = 80,
1187
1208
  /**
1188
1209
  * Fires from the `POST_RENDER` callback on every frame that spikes exist.
1189
1210
  *
@@ -1194,7 +1215,7 @@ export declare enum ModCallbackCustom {
1194
1215
  * function postSpikesRender(spikes: GridEntitySpikes): void {}
1195
1216
  * ```
1196
1217
  */
1197
- POST_SPIKES_RENDER = 80,
1218
+ POST_SPIKES_RENDER = 81,
1198
1219
  /**
1199
1220
  * Fires from the `POST_UPDATE` callback on every frame that spikes exist.
1200
1221
  *
@@ -1205,7 +1226,7 @@ export declare enum ModCallbackCustom {
1205
1226
  * function postSpikesUpdate(spikes: GridEntitySpikes): void {}
1206
1227
  * ```
1207
1228
  */
1208
- POST_SPIKES_UPDATE = 81,
1229
+ POST_SPIKES_UPDATE = 82,
1209
1230
  /**
1210
1231
  * Fires on the first `POST_TEAR_UPDATE` frame for each tear (which is when
1211
1232
  * `EntityTear.FrameCount` is equal to 0).
@@ -1220,7 +1241,7 @@ export declare enum ModCallbackCustom {
1220
1241
  * function postTearInitLate(tear: EntityTear): void {}
1221
1242
  * ```
1222
1243
  */
1223
- POST_TEAR_INIT_LATE = 82,
1244
+ POST_TEAR_INIT_LATE = 83,
1224
1245
  /**
1225
1246
  * Fires on the second `POST_TEAR_UPDATE` frame for each tear (which is when
1226
1247
  * `EntityTear.FrameCount` is equal to 1).
@@ -1234,7 +1255,7 @@ export declare enum ModCallbackCustom {
1234
1255
  * function postTearInitVeryLate(tear: EntityTear): void {}
1235
1256
  * ```
1236
1257
  */
1237
- POST_TEAR_INIT_VERY_LATE = 83,
1258
+ POST_TEAR_INIT_VERY_LATE = 84,
1238
1259
  /**
1239
1260
  * Fires from the `POST_RENDER` callback on every frame that a TNT exists.
1240
1261
  *
@@ -1245,7 +1266,7 @@ export declare enum ModCallbackCustom {
1245
1266
  * function postTNTRender(tnt: GridEntityTNT): void {}
1246
1267
  * ```
1247
1268
  */
1248
- POST_TNT_RENDER = 84,
1269
+ POST_TNT_RENDER = 85,
1249
1270
  /**
1250
1271
  * Fires from the `POST_UPDATE` callback on every frame that a TNT exists.
1251
1272
  *
@@ -1256,7 +1277,7 @@ export declare enum ModCallbackCustom {
1256
1277
  * function postTNTUpdate(tnt: GridEntityTNT): void {}
1257
1278
  * ```
1258
1279
  */
1259
- POST_TNT_UPDATE = 85,
1280
+ POST_TNT_UPDATE = 86,
1260
1281
  /**
1261
1282
  * Fires from the `POST_PEFFECT_UPDATE` callback when a player gains or loses a new
1262
1283
  * transformation.
@@ -1274,7 +1295,7 @@ export declare enum ModCallbackCustom {
1274
1295
  * ): void {}
1275
1296
  * ```
1276
1297
  */
1277
- POST_TRANSFORMATION = 86,
1298
+ POST_TRANSFORMATION = 87,
1278
1299
  /**
1279
1300
  * Fires from `ENTITY_TAKE_DMG` callback when a Wishbone or a Walnut breaks.
1280
1301
  *
@@ -1288,7 +1309,7 @@ export declare enum ModCallbackCustom {
1288
1309
  * ): void {}
1289
1310
  * ```
1290
1311
  */
1291
- POST_TRINKET_BREAK = 87,
1312
+ POST_TRINKET_BREAK = 88,
1292
1313
  /**
1293
1314
  * Fires from the `POST_PEFFECT_UPDATE` callback on the frame before a Berserk effect ends when
1294
1315
  * the player is predicted to die (e.g. they currently have no health left or they took damage in
@@ -1303,7 +1324,7 @@ export declare enum ModCallbackCustom {
1303
1324
  * function preBerserkDeath(player: EntityPlayer): void {}
1304
1325
  * ```
1305
1326
  */
1306
- PRE_BERSERK_DEATH = 88,
1327
+ PRE_BERSERK_DEATH = 89,
1307
1328
  /**
1308
1329
  * Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
1309
1330
  * to initiate a custom revival, return an integer that corresponds to the item or type of revival
@@ -1321,7 +1342,7 @@ export declare enum ModCallbackCustom {
1321
1342
  * function preCustomRevive(player: EntityPlayer): int | undefined {}
1322
1343
  * ```
1323
1344
  */
1324
- PRE_CUSTOM_REVIVE = 89,
1345
+ PRE_CUSTOM_REVIVE = 90,
1325
1346
  /**
1326
1347
  * Fires from the `POST_PEFFECT_UPDATE` callback when an item becomes queued (i.e. when the player
1327
1348
  * begins to hold the item above their head).
@@ -1340,7 +1361,7 @@ export declare enum ModCallbackCustom {
1340
1361
  * ): void {}
1341
1362
  * ```
1342
1363
  */
1343
- PRE_ITEM_PICKUP = 90,
1364
+ PRE_ITEM_PICKUP = 91,
1344
1365
  /**
1345
1366
  * Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
1346
1367
  * player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
@@ -1354,6 +1375,6 @@ export declare enum ModCallbackCustom {
1354
1375
  * function preNewLevel(player: EntityPlayer): void {}
1355
1376
  * ```
1356
1377
  */
1357
- PRE_NEW_LEVEL = 91
1378
+ PRE_NEW_LEVEL = 92
1358
1379
  }
1359
1380
  //# sourceMappingURL=ModCallbackCustom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModCallbackCustom.d.ts","sourceRoot":"","sources":["../../src/enums/ModCallbackCustom.ts"],"names":[],"mappings":"AASA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AAgB,KAAA;IAEhB;;;;;;;;;OASG;IACH,kBAAkB,KAAA;IAElB;;;;;;;;;OASG;IACH,kBAAkB,KAAA;IAElB;;;;;;;;;;;;;OAaG;IACH,mBAAmB,KAAA;IAEnB;;;;;;;;;;;;OAYG;IACH,wBAAwB,KAAA;IAExB;;;;;;;;;OASG;IACH,eAAe,KAAA;IAEf;;;;;;;;;OASG;IACH,eAAe,KAAA;IAEf;;;;;;;;;;;;;;;;OAgBG;IACH,mBAAmB,KAAA;IAEnB;;;;;;;;;;;;OAYG;IACH,kBAAkB,KAAA;IAElB;;;;;;;;;;;;;OAaG;IACH,iBAAiB,KAAA;IAEjB;;;;;;;;;;;;;;;;OAgBG;IACH,iBAAiB,KAAA;IAEjB;;;;;;;;;;;;;;;;;OAiBG;IACH,eAAe,KAAA;IAEf;;;;;;;;;;;;OAYG;IACH,aAAa,KAAA;CACd"}
1
+ {"version":3,"file":"ModCallbackCustom.d.ts","sourceRoot":"","sources":["../../src/enums/ModCallbackCustom.ts"],"names":[],"mappings":"AASA;;;;;;;GAOG;AACH,oBAAY,iBAAiB;IAC3B;;;;;;;;;;OAUG;IACH,oBAAoB,IAAA;IAEpB;;;;;;;;;;OAUG;IACH,mBAAmB,IAAA;IAEnB;;;;;;;;;OASG;IACH,kBAAkB,IAAA;IAElB;;;;;;;;;;;;OAYG;IACH,mBAAmB,IAAA;IAEnB;;;;;;OAMG;IACH,eAAe,IAAA;IAEf;;;;;;;;;;;;;OAaG;IACH,sBAAsB,IAAA;IAEtB;;;;;;;;;;;;;;;OAeG;IACH,2BAA2B,IAAA;IAE3B;;;;;;;;OAQG;IACH,oBAAoB,IAAA;IAEpB;;;;;;;;;;;;;;;OAeG;IACH,sBAAsB,IAAA;IAEtB;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,IAAA;IAElB;;;;;;;;;;;;;OAaG;IACH,wBAAwB,KAAA;IAExB;;;;;;;;;OASG;IACH,gBAAgB,KAAA;IAEhB;;;;;;;;;OASG;IAC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,aAAa,KAAA;CACd"}
@@ -158,36 +158,38 @@ ____exports.ModCallbackCustom.POST_SACRIFICE = 74
158
158
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_SACRIFICE] = "POST_SACRIFICE"
159
159
  ____exports.ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED = 75
160
160
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED] = "POST_SLOT_ANIMATION_CHANGED"
161
- ____exports.ModCallbackCustom.POST_SLOT_DESTROYED = 76
161
+ ____exports.ModCallbackCustom.POST_SLOT_COLLISION = 76
162
+ ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_SLOT_COLLISION] = "POST_SLOT_COLLISION"
163
+ ____exports.ModCallbackCustom.POST_SLOT_DESTROYED = 77
162
164
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_SLOT_DESTROYED] = "POST_SLOT_DESTROYED"
163
- ____exports.ModCallbackCustom.POST_SLOT_INIT = 77
165
+ ____exports.ModCallbackCustom.POST_SLOT_INIT = 78
164
166
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_SLOT_INIT] = "POST_SLOT_INIT"
165
- ____exports.ModCallbackCustom.POST_SLOT_RENDER = 78
167
+ ____exports.ModCallbackCustom.POST_SLOT_RENDER = 79
166
168
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_SLOT_RENDER] = "POST_SLOT_RENDER"
167
- ____exports.ModCallbackCustom.POST_SLOT_UPDATE = 79
169
+ ____exports.ModCallbackCustom.POST_SLOT_UPDATE = 80
168
170
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_SLOT_UPDATE] = "POST_SLOT_UPDATE"
169
- ____exports.ModCallbackCustom.POST_SPIKES_RENDER = 80
171
+ ____exports.ModCallbackCustom.POST_SPIKES_RENDER = 81
170
172
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_SPIKES_RENDER] = "POST_SPIKES_RENDER"
171
- ____exports.ModCallbackCustom.POST_SPIKES_UPDATE = 81
173
+ ____exports.ModCallbackCustom.POST_SPIKES_UPDATE = 82
172
174
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_SPIKES_UPDATE] = "POST_SPIKES_UPDATE"
173
- ____exports.ModCallbackCustom.POST_TEAR_INIT_LATE = 82
175
+ ____exports.ModCallbackCustom.POST_TEAR_INIT_LATE = 83
174
176
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_TEAR_INIT_LATE] = "POST_TEAR_INIT_LATE"
175
- ____exports.ModCallbackCustom.POST_TEAR_INIT_VERY_LATE = 83
177
+ ____exports.ModCallbackCustom.POST_TEAR_INIT_VERY_LATE = 84
176
178
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_TEAR_INIT_VERY_LATE] = "POST_TEAR_INIT_VERY_LATE"
177
- ____exports.ModCallbackCustom.POST_TNT_RENDER = 84
179
+ ____exports.ModCallbackCustom.POST_TNT_RENDER = 85
178
180
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_TNT_RENDER] = "POST_TNT_RENDER"
179
- ____exports.ModCallbackCustom.POST_TNT_UPDATE = 85
181
+ ____exports.ModCallbackCustom.POST_TNT_UPDATE = 86
180
182
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_TNT_UPDATE] = "POST_TNT_UPDATE"
181
- ____exports.ModCallbackCustom.POST_TRANSFORMATION = 86
183
+ ____exports.ModCallbackCustom.POST_TRANSFORMATION = 87
182
184
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_TRANSFORMATION] = "POST_TRANSFORMATION"
183
- ____exports.ModCallbackCustom.POST_TRINKET_BREAK = 87
185
+ ____exports.ModCallbackCustom.POST_TRINKET_BREAK = 88
184
186
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.POST_TRINKET_BREAK] = "POST_TRINKET_BREAK"
185
- ____exports.ModCallbackCustom.PRE_BERSERK_DEATH = 88
187
+ ____exports.ModCallbackCustom.PRE_BERSERK_DEATH = 89
186
188
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_BERSERK_DEATH] = "PRE_BERSERK_DEATH"
187
- ____exports.ModCallbackCustom.PRE_CUSTOM_REVIVE = 89
189
+ ____exports.ModCallbackCustom.PRE_CUSTOM_REVIVE = 90
188
190
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_CUSTOM_REVIVE] = "PRE_CUSTOM_REVIVE"
189
- ____exports.ModCallbackCustom.PRE_ITEM_PICKUP = 90
191
+ ____exports.ModCallbackCustom.PRE_ITEM_PICKUP = 91
190
192
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_ITEM_PICKUP] = "PRE_ITEM_PICKUP"
191
- ____exports.ModCallbackCustom.PRE_NEW_LEVEL = 91
193
+ ____exports.ModCallbackCustom.PRE_NEW_LEVEL = 92
192
194
  ____exports.ModCallbackCustom[____exports.ModCallbackCustom.PRE_NEW_LEVEL] = "PRE_NEW_LEVEL"
193
195
  return ____exports
@@ -2,11 +2,14 @@ import { PickupVariant } from "isaac-typescript-definitions";
2
2
  export declare function customPickupInit(mod: Mod): void;
3
3
  /**
4
4
  * Helper function to register a custom pickup with the IsaacScript standard library. Use this
5
- * feature for custom pickups that are intended to be picked up by the player, like keys and bombs.
5
+ * feature for custom pickups that are intended to be picked up by the player, like bombs and keys.
6
6
  *
7
7
  * When IsaacScript detects that a player should be collecting the custom pickup, then the pickup
8
8
  * will be immediately removed, and an effect showing the pickup's respective `Collect` animation
9
- * will be spawned. (This emulates how a normal vanilla pickup would work.)
9
+ * will be spawned. (This emulates how a normal vanilla pickup would work.) After that, the provided
10
+ * `collectFunc` will be fired. In this function, you will probably want to play a sound
11
+ * corresponding to what kind of pickup it is (e.g. `SoundEffect.KEY_PICKUP_GAUNTLET`), as well as
12
+ * do things like adding something to the player's inventory.
10
13
  *
11
14
  * Note that when you specify your custom pickup in the "entities2.xml" file, it should have a type
12
15
  * of "5" and be associated with an anm2 file that has a "Collect" animation.
@@ -1 +1 @@
1
- {"version":3,"file":"customPickup.d.ts","sourceRoot":"","sources":["../../src/features/customPickup.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,aAAa,EACd,MAAM,8BAA8B,CAAC;AA6BtC,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CAO/C;AAuDD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAClC,mBAAmB,EAAE,aAAa,EAClC,OAAO,EAAE,GAAG,EACZ,WAAW,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,EAC3C,aAAa,GAAE,CAAC,MAAM,EAAE,YAAY,KAAK,OAAoB,GAC5D,IAAI,CAaN"}
1
+ {"version":3,"file":"customPickup.d.ts","sourceRoot":"","sources":["../../src/features/customPickup.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,aAAa,EACd,MAAM,8BAA8B,CAAC;AA6BtC,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CAO/C;AAuDD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,oBAAoB,CAClC,mBAAmB,EAAE,aAAa,EAClC,OAAO,EAAE,GAAG,EACZ,WAAW,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,EAC3C,aAAa,GAAE,CAAC,MAAM,EAAE,YAAY,KAAK,OAAoB,GAC5D,IAAI,CAaN"}
@@ -56,11 +56,14 @@ function ____exports.customPickupInit(self, mod)
56
56
  mod:AddCallback(ModCallback.POST_EFFECT_RENDER, postEffectRenderPickupEffect, PICKUP_EFFECT_VARIANT)
57
57
  end
58
58
  --- Helper function to register a custom pickup with the IsaacScript standard library. Use this
59
- -- feature for custom pickups that are intended to be picked up by the player, like keys and bombs.
59
+ -- feature for custom pickups that are intended to be picked up by the player, like bombs and keys.
60
60
  --
61
61
  -- When IsaacScript detects that a player should be collecting the custom pickup, then the pickup
62
62
  -- will be immediately removed, and an effect showing the pickup's respective `Collect` animation
63
- -- will be spawned. (This emulates how a normal vanilla pickup would work.)
63
+ -- will be spawned. (This emulates how a normal vanilla pickup would work.) After that, the provided
64
+ -- `collectFunc` will be fired. In this function, you will probably want to play a sound
65
+ -- corresponding to what kind of pickup it is (e.g. `SoundEffect.KEY_PICKUP_GAUNTLET`), as well as
66
+ -- do things like adding something to the player's inventory.
64
67
  --
65
68
  -- Note that when you specify your custom pickup in the "entities2.xml" file, it should have a type
66
69
  -- of "5" and be associated with an anm2 file that has a "Collect" animation.
@@ -42,6 +42,7 @@ function initMap(self)
42
42
  extraConsoleCommandsFunctionMap:set("bombsDisplay", commandsDisplay.bombsDisplay)
43
43
  extraConsoleCommandsFunctionMap:set("bombs", commands.bombs)
44
44
  extraConsoleCommandsFunctionMap:set("boneHearts", commands.boneHearts)
45
+ extraConsoleCommandsFunctionMap:set("boss", commands.boss)
45
46
  extraConsoleCommandsFunctionMap:set("bossNextRoom", commands.bossNextRoom)
46
47
  extraConsoleCommandsFunctionMap:set("bossRoom", commands.bossRoom)
47
48
  extraConsoleCommandsFunctionMap:set("bossRush", commands.bossRush)
@@ -44,6 +44,8 @@ export declare function bombs(params: string): void;
44
44
  * numbers to remove hearts.)
45
45
  */
46
46
  export declare function boneHearts(params: string): void;
47
+ /** Alias for the "boss" command. */
48
+ export declare function boss(): void;
47
49
  /** Warps to the room next to the first Boss Room on the floor. */
48
50
  export declare function bossNextRoom(): void;
49
51
  /** Warps to the first Boss Room on the floor. */
@@ -1 +1 @@
1
- {"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"AA6GA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA2C/C;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,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KAAK,IAAI,IAAI,CAY5B;AAED,+CAA+C;AAC/C,wBAAgB,YAAY,IAAI,IAAI,CAInC;AAED,4CAA4C;AAC5C,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED;;;GAGG;AACH,wBAAgB,KAAK,IAAI,IAAI,CAQ5B;AAED,wCAAwC;AACxC,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,6CAA6C;AAC7C,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,qDAAqD;AACrD,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC"}
1
+ {"version":3,"file":"listCommands.d.ts","sourceRoot":"","sources":["../../../src/features/extraConsoleCommands/listCommands.ts"],"names":[],"mappings":"AA6GA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA2C/C;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED,gEAAgE;AAChE,wBAAgB,MAAM,IAAI,IAAI,CAK7B;AAED,sEAAsE;AACtE,wBAAgB,OAAO,IAAI,IAAI,CAkB9B;AAED,2CAA2C;AAC3C,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEhD;AAED,+CAA+C;AAC/C,wBAAgB,WAAW,IAAI,IAAI,CAElC;AAED;;;GAGG;AACH,wBAAgB,YAA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BAAgB,KAAK,IAAI,IAAI,CAQ5B;AAED,wCAAwC;AACxC,wBAAgB,KAAK,IAAI,IAAI,CAE5B;AAED,6CAA6C;AAC7C,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,qDAAqD;AACrD,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED,yDAAyD;AACzD,wBAAgB,eAAe,IAAI,IAAI,CAEtC;AAED,sFAAsF;AACtF,wBAAgB,MAAM,IAAI,IAAI,CAQ7B;AAED,wFAAwF;AACxF,wBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CA0BzC"}
@@ -116,6 +116,10 @@ local v = ____v.default
116
116
  function ____exports.blackHearts(self, params)
117
117
  addHeart(nil, params, HealthType.BLACK)
118
118
  end
119
+ --- Warps to the first Boss Room on the floor.
120
+ function ____exports.bossRoom(self)
121
+ warpToRoomType(nil, RoomType.BOSS)
122
+ end
119
123
  --- Toggles Chaos Card tears for the player. Useful for killing enemies very fast without using
120
124
  -- "debug 10".
121
125
  function ____exports.chaosCardTears(self)
@@ -323,14 +327,14 @@ end
323
327
  function ____exports.boneHearts(self, params)
324
328
  addHeart(nil, params, HealthType.BONE)
325
329
  end
330
+ --- Alias for the "boss" command.
331
+ function ____exports.boss(self)
332
+ ____exports.bossRoom(nil)
333
+ end
326
334
  --- Warps to the room next to the first Boss Room on the floor.
327
335
  function ____exports.bossNextRoom(self)
328
336
  warpNextToRoomType(nil, RoomType.BOSS)
329
337
  end
330
- --- Warps to the first Boss Room on the floor.
331
- function ____exports.bossRoom(self)
332
- warpToRoomType(nil, RoomType.BOSS)
333
- end
334
338
  --- Warps to the Boss Rush for the floor.
335
339
  function ____exports.bossRush(self)
336
340
  changeRoom(nil, GridRoom.BOSS_RUSH)
@@ -1,7 +1,7 @@
1
1
  import { ModUpgraded } from "../classes/ModUpgraded";
2
2
  /**
3
3
  * Helper function to enable some IsaacScript features that are useful when developing a mod. They
4
- * shouldn't be enabled when your mod goes to production (i.e. it is uploaded to the Steam
4
+ * should not be enabled when your mod goes to production (i.e. when it is uploaded to the Steam
5
5
  * Workshop).
6
6
  *
7
7
  * The list of development features that are enabled are as follows:
@@ -10,7 +10,7 @@ local saveDataManagerSetGlobal = ____exports.saveDataManagerSetGlobal
10
10
  local ____log = require("functions.log")
11
11
  local setLogFunctionsGlobal = ____log.setLogFunctionsGlobal
12
12
  --- Helper function to enable some IsaacScript features that are useful when developing a mod. They
13
- -- shouldn't be enabled when your mod goes to production (i.e. it is uploaded to the Steam
13
+ -- should not be enabled when your mod goes to production (i.e. when it is uploaded to the Steam
14
14
  -- Workshop).
15
15
  --
16
16
  -- The list of development features that are enabled are as follows:
@@ -22,13 +22,22 @@ export declare function getDevilRoomDoor(): GridEntityDoor | undefined;
22
22
  */
23
23
  export declare function getDevilRoomOrAngelRoomDoor(): GridEntityDoor | undefined;
24
24
  /**
25
- * Helper function to get the position that a player will enter a room at.
25
+ * Helper function to get the position that a player will enter a room at corresponding to a door.
26
26
  *
27
27
  * When players enter a room, they do not appear exactly on the location of the door, because then
28
28
  * they would immediately collide with the loading zone. Instead, they appear on the grid tile next
29
29
  * to the door.
30
30
  */
31
31
  export declare function getDoorEnterPosition(door: GridEntityDoor): Readonly<Vector>;
32
+ /**
33
+ * Helper function to get the position that a player will enter a room at corresponding to a door
34
+ * slot.
35
+ *
36
+ * When players enter a room, they do not appear exactly on the location of the door, because then
37
+ * they would immediately collide with the loading zone. Instead, they appear on the grid tile next
38
+ * to the door.
39
+ */
40
+ export declare function getDoorSlotEnterPosition(doorSlot: DoorSlot): Readonly<Vector>;
32
41
  /**
33
42
  * Helper function to get the offset from a door position that a player will enter a room at.
34
43
  *
@@ -1 +1 @@
1
- {"version":3,"file":"doors.d.ts","sourceRoot":"","sources":["../../src/functions/doors.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,QAAQ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;;GAGG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAMnC;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAKvD;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,GAAG,SAAS,EAAE,QAAQ,EAAE,GAAG,GAAG,CAK5D;AAED,+CAA+C;AAC/C,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAGrD;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,KAAK,EAAE,cAAc,EAAE,GAAG,IAAI,CAI5D"}
@@ -70,13 +70,13 @@ function ____exports.getDoors(self, ...)
70
70
  do
71
71
  local door = room:GetDoor(doorSlot)
72
72
  if door == nil then
73
- goto __continue22
73
+ goto __continue23
74
74
  end
75
75
  if roomTypesSet.size == 0 or roomTypesSet:has(door.TargetRoomType) then
76
76
  doors[#doors + 1] = door
77
77
  end
78
78
  end
79
- ::__continue22::
79
+ ::__continue23::
80
80
  end
81
81
  return doors
82
82
  end
@@ -178,7 +178,7 @@ function ____exports.getDevilRoomOrAngelRoomDoor(self)
178
178
  end
179
179
  return ____temp_2
180
180
  end
181
- --- Helper function to get the position that a player will enter a room at.
181
+ --- Helper function to get the position that a player will enter a room at corresponding to a door.
182
182
  --
183
183
  -- When players enter a room, they do not appear exactly on the location of the door, because then
184
184
  -- they would immediately collide with the loading zone. Instead, they appear on the grid tile next
@@ -187,6 +187,18 @@ function ____exports.getDoorEnterPosition(self, door)
187
187
  local offset = ____exports.getDoorSlotEnterPositionOffset(nil, door.Slot)
188
188
  return door.Position + offset
189
189
  end
190
+ --- Helper function to get the position that a player will enter a room at corresponding to a door
191
+ -- slot.
192
+ --
193
+ -- When players enter a room, they do not appear exactly on the location of the door, because then
194
+ -- they would immediately collide with the loading zone. Instead, they appear on the grid tile next
195
+ -- to the door.
196
+ function ____exports.getDoorSlotEnterPosition(self, doorSlot)
197
+ local room = game:GetRoom()
198
+ local position = room:GetDoorSlotPosition(doorSlot)
199
+ local offset = ____exports.getDoorSlotEnterPositionOffset(nil, doorSlot)
200
+ return position + offset
201
+ end
190
202
  --- Helper function to get the possible door slots that can exist for a given room shape.
191
203
  function ____exports.getDoorSlotsForRoomShape(self, roomShape)
192
204
  return ROOM_SHAPE_TO_DOOR_SLOTS[roomShape]
package/dist/index.d.ts CHANGED
@@ -153,6 +153,7 @@ declare interface AddCallbackParameterCustom {
153
153
  [ModCallbackCustom.POST_ROOM_CLEAR_CHANGED]: PostRoomClearChangedRegisterParameters;
154
154
  [ModCallbackCustom.POST_SACRIFICE]: PostSacrificeRegisterParameters;
155
155
  [ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED]: PostSlotAnimationChangedRegisterParameters;
156
+ [ModCallbackCustom.POST_SLOT_COLLISION]: PostSlotCollisionRegisterParameters;
156
157
  [ModCallbackCustom.POST_SLOT_DESTROYED]: PostSlotDestroyedRegisterParameters;
157
158
  [ModCallbackCustom.POST_SLOT_INIT]: PostSlotInitRegisterParameters;
158
159
  [ModCallbackCustom.POST_SLOT_RENDER]: PostSlotRenderRegisterParameters;
@@ -1999,7 +2000,7 @@ export declare function enableAllSound(key: string): void;
1999
2000
 
2000
2001
  /**
2001
2002
  * Helper function to enable some IsaacScript features that are useful when developing a mod. They
2002
- * shouldn't be enabled when your mod goes to production (i.e. it is uploaded to the Steam
2003
+ * should not be enabled when your mod goes to production (i.e. when it is uploaded to the Steam
2003
2004
  * Workshop).
2004
2005
  *
2005
2006
  * The list of development features that are enabled are as follows:
@@ -2838,7 +2839,7 @@ export declare function getDimension(): Dimension;
2838
2839
  export declare function getDirectionName(direction: Direction): string | undefined;
2839
2840
 
2840
2841
  /**
2841
- * Helper function to get the position that a player will enter a room at.
2842
+ * Helper function to get the position that a player will enter a room at corresponding to a door.
2842
2843
  *
2843
2844
  * When players enter a room, they do not appear exactly on the location of the door, because then
2844
2845
  * they would immediately collide with the loading zone. Instead, they appear on the grid tile next
@@ -2853,6 +2854,16 @@ export declare function getDoorEnterPosition(door: GridEntityDoor): Readonly<Vec
2853
2854
  */
2854
2855
  export declare function getDoors(...roomTypes: RoomType[]): GridEntityDoor[];
2855
2856
 
2857
+ /**
2858
+ * Helper function to get the position that a player will enter a room at corresponding to a door
2859
+ * slot.
2860
+ *
2861
+ * When players enter a room, they do not appear exactly on the location of the door, because then
2862
+ * they would immediately collide with the loading zone. Instead, they appear on the grid tile next
2863
+ * to the door.
2864
+ */
2865
+ export declare function getDoorSlotEnterPosition(doorSlot: DoorSlot): Readonly<Vector>;
2866
+
2856
2867
  /**
2857
2868
  * Helper function to get the offset from a door position that a player will enter a room at.
2858
2869
  *
@@ -6781,7 +6792,9 @@ export declare enum ModCallbackCustom {
6781
6792
  */
6782
6793
  POST_GRID_ENTITY_BROKEN = 24,
6783
6794
  /**
6784
- * Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity.
6795
+ * Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity. (After
6796
+ * this, the callback will not continue to fire. It will only fire again once the entity moves out
6797
+ * of range and then moves back into range.)
6785
6798
  *
6786
6799
  * When registering the callback, takes an optional second argument that will make the callback
6787
6800
  * only fire if it matches the `GridEntityType` provided.
@@ -7584,6 +7597,25 @@ export declare enum ModCallbackCustom {
7584
7597
  * ```
7585
7598
  */
7586
7599
  POST_SLOT_ANIMATION_CHANGED = 75,
7600
+ /**
7601
+ * Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
7602
+ * (It will not fire if any other type of entity collides with the slot entity.)
7603
+ *
7604
+ * When a player runs into a slot entity, this callback will continually fire, since the player is
7605
+ * colliding with it on every frame. Thus, you should only perform actions in this callback under
7606
+ * certain conditions, like if the slot entity is playing the "Idle" animation, and so on.
7607
+ *
7608
+ * When registering the callback, takes an optional second argument that will make the callback
7609
+ * only fire if it matches the `SlotVariant` provided.
7610
+ *
7611
+ * ```ts
7612
+ * function postSlotCollision(
7613
+ * slot: EntitySlot,
7614
+ * entity: Entity,
7615
+ * ): void {}
7616
+ * ```
7617
+ */
7618
+ POST_SLOT_COLLISION = 76,
7587
7619
  /**
7588
7620
  * Fires from the `POST_RENDER` callback when a slot plays the animation that indicates that it
7589
7621
  * has broken.
@@ -7597,7 +7629,7 @@ export declare enum ModCallbackCustom {
7597
7629
  * function postSlotDestroyed(slot: Entity, slotDestructionType: SlotDestructionType): void {}
7598
7630
  * ```
7599
7631
  */
7600
- POST_SLOT_DESTROYED = 76,
7632
+ POST_SLOT_DESTROYED = 77,
7601
7633
  /**
7602
7634
  * Fires when a new slot entity is initialized. Specifically, this is either:
7603
7635
  *
@@ -7613,7 +7645,7 @@ export declare enum ModCallbackCustom {
7613
7645
  * function postSlotInit(slot: Entity): void {}
7614
7646
  * ```
7615
7647
  */
7616
- POST_SLOT_INIT = 77,
7648
+ POST_SLOT_INIT = 78,
7617
7649
  /**
7618
7650
  * Fires from the `POST_RENDER` callback on every frame that a slot entity exists.
7619
7651
  *
@@ -7624,7 +7656,7 @@ export declare enum ModCallbackCustom {
7624
7656
  * function postSlotRender(slot: Entity): void {}
7625
7657
  * ```
7626
7658
  */
7627
- POST_SLOT_RENDER = 78,
7659
+ POST_SLOT_RENDER = 79,
7628
7660
  /**
7629
7661
  * Fires from the `POST_UPDATE` callback on every frame that a slot entity exists.
7630
7662
  *
@@ -7635,7 +7667,7 @@ export declare enum ModCallbackCustom {
7635
7667
  * function postSlotUpdate(slot: Entity): void {}
7636
7668
  * ```
7637
7669
  */
7638
- POST_SLOT_UPDATE = 79,
7670
+ POST_SLOT_UPDATE = 80,
7639
7671
  /**
7640
7672
  * Fires from the `POST_RENDER` callback on every frame that spikes exist.
7641
7673
  *
@@ -7646,7 +7678,7 @@ export declare enum ModCallbackCustom {
7646
7678
  * function postSpikesRender(spikes: GridEntitySpikes): void {}
7647
7679
  * ```
7648
7680
  */
7649
- POST_SPIKES_RENDER = 80,
7681
+ POST_SPIKES_RENDER = 81,
7650
7682
  /**
7651
7683
  * Fires from the `POST_UPDATE` callback on every frame that spikes exist.
7652
7684
  *
@@ -7657,7 +7689,7 @@ export declare enum ModCallbackCustom {
7657
7689
  * function postSpikesUpdate(spikes: GridEntitySpikes): void {}
7658
7690
  * ```
7659
7691
  */
7660
- POST_SPIKES_UPDATE = 81,
7692
+ POST_SPIKES_UPDATE = 82,
7661
7693
  /**
7662
7694
  * Fires on the first `POST_TEAR_UPDATE` frame for each tear (which is when
7663
7695
  * `EntityTear.FrameCount` is equal to 0).
@@ -7672,7 +7704,7 @@ export declare enum ModCallbackCustom {
7672
7704
  * function postTearInitLate(tear: EntityTear): void {}
7673
7705
  * ```
7674
7706
  */
7675
- POST_TEAR_INIT_LATE = 82,
7707
+ POST_TEAR_INIT_LATE = 83,
7676
7708
  /**
7677
7709
  * Fires on the second `POST_TEAR_UPDATE` frame for each tear (which is when
7678
7710
  * `EntityTear.FrameCount` is equal to 1).
@@ -7686,7 +7718,7 @@ export declare enum ModCallbackCustom {
7686
7718
  * function postTearInitVeryLate(tear: EntityTear): void {}
7687
7719
  * ```
7688
7720
  */
7689
- POST_TEAR_INIT_VERY_LATE = 83,
7721
+ POST_TEAR_INIT_VERY_LATE = 84,
7690
7722
  /**
7691
7723
  * Fires from the `POST_RENDER` callback on every frame that a TNT exists.
7692
7724
  *
@@ -7697,7 +7729,7 @@ export declare enum ModCallbackCustom {
7697
7729
  * function postTNTRender(tnt: GridEntityTNT): void {}
7698
7730
  * ```
7699
7731
  */
7700
- POST_TNT_RENDER = 84,
7732
+ POST_TNT_RENDER = 85,
7701
7733
  /**
7702
7734
  * Fires from the `POST_UPDATE` callback on every frame that a TNT exists.
7703
7735
  *
@@ -7708,7 +7740,7 @@ export declare enum ModCallbackCustom {
7708
7740
  * function postTNTUpdate(tnt: GridEntityTNT): void {}
7709
7741
  * ```
7710
7742
  */
7711
- POST_TNT_UPDATE = 85,
7743
+ POST_TNT_UPDATE = 86,
7712
7744
  /**
7713
7745
  * Fires from the `POST_PEFFECT_UPDATE` callback when a player gains or loses a new
7714
7746
  * transformation.
@@ -7726,7 +7758,7 @@ export declare enum ModCallbackCustom {
7726
7758
  * ): void {}
7727
7759
  * ```
7728
7760
  */
7729
- POST_TRANSFORMATION = 86,
7761
+ POST_TRANSFORMATION = 87,
7730
7762
  /**
7731
7763
  * Fires from `ENTITY_TAKE_DMG` callback when a Wishbone or a Walnut breaks.
7732
7764
  *
@@ -7740,7 +7772,7 @@ export declare enum ModCallbackCustom {
7740
7772
  * ): void {}
7741
7773
  * ```
7742
7774
  */
7743
- POST_TRINKET_BREAK = 87,
7775
+ POST_TRINKET_BREAK = 88,
7744
7776
  /**
7745
7777
  * Fires from the `POST_PEFFECT_UPDATE` callback on the frame before a Berserk effect ends when
7746
7778
  * the player is predicted to die (e.g. they currently have no health left or they took damage in
@@ -7755,7 +7787,7 @@ export declare enum ModCallbackCustom {
7755
7787
  * function preBerserkDeath(player: EntityPlayer): void {}
7756
7788
  * ```
7757
7789
  */
7758
- PRE_BERSERK_DEATH = 88,
7790
+ PRE_BERSERK_DEATH = 89,
7759
7791
  /**
7760
7792
  * Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
7761
7793
  * to initiate a custom revival, return an integer that corresponds to the item or type of revival
@@ -7773,7 +7805,7 @@ export declare enum ModCallbackCustom {
7773
7805
  * function preCustomRevive(player: EntityPlayer): int | undefined {}
7774
7806
  * ```
7775
7807
  */
7776
- PRE_CUSTOM_REVIVE = 89,
7808
+ PRE_CUSTOM_REVIVE = 90,
7777
7809
  /**
7778
7810
  * Fires from the `POST_PEFFECT_UPDATE` callback when an item becomes queued (i.e. when the player
7779
7811
  * begins to hold the item above their head).
@@ -7792,7 +7824,7 @@ export declare enum ModCallbackCustom {
7792
7824
  * ): void {}
7793
7825
  * ```
7794
7826
  */
7795
- PRE_ITEM_PICKUP = 90,
7827
+ PRE_ITEM_PICKUP = 91,
7796
7828
  /**
7797
7829
  * Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
7798
7830
  * player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
@@ -7806,7 +7838,7 @@ export declare enum ModCallbackCustom {
7806
7838
  * function preNewLevel(player: EntityPlayer): void {}
7807
7839
  * ```
7808
7840
  */
7809
- PRE_NEW_LEVEL = 91
7841
+ PRE_NEW_LEVEL = 92
7810
7842
  }
7811
7843
 
7812
7844
  /**
@@ -8570,6 +8602,11 @@ callback: (slot: EntitySlot, previousAnimation: string, currentAnimation: string
8570
8602
  slotVariant?: SlotVariant
8571
8603
  ];
8572
8604
 
8605
+ declare type PostSlotCollisionRegisterParameters = [
8606
+ callback: (slot: EntitySlot, player: EntityPlayer) => void,
8607
+ slotVariant?: SlotVariant
8608
+ ];
8609
+
8573
8610
  declare type PostSlotDestroyedRegisterParameters = [
8574
8611
  callback: (slot: EntitySlot, slotDestructionType: SlotDestructionType) => void,
8575
8612
  slotVariant?: SlotVariant,
@@ -8717,11 +8754,14 @@ export declare function registerCharacterStats(playerType: PlayerType, statMap:
8717
8754
 
8718
8755
  /**
8719
8756
  * Helper function to register a custom pickup with the IsaacScript standard library. Use this
8720
- * feature for custom pickups that are intended to be picked up by the player, like keys and bombs.
8757
+ * feature for custom pickups that are intended to be picked up by the player, like bombs and keys.
8721
8758
  *
8722
8759
  * When IsaacScript detects that a player should be collecting the custom pickup, then the pickup
8723
8760
  * will be immediately removed, and an effect showing the pickup's respective `Collect` animation
8724
- * will be spawned. (This emulates how a normal vanilla pickup would work.)
8761
+ * will be spawned. (This emulates how a normal vanilla pickup would work.) After that, the provided
8762
+ * `collectFunc` will be fired. In this function, you will probably want to play a sound
8763
+ * corresponding to what kind of pickup it is (e.g. `SoundEffect.KEY_PICKUP_GAUNTLET`), as well as
8764
+ * do things like adding something to the player's inventory.
8725
8765
  *
8726
8766
  * Note that when you specify your custom pickup in the "entities2.xml" file, it should have a type
8727
8767
  * of "5" and be associated with an anm2 file that has a "Collect" animation.
@@ -1 +1 @@
1
- {"version":3,"file":"initCustomCallbacks.d.ts","sourceRoot":"","sources":["../src/initCustomCallbacks.ts"],"names":[],"mappings":"AAsEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAuE1D"}
1
+ {"version":3,"file":"initCustomCallbacks.d.ts","sourceRoot":"","sources":["../src/initCustomCallbacks.ts"],"names":[],"mappings":"AAuEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,CAwE1D"}
@@ -111,6 +111,8 @@ local ____postRoomClearChanged = require("callbacks.postRoomClearChanged")
111
111
  local postRoomClearChangedInit = ____postRoomClearChanged.postRoomClearChangedInit
112
112
  local ____postSacrifice = require("callbacks.postSacrifice")
113
113
  local postSacrificeInit = ____postSacrifice.postSacrificeInit
114
+ local ____postSlotCollision = require("callbacks.postSlotCollision")
115
+ local postSlotCollisionInit = ____postSlotCollision.postSlotCollisionInit
114
116
  local ____postSlotDestroyed = require("callbacks.postSlotDestroyed")
115
117
  local postSlotDestroyedInit = ____postSlotDestroyed.postSlotDestroyedInit
116
118
  local ____postSlotInitUpdate = require("callbacks.postSlotInitUpdate")
@@ -196,6 +198,7 @@ function ____exports.initCustomCallbacks(self, mod)
196
198
  postRockUpdateInit(nil, mod)
197
199
  postRoomClearChangedInit(nil, mod)
198
200
  postSacrificeInit(nil, mod)
201
+ postSlotCollisionInit(nil, mod)
199
202
  postSlotDestroyedInit(nil, mod)
200
203
  postSlotInitUpdateCallbacksInit(nil, mod)
201
204
  postSlotRenderCallbacksInit(nil, mod)
@@ -74,6 +74,7 @@ import { PostRockUpdateRegisterParameters } from "../../callbacks/subscriptions/
74
74
  import { PostRoomClearChangedRegisterParameters } from "../../callbacks/subscriptions/postRoomClearChanged";
75
75
  import { PostSacrificeRegisterParameters } from "../../callbacks/subscriptions/postSacrifice";
76
76
  import { PostSlotAnimationChangedRegisterParameters } from "../../callbacks/subscriptions/postSlotAnimationChanged";
77
+ import { PostSlotCollisionRegisterParameters } from "../../callbacks/subscriptions/postSlotCollision";
77
78
  import { PostSlotDestroyedRegisterParameters } from "../../callbacks/subscriptions/postSlotDestroyed";
78
79
  import { PostSlotInitRegisterParameters } from "../../callbacks/subscriptions/postSlotInit";
79
80
  import { PostSlotRenderRegisterParameters } from "../../callbacks/subscriptions/postSlotRender";
@@ -168,6 +169,7 @@ export interface AddCallbackParameterCustom {
168
169
  [ModCallbackCustom.POST_ROOM_CLEAR_CHANGED]: PostRoomClearChangedRegisterParameters;
169
170
  [ModCallbackCustom.POST_SACRIFICE]: PostSacrificeRegisterParameters;
170
171
  [ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED]: PostSlotAnimationChangedRegisterParameters;
172
+ [ModCallbackCustom.POST_SLOT_COLLISION]: PostSlotCollisionRegisterParameters;
171
173
  [ModCallbackCustom.POST_SLOT_DESTROYED]: PostSlotDestroyedRegisterParameters;
172
174
  [ModCallbackCustom.POST_SLOT_INIT]: PostSlotInitRegisterParameters;
173
175
  [ModCallbackCustom.POST_SLOT_RENDER]: PostSlotRenderRegisterParameters;
@@ -1 +1 @@
1
- {"version":3,"file":"AddCallbackParameterCustom.d.ts","sourceRoot":"","sources":["../../../src/interfaces/private/AddCallbackParameterCustom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AACxG,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AACtG,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,kCAAkC,EAAE,MAAM,gDAAgD,CAAC;AACpG,OAAO,EAAE,+BAA+B,EAAE,MAAM,6CAA6C,CAAC;AAC9F,OAAO,EAAE,sCAAsC,EAAE,MAAM,oDAAoD,CAAC;AAC5G,OAAO,EAAE,0CAA0C,EAAE,MAAM,wDAAwD,CAAC;AACpH,OAAO,EAAE,oCA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AC,iBAAiB,CAAC,iBAAiB,CAAC,EAAE,iCAAiC,CAAC;IACzE,CAAC,iBAAiB,CAAC,eAAe,CAAC,EAAE,+BAA+B,CAAC;IACrE,CAAC,iBAAiB,CAAC,aAAa,CAAC,EAAE,6BAA6B,CAAC;CAClE"}
@@ -1 +1 @@
1
- {"version":3,"file":"callbackRegisterFunctions.d.ts","sourceRoot":"","sources":["../../src/objects/callbackRegisterFunctions.ts"],"names":[],"mappings":"AA4FA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAE9F,eAAO,MAAM,2BAA2B,EAAE;IACxC,QAAQ,EAAE,GAAG,IAAI,iBAAiB,GAAG,CACnC,GAAG,IAAI,EAAE,0BAA0B,CAAC,GAAG,CAAC,KACrC,IAAI;CAmHD,CAAC"}
1
+ {"version":3,"file":"callbackRegisterFunctions.d.ts","sourceRoot":"","sources":["../../src/objects/callbackRegisterFunctions.ts"],"names":[],"mappings":"AA6FA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAE9F,eAAO,MAAM,2BAA2B,EAAE;IACxC,QAAQ,EAAE,GAAG,IAAI,iBAAiB,GAAG,CACnC,GAAG,IAAI,EAAE,0BAA0B,CAAC,GAAG,CAAC,KACrC,IAAI;CAoHD,CAAC"}
@@ -151,6 +151,8 @@ local ____postSacrifice = require("callbacks.subscriptions.postSacrifice")
151
151
  local postSacrificeRegister = ____postSacrifice.postSacrificeRegister
152
152
  local ____postSlotAnimationChanged = require("callbacks.subscriptions.postSlotAnimationChanged")
153
153
  local postSlotAnimationChangedRegister = ____postSlotAnimationChanged.postSlotAnimationChangedRegister
154
+ local ____postSlotCollision = require("callbacks.subscriptions.postSlotCollision")
155
+ local postSlotCollisionRegister = ____postSlotCollision.postSlotCollisionRegister
154
156
  local ____postSlotDestroyed = require("callbacks.subscriptions.postSlotDestroyed")
155
157
  local postSlotDestroyedRegister = ____postSlotDestroyed.postSlotDestroyedRegister
156
158
  local ____postSlotInit = require("callbacks.subscriptions.postSlotInit")
@@ -262,6 +264,7 @@ ____exports.CALLBACK_REGISTER_FUNCTIONS = {
262
264
  [ModCallbackCustom.POST_ROOM_CLEAR_CHANGED] = postRoomClearChangedRegister,
263
265
  [ModCallbackCustom.POST_SACRIFICE] = postSacrificeRegister,
264
266
  [ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED] = postSlotAnimationChangedRegister,
267
+ [ModCallbackCustom.POST_SLOT_COLLISION] = postSlotCollisionRegister,
265
268
  [ModCallbackCustom.POST_SLOT_DESTROYED] = postSlotDestroyedRegister,
266
269
  [ModCallbackCustom.POST_SLOT_INIT] = postSlotInitRegister,
267
270
  [ModCallbackCustom.POST_SLOT_RENDER] = postSlotRenderRegister,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "7.15.1",
3
+ "version": "7.16.2",
4
4
  "description": "Helper functions and features for IsaacScript mods.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -0,0 +1,30 @@
1
+ import { ModCallback } from "isaac-typescript-definitions";
2
+ import { isSlot } from "../functions/entityTypes";
3
+ import {
4
+ postSlotCollisionFire,
5
+ postSlotCollisionHasSubscriptions,
6
+ } from "./subscriptions/postSlotCollision";
7
+
8
+ export function postSlotCollisionInit(mod: Mod): void {
9
+ mod.AddCallback(ModCallback.PRE_PLAYER_COLLISION, prePlayerCollision); // 33
10
+ }
11
+
12
+ function hasSubscriptions() {
13
+ return postSlotCollisionHasSubscriptions();
14
+ }
15
+
16
+ // ModCallback.PRE_PLAYER_COLLISION (33)
17
+ function prePlayerCollision(
18
+ player: EntityPlayer,
19
+ collider: Entity,
20
+ ): boolean | undefined {
21
+ if (!hasSubscriptions()) {
22
+ return;
23
+ }
24
+
25
+ if (isSlot(collider)) {
26
+ postSlotCollisionFire(collider, player);
27
+ }
28
+
29
+ return undefined;
30
+ }
@@ -0,0 +1,35 @@
1
+ import { SlotVariant } from "isaac-typescript-definitions";
2
+
3
+ export type PostSlotCollisionRegisterParameters = [
4
+ callback: (slot: EntitySlot, player: EntityPlayer) => void,
5
+ slotVariant?: SlotVariant,
6
+ ];
7
+
8
+ const subscriptions: PostSlotCollisionRegisterParameters[] = [];
9
+
10
+ export function postSlotCollisionHasSubscriptions(): boolean {
11
+ return subscriptions.length > 0;
12
+ }
13
+
14
+ export function postSlotCollisionRegister(
15
+ ...args: PostSlotCollisionRegisterParameters
16
+ ): void {
17
+ subscriptions.push(args);
18
+ }
19
+
20
+ export function postSlotCollisionFire(
21
+ slot: EntitySlot,
22
+ player: EntityPlayer,
23
+ ): void {
24
+ for (const [callback, callbackSlotVariant] of subscriptions) {
25
+ // Handle the optional 2nd callback argument.
26
+ if (
27
+ callbackSlotVariant !== undefined &&
28
+ callbackSlotVariant !== slot.Variant
29
+ ) {
30
+ continue;
31
+ }
32
+
33
+ callback(slot, player);
34
+ }
35
+ }
@@ -363,7 +363,9 @@ export enum ModCallbackCustom {
363
363
  POST_GRID_ENTITY_BROKEN,
364
364
 
365
365
  /**
366
- * Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity.
366
+ * Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity. (After
367
+ * this, the callback will not continue to fire. It will only fire again once the entity moves out
368
+ * of range and then moves back into range.)
367
369
  *
368
370
  * When registering the callback, takes an optional second argument that will make the callback
369
371
  * only fire if it matches the `GridEntityType` provided.
@@ -1217,6 +1219,26 @@ export enum ModCallbackCustom {
1217
1219
  */
1218
1220
  POST_SLOT_ANIMATION_CHANGED,
1219
1221
 
1222
+ /**
1223
+ * Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
1224
+ * (It will not fire if any other type of entity collides with the slot entity.)
1225
+ *
1226
+ * When a player runs into a slot entity, this callback will continually fire, since the player is
1227
+ * colliding with it on every frame. Thus, you should only perform actions in this callback under
1228
+ * certain conditions, like if the slot entity is playing the "Idle" animation, and so on.
1229
+ *
1230
+ * When registering the callback, takes an optional second argument that will make the callback
1231
+ * only fire if it matches the `SlotVariant` provided.
1232
+ *
1233
+ * ```ts
1234
+ * function postSlotCollision(
1235
+ * slot: EntitySlot,
1236
+ * entity: Entity,
1237
+ * ): void {}
1238
+ * ```
1239
+ */
1240
+ POST_SLOT_COLLISION,
1241
+
1220
1242
  /**
1221
1243
  * Fires from the `POST_RENDER` callback when a slot plays the animation that indicates that it
1222
1244
  * has broken.
@@ -96,11 +96,14 @@ function postEffectRenderPickupEffect(effect: EntityEffect) {
96
96
 
97
97
  /**
98
98
  * Helper function to register a custom pickup with the IsaacScript standard library. Use this
99
- * feature for custom pickups that are intended to be picked up by the player, like keys and bombs.
99
+ * feature for custom pickups that are intended to be picked up by the player, like bombs and keys.
100
100
  *
101
101
  * When IsaacScript detects that a player should be collecting the custom pickup, then the pickup
102
102
  * will be immediately removed, and an effect showing the pickup's respective `Collect` animation
103
- * will be spawned. (This emulates how a normal vanilla pickup would work.)
103
+ * will be spawned. (This emulates how a normal vanilla pickup would work.) After that, the provided
104
+ * `collectFunc` will be fired. In this function, you will probably want to play a sound
105
+ * corresponding to what kind of pickup it is (e.g. `SoundEffect.KEY_PICKUP_GAUNTLET`), as well as
106
+ * do things like adding something to the player's inventory.
104
107
  *
105
108
  * Note that when you specify your custom pickup in the "entities2.xml" file, it should have a type
106
109
  * of "5" and be associated with an anm2 file that has a "Collect" animation.
@@ -46,6 +46,7 @@ function initMap() {
46
46
  );
47
47
  extraConsoleCommandsFunctionMap.set("bombs", commands.bombs);
48
48
  extraConsoleCommandsFunctionMap.set("boneHearts", commands.boneHearts);
49
+ extraConsoleCommandsFunctionMap.set("boss", commands.boss);
49
50
  extraConsoleCommandsFunctionMap.set("bossNextRoom", commands.bossNextRoom);
50
51
  extraConsoleCommandsFunctionMap.set("bossRoom", commands.bossRoom);
51
52
  extraConsoleCommandsFunctionMap.set("bossRush", commands.bossRush);
@@ -285,6 +285,11 @@ export function boneHearts(params: string): void {
285
285
  addHeart(params, HealthType.BONE);
286
286
  }
287
287
 
288
+ /** Alias for the "boss" command. */
289
+ export function boss(): void {
290
+ bossRoom();
291
+ }
292
+
288
293
  /** Warps to the room next to the first Boss Room on the floor. */
289
294
  export function bossNextRoom(): void {
290
295
  warpNextToRoomType(RoomType.BOSS);
@@ -7,7 +7,7 @@ import { setLogFunctionsGlobal } from "./log";
7
7
 
8
8
  /**
9
9
  * Helper function to enable some IsaacScript features that are useful when developing a mod. They
10
- * shouldn't be enabled when your mod goes to production (i.e. it is uploaded to the Steam
10
+ * should not be enabled when your mod goes to production (i.e. when it is uploaded to the Steam
11
11
  * Workshop).
12
12
  *
13
13
  * The list of development features that are enabled are as follows:
@@ -114,7 +114,7 @@ export function getDevilRoomOrAngelRoomDoor(): GridEntityDoor | undefined {
114
114
  }
115
115
 
116
116
  /**
117
- * Helper function to get the position that a player will enter a room at.
117
+ * Helper function to get the position that a player will enter a room at corresponding to a door.
118
118
  *
119
119
  * When players enter a room, they do not appear exactly on the location of the door, because then
120
120
  * they would immediately collide with the loading zone. Instead, they appear on the grid tile next
@@ -125,6 +125,21 @@ export function getDoorEnterPosition(door: GridEntityDoor): Readonly<Vector> {
125
125
  return door.Position.add(offset);
126
126
  }
127
127
 
128
+ /**
129
+ * Helper function to get the position that a player will enter a room at corresponding to a door
130
+ * slot.
131
+ *
132
+ * When players enter a room, they do not appear exactly on the location of the door, because then
133
+ * they would immediately collide with the loading zone. Instead, they appear on the grid tile next
134
+ * to the door.
135
+ */
136
+ export function getDoorSlotEnterPosition(doorSlot: DoorSlot): Readonly<Vector> {
137
+ const room = game.GetRoom();
138
+ const position = room.GetDoorSlotPosition(doorSlot);
139
+ const offset = getDoorSlotEnterPositionOffset(doorSlot);
140
+ return position.add(offset);
141
+ }
142
+
128
143
  /**
129
144
  * Helper function to get the offset from a door position that a player will enter a room at.
130
145
  *
@@ -54,6 +54,7 @@ import { postRockRenderInit } from "./callbacks/postRockRender";
54
54
  import { postRockUpdateInit } from "./callbacks/postRockUpdate";
55
55
  import { postRoomClearChangedInit } from "./callbacks/postRoomClearChanged";
56
56
  import { postSacrificeInit } from "./callbacks/postSacrifice";
57
+ import { postSlotCollisionInit } from "./callbacks/postSlotCollision";
57
58
  import { postSlotDestroyedInit } from "./callbacks/postSlotDestroyed";
58
59
  import { postSlotInitUpdateCallbacksInit } from "./callbacks/postSlotInitUpdate";
59
60
  import { postSlotRenderCallbacksInit } from "./callbacks/postSlotRender";
@@ -127,6 +128,7 @@ export function initCustomCallbacks(mod: ModUpgraded): void {
127
128
  postRockUpdateInit(mod);
128
129
  postRoomClearChangedInit(mod);
129
130
  postSacrificeInit(mod);
131
+ postSlotCollisionInit(mod);
130
132
  postSlotDestroyedInit(mod);
131
133
  postSlotInitUpdateCallbacksInit(mod);
132
134
  postSlotRenderCallbacksInit(mod);
@@ -74,6 +74,7 @@ import { PostRockUpdateRegisterParameters } from "../../callbacks/subscriptions/
74
74
  import { PostRoomClearChangedRegisterParameters } from "../../callbacks/subscriptions/postRoomClearChanged";
75
75
  import { PostSacrificeRegisterParameters } from "../../callbacks/subscriptions/postSacrifice";
76
76
  import { PostSlotAnimationChangedRegisterParameters } from "../../callbacks/subscriptions/postSlotAnimationChanged";
77
+ import { PostSlotCollisionRegisterParameters } from "../../callbacks/subscriptions/postSlotCollision";
77
78
  import { PostSlotDestroyedRegisterParameters } from "../../callbacks/subscriptions/postSlotDestroyed";
78
79
  import { PostSlotInitRegisterParameters } from "../../callbacks/subscriptions/postSlotInit";
79
80
  import { PostSlotRenderRegisterParameters } from "../../callbacks/subscriptions/postSlotRender";
@@ -169,6 +170,7 @@ export interface AddCallbackParameterCustom {
169
170
  [ModCallbackCustom.POST_ROOM_CLEAR_CHANGED]: PostRoomClearChangedRegisterParameters;
170
171
  [ModCallbackCustom.POST_SACRIFICE]: PostSacrificeRegisterParameters;
171
172
  [ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED]: PostSlotAnimationChangedRegisterParameters;
173
+ [ModCallbackCustom.POST_SLOT_COLLISION]: PostSlotCollisionRegisterParameters;
172
174
  [ModCallbackCustom.POST_SLOT_DESTROYED]: PostSlotDestroyedRegisterParameters;
173
175
  [ModCallbackCustom.POST_SLOT_INIT]: PostSlotInitRegisterParameters;
174
176
  [ModCallbackCustom.POST_SLOT_RENDER]: PostSlotRenderRegisterParameters;
@@ -74,6 +74,7 @@ import { postRockUpdateRegister } from "../callbacks/subscriptions/postRockUpdat
74
74
  import { postRoomClearChangedRegister } from "../callbacks/subscriptions/postRoomClearChanged";
75
75
  import { postSacrificeRegister } from "../callbacks/subscriptions/postSacrifice";
76
76
  import { postSlotAnimationChangedRegister } from "../callbacks/subscriptions/postSlotAnimationChanged";
77
+ import { postSlotCollisionRegister } from "../callbacks/subscriptions/postSlotCollision";
77
78
  import { postSlotDestroyedRegister } from "../callbacks/subscriptions/postSlotDestroyed";
78
79
  import { postSlotInitRegister } from "../callbacks/subscriptions/postSlotInit";
79
80
  import { postSlotRenderRegister } from "../callbacks/subscriptions/postSlotRender";
@@ -195,6 +196,7 @@ export const CALLBACK_REGISTER_FUNCTIONS: {
195
196
  [ModCallbackCustom.POST_SACRIFICE]: postSacrificeRegister,
196
197
  [ModCallbackCustom.POST_SLOT_ANIMATION_CHANGED]:
197
198
  postSlotAnimationChangedRegister,
199
+ [ModCallbackCustom.POST_SLOT_COLLISION]: postSlotCollisionRegister,
198
200
  [ModCallbackCustom.POST_SLOT_DESTROYED]: postSlotDestroyedRegister,
199
201
  [ModCallbackCustom.POST_SLOT_INIT]: postSlotInitRegister,
200
202
  [ModCallbackCustom.POST_SLOT_RENDER]: postSlotRenderRegister,