private void Start()
    {
        ps           = PlayerSystem.Instance;
        itemdatabase = ItemDatabase.Instance;
        inventory    = InventoryController.Instance;
        currentGacha = itemdatabase.Beginner_Pool;

        Debug.Log("Current Gacha is " + currentGacha.name);

        // Debug.Log(currentGacha.name);
        // Debug.Log(currentGacha.common.Count);
        // Debug.Log(currentGacha.uncommon.Count);
        // Debug.Log(currentGacha.rare.Count);
        // Debug.Log(currentGacha.legendary.Count);

        // Debug.Log("Beginner Pool Common count is " + itemdatabase.Beginner_Pool.common.Count);
        // Debug.Log("Beginner Pool Uncommon count is " + itemdatabase.Beginner_Pool.uncommon.Count);
        // Debug.Log("Beginner Pool Rare count is " + itemdatabase.Beginner_Pool.rare.Count);
        // Debug.Log("Beginner Pool Legendary count is " + itemdatabase.Beginner_Pool.legendary.Count);

        // Debug.Log("Deserted Town Common count is " + itemdatabase.Deserted_Town.common.Count);
        // Debug.Log("Deserted Town Uncommon count is " + itemdatabase.Deserted_Town.uncommon.Count);
        // Debug.Log("Deserted Town Rare count is " + itemdatabase.Deserted_Town.rare.Count);
        // Debug.Log("Deserted Town Legendary count is " + itemdatabase.Deserted_Town.legendary.Count);

        // Debug.Log("Forge Common count is " + itemdatabase.Forge.common.Count);
        // Debug.Log("Forge Uncommon count is " + itemdatabase.Forge.uncommon.Count);
        // Debug.Log("Forge Rare count is " + itemdatabase.Forge.rare.Count);
        // Debug.Log("Forge Legendary count is " + itemdatabase.Forge.legendary.Count);

        // Debug.Log("Lifetime Common count is " + itemdatabase.Once_In_A_Lifetime.common.Count);
        // Debug.Log("Lifetime Uncommon count is " + itemdatabase.Once_In_A_Lifetime.uncommon.Count);
        // Debug.Log("Lifetime Rare count is " + itemdatabase.Once_In_A_Lifetime.rare.Count);
        // Debug.Log("Lifetime Legendary count is " + itemdatabase.Once_In_A_Lifetime.legendary.Count);
    }
    private void buildRarityList(int index, GachaPass pass, Item item)
    {
        if (item.GachaType[index].ToString() == pass.objectSlug)
        {
            switch (item.RarityType.ToString())
            {
            case "Common":
                pass.common.Add(item);
                break;

            case "Uncommon":
                pass.uncommon.Add(item);
                break;

            case "Rare":
                pass.rare.Add(item);
                break;

            case "Legendary":
                pass.legendary.Add(item);
                break;
            }
        }
    }