items in an enum are assigned a value, right? If I try to get the value of an enum variable, it only gives me the name of the variable as a string. For saving and loading purposes it would be nice if I could get the numerical value instead.