/tg/ Station 13 - Modules - TypesVar Details - Proc Details

skill

Vars

blurbString, required, Some flavor blurb relating to the skill
earned_byString, optional, how a user can be expected to earn this skill
grants_youString, optional, what this skill generally does to improve the user's abilities
higher_levels_grant_youString, optional, what this skill does to improve the user's abilities at higher levels
level_down_messagesList associating different messages that appear on level up with different levels
level_up_messagesList associating different messages that appear on level up with different levels
modifiersDictionary of modifier type - list of modifiers (indexed by level).
nameString, required, the name of the skill
skill_flagsFlags relating to this skill
skill_item_pathTypepath of skill item reward that will appear when a user finishes leveling up a skill
titleString, required, the title of the skill, e.g. "Surgeon" or "Miner"

Procs

get_skill_modifierGetter for some modifier at a certain level
level_gainedlevel_gained: Gives skill levelup messages to the user
level_lostlevel_lost: See level_gained, same idea but fires on skill level-down
try_skill_rewardtry_skill_reward: Checks to see if a user is eligable for a tangible reward for reaching a certain skill level

Var Details

blurb

String, required, Some flavor blurb relating to the skill

earned_by

String, optional, how a user can be expected to earn this skill

grants_you

String, optional, what this skill generally does to improve the user's abilities

higher_levels_grant_you

String, optional, what this skill does to improve the user's abilities at higher levels

level_down_messages

List associating different messages that appear on level up with different levels

level_up_messages

List associating different messages that appear on level up with different levels

modifiers

Dictionary of modifier type - list of modifiers (indexed by level).

name

String, required, the name of the skill

skill_flags

Flags relating to this skill

skill_item_path

Typepath of skill item reward that will appear when a user finishes leveling up a skill

title

String, required, the title of the skill, e.g. "Surgeon" or "Miner"

Proc Details

get_skill_modifier

Getter for some modifier at a certain level

level_gained

level_gained: Gives skill levelup messages to the user

Only fires if the xp gain isn't silent, so only really useful for messages. Arguments:

level_lost

level_lost: See level_gained, same idea but fires on skill level-down

try_skill_reward

try_skill_reward: Checks to see if a user is eligable for a tangible reward for reaching a certain skill level

Currently gives the user a special cloak when they reach a legendary level at any given skill Arguments: