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

Skilling

Vars

levelDownMessagesList associating different messages that appear on level up with different levels
levelUpMessagesList associating different messages that appear on level up with different levels
modifiersDictionary of modifier type - list of modifiers (indexed by level). 7 entries in each list for all 7 skill levels.
skill_cape_pathList Path pointing to the skill cape reward that will appear when a user finishes leveling up a skill

Procs

Newnew: sets up some lists.
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

levelDownMessages

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

levelUpMessages

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

modifiers

Dictionary of modifier type - list of modifiers (indexed by level). 7 entries in each list for all 7 skill levels.

skill_cape_path

List Path pointing to the skill cape reward that will appear when a user finishes leveling up a skill

Proc Details

New

new: sets up some lists.

Can't happen in the datum's definition because these lists are not constant expressions

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: