Can now run the full AI for all combatants and then sort by the action costs to make the action queue.

This commit is contained in:
Zed A. Shaw 2025-11-27 12:46:14 -05:00
parent d244106981
commit b48df3f4db
10 changed files with 104 additions and 59 deletions

View file

@ -82,7 +82,6 @@
"name": "use_healing",
"cost": 1,
"needs": {
"have_item": true,
"have_healing": true,
"health_good": false
},
@ -133,6 +132,7 @@
"kill_enemy",
"collect_items",
"find_healing",
"run_away",
"use_healing"],
"Enemy::actions":
["find_enemy", "run_away", "kill_enemy", "use_healing"]