beginscenarioscript;

variables;

body;

// This is the state that is called every time the scenario is loaded,
// even when a save file in the scenario is loaded. Some things that should go here:
//    Names and descriptions of special items.
//    Names and effects of custom special abilities.
beginstate LOAD_SCEN_STATE;
	init_quest(0,"Investigate The Vale","The Empire (no one in particular, just 'The Empire') has asked you to go and find a place called the Vale of Faces. Gauge the strength of its inhabitants and then report back.");
	init_quest(1,"Lie to the Empire","King Smiley has pled with you that when you return to the Empire you lie and tell them just how weak the Faces are. Of course, you could always just tell the truth.");
	init_quest(2,"The Smiley Next Door","A paranoid Frowney Face living at Happy Keep wants you to find out what the Smiley next door is hiding.");
	init_quest(3,"Frowney Camp","A hostile camp of Frowneys to the east of Happy Keep has been causing the Faces trouble. Kill them.");
	init_quest(4,"Capture an Empire Soldier","King Smiley has asked you to go to the Empire Force's camp in a hill to the northeast and capture one of them. Kill the rest.");
	init_quest(5,"Kill Empire Camp","King Smiley has asked you to kill an Empire camp to the northeast.");	init_quest(6,"Kill King Smiley","The captain at the empire camp wants you to kill King Smiley.");
	init_quest(7,"Final Battle","The Empire is sending a huge force, twice the size of the last, to destroy the Vale. You must confront it with what little help the Faces can give.");
	init_special_item(1,"Smiling Key","You were given this key by Captain Frowney. The end of it is a mini brass Smiley. This key will get you into the Keep's stores.");
break;

// This is the state that is called only once at the very beginning of 
// the scenario. Some things that should go here:
//    The stuff in shops.
//    Creating horses and boats.
beginstate START_SCEN_STATE;
	// shop 0- Mage Spells
	add_item_to_shop(0,2000,2);
	add_item_to_shop(0,2002,1);
	add_item_to_shop(0,2003,2);
	add_item_to_shop(0,2006,1);
break;

// This state is called every tick wherever the party is in the scenario.
// You can use the set_state
beginstate START_STATE;

break;

// Place your own states below. Give each a number at least 10.
beginstate 10;
	message_dialog("This book of records describes the history of the Vale of Faces. It describes a war between the Smileys and Frowneys, and then how, after the war, they built a new castle called Happy Keep and lived in harmony.","");
break;
