Castaway Isle: Island Survival and Crafting Kit
README.md
aiKit.senses
Sight (range, cone, clear line from the eyes to chest or head, awareness that fills with time, distance and light), light-sensitive sight (needsLight, reading registry.lightAt), hearing (noise reach times sensitivity, linear falloff, damped through walls, own team ignored unless alarming), touch, territory and sharing sightings with allies. The Brain component runs tick(b, dt) on the peer that runs the character, about ten times a second; everything it learns goes into the character's memory.