Canning Station Overhaul - Alpha Changelog -- Part 2/2
Date Posted: 15th Apr 2016 at 10:10 PM
Alpha Changelog -- Part 1
Comments in square brackets.
(internal build) --14th July 2016
- Added missing MATD to foodEatToastAndJam MODL for bbotToastShrimp.
--12th July 2016
- Fixed missing interactions on Double-Boiled Ginseng Broth jars for sims aged teen and younger. [This was caused by a bug in OpenJarAndEat's Test function that allowed ginseng broth jars to be checked for the CookingProcess.Recipe.AdultOnly flag. Ginseng broth jars has Data, not CookingProcess, resulting in an exception.]
(internal build) -- 2nd July 2016
- Added 18 new decorative slots to canning station.
- Moved, fixed orientation, and expanded placement flags of default EA decorative slots. [This is done by dissociating the EA slots from their bones in RSLT, as opposed to editing the _RIG, as the canning animation runs with the rig posed in its original position--this can only be changed by editing the animation.]
--23th June 2016
- Added check for Recipe.AdultOnly in the test function of "Open Jar and Eat" when invoked by sims aged Teen and below. The interaction is made unavailable to such sims, whether autonomous or user-directed, on rations jars containing meals whose recipe XML has the tag "AdultOnly" (MacAndCheese, AutumnSalad, BellagianWaffles are the only applicable recipes at this time.) [This check prevents minor sims from opening rations containing meals tagged adult-only, since PushEatInteraction inevitably drops afterwards because Eat bars minors from eating meals whose recipe is thus tagged. Failing PushEatInteraction results in an accumulation of uneaten meals (from opened ration jars) in sims' inventories. Note that EA's implementation of Eat makes it unavailable to minors on these "adult" meals even when the invocation is directly attempted by the player, regardless of whether the meals were spawned from a ration jar. However, both Fridge_EatLeftOvers and CookingObjects.BringTo are agnostic to the AdultOnly tag, so minor sims can consume these meals through the fridge or the BringTo interaction.]
- Implemented CookingProcess.IsMermaidFood in import/export. Ration jars made with meals containing kelp should now respawn meals that are deemed mermaid-compatible after time-traveling/vacationing/going to university, etc. [This flag does not seem to be used by the game other than being set and read; there are no EA recipes with kelp. However, it might be used by some mods and is implemented here primarily for completeness.]
-- 5th June 2016
- Implemented CookingProcess.IsVampireFood in import/export. Ration jars made with vampire-compatible meals should now respawn meals that are also vampire-compatible after time-traveling/vacationing/going to university, etc.
-- 30th May 2016
- Added check for CookingProcess.IsVampireFood in the test function of "Open Jar and Eat" when autonomously invoked by vampire sims. Hungry child vampires should no longer autonomously open ration jars made from non-vampire-compatible meals, despite the Hunger commodity advertisement for the interaction. They will only do so with ration jars whose contents are vampire-compatible. This change affects only autonomous invocations of the interaction--users can still direct child vampires to "Open Jar and Eat" any single-serving ration, regardless of content. [This check prevents child vampires from opening non-vampire-compatible rations in response to the Hunger advertisement, then dropping PushEatInteraction (which bars vampires from autonomously eating vampire-incompatible foods.) Failing PushEatInteraction resulted in an accumulation of meals (from opened ration jars) in the vampire children's inventories which will never be eaten unless directed by the user.]
- Added VampireThirst commodity advertisement to ITUN of "Open Jar and Eat". Thirsty adult vampires should now autonomously perform "Open Jar and Eat" on rations jars that contain a single-serving meal that is vampire-compatible. As with child vampires, they will not autonomously open + eat ration jars with regular meals.
- Added check for CookingProcess.IsVampireFood in the test function of "Open Jar and Eat" when autonomously invoked by non-vampire sims, such that hungry sims who are not vampires do not run this interaction on rations jars containing a meal that is vampire-compatible, since such meals typically contain plasma fruit as an ingredient. Plasma fruit gives non-vampires nausea. This check only applies when the interaction is invoked autonomously --users can still direct non-vampire sims to "Open Jar and Eat" from single-serving rations containing plasma fruit.
(internal build) -- 13th May 2016
- "Put in Inventory" interaction (non-autonomous) is added to all canning station jars.
-- 15th Apr 2016
- Microwave ramen now counts towards the number of items needed in the canning station inventory to enable "Make Rations". It is now also properly handled by the interaction. [GetServingContainersAvailable now includes instances of SnackMicrowaveOnlyMeal whose RecipeKey matches that of ramen. SnackMicrowaveOnlyMeal does not inherit from ServingContainer or have a CloneFood equivalent, so MakeRations creates a ServingContainer instance (using a new custom recipe) for each ramen found in the canning station inventory. The instances of SnackMicrowaveOnlyMeal are then destroyed. The new ServingContainer instances are added to mServingContainers (neither TryToAdd nor ForceAdd was successful in adding items to the canning station's inventory.) ServingContainer.GetContainedFood--or the state machine?--does not seem to handle the ramen model appropriately, resulting in a FoodProp instance that has a visible bowl in the canning animation (only the bowl contents should be visible.) A custom prop model has been created to addressed this.]
- Toasts made from custom spreads whose ingredient is a herb (i.e. Cinnamon Spread and Pesto) now give the herb-specific moodlets when eaten. [The herb VFX has been disabled. It looks misplaced when the toast is lifted away while eating, since the FX slot is on the plate.]