@LabelIndex 8014
@StringIndex 0
class 0 castle_blacksmith : citizen {
parameter:
	string	fnMyLord = "gludio_smith001.htm";
	string	fnHi = "gludio_smith002.htm";

handler:
	EventHandler TALKED(talker) {
		if( myself::IsMyLord(talker) || ( myself::HavePledgePower(talker,17) && myself::Castle_GetPledgeId() == talker.pledge_id && talker.pledge_id != 0 ) ) {
			myself::ShowPage(talker,fnMyLord);
		} else {
			myself::ShowPage(talker,fnHi);
		}
	}

}
