-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add metadata to force a plugin to load immediately after another #49
Comments
Say we have: - name: B.esp
directly_after: A.esp
- name: C.esp
directly_after: A.esp This would indicate that both Since I would interpret
Simply let the cyclic interaction happen and thus, letting sorting fail if there's a contradiction between the existing hard rules and
I'd say that - name: (A|B)\.esp
directly_after: C.esp
- name: F.esp
directly_after: (D|E)\.esp Example 1 would mean, that both Example 2 would mean, that I'm not seeing, how regex entries should make sense for |
On the other hand, if we had - name: (A|B)\.esp
directly_after: C.esp .. that could work, as long as only one plugin (so either The same would go for Example 2 from above, if both |
Could another approach be to have the file act like it has a lower priority than all other files with overlapping records? A file could be marked to always sort before any other files (in the same group) with overlapping records. It wouldn't be as rigid as the directly after approach, having a fixed position for a file doesn't seem that important, to me at least. But changing sorting behaviour would be useful for some files, unofficial patches for example. I could have used this behaviour for Frost in Fallout 4 masterlist. One of the patches Just a thought anyhow as I've no idea what kind of overhead that would add to sorting. |
Discussed in loot/skyrim#190 and loot/skyrim#245, the idea is to have something like
which has the effect that LOOT will sort B.esp after A.esp with no other plugins between them.
Open Questions
directly_after
be invalid for regex entries? It only makes sense for one match to use the value, but the regex entry may be for a set of exclusive plugins anyway.directly_after
values?after
andreq
entries form a cycle withdirectly_after
?@Kaenguru-Knobel-Kette has noted that it would be good idea to get the opinions of other compatibility patch authors on this, to see if their expectations or use cases differ.
The text was updated successfully, but these errors were encountered: