Installing with Mote - shastaxc/silver-libs GitHub Wiki

Integrating SilverLibs with Mote

With Mote library now set up, a few more steps must be completed to integrate SilverLibs into your job files:

  1. Move the SilverLibs.lua file into the gearswap/libs folder.
  2. In your character's global file, add the following to the top. If you don't have a global file, you can add it to your job lua file on the line right after the function job_setup() (inside the function).
silibs = include('SilverLibs')
  1. Add a few lines of code into all of your job luas so that when you enable features, they have the ability to affect your lua as needed. If the specified functions already exist, just put the silibs part inside of it at the beginning or end as specified. Please add the following:
function user_setup()
  silibs.user_setup_hook()
  ----------- Non-silibs content goes below this line -----------
end