// TOWN SPECIAL ENCOUNTERS
//    Town 107: Black Cube

beginzonescript;

variables;

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

body;

//1

beginstate INIT_STATE;
	last_abil = get_current_tick();

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

	set_name(10709,"Dervish Thron");
	set_boss_level(10709,1);
	set_name(10708,"Impia the Sage");
	set_boss_level(10708,1);


	set_crime_tolerance(max_crime);

	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if ((did_adj == 0) && (char_ok(10711))) {
		did_adj = 1;
		set_name(10711,"Ruby Golem");
		set_coloradj(10711,1);
		add_ability(10711, 10, 200, 0);
		set_name(10704,"Ruby Golem");
		set_coloradj(10704,1);
		add_ability(10704, 10, 200, 0);
		
		set_name(10705,"Emerald Golem");
		set_coloradj(10705,2);
		add_ability(10705, 10, 203, 0);
		set_name(10714,"Emerald Golem");
		set_coloradj(10714,2);
		add_ability(10714, 10, 203, 0);


				}

	if ((gf(107,10) > 0) && (gf(107,11) == 0)) {
		sf(107,11,1);
		ok_dlog(35,3);
		set_spec_item(3,1);
		}
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);

