Optimized Epistemology extension

While discussing Ryan Veeder’s Anchorhead project, I looked at the Epistemology extension. It goes to some effort to be efficient, but the “mark items as seen when looking” rule relies on a loop that runs through every game object.

I’ve hacked out a quick update which is more efficient in very large games:

github.com/erkyrath/i7-exts/blo … mology.i7x

The behavior is nearly identical. The most interesting difference is that it catches objects added to scope (with the “deciding the scope of” activity). The original Epistemology did not do this.