Autowalker AI now knows when it has items, and knows it should find healing, but it's not working quite yet.

This commit is contained in:
Zed A. Shaw 2025-03-12 13:56:05 -04:00
parent d15c9b12fd
commit 0623170dbc
6 changed files with 97 additions and 49 deletions

View file

@ -148,6 +148,8 @@ TEST_CASE("ai autowalker ai test", "[ai]") {
// health is low, go heal
ai::set(result, "health_good", false);
ai::set(result, "in_combat", false);
ai::set(result, "enemy_found", false);
REQUIRE(!ai::test(result, "health_good"));
auto health_plan = ai::plan("Walker::actions", result, goal);