dfired Posted September 27, 2021 Share Posted September 27, 2021 I made a custom character and i want him to get extra food through Seeds. I saw "Custom food values?" by Scumch but its a bit old and i didn't got it to work. Link to comment https://forums.kleientertainment.com/forums/topic/133996-seeds-i-want-to-make-my-custom-character-love-seeds/ Share on other sites More sharing options...
Monti18 Posted September 27, 2021 Share Posted September 27, 2021 Add this to your character prefab in the master postinit: inst.components.foodaffinity:AddFoodtypeAffinity(FOODTYPE.SEEDS,5) --replace the 5 with the value of hunger you want to gain when eating seeds This will give your character an affinity to seeds. Link to comment https://forums.kleientertainment.com/forums/topic/133996-seeds-i-want-to-make-my-custom-character-love-seeds/#findComment-1499074 Share on other sites More sharing options...
dfired Posted September 30, 2021 Author Share Posted September 30, 2021 thx Link to comment https://forums.kleientertainment.com/forums/topic/133996-seeds-i-want-to-make-my-custom-character-love-seeds/#findComment-1500352 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