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
)
espPath
path to the esp folder insideserver/data
. Default value:custom/esps
useRequiredDataFiles
whether espParser should userequiredDataFiles.json
for the load order. Default value:true
requiredDataFiles
path torequiredDataFiles.json
inside data (or another file if you wish). Default value:requiredDataFiles.json
files
array of files to load ifuseRequiredDataFiles
isfalse
. Default value:[]
loadOnStart
whether espParser should go through all the esp files on server start. Default value:false
espParser_Start(files)
before any files are parsedfiles
list of files to be parsed
espParser_File(file)
at the beginning of each esm/esp filefile
name of the current file
espParser_Record(record, file)
for each recordrecord
a table with the given recordfile
name of the current file
espParser_Finish(files)
after parsing is finishedfiles
list of files to be parsed
espparser
starts the parsing process, same asloadOnStart
does on server start