KoLmafia has built-in support for running and using buffbots, but the latter is quite limited. It currently has a hardcoded list of URLs it checks, each of which point to an XML file detailing the buffs available.
I think it would be much more useful if users could add their own buffbots to KoLmafia without recompiling the entire application. It doesn’t even have to have a UI: a designated folder where users could add new XML files would work fine. Alternatively, such files could be distributed like scripts are now, using SVN, or with raw URLs like the hardcoded buffbots.
I don’t think any of the existing code will have to be overhauled, for the most part. You would just need to replace the hardcoded URLs with something that checks the aforementioned sources for XML files.
I am aware that ASH scripts could be used instead of this, and I am currently doing that myself, but it would be nice to have things like Ode to Booze applied using the clan buffbot when you drink something.
I think it would be much more useful if users could add their own buffbots to KoLmafia without recompiling the entire application. It doesn’t even have to have a UI: a designated folder where users could add new XML files would work fine. Alternatively, such files could be distributed like scripts are now, using SVN, or with raw URLs like the hardcoded buffbots.
I don’t think any of the existing code will have to be overhauled, for the most part. You would just need to replace the hardcoded URLs with something that checks the aforementioned sources for XML files.
I am aware that ASH scripts could be used instead of this, and I am currently doing that myself, but it would be nice to have things like Ode to Booze applied using the clan buffbot when you drink something.