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

TFS XML parsing of attacks and defenses which call lua scripts is not supported #7

Closed
soul4soul opened this issue May 3, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@soul4soul
Copy link
Owner

soul4soul commented May 3, 2020

Some creatures spells are too complex for the TFS XML spell system. In order to support complex spells TFS XML monsters supports calling spells written in lua. This is accomplished by adding a spell element with the attribute name "script" and a attribute file which is a path to a lua file. OT monster converter skips parsing these spells.

Adding generic support for these spells would be more difficult then the spells which use the XML spell system. What would be feasible is to parse the information and use it when converting to another TFS monster format that could use lua spells. This would means the spells would be parsed and written in a TFS XML to TFS revscriptsys conversion. The spells would be dropped when converting to non TFS formats.

@soul4soul soul4soul added the bug Something isn't working label May 3, 2020
soul4soul added a commit that referenced this issue Sep 6, 2021
soul4soul added a commit that referenced this issue Sep 9, 2021
soul4soul added a commit that referenced this issue Sep 9, 2021
soul4soul added a commit that referenced this issue Sep 10, 2021
soul4soul added a commit that referenced this issue Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant