isaacscript-common 1.2.220 → 1.2.221

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.
@@ -17,8 +17,8 @@ export declare function getCollectibleDescription(collectibleType: CollectibleTy
17
17
  */
18
18
  export declare function getCollectibleDevilHeartPrice(collectibleType: CollectibleType | int, player: EntityPlayer): PickupPrice;
19
19
  /**
20
- * Helper function to get the path to a collectible's sprite. Returns
21
- * "gfx/items/collectibles/questionmark.png" if the provided collectible type was not valid.
20
+ * Helper function to get the path to a collectible's sprite. Returns the path to the question mark
21
+ * sprite (i.e. from Curse of the Blind) if the provided collectible type was not valid.
22
22
  */
23
23
  export declare function getCollectibleGfxFilename(collectibleType: CollectibleType | int): string;
24
24
  /**
@@ -114,7 +114,7 @@ end
114
114
  function ____exports.getCollectibleGfxFilename(self, collectibleType)
115
115
  local itemConfigItem = itemConfig:GetCollectible(collectibleType)
116
116
  if itemConfigItem == nil then
117
- return "unknown.png"
117
+ return BLIND_ITEM_PNG_PATH
118
118
  end
119
119
  return itemConfigItem.GfxFileName
120
120
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript-common",
3
- "version": "1.2.220",
3
+ "version": "1.2.221",
4
4
  "description": "Helper functions for IsaacScript mods",
5
5
  "keywords": [
6
6
  "isaac",