Space Station 13 - Modules - TypesVar Details - Proc Details

mind

Vars

antag_datumsA list of all the antagonist datums that the player is (does not include undatumized antags)
has_been_revTracks if this mind has been a rev or not
job_objectivesa list of objectives that a player with this job could complete for space credit rewards
kudos_received_fromList of people who we've received kudos from.
original_mob_UIDThe 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_nameThe original mob's name. Used in Dchat messages
teamsA lazy list of all teams the player is part of but doesnt have an antag role for, (i.e. a custom admin team)

Procs

add_antag_datumCreate and/or add the datum_type_or_instance antag datum to the src mind.
add_mind_objectiveAdd an objective to the mind
get_all_objectivesGets 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_speedThis proc sets the hijack speed for a mob. If greater than zero, they can hijack. Outputs in seconds.
has_antag_datumReturns an antag datum instance if the src mind has the specified datum_type. Returns null otherwise.
has_objectivesA quicker version of get_all_objectives() but only for seeing if they have any objectives at all
remove_all_antag_datumsRemoves all antag datums from the src mind.
remove_antag_datumRemove the specified datum_type antag datum from the src mind.
remove_mind_objectiveCompletely 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)

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

teams

A lazy list of all teams the player is part of but doesnt have an antag role for, (i.e. a custom admin team)

Proc Details

add_antag_datum

Create and/or add the datum_type_or_instance antag datum to the src mind.

Arguments:

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:

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:

remove_mind_objective

Completely remove the given objective from the mind, and include antagdatums/teams if remove_from_everything is true