BoxyPop Posted July 5, 2020 Share Posted July 5, 2020 Hello! I'm very sorry for the inconvenience. I am creating a character for DST. I want to make the character unable to eat meat, something like Wormwood. I'm quite a novice so I don't know how to look at the code of characters that are already part of the game. Any help would greatly appreciate it. Link to comment Share on other sites More sharing options...
Grymlahv Posted July 8, 2020 Share Posted July 8, 2020 putting this in your master_postinit "should" make them vegetarian if inst.components.eater ~= nil then inst.components.eater:SetDiet({ FOODGROUP.VEGETARIAN }, { FOODGROUP.VEGETARIAN }) end (P.S. to find this, go to programfiles86>steam>steamapps>common>dontstarvetogether>data>databundles>prefabs>wurt) Link to comment Share on other sites More sharing options...
BoxyPop Posted July 8, 2020 Author Share Posted July 8, 2020 18 hours ago, Grymlahv said: putting this in your master_postinit "should" make them vegetarian if inst.components.eater ~= nil then inst.components.eater:SetDiet({ FOODGROUP.VEGETARIAN }, { FOODGROUP.VEGETARIAN }) end (P.S. to find this, go to programfiles86>steam>steamapps>common>dontstarvetogether>data>databundles>prefabs>wurt) It works wonderfully, thank you very much! <3 Link to comment Share on other sites More sharing options...
Grymlahv Posted July 8, 2020 Share Posted July 8, 2020 no problem! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now