pub fn check(root: &Path) -> Result<(), String>
Checks every script of the mod at root (a .yns on each game version it targets); an error when one has errors.
root
.yns