I’m having trouble with making variables as a function of other variables. When I try to do this:
‘’‘create health 100+(vigor10)’‘’
I get an error, and I also want to do more complex stuff like:
‘’‘create max_strength 100+(conden25)+(foundation50)+(core75)’‘’
How should I mix my formatting? I saw a similar question on the forum but it was a slightly different idea and I tried to copy its formatting and didn’t work. Any help is greatly appreciated!
Yeah I get that, I want the value of the health variable to increase by 10 every time a point is added to the value of the vigor variable and every time a point is subtracted from the vigor variable. For some reason the text didn’t copy but the function should be
*set health 100+(vigorx10)