Thread:FixSRwiki/@comment-46261745-20200903015444/@comment-26544499-20200908100424

I approve. Modularity tends to be a good idea. My only objection is that I wouldn't want to give the AI better RNG than the player has.

I suggest coding in stuff like the eye drops as probability=[base value]+[constant]*[game flag for difficulty], e.g. "Eye drop probability = 0.7+0.1*[GF taking values 0 (easy), 1 (normal), 2 (hard), or 3 (nightmare)]. It's much better than a chain of if statements.