Well I'm not going to have thousands of them, but I'm kind of a perfectionist type
And I want to get good programming habits. Anyways, I'm going to store those in XML, to be able to change into the new release of profile without affecting those variables (I don't think you can easily pass profile-stored variables to another one). The idea is, those variables will affect a "pool" of response phrases used by the AI, so I think I can either read those from XML to VA directly, then a plugin will access the VA variables, do the math and output to the VA responses string, or read from XML to plugin, do the math and just pass the variables to VA when needed.
I guess my real question is, is there really any difference? If not from performace perspective then from code simplicity, maybe? Thinking of it, the change in the available responses does not have to be immediately accessible, it's just something to have effect in the long run. With that in mind, it might be better to store them within VA while running, for the sake of responsiveness (those precious milliseconds!).
Another, although related, question. Because you seem to be really experienced with VA plugins
In general, if something is doable within VA itself, should I do it with VA commands or pass it to the profile and let VA focus on executing commands? Something tells me that this is dependent on many other factors, but what is.. well, a generally good practice?