cherry picks of some betterai BT changes#2504
Conversation
|
Note that this PR does not include a BT action that make bots reload, as I remember that this action required some heavier modifications to work reliably. |
|
I removed the commit that implements |
8478c11 to
74aa70a
Compare
slipher
left a comment
There was a problem hiding this comment.
I see it's been simplified a bit by removing goon barb support. Reducing the scope of the resupply score to a single responsibility (only poison rather than poison + barbs) resolves my concern about getting poison not always being feasible. LGTM
No, there is still barb support: if the bot have no need for poison (because it already have poison), then it still might go (or rather stay) at booster for ammo, this is what I think those commits represent almost all the resupply API I used in betterai, with the only exception of the |
|
I updated the comments as discussed on IRC, and added support for energy resupply near drills, as when I wrote this drills were not able to resupply energy weapons. |
|
LGTM |
This PR cherry picks 3 commits allowing bots to go grab ammo and poison when they need to. Needs to be used by BT to have any impact on gameplay.