/datum/mind
Vars | |
antagonists | A list of every antagonist datum that we have. |
---|---|
cust_notes | stores custom notes set by the player |
damned | If 1, they go to hell when are die |
memory | stores valuable things about the mind's memory |
originalPDA | The PDA that this crewmember started with - for gang PDA messages |
subordinate_antagonists | A list of every antagonist datum subordinate to this mind. |
Procs | |
add_antagonist | Attempts to add the antagonist datum of ID role_id to this mind. |
add_subordinate_antagonist | Attempts to add the subordinate antagonist datum of ID role_id to this mind. |
get_antagonist | Gets an existing antagonist datum of the provided ID role_id. |
get_master | |
is_antagonist | Returns whether this mind is a non-pseudo antagonist. |
on_ticker_add_log | Output of this gets logged when the mind is added to the game ticker |
remove_antagonist | Attempts to remove existing antagonist datums of ID role from this mind, or if provided, a specific instance of an antagonist datum. |
wipe_antagonists | Removes ALL antagonists from this mind. Use with caution! |
Var Details
antagonists
A list of every antagonist datum that we have.
cust_notes
stores custom notes set by the player
damned
If 1, they go to hell when are die
memory
stores valuable things about the mind's memory
originalPDA
The PDA that this crewmember started with - for gang PDA messages
subordinate_antagonists
A list of every antagonist datum subordinate to this mind.
Proc Details
add_antagonist
Attempts to add the antagonist datum of ID role_id to this mind.
add_subordinate_antagonist
Attempts to add the subordinate antagonist datum of ID role_id to this mind.
get_antagonist
Gets an existing antagonist datum of the provided ID role_id.
get_master
- Returns the mind of this mind's master.
- If a specific antagonist role ID is provided, then the master of the antagonist datum of that ID belonging to this mind will be returned.
- If no antagonist role ID is provided, then the master of the newest antagonist datum will be returned.
is_antagonist
Returns whether this mind is a non-pseudo antagonist.
on_ticker_add_log
Output of this gets logged when the mind is added to the game ticker
remove_antagonist
Attempts to remove existing antagonist datums of ID role
from this mind, or if provided, a specific instance of an antagonist datum.
wipe_antagonists
Removes ALL antagonists from this mind. Use with caution!