// TOWN SPECIAL ENCOUNTERS
//    Town 17: Spiral Pit

beginzonescript;

variables;

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

body;

// 1 23456 7 8

beginstate INIT_STATE;
	last_abil = get_current_tick();

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


	set_crime_tolerance(max_crime);

	set_aggression(30001,50);
	set_aggression(30002,50);
	set_aggression(30003,50);
	set_aggression(30004,50);
	set_aggression(30005,50);
	set_aggression(30006,50);
	
	set_name(30006,"Icy Bones");
	set_coloradj(30006,4);
	set_level(30006,18);
	set_new_abil(30006,31);
	set_resistance(30006,6,100);

	set_name(30007,"Terror Wight");
	set_coloradj(30007,2);
	set_level(30007,18);
	set_new_abil(30007,12);
	
	set_name(1741,"Terror Bones");
	set_boss_level(1741,1);
	
	set_aggression(30008,50);
	
	set_name(1700,"Everliving Bones");
	set_name(1701,"Everliving Dead");
	set_name(1702,"Everliving Husk");
	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if ((set_ter == 0) && (gf(17,11) > 0)) {
		set_terrain(0,32,32,0);
		set_floor(0,32,32,11);
		}
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);

