Space Station 13 - Modules - TypesVar Details - Proc Details

Antagonist Team

Datum used by team antagonists to track it's members and objectives the team needs to complete.

Vars

antag_datum_typeType of antag datum members of this team have. Also given to new members added by admins.
membersA list of minds who belong to this team.
nameThe name of the team.
need_antag_hudIs antag hud need to see this team in orbit
objectivesA list of objectives which all team members share.
special_objectivesA list of special objectives which some team members have.

Procs

TopicUsed for running team specific admin commands.
add_memberAdds new_member to this team.
add_objective_to_membersAdds a team objective to each member's matching antag datum.
admin_add_memberAdds a new member to this team from a list of players in the round.
admin_add_objectiveAllows admins to add a team objective.
admin_communicateAllows admins to send a message to all members of this team.
admin_remove_memberAllows admins to remove a team member.
admin_remove_objectiveAllows admins to remove a team objective.
admin_rename_teamAllows admins to rename the team.
alife_members_countReturn count of alife members.
get_admin_commandsA list of team-specific admin commands for this team. Should be in the form of "command" = CALLBACK(x, PROC_REF(some_proc)).
get_antag_datum_from_memberReturn an antag datum from a member which is linked with this team.
remove_memberRemoves member from this team.
remove_objective_from_membersRemove a team objective from each member's matching antag datum.

Var Details

antag_datum_type

Type of antag datum members of this team have. Also given to new members added by admins.

members

A list of minds who belong to this team.

name

The name of the team.

need_antag_hud

Is antag hud need to see this team in orbit

objectives

A list of objectives which all team members share.

special_objectives

A list of special objectives which some team members have.

Proc Details

Topic

Used for running team specific admin commands.

add_member

Adds new_member to this team.

Generally this should ONLY be called by add_antag_datum() to ensure proper order of operations.

add_objective_to_members

Adds a team objective to each member's matching antag datum.

admin_add_member

Adds a new member to this team from a list of players in the round.

admin_add_objective

Allows admins to add a team objective.

admin_communicate

Allows admins to send a message to all members of this team.

admin_remove_member

Allows admins to remove a team member.

admin_remove_objective

Allows admins to remove a team objective.

admin_rename_team

Allows admins to rename the team.

alife_members_count

Return count of alife members.

get_admin_commands

A list of team-specific admin commands for this team. Should be in the form of "command" = CALLBACK(x, PROC_REF(some_proc)).

get_antag_datum_from_member

Return an antag datum from a member which is linked with this team.

remove_member

Removes member from this team.

remove_objective_from_members

Remove a team objective from each member's matching antag datum.