adapap / OWScript

Python-like scripting language which transpiles into Overwatch Workshop script rulesets.
MIT License
37 stars 2 forks source link

Generate description from some values #48

Open Bluscream opened 4 years ago

Bluscream commented 4 years ago

Maybe rules with author, version, etc and then a way to set a template for description like

%name% v%version% by %authors%
Some text have fun blabla.
Hotkeys:
%hotkeys%

which will be generated and printed to console or copied to clipboard or saved to file when compiling

MatthewSH commented 4 years ago

I mean, why can't you just make the rules yourself?

With OWScript package I do have this information in a JSON file, and it wouldn't really be hard to slip the rule during the compile process...but I don't know how you'd expect this to be done on the script side...unless it looks for a key through a passed JSON file.

Bluscream commented 4 years ago

I want the compiler to check for that in the json and insert everything automatically and generate the hotkey list from parsed rules