Installing with Selindrile - shastaxc/silver-libs GitHub Wiki
Implementing SilverLibs
With Selindrile library now set up, a few more steps must be completed to integrate SilverLibs into your job files:
- Move the
SilverLibs.luafile into thegearswap/libsfolder. - 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 the top of your Charname_Job_Gear.lua file.
silibs = include('SilverLibs')
- 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 move that code to another function as specified. Please add the following:
function extra_user_setup()
silibs.user_setup_hook()
----------- Non-silibs content goes below this line -----------
end