implement cached ambient patrols (test version)

This version is a test of the ambient patrols by caching the information and only creating the patrol when nearby enemies are present. The data is simplified to speed up the process.