public void UpdateCraftableIndicator() { if (!crafter.HasItems(ingredients)) { currentState = State.NotEnoughMaterials; } else { if (crafter.CanCraftRecipe(recipe)) { currentState = State.Available; } else { currentState = State.InventoryFull; } } SetCraftableIndicatorColour(GetColor(currentState)); }