NAME
monster.c - a simpler version of the state monster.
INHERITS
simple_monster.c (read simple_monster.doc further details)
friend.c (read friend.doc for further details)
sequence.c (read sequence.doc for more information)
SETUP FUNCTIONS
add_response
add_attack_chat
add_soul
set_use_parse_feeling
REMOVE FUNCTIONS
remove_response
remove_attack_chat
QUERY FUNCTIONS
query_responses
SPECIAL PROPERTIES
listen_to_npc : Makes the monster respond to NPCs.
debug_level: An int representing the debug level of the monster.
SEE ALSO
There are elaborate examples in the /example dir.
=======================================================================
NAME
add_response - add responses to the monster
SYNTAX
void add_response(string pattern,string response)
void add_response(string pattern,string response,
string flag, int random, int shots)
void add_response(string pattern, string response,
int random, int shots)
DESCRIPTION
With this function you add a response. If the matches, the
is executed. Please note that only one (1) is
executed at any time. However if a * Normal matching: