// .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(,"");

	add_range_to_group(9950,9956,13);
	set_aggression(30013,50);
	set_crime_tolerance(max_crime);

	add_range_to_group(9963,9967,14);

	set_aggression(9968,60);
	set_aggression(9969,60);
	set_aggression(9970,60);
	set_aggression(9971,60);

	add_range_to_group(9972,9978,15);
	
	set_name(9978,"Virulent Chitrach");
	set_boss_level(9978,1);
	
	set_aggression(30015,50);
	
	if ((gf(94,8) == 1) && (gf(106,1) == 0))
		sf(92,1,0);
	
	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);
