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

Add New Functionality to Paradox mods #18

Open
parkerokonek opened this issue Sep 14, 2020 · 2 comments
Open

Add New Functionality to Paradox mods #18

parkerokonek opened this issue Sep 14, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@parkerokonek
Copy link
Owner

Allow for stand-alone files in mod structure or in-line commented out code in otherwise typical Paradox mod files that allow for:

  • defining flags/mod presence (DEFINE flag_name, LET a = 0, INCR 0, SET a = 3, etc)
  • Making conditionals based off the presence of these flags or values (IFDEF, IFNDEF, IF, ELSE, NOR, etc)
  • execute regex or uncomment/comment specific strips of code scoped to certain files or folders (REPLACE orthodox heterodox)
@parkerokonek
Copy link
Owner Author

will probably begin lines with commands with ##! as it is sort of a hashbang and shouldn't show up in normal mod files

@parkerokonek
Copy link
Owner Author

All flags, values, and replacements will be done based off of load order and will be done at "compile time" when the patch is generated

@parkerokonek parkerokonek changed the title Add new functionality to Paradox mods Add New Functionality to Paradox mods Oct 10, 2020
@parkerokonek parkerokonek added the enhancement New feature or request label Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant