Skip to content

Sorting doesn't account for plugin hoisting #44

Description

@Ortham

Plugin hoisting occurs when a master plugin has a non-master plugin as a master. In this case, the game will load the non-master immediately before the earliest master that depends on it (or between it and the previous master if there are multiple non-masters to hoist).

In this scenario, LOOT will encounter a cyclic interaction error as it tries to enforce both the masters-load-before-non-masters rule, and the plugin-masters-before-plugin rule. While this is an edge case, LOOT shouldn't error out unnecessarily.

Supporting this will require updating to libloadorder 12, which introduces support for plugin hoisting and requires that edits to the load order represent the hoisting that the game would otherwise do at runtime.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions