isaacscript-common 1.0.450 → 1.0.451

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.
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export declare const AZAZEL_DEFAULT_BRIMSTONE_DISTANCE = 75.125;
7
7
  /** Bombs explode when their frame count is equal to this value. */
8
- export declare const BOMB_EXPLODE_FRAME = 51;
8
+ export declare const BOMB_EXPLODE_FRAME = 45;
9
9
  export declare const CHARACTERS_WITH_NO_RED_HEARTS: Set<PlayerType>;
10
10
  /** This is also the distance that a player spawns from the door that they enter a room from. */
11
11
  export declare const DISTANCE_OF_GRID_TILE = 40;
@@ -2,7 +2,7 @@
2
2
  require("lualib_bundle");
3
3
  local ____exports = {}
4
4
  ____exports.AZAZEL_DEFAULT_BRIMSTONE_DISTANCE = 75.125
5
- ____exports.BOMB_EXPLODE_FRAME = 51
5
+ ____exports.BOMB_EXPLODE_FRAME = 45
6
6
  ____exports.CHARACTERS_WITH_NO_RED_HEARTS = __TS__New(Set, {PlayerType.PLAYER_BLUEBABY, PlayerType.PLAYER_BLACKJUDAS, PlayerType.PLAYER_JUDAS_B, PlayerType.PLAYER_BLUEBABY_B, PlayerType.PLAYER_THEFORGOTTEN_B, PlayerType.PLAYER_BETHANY_B})
7
7
  ____exports.DISTANCE_OF_GRID_TILE = 40
8
8
  ____exports.DOOR_HITBOX_DISTANCE = 11
@@ -1,8 +1,9 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
2
  /**
3
3
  * Helper function to get a room position that is not overlapping with a grid entity, a heaven door,
4
- * or a player. The `Room.FindFreePickupSpawnPosition()` function will return locations that are
5
- * overlap with heaven doors and players, so use this function instead if you want to account for
6
- * those specific situations.
4
+ * or a player. The `Room.FindFreePickupSpawnPosition()` function will return locations that overlap
5
+ * with heaven doors and partially overlap with players, if the thing being spawned is bigger than a
6
+ * tile (like a Blood Donation Machine). Use this function instead if you want to account for those
7
+ * specific situations.
7
8
  */
8
9
  export declare function findFreePosition(startingPosition: Vector): Vector;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.450",
3
+ "version": "1.0.451",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",