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. |
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_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. |
on_round_end | Displays the roundend stats for teams |
remove_member | Removes member from this team. |
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.
Generally this should ONLY be called by add_antag_datum()
to ensure proper order of operations.
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.
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_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.
on_round_end
Displays the roundend stats for teams
remove_member
Removes member
from this team.
remove_team_objective
Remove a team objective from each member's matching antag datum.