A library of WeiDU functions.
Either git clone the repo to get the latest version of the source or download the latest release from the sidebar.
For proper usage of the library, two things must be done. First, the global flag AUTO_EVAL_STRINGS must be set at the top of the mod's main .tp2 file:
//Flags.
AUTO_EVAL_STRINGS
Second, the global variable WEIDU_LIBRARY_DIR must be set and point to the path where the libraries are located, e.g.:
//Flags.
AUTO_EVAL_STRINGS
//Preamble.
ALWAYS
//Set library dir.
OUTER_TEXT_SPRINT WEIDU_LIBRARY_DIR "weidu_library/weidu_library"
END
Then, to use any specific component just INCLUDE it, e.g.:
INCLUDE "%WEIDU_LIBRARY_DIR%/spells.tpa"
Consult weidu_library docs for more details.