AI engine is working and I have a little BattleEngine going but the AI is working better than it should in systems.cpp. Need to find out why then make the BattleEngine avoid running entities that have END in action lists.
This commit is contained in:
parent
da273cbee6
commit
47c6bfd531
13 changed files with 131 additions and 27 deletions
|
@ -15,9 +15,6 @@ namespace components {
|
|||
}
|
||||
|
||||
bool Inventory::has_item(size_t at) {
|
||||
dbc::log(
|
||||
fmt::format("requesting item at {}, have {} items in stock",
|
||||
at, items.size()));
|
||||
return at < items.size();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue