lib.find_file
Definition:
- lib.find_file (filepath, ...) :: nil
Description:
- Attempts to find a file using a variety of path options. This can be useful when you do not want to instantly run lua code with lib.resolve_file (such as using your own method of running the code)
Arguments:
- string filepath: Primary file path to check
- string ...: alternate path(s) to check
Returns:
- string valid_path: First valid path detected
- table all_valid: table containing every valid path detected
Additional notes:
- Split from lib.resolve_file() and added as its own function in LME 3.7.x
- ../ and ../../ are checked for every provided path entry as well, in case the path is being adjusted by the Vendetta Online sandbox