NAME
	state_monster.c - a state monster.

INHERITS
	monster.c (read monster.doc further details)
	friend.c (read friend.doc for further details)

SETUP FUNCTIONS

	add_response
	add_timeout
	add_soul
	set_state
	reset_timeout
	clear_timeout

	set_use_parse_feeling
	set_chat_chance
	add_chat

REMOVE FUNCTIONS

	remove_response
	remove_timeout
	remove_chat

QUERY FUNCTIONS

	query_state
	query_states
	query_timeout
	query_timeouts

SPECIAL PROPERTY
	listen_to_npc : Makes the state_monster listen to chats by NPCs
	speed_chat: Make the monster say the entire chat in one go.

SEE ALSO

	There are elaborate examples in the /example dir.

=======================================================================
NAME
	add_response - add responses to the monster

SYNTAX
	void add_response(string state, string pattern,
			  string response, string new_state)

	void add_response(string state, string pattern,
			  string response, string new_state,
			  string flag, int random, int shots)

	void add_response(string state, string pattern,
			  string response, string new_state,
			  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