Goregonzola Posted January 13, 2021 Share Posted January 13, 2021 Hello! As the title says: is it ever possible, and if so, how can I add a custom food random Hunger, Sanity and Health values (in a specified value range)? Honestly, I'm only interested in this coding if it doesn't require hundreds of lines to make it work. Thanks in advance! Link to comment https://forums.kleientertainment.com/forums/topic/126044-question-is-it-possible-to-add-a-food-random-values/ Share on other sites More sharing options...
-LukaS- Posted January 13, 2021 Share Posted January 13, 2021 Assuming you want to make the values different every single time your food item is eaten, you can simply set the values to math.random(start, end). The values will be set between 'start' and 'end'. 1 Link to comment https://forums.kleientertainment.com/forums/topic/126044-question-is-it-possible-to-add-a-food-random-values/#findComment-1416141 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