Goregonzola Posted January 9, 2021 Share Posted January 9, 2021 (edited) Hello there! As the title says, I would like to add a cooling/heating value to my custom food (similarly what Ice or Ice Cream has). I've looked around in the databundles, but I didn't found any of the temperature changing food's lua files. What's the magic coding? Thanks in advance Edited January 10, 2021 by BillTheCipher Link to comment Share on other sites More sharing options...
penguin0616 Posted January 9, 2021 Share Posted January 9, 2021 (edited) Look at ice's temperaturedelta property in the edible component. (file is prefabs/inv_rocks_ice.lua) Edited January 9, 2021 by penguin0616 2 Link to comment Share on other sites More sharing options...
Goregonzola Posted January 10, 2021 Author Share Posted January 10, 2021 @penguin0616 Found it, tried it, works flawlessly Thanks! 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