isaacscript-common 1.0.464 → 1.0.465

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.
@@ -1,2 +1,15 @@
1
1
  /// <reference types="isaac-typescript-definitions" />
2
+ /**
3
+ * Helper function to spawn a collectible. Use this instead of `Game.Spawn()` because it handles the
4
+ * cases of Tainted Keeper collectibles costing coins and preventing quest items from being rotated
5
+ * by Tainted Isaac's rotation mechanic.
6
+ *
7
+ * @param collectibleType The collectible type to spawn.
8
+ * @param position The position to spawn the collectible at.
9
+ * @param seed Optional. Random() by default.
10
+ * @param options Optional. Set to true to make the collectible a "There's Options" style
11
+ * collectible. False by default.
12
+ * @param forceFreeItem Optional. Set to true to disable the logic that gives the item a price for
13
+ * Tainted Keeper. False by default.
14
+ */
2
15
  export declare function spawnCollectible(collectibleType: CollectibleType | int, position: Vector, seed?: number, options?: boolean, forceFreeItem?: boolean): EntityPickup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.0.464",
3
+ "version": "1.0.465",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",