SS1984 - Modules - TypesVar Details - Proc Details

mind

Vars

antag_hudthis mind's antag HUD
antag_hud_icon_statethis mind's ANTAG_HUD should have this icon_state
currentCurrent mob of our mind.
job_objectivesa list of objectives that a player with this job could complete for space credit rewards
nameReplaces mob/var/original_name
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 dead chat messages.

Procs

add_antag_datumCreate and/or add the datum_type_or_instance antag datum to the src mind.
get_all_objectivesGets every objective this mind owns, including all of those from any antag datums they have, and returns them as a list.
has_antag_datumReturns an antag datum instance if the src mind has the specified datum_type. Returns null otherwise.
remove_all_antag_datumsRemoves all antag datums from the src mind.
remove_all_objectivesCompletely remove ALL objectives from the src mind and it's antag datums.
remove_antag_datumRemove the specified datum_type antag datum from the src mind.
remove_objectiveCompletely remove the given objective from the src mind and it's antag datums.

Var Details

antag_hud

this mind's antag HUD

antag_hud_icon_state

this mind's ANTAG_HUD should have this icon_state

current

Current mob of our mind.

job_objectives

a list of objectives that a player with this job could complete for space credit rewards

name

Replaces mob/var/original_name

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 dead chat messages.

Proc Details

add_antag_datum

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

Arguments:

get_all_objectives

Gets every objective this mind owns, including all of those from any antag datums they have, and returns them as a list.

has_antag_datum

Returns an antag datum instance if the src mind has the specified datum_type. Returns null otherwise.

Arguments:

remove_all_antag_datums

Removes all antag datums from the src mind.

Use this over doing QDEL_LIST_CONTENTS(antag_datums).

remove_all_objectives

Completely remove ALL objectives from the src mind and it's antag datums.

remove_antag_datum

Remove the specified datum_type antag datum from the src mind.

Arguments:

remove_objective

Completely remove the given objective from the src mind and it's antag datums.