// TOWN SPECIAL ENCOUNTERS
//    Town 42: Secret Sliths

beginzonescript;

variables;

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

body;

//1234 56789 10

beginstate INIT_STATE;
	last_abil = get_current_tick();

//	set_name(,);
//	add_range_to_group(,,groupn);

	set_name(4213,"Slith Lizardtender");
	set_level(30002,20);
	
	set_name(4231,"Shaman Kerevass");
	set_name(4211,"Mage Ksss'Tha");
	
	set_aggression(30001,75);
	set_aggression(30002,75);
	set_aggression(30003,75);
	set_aggression(30004,75);
	
	set_aggression(30005,60);
	set_aggression(30006,60);
	set_aggression(30007,60);
	set_aggression(30008,60);
	set_aggression(30009,60);


	set_aggression(30010,60);
	set_aggression(30011,75);

	set_name(30010,"Slith Shroomtender");
	set_level(30010,15);
	
	set_name(4250,"Firefang");
	set_boss_level(4250,1);
	set_level(4250,17);
	set_name(4242,"Little Burny");
	set_boss_level(4242,1);
	set_level(4242,17);
	
	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if ((set_ter == 0) && (gf(42,1) > 0)) {
		set_ter = 1;
		kill_object(16865,0);
		kill_object(16866,0);
		kill_object(16867,0);
		set_floor(0,8,11,8);
		set_floor(0,10,11,7);
		set_floor(0,12,11,8);
		set_floor(0,9,13,7);
		set_floor(0,9,15,8);
		set_floor(0,9,17,7);
		}
	if ((set_ter2 == 0) && (gf(42,13) > 0)) {
		set_ter2 = 1;
		set_terrain(0,52,28,0);
		}
break;

beginstate 10;
break;

beginstate 11;
break;

beginstate 12;
break;

beginstate 13;
break;

beginstate 14;
break;

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

