// TOWN SPECIAL ENCOUNTERS
//    Town 32: Mancuso

beginzonescript;

variables;

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

body;

beginstate INIT_STATE;
	last_abil = get_current_tick();

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

	set_personality_name(640,"Aristo");
	set_personality_name(641,"Vine");
	set_personality_name(642,"Tokor-Te");
	set_personality_name(643,"Partam");
	set_personality_name(644,"Taho");
	set_personality_name(645,"Aeon");

	set_crime_tolerance(max_crime);

		if (revive_party()) {
			print_str_color("Entering a friendly town heals your wounds",2);
			print_str_color("  and restores your spell energy.",2);
			}
	break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
	if (gf(28,9) > 0) {
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3222,"Hmmm.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3222,"Ah.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3222,"No.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3222,"Yes.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3201,"I will serve you.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3201,"We have clean beds.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3201,"We have drinks.");
		if ((get_ran(1,0,100) < 20) && (gf(32,8) < 2))
			give_char_text_bubble(3220,"We need your help.");
		if ((get_ran(1,0,100) < 20) && (gf(32,8) >= 2))
			give_char_text_bubble(3220,"You have our thanks.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3220,"I can train you.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3220,"Our town crumbles.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3203,"An invader!");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3203,"Where are you, Taho?");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3203,"I'll get you, Taho!");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3203,"I'm hunting!");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3204,"Can't get me.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3204,"I'm too fast.");
		if (get_ran(1,0,100) < 10)
			give_char_text_bubble(3204,"I did see them!");

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

