Forum Discussion

tastytourist's avatar
9 years ago

FruitCake_Controller traits

I wanted to make sims be able to have favourite foods, along the lines of the fruitcake like/dislike -- but I'm a bit puzzled by the controller traits. What are they supposed to do or avoid exactly?

If I understand S4_0C772E27_00000000_000000000001D3AC loot_Trait_Rando_Fruitcake correctly, the logic is

- LikesFruitcake will be added (with a 30% chance) if sim does not have any of these:

* HatesFruitCake_Controller
* Foodie
* Glutton
* Snob
* HatesFruitcake
* LikesFruitcake

- HatesFruitcake will be added if sim does not have any of these:

* Foodie
* Glutton
* Snob
* HatesFruitcake
* LikesFruitcake

and does have trait_Hidden_Hates_FruitCake_Controller;


- when there is one bite left (or less), HatesFruitcake is removed;

- when there is one bite left (or less) and sim does not have LikesFruitcake, they now get the HatesFruitCake_Controller trait.


In other words, they can only ever actually have the HatesFruitCake trait while they are eating, and the rest of the time they have the Controller trait instead .. but why the separate controller trait? Couldn't they just have the Hate trait all the time? The only difference I see (between the trait and the controller) is that the controller does not conflict with LikesFruitcake (but they can't get that anyway when they have the controller), and no asm parameter either (which I'd assume is only for the bleargh reaction when eating anyway).


TLDR: if I want to make a LikesPudding trait, can I just skip the controller business? Or is this needed for something that I don't see?




  • OK, I think the point of the controller is the timing of the food buff, could that be? The Hate trait is so that they can run the "bleargh" animations during eating, the controller trait makes sure they only get the "eww fruitcake" buff after eating .. ?
  • I asked the designer for the feature for some clarification.

    You'll need to replicate this behavior if you want Sims to run the appropriate like/dislike animations.

    The animations for "Eat" are shared across all foods. The presence of the controller trait ensures that the like/dislike clips are only played while the Sim is eating Fruitcake. If the traits were permanent, Sims would have those reactions when eating *any* food.

    Hope that clears things up.
  • Yes, that makes sense! Thank you. I'm probably not going to do anything with the animations -- so far, sims only have whims about the foods and that seems to work fine without the controller too =)

About The Sims 4 Mods & Custom Content

Find expert tips, troubleshooting help, tutorials for mods and custom content, and The Sims 4 patch files in our forum.4,702 PostsLatest Activity: 4 minutes ago