Skip to main content

DialogInventoryCreateItem

Callable


  • Creates an individual item for the dialog inventory list


    Parameters

    • C: Character

      The character the inventory is being built for

    • item: Item

      The item to be added to the inventory

    • isWorn: boolean

      Should be true if the item is currently being worn, false otherwise

    • optionalsortOrder: DialogSortOrder

      Defines where in the inventory list the item is sorted

    Returns DialogInventoryItem

    • The inventory item