A mechanic I created leads to an infinite loop and I need a workaround

I considered that, but then comes the next issue:

Some events will have certain pre-requisites before they become available to play (for example, there can’t be an interaction between two characters if one or both of them were never met and/or recruited by the player).

So, if the player never achieves all possible pre-requisites before rolling a successful event_roll, the event-counter-thing won’t work.