discipline 
Vars | |
| action_type | What action type this Discipline is connected to |
|---|---|
| all_powers | The typepaths of possible powers for every rank in this Discipline. |
| clan_restricted | If this Discipline is unique to a certain Clan. |
| current_power | The power that is currently in use. |
| desc | Text description of this Discipline. |
| icon | Icon file for this Discipline |
| icon_state | Icon state for this Discipline |
| known_powers | All Discipline powers under this Discipline that the owner knows. Derived from all_powers. |
| level | What rank, or how many dots the caster has in this Discipline. |
| level_casting | What rank of this Discipline is currently being casted. |
| max_selectable_level | Override for the number of selectable levels shown in UI. 0 = derive from all_powers length. this exists because of Thaumaturgy. |
| name | Name of this Discipline. |
| owner | The mob that owns and is using this Discipline. |
| post_gain_applied | If this Discipline has been assigned before and post_gain effects have already been applied. |
| power_type | The root type of the powers this Discipline uses. |
| selectable | If this Discipline can be selected at all, or has special handling. |
| signature_clan | Signature clan that "owns" the discipline. |
Procs | |
| assign | Assigns the Discipline to a mob, setting its owner and applying post_gain effects while also setting up reference cleaning when the owner is destroyed. |
| get_power | Returns a known Discipline power in this Discipline searching by type. |
| post_gain | Applies effects specific to the Discipline to its owner. Also triggers post_gain effects of all known (possessed) powers. Meant to be overridden for modular code. |
| post_loss | Removes effects from it's owner upon loss. |
| set_level | Modifies a Discipline's level, updating its available powers to conform to the new level. This proc will be removed when power loadouts are implemented, but for now it's useful for dynamically adding and removing powers. |
Var Details
action_type 
What action type this Discipline is connected to
all_powers 
The typepaths of possible powers for every rank in this Discipline.
clan_restricted 
If this Discipline is unique to a certain Clan.
current_power 
The power that is currently in use.
desc 
Text description of this Discipline.
icon 
Icon file for this Discipline
icon_state 
Icon state for this Discipline
known_powers 
All Discipline powers under this Discipline that the owner knows. Derived from all_powers.
level 
What rank, or how many dots the caster has in this Discipline.
level_casting 
What rank of this Discipline is currently being casted.
max_selectable_level 
Override for the number of selectable levels shown in UI. 0 = derive from all_powers length. this exists because of Thaumaturgy.
name 
Name of this Discipline.
owner 
The mob that owns and is using this Discipline.
post_gain_applied 
If this Discipline has been assigned before and post_gain effects have already been applied.
power_type 
The root type of the powers this Discipline uses.
selectable 
If this Discipline can be selected at all, or has special handling.
signature_clan 
Signature clan that "owns" the discipline.
Proc Details
assign
Assigns the Discipline to a mob, setting its owner and applying post_gain effects while also setting up reference cleaning when the owner is destroyed.
Arguments:
- owner - the mob to assign the Discipline to
get_power
Returns a known Discipline power in this Discipline searching by type.
Arguments:
- power - the power type to search for
post_gain
Applies effects specific to the Discipline to its owner. Also triggers post_gain effects of all known (possessed) powers. Meant to be overridden for modular code.
post_loss
Removes effects from it's owner upon loss.
set_level
Modifies a Discipline's level, updating its available powers to conform to the new level. This proc will be removed when power loadouts are implemented, but for now it's useful for dynamically adding and removing powers.
Arguments:
- level - the level to set the Discipline as, powers included