3 * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
4 * or any later version. For details on its copyright, license, and warranties,
5 * see the file NOTICE in the root directory of the PlomRogue source package.
7 * Pseudo AI for actor movement.
17 /* Determine next non-player actor command / arguments by the actor's AI. Actors
18 * will look for, and move towards, enemies (animate things not of their own
19 * type); if they see none, they will consume consumables in their inventory; if
20 * there are none, they will pick up any consumables they stand on; if they
21 * stand on none, they will move towards the next consumable they see or
22 * remember on the map; if they see or remember none, they'll explore parts of
23 * the map unseen since ever or for at least one turn; if there is nothing to
24 * explore, they will simply wait.
26 extern void ai(struct Thing * t);