mind
Vars | |
antag_datums | A list of all the antagonist datums that the player is (does not include undatumized antags) |
---|---|
antag_hud_icon_state | A lazy list of all teams the player is part of but doesnt have an antag role for, (i.e. a custom admin team) |
has_been_rev | Tracks if this mind has been a rev or not |
job_objectives | a list of objectives that a player with this job could complete for space credit rewards |
kudos_received_from | List of people who we've received kudos from. |
original_mob_UID | The original mob's UID. Used for example to see if a silicon with antag status is actually malf. Or just an antag put in a borg |
original_mob_name | The original mob's name. Used in Dchat messages |
Procs | |
add_antag_datum | Create and/or add the datum_type_or_instance antag datum to the src mind. |
add_mind_objective | Add an objective to the mind |
get_all_objectives | Gets every objective this mind owns, including all of those from any antag datums and teams they have, and returns them as a list. |
get_hijack_speed | This proc sets the hijack speed for a mob. If greater than zero, they can hijack. Outputs in seconds. |
has_antag_datum | Returns an antag datum instance if the src mind has the specified datum_type . Returns null otherwise. |
has_objectives | A quicker version of get_all_objectives() but only for seeing if they have any objectives at all |
remove_all_antag_datums | Removes all antag datums from the src mind. |
remove_antag_datum | Remove the specified datum_type antag datum from the src mind. |
remove_mind_objective | Completely remove the given objective from the mind, and include antagdatums/teams if remove_from_everything is true |
Var Details
antag_datums
A list of all the antagonist datums that the player is (does not include undatumized antags)
antag_hud_icon_state
A lazy list of all teams the player is part of but doesnt have an antag role for, (i.e. a custom admin team)
has_been_rev
Tracks if this mind has been a rev or not
job_objectives
a list of objectives that a player with this job could complete for space credit rewards
kudos_received_from
List of people who we've received kudos from.
original_mob_UID
The original mob's UID. Used for example to see if a silicon with antag status is actually malf. Or just an antag put in a borg
original_mob_name
The original mob's name. Used in Dchat messages
Proc Details
add_antag_datum
Create and/or add the datum_type_or_instance
antag datum to the src mind.
Arguments:
- antag_datum - an antag datum typepath or instance. If it's a typepath, it will create a new antag datum
- datum/team/team - the antag team that the src mind should join, if any
add_mind_objective
Add an objective to the mind
get_all_objectives
Gets every objective this mind owns, including all of those from any antag datums and teams they have, and returns them as a list.
get_hijack_speed
This proc sets the hijack speed for a mob. If greater than zero, they can hijack. Outputs in seconds.
has_antag_datum
Returns an antag datum instance if the src mind has the specified datum_type
. Returns null
otherwise.
Arguments:
- datum_type - an antag datum typepath
- check_subtypes - TRUE if this proc will consider subtypes of
datum_type
as valid. FALSE if only the exact same type should be considered.
has_objectives
A quicker version of get_all_objectives() but only for seeing if they have any objectives at all
remove_all_antag_datums
Removes all antag datums from the src mind.
Use this over doing QDEL_LIST_CONTENTS(antag_datums)
.
remove_antag_datum
Remove the specified datum_type
antag datum from the src mind.
Arguments:
- datum_type - an antag datum typepath
remove_mind_objective
Completely remove the given objective from the mind, and include antagdatums/teams if remove_from_everything is true