Store string trap id for terrain in an actual string instead of overloading an int so that 64 bit builds don't break.
actually merge trapfix 64bit fix