Jump to content

How to make a carnivore character?


Recommended Posts

Hi, i'm new to this forum and this will be my first post but I need help with coding it seems.

I'm making a mod for DST, but I can't figure out how to make my character a carnivore, as I've tried looking through Wigfrids/Wathgrithrs.lua and nothing seems to work. I'm not sure what to do to get it to work, I don't really care if she says a string or not, but any help would be greatly appreciated! 

 

Edited by zambie1980
Link to comment
Share on other sites

16 hours ago, K1NGT1GER609 said:

I'd think this would work:

inst.components.eater:SetDiet({ FOODGROUP.OMNI }, { FOODTYPE.MEAT })

It goes into your master_postinit and you can't eat candies from events just pointing it out.

I wanna say thank yea kindly for the help as it's appreciated of yea!

I got the coding and all that to working now <3 !

Link to comment
Share on other sites

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
 Share

×
  • Create New...