// .txt

beginzonescript;

variables;

short im_hostile = 0;
short max_crime = 200;
short last_abil;
short counter = 0;

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

	set_name(16101,"Sergeant Cyrena");
	set_name(16102,"Avernite Private");
	set_name(16103,"Avernite Private");
	set_name(16104,"Avernite Private");
	set_name(16105,"Taddeo");
	set_name(16106,"Haskell");

//	add_range_to_group(,,groupn);

	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;

break;

beginstate START_STATE;
		
	if ((get_crime_level() >= max_crime) && (im_hostile == 0)) {
		sf(149,3,1);
		make_zone_hostile();
		im_hostile = 1;
		}

	 if (gf(149,3) == 0) {
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16101,"Greetings.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16101,"The road is clear.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16101,"Stay on the road.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16105,"Need lessons?");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16105,"I train soldiers.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16105,"Never enough supplies.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16106,"Aaaah!");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16106,"Ouch!");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16106,"Pass me a bandage?");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16106,"Stop boiling over!");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(16106,"Almost ready ...");
		}

	//if (((is_combat()) && (tick_difference(last_abil,get_current_tick()) > 0)) || ((is_group()) && (tick_difference(last_abil,get_current_tick()) > 5))) {
	//	last_abil = get_current_tick();
	//	}
break;

beginstate 10;
break;

beginstate 11;
break;

beginstate 12;
break;

beginstate 13;
break;

//	print_str("");
//	set_terrain_string_range(".",1);
//	set_terrain_string_range("The sign says - .",1);
