Tag System

Tags are a simple system for a simple purpose: Making prefab interactions flexible.

For instance, let’s assume I’m making a spooky ghost. I can give it related tags like so…

On their own, those tags don’t do anything. But critters like rabbits check for the “scarytoprey” tag and get spooked by it.

The “shadow” tag, on the other hand, prevents non-insane creatures from attacking the spooky ghost. If I don’t want that, I have to remove the tag. But I can even do one better, and remove it under certain conditions…

That’s all there is to it. As said, it’s simple on its own. You will often see tags to indicate certain things for certain components or creatures (e.g. Chester’s Eyebone), but also for general differences (e.g. “wall”, “fire”).