Starting state: I'm hybridized (in this case, with human-goblin; doesn't really matter which). 0 turns of the potion effect.
Once I use the gene tonic, I can't see that I have the intrinsic. I looked a bit into this, and it seems like in this case, the effect in question appears multiple times in KoLConstants.activeEffects. I'm not sure how to address this well.
Code:
> have_effect human-goblin hybrid
Returned: 2147483647
> up human-goblin hybrid
Searching for "Gene Tonic: Goblin"...
Search complete.
Purchasing Gene Tonic: Goblin (1 @ 9,700)...
Purchases complete.
Using 1 Gene Tonic: Goblin...
You acquire an effect: Human-Goblin Hybrid (duration: 30 Adventures)
Finished using 1 Gene Tonic: Goblin.
> have_effect human-goblin hybrid
Returned: 30