// 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;
	set_name(ME,"Sage Asterios");

	set_walk_speed(ME,0);
	set_combat_activity(ME,2);
	break;

beginstate DEAD_STATE;

break;

beginstate START_STATE; 
	if (get_attitude(ME) >= 10) {
		begin_talk_mode(32);
		}
break;

beginstate TALKING_STATE;
	print_str("Talking: Sage Asterios says, 'It is almost time. Stay");
	print_str("  close to me and be ready to run.'");
break;