@LabelIndex 11756
@StringIndex 0
class 0 chief_royal_guard : citizen {
parameter:
	string	fnHi = "sir_tyron001.htm";
	string	fnMyLord = "sir_tyron007.htm";
	string	fnSiegeMyLord = "sir_tyron021.htm";
	string	fnSiegeAnother = "sir_tyron022.htm";

handler:
	EventHandler TALKED(talker) {
		if( myself::IsMyLord(talker) ) {
			if( myself::Castle_IsUnderSiege() ) {
				myself::ShowPage(talker,fnSiegeMyLord);
			} else {
				myself::ShowPage(talker,fnMyLord);
			}
		} else if( myself::Castle_IsUnderSiege() ) {
			myself::ShowPage(talker,fnSiegeAnother);
		} else {
			myself::OpenSiegeInfo(talker);
		}
	}

}
