Antagonist Team 
Datum used by team antagonists to track it's members and objectives the team needs to complete.
Vars | |
| antag_datum_type | Type of antag datum members of this team have. Also given to new members added by admins. |
|---|---|
| blackbox_save_name | The name to save objective successes under in the blackboxes. Saves nothing if blank. |
| members | A list of minds who belong to this team. |
| name | The name of the team. |
| objective_holder | A list of objectives which all team members share. |
Procs | |
| add_member | Adds new_member to this team. |
| add_team_objective | 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. Minimize overriding this proc please. |
| admin_announce_objectives | Allows admins to announce objectives to all team members. |
| 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. |
| 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_admin_priority_objectives | Returns an associated list of priority objectives for admins to add to the team, this is like
Must return in the form objective name = objective_path. |
| get_antag_datum_from_member | Return an antag datum from a member which is linked with this team. |
| get_target_excludes | Special overrides for teams for target exclusion from objectives. |
| handle_adding_admin_objective | Overridable logic for handling how the adding of objectives works works Can return an objective datum, or a boolean. Returns a boolean if its already added to the team objectives in a custom way |
| handle_adding_member | An internal proc to allow teams to handle custom parts of adding a member.
This should ONLY be called by add_member() to ensure proper order of operations. |
| handle_removing_member | An internal proc for teams to remove a member. |
| on_round_end | Displays the roundend stats for teams |
| remove_member | Removes member from this team.
This is an interface proc, to prevent handle_removing_member from being called multiple times. |
| remove_team_objective | Remove 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.
blackbox_save_name 
The name to save objective successes under in the blackboxes. Saves nothing if blank.
members 
A list of minds who belong to this team.
name 
The name of the team.
objective_holder 
A list of objectives which all team members share.
Proc Details
add_member
Adds new_member to this team.
This is an interface proc, to prevent handle_removing_member from being called multiple times.
It is better if this is only called from add_antag_datum(), but it is not required.
add_team_objective
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. Minimize overriding this proc please.
admin_announce_objectives
Allows admins to announce objectives to all team members.
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.
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_admin_priority_objectives
Returns an associated list of priority objectives for admins to add to the team, this is like
Must return in the form objective name = objective_path.
get_antag_datum_from_member
Return an antag datum from a member which is linked with this team.
get_target_excludes
Special overrides for teams for target exclusion from objectives.
handle_adding_admin_objective
Overridable logic for handling how the adding of objectives works works Can return an objective datum, or a boolean. Returns a boolean if its already added to the team objectives in a custom way
handle_adding_member
An internal proc to allow teams to handle custom parts of adding a member.
This should ONLY be called by add_member() to ensure proper order of operations.
handle_removing_member
An internal proc for teams to remove a member.
on_round_end
Displays the roundend stats for teams
remove_member
Removes member from this team.
This is an interface proc, to prevent handle_removing_member from being called multiple times.
remove_team_objective
Remove a team objective from each member's matching antag datum.