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

The tool cannot recognize in-script flag variables (Vic3) #76

Open
HaneulCheong opened this issue Jan 11, 2023 · 0 comments
Open

The tool cannot recognize in-script flag variables (Vic3) #76

HaneulCheong opened this issue Jan 11, 2023 · 0 comments

Comments

@HaneulCheong
Copy link

Environment

Version: 0.10.5

Current Behavior

Within ..\game\common\flag_definitions\00_flag_definitions.txt:

Error in <Hidden for privacy>\Steam\steamapps\common\Victoria
3\game\common\flag_definitions\00_flag_definitions.txt: Ln: 37 Col: 28
@canton_scale_cross_x = @[ ( 333 / coa_width ) + 0.001 ]
                           ^
Expecting: end of input or statement
CW001(CW001)

Expected Behavior

@canton_scale_cross_x = @[ ( 333 / coa_width ) + 0.001 ]

This is a valid way of defining an in-script variable for flags and should not be marked up as an error.

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

No branches or pull requests

1 participant