Skip to content
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

Fix type detection issues #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Xanfre
Copy link

@Xanfre Xanfre commented Nov 14, 2024

Hi, pshjt.

This pull request should correct a couple of small issues with the mod type detection. In particular, some of the Thief-only resource directory names are missing, with the most important of these being "books". More significantly, the resource file detection does not currently work for script files due to a single missing comma, which causes the final two members of the list to be concatenated instead. This can cause some resource mods to be unrecognized despite being valid.

On another note, I see that there is now also a "Script" mod type, though it will seemingly only be applied for SCP due to it supplying the requisite "scriptdata" directory. I did not include this change since this may be intentional, but it would probably make sense to have OSMs and Squirrel scripts be detected using this category rather than as generic resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant