// TOWN SPECIAL ENCOUNTERS
//    Town 22: Aranea Web

beginzonescript;

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

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(,,groupn);

	set_personality_name(440,"Spider");

	set_crime_tolerance(max_crime);

	if (gf(22,10) > 0)
		erase_char(2200);
	if (gf(22,11) > 0)
		erase_char(20012);
	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(2200,"HI!");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(2200,"SHHHHHH!");
	if (get_ran(1,0,100) < 10)
		give_char_text_bubble(2200,"I'm sneaky!!!");

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);

