NikMik Posted December 12, 2013 Share Posted December 12, 2013 Yet another question: But first, an explantion!I want to make my new character's diet bugs and rocks, but the choices are "Insectivore", "Carnivore" or "Elemental" but not both. I tired just setting "inst.foodprefs = { "ELEMENTAL", "INSECT", MEAT }" but the game still goes with Omnivore by default. I'm just wondering if there's a simple way to do it without having to change the component in the modmain. Link to comment https://forums.kleientertainment.com/forums/topic/30349-custom-diets/ Share on other sites More sharing options...
Malacath Posted December 12, 2013 Share Posted December 12, 2013 I have no access to the files right now but I'm confused by inst.foodprefs..Shouldn't it be inst.components.edible.foodprefs? Link to comment https://forums.kleientertainment.com/forums/topic/30349-custom-diets/#findComment-388152 Share on other sites More sharing options...
NikMik Posted December 12, 2013 Author Share Posted December 12, 2013 Not sure. In the "edible" component, it doesn't have that in it. But that's probably it, and I'm just stupid. Link to comment https://forums.kleientertainment.com/forums/topic/30349-custom-diets/#findComment-388153 Share on other sites More sharing options...
NikMik Posted December 12, 2013 Author Share Posted December 12, 2013 I have no access to the files right now but I'm confused by inst.foodprefs..Shouldn't it be inst.components.edible.foodprefs?Yep, that was it. I feel really stupid about missing that simple thing. Being sick sure doesn't help, either. Link to comment https://forums.kleientertainment.com/forums/topic/30349-custom-diets/#findComment-388154 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