mind
Vars | |
ambitions | Lazy list for antagonists to set goals they wish to achieve, to be shown at the round-end report. |
---|---|
has_ever_been_ai | has this mind ever been an AI |
original_character | Weakref to the character we spawned in as- either at roundstart or latejoin, so we know for persistent scars if we ended as the same person or not |
skill_holder | Our skill holder. |
special_statuses | A lazy list of statuses to add next to this mind in the traitor panel |
Procs | |
action_skill_mod | Generic value modifier proc that uses one skill. Args: |
auto_gain_experience | Automatic skill increase, multiplied by skill affinity if existing. Only works if skill is numerical or levelled.. |
boost_skill_value_to | Boosts a skill to a value if not aobve |
equip_traitor | |
get_hijack_speed | Sets our can_hijack to the fastest speed our antag datums allow. |
get_skill_affinity | Grabs our affinity for a skill. !!This is a multiplier!! |
get_skill_level | Grabs the level of a skill. Only supported by skills with tiers or levels. |
get_skill_value | Grabs the value of a skill. |
item_action_skills_mod | Generic value modifier proc that uses several skills, intended for items. Args: |
remove_antags_for_borging | Remove the antagonists that should not persist when being borged |
set_skill_value | Sets the value of a skill. |
Var Details
ambitions
Lazy list for antagonists to set goals they wish to achieve, to be shown at the round-end report.
has_ever_been_ai
has this mind ever been an AI
original_character
Weakref to the character we spawned in as- either at roundstart or latejoin, so we know for persistent scars if we ended as the same person or not
skill_holder
Our skill holder.
special_statuses
A lazy list of statuses to add next to this mind in the traitor panel
Proc Details
action_skill_mod
Generic value modifier proc that uses one skill. Args:
- value : the value to modify, may be a delay, damage, probability.
- threshold : The difficulty of the action, in short. Refer to __DEFINES/skills/defines.dm for the defines.
- modifier_is_multiplier : wheter the modifier is a multiplier or a divisor.
auto_gain_experience
Automatic skill increase, multiplied by skill affinity if existing. Only works if skill is numerical or levelled..
boost_skill_value_to
Boosts a skill to a value if not aobve
equip_traitor
give_uplink
A mind proc for giving anyone an uplink. arguments:
- silent: if this should send a message to the mind getting the uplink. traitors do not use this silence, but the silence var on their antag datum.
- antag_datum: the antag datum of the uplink owner, for storing it in antag memory. optional!
get_hijack_speed
Sets our can_hijack to the fastest speed our antag datums allow.
get_skill_affinity
Grabs our affinity for a skill. !!This is a multiplier!!
get_skill_level
Grabs the level of a skill. Only supported by skills with tiers or levels.
get_skill_value
Grabs the value of a skill.
item_action_skills_mod
Generic value modifier proc that uses several skills, intended for items. Args:
- item/I : the item used in this action. its used_skills list variable contains the skills exercised with it.
- value : the value to modify, may be a delay, damage, probability.
- traits : the required traits each skill (either in I.used_skills or the skill datum skill_traits) must have to influence
-
the value.
- bad_traits : the opposite of the above.
- modifier_is_multiplier : wheter the modifier is a multiplier or a divisor.
remove_antags_for_borging
Remove the antagonists that should not persist when being borged
set_skill_value
Sets the value of a skill.