Skip to main content

ShopAssetMissing

Callable

  • ShopAssetMissing(Asset: Asset): boolean

  • Checks if an asset can be bought. An asset is considered missing if it is not owned and has a value greater than 0. (0 is a default item, -1 is a non-purchasable item)


    Parameters

    • Asset: Asset

      The asset to check for availability

    Returns boolean

    • Returns TRUE if the item is purchasable and unowned.