this works. im not sure how to do this without using switch, but you can just add more cases to this for resource/item exp in different string colors i guess
i also dont like how the XP sometimes overlaps with damage numbers, so id personally try using something other than actionMsg