Quick Reply
Search this Thread
Lab Assistant
Original Poster
#1 Old 7th Apr 2026 at 5:43 AM
Default 3t2 Traits Modding Help
Hi! I make lots of trait mods. Vegetarian has been on my mind! I haven't really found any decent mods for this trait except for Bee Stew's Food Overhaul, but I knew there was a much simpler way to accomplish the effects for this trait.

I knew I needed to find a "Eat Food" global BHAV and edit it to check if the meal has meat. If it does, give the vegetarian Sim food poisoning. (I will probably change this to do a random chance instead)

The code for giving a Sim food poisoning was found in the group for Chinese food. Apparently, Sims do have a small chance of getting food poisoning from the Chinese food!

I can confirm that this code works because I used it in another traits mod to get Sims sick!

Anyway, I am trying to edit CBOY's Talk Less Eat More, which contains "Eat-Loop" which is the global BHAV I decided to try and edit.

Last time I posted you guys were super helpful and my mistake was SUPER simple, so I am trying again!

Can't get this code to work. As you can see, it checks the Food GUID (Test Object Type) and then if the food contains meat, the Sim gets food poisoning bc the code gets sent to a private BHAV I created with a non-conflicting Instance Number in FoodDishGlobals.

Anyone know what I am doing wrong?

Here is the file.

https://simfileshare.net/folder/266704/

Here are two pics, the first of Eat-Loop, and the second of the food poisoning bhav

https://ibb.co/cdpjKny

https://ibb.co/ycrJFG9V

Thanks if you can help!

Didn't like this world so I built my own - yourSims2guru
Lab Assistant
Original Poster
#2 Old 7th Apr 2026 at 3:34 PM Last edited by heathensimmer : 7th Apr 2026 at 4:38 PM.
Well apparently, I can't get it to work inside "Eat-Loop" but I did get it to function inside "Eat-Exit?"

It keeps losing the Stack Object (food) for some reason. Setting Stack Object back to Local 0 did not work.
Hmmm

https://ibb.co/mrstw0X0

Picture of "Eat-Exit". This code seems to work. It loses the Stack Object when I try and send nodes after Test Object Type to the bottom, which checks the Stack Objects attribute. So I just didn't do that and connected them elsewhere bc I dont know why the Stack Object gets lost

Didn't like this world so I built my own - yourSims2guru
Lab Assistant
Original Poster
#3 Old 7th Apr 2026 at 4:40 PM
https://simfileshare.net/folder/266704/

Didn't like this world so I built my own - yourSims2guru
Back to top