Waphles Posted December 1, 2015 Share Posted December 1, 2015 Hello! I am currently making a character for DST and would like to give them their own tab (Like Wickerbottom's Book tab) and for each food give an effect for a small amount of time.Is there a simple way of doing this?If not I can just put them into the already existing food tab. The foods buffs are pretty simple1: 30 seconds of increased damage and rapid hunger2: 30 second speed buff with slight cost of sanity3: 90 seconds of giving off light with a large cost of health when eaten 4: 30 seconds of no mob agro with a speed debuff Link to comment https://forums.kleientertainment.com/forums/topic/59605-custom-foods-with-effects/ Share on other sites More sharing options...
Kzisor Posted December 1, 2015 Share Posted December 1, 2015 @Waphles, what you're wanting to do consists of a two separate things. 1) You're wanting to create a recipe tab, this is easy to do simply use AddRecipeTab( "Name", SORT#, "atlas file (.xml)", "image file (.tex)", "builder tag or nil")2) Food is usually cooked in a crock pot. Having it in the recipe tab usually required you to have the item already made and using additional items you could add the buff such as Sanity/Health. Creating the recipe tab is simple, creating the method in which to add the buffs will require thought to make sure it's balanced. Link to comment https://forums.kleientertainment.com/forums/topic/59605-custom-foods-with-effects/#findComment-689999 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