Had an unloadable save due to an NPC saving its -math.huge high_value for a talent:
tostring() on infinity will result in "inf", and tostring() on negative infinity will result in "-inf", but unlike "999", "inf" in code won't be interpreted as a number literal, it will be interpreted as an identifier. Same goes for "nan". These need to be special cased for saving.