You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is often the case to avoid boilerplate code i have to call to using inline_scripts to avoid repetitive definitions, especially for stuff life game_concepts, economic categories and so on.
But due to its nature of using interpolation and inlines, the concepts will no be available for autocomplete in localisation, and will show errors.
Would be nice to somehow be able to say that if this inline is called, expect this definitions to exist, maybe by providing a string template for the name, although probably hard. Alternatively maybe just infer new definitions from inlines.... but that might need them to actually be evaluated more thoroughly which seems more complicated (should be doable since technically the parameters are static)
The text was updated successfully, but these errors were encountered:
Indexing definitions (and other things) in inline script files after parameters inlined (if possible)
Provide a way to specify definitions that will be declared in inline scripts / parameters by extended configs (and definition names can be matched by wildcards)
Provide a way to ignore 'unresolved xxx' if related extended config exists (code completion should be already available)
It is often the case to avoid boilerplate code i have to call to using inline_scripts to avoid repetitive definitions, especially for stuff life game_concepts, economic categories and so on.
For example i have the below inline
and it is invoked as
But due to its nature of using interpolation and inlines, the concepts will no be available for autocomplete in localisation, and will show errors.
Would be nice to somehow be able to say that if this inline is called, expect this definitions to exist, maybe by providing a string template for the name, although probably hard. Alternatively maybe just infer new definitions from inlines.... but that might need them to actually be evaluated more thoroughly which seems more complicated (should be doable since technically the parameters are static)
The text was updated successfully, but these errors were encountered: