Modding mutations related to alcohol

I’m looking to modify a trait here, and one of the features I want to add to the trait is the ability to metabolize alcohol separated from the ALCMET trait. But how though? The alcmet trait itself gives no flags to the mutated character when I went to check. How do I add that property to a trait?

You can’t, unless you turn the hardcoded trait ID check into a character flag check (a pretty easy C++ change) and submit that change to the main game. Otherwise you’d have to include ALCMET in whatever category you want to add.

Well… What about the Prime threshold traits? Is there any file that shows where they work? (for the record I already know HOW their calculations work, I’m trying to modify them for myself)