// Null Talker v1.0
// nulltalk.txt
// by Kelandon (tomwatts@berkeley.edu), based on nullmonst.txt by Jeff Vogel
//
// This is a creature that just sits still and never does anything. This
// creature can have dialogue, though. This is useful for things that are bound
// or just generally useless but are capable of talking. 
//
// Memory Cells:
//   Cell 0 - Dialogue node to start with if talked to. if left at 0, this
//     character doesn't talk.

begincreaturescript;

variables;

short i,target;

body;

beginstate INIT_STATE;
	set_mobility(ME,0);
	set_level(ME,1);
	break;

beginstate DEAD_STATE;
break;

beginstate START_STATE; 
	set_state(START_STATE);
break;

beginstate 3; // attacking
	set_state(START_STATE);
break;

beginstate TALKING_STATE;
	if (get_memory_cell(0) == 0) {
		print_str("Talking: It doesn't respond.");
		end();
		}
	begin_talk_mode(get_memory_cell(3));
break;