Jump to content

Charater_Ingredients? Telltale Hearts?


Recommended Posts

so I have been working on a mod but i want to use stats for an ingredient like a telltale heart does maybe sanity, hunger, health.

This is what I have it doesn't give a error but just crashes. Thank you!

 Ingredient(CHARACTER_INGREDIENT.SANITY20)
Edited by ant7735
Link to comment
Share on other sites

Make sure to either create a

local CHARACTER_INGREDIENT = GLOBAL.CHARACTER_INGREDIENT

or just replace 'CHARACTER_INGREDIENT.SANITY' with 'GLOBAL.CHARACTER_INGREDIENT.SANITY'.

 

Btw, you can't use hunger in crafting.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...