// .txt

beginzonescript;

variables;

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

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

//	set_name(,"");
	add_range_to_group(8640,8643,43);
	set_aggression(30043,20);
	
	add_range_to_group(8644,8648,44);
	
	add_range_to_group(8649,8653,45);
	
	add_range_to_group(8654,8658,46);
	set_name(8654,"Horde Warrior");
	set_name(8655,"Horde Warrior");
	set_name(8656,"Horde Scout");
	set_name(8657,"Horde Scout");
	set_name(8658,"Or'Hss of the Horde");
	set_level(8658,23);
	set_boss_level(8658,1);
	if (gf(80,7) > 0)
		erase_char(30046);
	
	set_name(8661,"Infested Rat");
	set_name(8663,"Infested Rat");
	set_name(8665,"Infested Rat");
	set_name(8667,"Infested Rat");
	set_name(8669,"Infested Rat");

	set_name(8672,"Drake Fire Sentinel");
	set_level(8672,30);
	set_boss_level(8672,1);
	set_name(8673,"Drake Fire Sentinel");
	set_level(8673,30);
	set_boss_level(8673,1);
	set_name(8674,"Control Sentinel");
	set_level(8674,30);
	set_boss_level(8674,1);
	

	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;

break;

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

	// if (gf(,) == 0) {
	//if (get_ran(1,0,100) < 10)
	//	give_char_text_bubble(,"");
	//	}

	//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);
