added functions that can be run from within player_state to make player_state values manipulation more flexible
removed any uses of char_data:get_values function
added an extra check to ensure bad values wont get written to player_state state when a custom func is run