Add grab_rand_value, use it for parsing object.txt