/datum/xeno_strain

Vars | |
actions_to_add | A list of action typepaths which should be added when a xeno takes the strain. |
---|---|
actions_to_remove | A list of action typepaths which should be removed when a xeno takes the strain. |
behavior_delegate_type | Typepath of the /datum/behavior_delegate to add. |
description | Description to be displayed on purchase. |
flavor_description | (OPTIONAL) Flavor text to be shown on purchase. Semi-OOC |
icon_state_prefix | (OPTIONAL) A custom icon state prefix for xenos who have taken the strain. |
name | The name of the strain. Should be short but informative. |
Procs | |
_add_to_xeno | Add this strain to xeno , replacing their actions and behavior holder. |
apply_strain | Adds any special modifiers/changes from this strain to xeno . |
Var Details
actions_to_add

A list of action typepaths which should be added when a xeno takes the strain.
actions_to_remove

A list of action typepaths which should be removed when a xeno takes the strain.
behavior_delegate_type

Typepath of the /datum/behavior_delegate to add.
description

Description to be displayed on purchase.
flavor_description

(OPTIONAL) Flavor text to be shown on purchase. Semi-OOC
icon_state_prefix

(OPTIONAL) A custom icon state prefix for xenos who have taken the strain.
name

The name of the strain. Should be short but informative.
Proc Details
_add_to_xeno
Add this strain to xeno
, replacing their actions and behavior holder.
Returns a bool indicating if the strain was successfully applied. Override /datum/xeno_strain/proc/apply_strain, not this! (Unless you know what you're doing.)
apply_strain
Adds any special modifiers/changes from this strain to xeno
.
Called when the strain is first added to the player.