Jump to content

Recommended Posts

I'm making another character that's still able to eat meat, but I want him to gain less stats (about half, since I know Wortox has something similar) from any food with the tag "meat." Any negative effects (like negative sanity from raw meat) is preferably kept the same.

I know how to change the values of individual items, but I also don't want a massive block of code listing every meat food and other issues like having to update it if a new dish releases or a different mod adding new meat food items.

There's custom_stats_mod_fn in the eater component, which you can assign a function to return how much final stats you get after eating. The function allows for food inst checking so you can do the food's edible component check for foodtype.

also is that sebby shoelace from the hit underwater game?!?

  • Thanks 1
14 minutes ago, Baguettes said:

There's custom_stats_mod_fn in the eater component, which you can assign a function to return how much final stats you get after eating. The function allows for food inst checking so you can do the food's edible component check for foodtype.

also is that sebby shoelace from the hit underwater game?!?

Thank you very much!

YES I'M EXTREMELY HYPERFIXATED ON HIM RIGHT NOW HHEHUEHEUHEKEUHEUE..............

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...