Implement setting of character state values (finally!)