I'm trying to create a faction system of sorts for my roguelike and I'm not quite sure how to go about making it work the way I envisioned it. Here is a scenario:
Skeletons and rats would be their own group. They would not attack each other. Skeletons and rats will attack goblins though.
Guards will attack any sort of monster. Guards will not attack players, unless players attack guards.
Turtles do their own thing. No one would really bother to attack turtles.
Basically I'd need to be able to easily define different groups and add/remove allegiances so groups will attack/ignore each other.
Copyright © 2015 BYOND. All rights reserved.