From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 9 Oct 2014 22:27:07 +0000 (+0200)
Subject: Server: Correct AI description.
X-Git-Tag: tce~628
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Btodo.comment%7D%7D?a=commitdiff_plain;h=78351959c331d9c99851c883aabeca3bec9a3535;p=plomrogue

Server: Correct AI description.
---

diff --git a/src/server/ai.h b/src/server/ai.h
index 87b1783..27c1054 100644
--- a/src/server/ai.h
+++ b/src/server/ai.h
@@ -14,9 +14,12 @@ struct Thing;
 
 
 
-/* Determine next non-player actor command / arguments by the actor's AI. It's
- * pretty dumb so far. Actors will try to move towards their path-wise nearest
- * neighbor. If no one else is found in the neighborhood, they will simply wait.
+/* Determine next non-player actor command / arguments by the actor's AI. Actors
+ * will look for, and move towards, enemies (animate things not of their own
+ * type); if they see none, they will consume consumables in their inventory; if
+ * there are none, they will pick up any consumables they stand on; if they
+ * stand on none, they will move towards the next consumable they see or
+ * remember on the map; if they see or remember none, they'll simply wait.
  */
 extern void ai(struct Thing * t);