Hi, I'm working on an AI system, and I'm running into a few problems. Basically, I'm working on a game where players can group up into parties or go alone on adventures in dungeons and forests. In other words, the player should have the ability to fight my bosses at the same time as another player, but not *with* the other players unless they're grouped up in parties.
Party
var/members = list()
proc/AddMember(mob/m)
members += m
Here is my WIP party system. What I want to do is make enemies only render and process to players within shared parties(unless they're going alone).
I've thought about just making the monster's icons only render to mobs within certain parties, but then you'd still have all of the lag to deal with. What do you recommend?