cyphesis/rulesets/basic/mind/goals
Erik Ogenvik 0a81e9897f Added a concept of goal "validity".
Calling "is_valid" checks whether the goal actually can be fulfilled.
If it can't be, False is returned.
By default all Goals return True unless a "validity" function is supplied
in the constructor.

For now we only use it for checking whether movement goals can be reached.
2016-06-08 22:03:59 +02:00
..
animal Corrected bugs in code for detecting presence of hook in fish's inventory 2009-08-03 20:44:40 +05:30
common Added a concept of goal "validity". 2016-06-08 22:03:59 +02:00
dynamic Add new goal through the insert_goal method. 2013-09-09 20:05:57 +02:00
humanoid Use Entity Filters for the Welcome goal. 2015-05-02 00:19:38 +02:00
__init__.py 2007-06-18 Al Riddoch <alriddoch@zepler.org> 2007-06-18 17:46:14 +00:00