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?
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?