Skip to content

Add support for providing an isRequiredMaster function #12

@matortheeternal

Description

@matortheeternal
registerPatcher({
    info: info,
    gameModes: [xelib.gmSSE, xelib.gmTES5],
    settings: {},
    requiredFiles: [],
    getFilesToPatch: function(filenames) {
        return filenames;
    },
    isRequiredMaster: function(plugin) {
        return xelib.HasElement(plugin, 'ARMO');
    }
    execute: (patchFile, helpers, settings, locals) => ({
        initialize: function() {
        },
        process: [{
            load: {
                signature: 'ARMO',
                filter: function(record) {
                  return false;
                }
            },
            patch: function(record) {
            }
        }],
        finalize: function() {
        }
    })
});

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions