FurryEskimo Posted October 24, 2020 Share Posted October 24, 2020 All the forum posts about this are 5 years old and no one seemed to have an answer back then. Some recipes in the game cost health or sanity, and the recipes are fairly straight forward, calling for “Ingredient(CHARACTER_INGREDIENT.HEALTH, 10)“, but when put in a recipe outside the recipe prefab file results in an error, with the “character ingredient” variable being undefined. Many attempts were made to define it, but none seemed to work. Does anyone know how to do this this? I’m still looking for examples on these forums and the steam workshop, but so far no one seems to make such recipes. Link to comment Share on other sites More sharing options...
CarlZalph Posted October 24, 2020 Share Posted October 24, 2020 You'll probably have to prepend "GLOBAL." before those types of constants. GLOBAL.CHARACTER_INGREDIENT.HEALTH, etc. 1 1 Link to comment Share on other sites More sharing options...
FurryEskimo Posted October 24, 2020 Author Share Posted October 24, 2020 @CarlZalph Haha, it really was that easy! Thanks so much. 1 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