// .txt

beginzonescript;

variables;

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

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

//	set_name(,"");

	add_range_to_group(2700,2703,31);
	set_aggression(30031,30);
	set_name(30031,"Negative Mass");
	set_coloradj(30031,128);
	set_new_abil(30031,14);

	add_range_to_group(2704,2708,32);
	set_name(30032,"Slith Skinner");
	set_level(30032,26);
	set_new_abil(30032,20);
	
	set_name(2709,"Horde Gatherer");
	set_name(2710,"Horde Gatherer");
	set_name(2711,"Horde Gatherer");
	set_name(2712,"Horde Gatherer");
	set_aggression(2709,60);
	set_aggression(2710,60);
	set_aggression(2711,60);
	set_aggression(2712,60);
	
	set_name(2713,"Little Scaley");
	set_boss_level(2713,1);
	alter_stat(2713,28,20);

	add_range_to_group(2714,2721,34);
	set_aggression(30034,30);
	set_name(30034,"Thorny Rat");
	set_level(30034,28);
	set_new_abil(30034,8);
	alter_stat(30034,19,12);

	add_range_to_group(2722,2727,33);
	set_level(30033,28);
	set_boss_level(30033,28);
	set_name(30033,"Horde Shock Trooper");
	set_name(2722,"Defender Esseash");
	set_name(2727,"Horde Battle Mage");

	add_range_to_group(2728,2732,35);
	set_aggression(30035,30);
	set_name(2729,"Unholy Servant");
	set_name(2730,"Unholy Servant");
	set_level(2729,28);
	set_level(2730,28);
	set_new_abil(2729,1);
	set_new_abil(2730,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;
	sf(25,0,1);
break;

beginstate 11;
	if (alerted == 0) {
		alerted = 1;
		set_act_at_dist(30035,1);
		alert_char(30035);
		}
break;

beginstate 12;
break;

beginstate 13;
break;

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