// basicnpc.txt
// A very simple, naive text. Creature attacks anything it hates nearby.
// Once it has won, it returns to its home.
// NPC that doesn't move or do anything
//   Cell 1,2 - Stuff done flag. If both 0, nothing. Otherwise when this is killed, set to 1.

begincreaturescript;

variables;

short i,target;

body;

beginstate INIT_STATE;
	force_char_status(ME,19,8);
	set_level(ME,1);

		place_particle_num(ME,1,12,5);		
		place_particle_num(ME,1,13,5);		
	
	set_walk_speed(ME,0);
	set_combat_activity(ME,2);
	break;

beginstate DEAD_STATE;

break;

beginstate START_STATE; 
	force_char_status(ME,19,8);

break;

beginstate TALKING_STATE;
	begin_talk_mode(12);
break;