public void Close()
    {
        if (partyInventory.ContaintItemType("quest_item"))
        {
            return;
        }

        ActionType = LootResultType.Discard;

        ScrollClosed();
    }
Exemplo n.º 2
0
    public void Close()
    {
        if (partyInventory.ContaintItemType("quest_item"))
        {
            return;
        }

        ActionType = LootResultType.Discard;

        gameObject.SetActive(false);
        partyInventory.DiscardAll();
    }