Jump to content

Editing Diets


Recommended Posts

I'm very new to this whole modding thing, so I barely know what I'm doing. I need a little help with my first mod, the character is a minotaur, and thus cannot eat meat, but can still eat and thrive off of veggies, or grass, pinecones/raw birchnuts, twigs, and foliage alone. I haven't got a really good idea of where to edit and put in whatever I need to insert. It'll be greatly helpful if some visuals were on the other threads I find, otherwise I'm quite lost.

Link to comment
Share on other sites

inst.components.eater:SetDiet( { FOODGROUP.OMNI }, { FOODTYPE.VEGGIE, FOODTYPE.SEEDS, FOODTYPE.GENERIC } )

 

Put the above in yourcharacter.lua inside the master_postinit

Hopefully it works for you :D!!

 

EDIT: Sorry, but I don't know how to make a character eat grass or stuff just make them eat vegetables..

Edited by SuperDavid
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...