San Francisco - Modules - TypesVar Details - Proc Details

discipline

Vars

action_typeWhat action type this Discipline is connected to
all_powersThe typepaths of possible powers for every rank in this Discipline.
clan_restrictedIf this Discipline is unique to a certain Clan.
current_powerThe power that is currently in use.
descText description of this Discipline.
iconIcon file for this Discipline
icon_stateIcon state for this Discipline
known_powersAll Discipline powers under this Discipline that the owner knows. Derived from all_powers.
levelWhat rank, or how many dots the caster has in this Discipline.
level_castingWhat rank of this Discipline is currently being casted.
max_selectable_levelOverride for the number of selectable levels shown in UI. 0 = derive from all_powers length. this exists because of Thaumaturgy.
nameName of this Discipline.
ownerThe mob that owns and is using this Discipline.
post_gain_appliedIf this Discipline has been assigned before and post_gain effects have already been applied.
power_typeThe root type of the powers this Discipline uses.
selectableIf this Discipline can be selected at all, or has special handling.
signature_clanSignature clan that "owns" the discipline.

Procs

assignAssigns 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_powerReturns a known Discipline power in this Discipline searching by type.
post_gainApplies 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_lossRemoves effects from it's owner upon loss.
set_levelModifies 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:

get_power

Returns a known Discipline power in this Discipline searching by type.

Arguments:

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: