A reworked version of Jakob's espParser
Made for the next tes3mp release, doesn't work with 0.7-alpha
I'm accepting pull requests for the currently unparsed subrecords (look for p.TODO)
espPathpath to the esp folder insideserver/data. Default value:custom/espsuseRequiredDataFileswhether espParser should userequiredDataFiles.jsonfor the load order. Default value:truerequiredDataFilespath torequiredDataFiles.jsoninside data (or another file if you wish). Default value:requiredDataFiles.jsonfilesarray of files to load ifuseRequiredDataFilesisfalse. Default value:[]loadOnStartwhether espParser should go through all the esp files on server start. Default value:false
espParser_Start(files)before any files are parsedfileslist of files to be parsed
espParser_File(file)at the beginning of each esm/esp filefilename of the current file
espParser_Record(record, file)for each recordrecorda table with the given recordfilename of the current file
espParser_Finish(files)after parsing is finishedfileslist of files to be parsed
espparserstarts the parsing process, same asloadOnStartdoes on server start