// townscript for town 24: Hidden house

begintownscript;

variables;

int i,j,choice;

body;

beginstate INIT_STATE;
break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
reset_dialog();
add_dialog_str(0,"You find a trapdoor. When you open it a little you see a wooden ladder leading down. Do you want to climb down?",0);
add_dialog_choice(0,"Climb down");
add_dialog_choice(1,"Leave");
choice = run_dialog(0);

	if (choice == 1)
		move_to_new_town(39,6,23);
break;

beginstate 11;
if (get_flag(24,0) == 1)
		end();
	message_dialog("You enter this small house. It was already quite strange to even see a house here, but now that you also see that its quite luxuriously made, you are even more amazed. You wonder if Thralni really lived here.","");
	set_flag(24,0,1);
break;

beginstate 12;
if (get_flag(24,1) == 1)
		end();
	message_dialog("This concealed room has a small trapdoor in it. This could be the place the note in the mine referred to.","");
	set_flag(24,1,1);
break;

beginstate 13;
if (get_flag(24,2) == 1)
		end();
	message_dialog("There is a quite luxurious bedroom in here. You walk to one of the beds and lie in it, thinking: _Thralni really slept in this bed!_","After each of you has lay on the beds, you stand up and leave.");
	set_flag(24,2,1);
break;