code/modules/antagonists/_common/antag_helpers.dm
/proc/get_antag_minds | Returns MINDS of the assigned antags of given type/subtypes Supplying no antag type grants all minds with antag datums |
---|---|
/proc/get_most_experienced | From a list of players (minds, mobs or clients), finds the one with the highest playtime (either from a specific role or overall living) and returns it. |