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

        ActionType = LootResultType.Discard;

        ScrollClosed();
    }
Beispiel #2
0
    public void Close()
    {
        if (partyInventory.ContaintItemType("quest_item"))
        {
            return;
        }

        ActionType = LootResultType.Discard;

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