private IEnumerator CheckForConversionTemperature() (iterator) | Coroutine that, while the liquid is hot enough, adds each hot, untouched ingredient in the pot to the stew. Runs until the stew locks. |
private void DisableNormalCookingOnIngredients(IEnumerable<Cookable> ingredients) | Puts ingredients into simple cooking mode while they are in the stewing pot. |
private void GarnishAdded(ICookingGarnishMarker garnish) | Adds a garnish to the stew, but only while stewing or locked. |
private void HandleAnyIngredientsInPotThatHaventCalledEvents() | On load, registers ingredients already inside the pot volume. |
private void HandleExistingGarnishes() | When stewing starts, adds garnishes that were already in the pot. |
private void HandleExistingIngredientForStewing() | Switches current ingredients to simple cooking and starts the temperature check. |
private void HandleIngredientAddedWhenLocked(Cookable newIngredient) | Rejects an ingredient added after the stew is locked. |
private void HandleNewIngredient(Cookable newIngredient) | While stewing, prepares a new ingredient and restarts the temperature check if needed; when locked, rejects it. |
private void IngredientAdded(Cookable cookableIngredient) | Tracks a new cookable ingredient and handles it for the current stage. |
private void IngredientRemoved(Cookable cookableIngredient) | Stops tracking an ingredient and turns its normal cooking back on. |
private bool IsCookable(Item item) | True if the item has a CookableItem component of exactly that type (not a subclass). |
private void ItemAddedToPot(GameObject obj) | Pot volume handler: sorts a new object into garnish or ingredient. |
private void ItemRemovedFromPot(GameObject obj) | Pot volume handler: removes a cookable ingredient that left the pot. |
private void LoadAtCurrentStage() | After a load, re-runs the stage setup up to currentStage and finds the child stew. |
private void Alta.Chunks.ISavableFull.LoadSetup() | Registers ingredients already in the pot, then restores the current stage. |
private void RejectIngredient(Cookable newIngredient) | Pushes the ingredient out with a force from CookingSettings and fires rejectedIngredient. |
private void ResetCookableIngredient(Cookable cookableIngredient) | Turns normal cooking back on for an ingredient. |
private void SetStewOnStewManager() | Finds the stew entity under the pot and hands it to the stew manager. Used when loading. |
private void StartCheckingForConversionTemperature() | Restarts the CheckForConversionTemperature coroutine. |
private void StartStewing() | On the first ingredient converted while warming up, moves to Stewing, creates the default stew and adds existing garnishes. |
private void StartStewingStage() | Sets the stage to Stewing, makes the liquid refuse more liquid and fires startedStewing. |
private void StartWarmingUp() | Starts warming up when liquid is added during Preparation. |
private void StartWarmingUpStage(bool isSettingLiquidOfStewManager) | Sets the stage to WarmingUp, heats the liquid in the pot's heat area and optionally sets the stew's base liquid. |
private void StewEmptied() | Resets the pot to Preparation when the stew or liquid is emptied, and removes the stew. |
private void WaterAddedToPot() | Liquid handler that starts warming up. |