Not_Wilson Posted January 27, 2016 Share Posted January 27, 2016 I added a string of code to my character that makes sure he only eats vegetables, seeds, and grass because he's a werebunny. Now, before I added the werebeaver thing to him, he'd only eat the above foods. Here's the diet for his cursed form: inst.components.eater:SetDiet({ FOODGROUP.OMNI }, { FOODGROUP.OMNI }, { FOODTYPE.ROUGHAGE }, { FOODGROUP.VEGGIE }) And here's the human diet: inst.components.eater:SetDiet({FOODGROUP.OMNI}, {FOODTYPE.VEGGIE, FOODTYPE.SEEDS}, {FOODTYPE.ROUGHAGE}) Somehow, after adding the werebeaver thing, he just doesn't obey the diet. Is it because of priority in the code, his stats are past the werebunny code? I'm lost, I don't know how or why this happened. Does anyone know? Link to comment https://forums.kleientertainment.com/forums/topic/63341-help-suddenly-my-character-is-not-a-vegan/ Share on other sites More sharing options...
Not_Wilson Posted January 29, 2016 Author Share Posted January 29, 2016 (edited) Nevermind, my friend found the issue. The "beaver"/"bunny" diet was overriding the human diet. So I had to change that. By just copying and pasting the human's diet for the bunny. This topic can be locked if at all possible. Edited January 29, 2016 by DextersComicLaboratory Link to comment https://forums.kleientertainment.com/forums/topic/63341-help-suddenly-my-character-is-not-a-vegan/#findComment-715077 Share on other sites More sharing options...
Recommended Posts