Page 1 of 1

Expose more details about bot targets and charging

Posted: Sat Mar 18, 2023 4:32 pm
by BicycleEater
Add some more variables in the API to expose where a construction drone is trying to reach, and particularly where/whether it is currently trying to recharge.
This is specifically to allow more detailed mod-based playing with how bots behave - I'm trying to experiment with implementing a mod to do better bot routing, and I think I can do it using only things that the game already stores, although that depends what the game stores.
Details and specific requests
I really want to be able to access:
  • Where the bot is currently trying to go (i.e. the ghost it is trying to build, a storage chest, etc.).
  • Whether the bot is currently trying to recharge.
  • Where the bot is trying to recharge (Ideally read/write, and ideally can be written to make the bot try to recharge there immediately, although I'm not sure if this is possible)
I'd also like an event for when a bot has finished recharging, although I don't really mind that as much.