Modifying bots behavior
Posted: Sat Nov 29, 2025 5:00 pm
Hello! Recently, I've been looking into creating a mod that would tweak bots' behavior a bit. By that I mean for example allowing the player to designate certain bots only to perform a specific task, and so on.
From what I've managed to learn this could potentially be accomplished by manipulating the bot's order queue (to remove tasks that don't match), however it seems like that field is read only.
Is there any other way to do this? Perhaps some kind of a method which would allow me to define a handler doing the filtering on an event call. I sadly didn't manage to find anything in the docs that would help me.
Of course, if the mod API doesn't expose anything like that it's completely okay. I'm not trying to be pushy, rather asking out of curiosity haha
Thanks for the responses.
From what I've managed to learn this could potentially be accomplished by manipulating the bot's order queue (to remove tasks that don't match), however it seems like that field is read only.
Is there any other way to do this? Perhaps some kind of a method which would allow me to define a handler doing the filtering on an event call. I sadly didn't manage to find anything in the docs that would help me.
Of course, if the mod API doesn't expose anything like that it's completely okay. I'm not trying to be pushy, rather asking out of curiosity haha
Thanks for the responses.