// TOWN SPECIAL ENCOUNTERS
//    Town 24: Blasted Ruins

beginzonescript;

variables;

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

// 1 2 3 4 5 6 7 8 9 10 11


beginstate INIT_STATE;
	last_abil = get_current_tick();

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

	set_aggression(2404,30);
	set_aggression(2470,30);
	set_aggression(2471,30);

	set_level(30001,6);
	set_aggression(30001,40);
	set_aggression(30002,80);
	set_aggression(30003,75);
	set_aggression(30004,50);
	
		set_aggression(2434,50);
		set_aggression(2438,50);
		set_aggression(2439,50);
		set_aggression(2440,50);
		set_aggression(2441,50);
		set_aggression(2442,50);
		set_aggression(2465,50);
		set_aggression(2466,50);

	set_aggression(30005,75);

	set_level(2460,8);
	change_max_health(2460,20);
	set_boss_level(2460,1);
	set_new_abil(2460,20);
	
	set_name(2456,"Chief Yrrmm");
	set_boss_level(2456,1);
	
	set_aggression(30009,75);

	set_level(30011,10);

	sf(24,2,0);
	
	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if ((set_ter == 0) && (gf(24,19) > 0)) {
		set_ter = 1;
		set_terrain(0,38,14,0);
		set_floor(0,38,14,15);
		}
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);

