icantevenname Posted April 19, 2018 Share Posted April 19, 2018 I've noticed that items that affect Health, Hunger, and Sanity tend to be tied to values that are Small, Med, Large. Is there anyway to be more specific with that? For example, making an item that gives 23 to Health, 64 to Hunger and 2 to Sanity. Link to comment Share on other sites More sharing options...
ksaab Posted April 19, 2018 Share Posted April 19, 2018 TUNING is just a table of values. Field TUNING.SANITY_MED contains value 15. For exapmle: inst.components.edible.sanityvalue = TUNING.SANITY_MED Equals to inst.components.edible.sanityvalue = 15 So, you food should be setted like this: inst.components.edible.healthvalue = 23 inst.components.edible.hungervalue = 64 inst.components.edible.sanityvalue = 2 Link to comment Share on other sites More sharing options...
icantevenname Posted April 20, 2018 Author Share Posted April 20, 2018 I see. Thanks for clearin' that up! 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