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

Simple CWT Definition not Working #85

Closed
kaiser-chris opened this issue Aug 21, 2024 · 1 comment
Closed

Simple CWT Definition not Working #85

kaiser-chris opened this issue Aug 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kaiser-chris
Copy link

Hi,

I am again using Victoria 3 as an example but this should be reproducable with other games.

This is an example file from the base game that is defined by the CWT below:
gbr - great britain.txt

This the current version of the CWT file in the project of @tboby.
It does not show an error but the file above will not be highlighted and fully ignored by your plugin.

types = {
    type[history_country] = {
        path = "game/common/history/countries"

    }
}

history_country = single_alias_right[effect_clause]

This is a CWT file that was modified by me and works as expected:

types = {
    type[history_country] = {
        path = "game/common/history/countries"
    }
}

history_country = {
    alias_name[effect] = alias_match_left[effect]
}

I tried the originial CWT with the VSCode plugin by @tboby and it worked.
It seems like there is an issue with your CWT parser when the main definition does not have curly braces.

Regards,

Chris

@DragonKnightOfBreeze
Copy link
Owner

Will be resolved in 1.3.19

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

2 participants