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
|
-
*
|
|
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
|
|
117
|
+
return BLIND_ITEM_PNG_PATH
|
|
118
118
|
end
|
|
119
119
|
return itemConfigItem.GfxFileName
|
|
120
120
|
end
|