Skilling
Vars | |
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 |
Procs | |
New | new: sets up some lists. |
level_gained | level_gained: Gives skill levelup messages to the user |
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 |
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:
- mind - The mind that you'll want to send messages
- new_level - The newly gained level. Can check the actual level to give different messages at different levels, see defines in skills.dm
- old_level - Similar to the above, but the level you had before levelling up.
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:
- mind - The mind that you'll want to send messages and rewards to
- new_level - The current level of the user. Used to check if it meets the requirements for a reward