public void CreateObject()
    {
        GameItem[] items   = GetCurrentCraftingBar();
        var        created = CraftingSystem.Instance.Craft(items);

        if (created != null && created.type == ItemType.Equipment)
        {
            Equipment.Add(created);
            if (created.prefab.GetComponent <Thruster>() != null)
            {
                _player.AddThruster(created.prefab.GetComponent <Thruster>());
            }
        }

        if (created != null && created.type == ItemType.Ingredient)
        {
            AddItem(created);
        }

        if (created != null && created.type == ItemType.Repair)
        {
            FindObjectOfType <PlayerScript>().Heal(created.CraftingValue);
        }

        if (created != null && created.type == ItemType.Finder)
        {
            if (!_earthFinder)
            {
                UIPopup popup = UIPopupManager.ShowPopup("EarthFinder", false, false);
                _earthFinder = true;
            }
        }

        ClearAllSlots(false);
    }