cwtools-vscode icon indicating copy to clipboard operation
cwtools-vscode copied to clipboard

Suggestion: HOI4 - Add support for scoped loc

Open McOmghall opened this issue 3 years ago • 0 comments

In HOI4 localization of technologies, parties and so on can be customized per tag. When that tag is known in the script itself, for example:

TAG = {
    communist > 0.1
}

Hovering over communist should give you the default name in the loc for the communist party and also the one that's defined for the tag TAG_communist.

Optionally, it'd be great if all this loc could be resolved to all the scoped locs that key can have, say, by right clicking on it.

McOmghall avatar Oct 20 '20 15:10 McOmghall