// Town 47: Possanatheon
begintownscript;

variables;

short choice,i,j,k;
string dlgstr;

body;

beginstate INIT_STATE;
	set_crime_tolerance(2);
	
	set_name(54,"Rakhthoss");
	set_name(55,"Thakta");
	set_name(56,"Librarian");
	
	if (get_flag(47,0) == 0) {
		force_instant_terrain_redraw();
		set_flag(47,0,1);
		message_dialog("You enter the castle of the slith god Possanathoss, Possanatheon. Several of your escorts run ahead to speak with the lord of the castle, the god himself, to introduce you and ready him for your presence.","After a short wait, one of them returns. _The lord Possanathoss will see you now,_ he says. You are now able to meet with the god.");
		}
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
	if (get_flag(47,1) == 0) {
		set_flag(47,1,1);
		message_dialog("You step out into the central grassy area of Possanatheon, and you observe for a moment the greenery. It has been a long time since you have seen a garden or such a variety of trees, or a beautiful river.","Children play with the animals on the island, and the adults harvest the crops, doing in death what they did in life. This is the way of the afterlife: those who farmed, farm; those who fought, fight; those who studied, study; and those who ruled, rule.");
		}
break;

beginstate 11;
	if (get_flag(47,2) == 0) {
		set_flag(47,2,1);
		message_dialog("Here the revels commence for harvest times and feasting. Just as, in life, peasants in the slith homeland enjoyed many holidays from their otherwise back-breaking labor, dedicated to some god or other, in death they have the same celebrations.","Indeed, here, where there are no poor harvests or scarce years, the celebrations are more frequent and more joyful. This, then, is the reward for a good, humble life: a continuing, good, humble afterlife.");
		}
break;

beginstate 12;
	if (get_flag(47,3) == 0) {
		set_flag(47,3,1);
		message_dialog("In this room, many people wait for the attention of the lord of the castle. These people were courtiers in life, perhaps flatterers and hangers-on, but decent and honest ones, to have ended up here. The worse ended up elsewhere.","Some of them eye you irritatedly. They must know that you've been granted immediate permission to see the lord, even though they have to wait.");
		}
break;

beginstate 13;
	if (get_flag(47,4) == 0) {
		set_flag(47,4,1);
		message_dialog("Here is a small library for the common folks in Possanatheon. All here in the castle of one of the main gods of learning must be literate, so these works are for the everyday people.","You note works on the shelves such as the didactic poems and the pastorals were popular among farmers in the homeland. Few here are of great literary ambition; those must be in another library in this castle.");
		}
break;

beginstate 14;
	if (get_flag(47,5) == 0) {
		set_flag(47,5,1);
		message_dialog("You enter the enormous throne room of Possanathoss.  _Welcome!_ booms a voice from the other end of the hall. _Long has it been since mortals walked these halls,_ he says, _since living visitors have had the power and fortitude to come here._","He motions you forward. _Come, let us speak._");
		}
break;