@LabelIndex 139754
@StringIndex 0
class 0 ai_cleft_town_teleporter : citizen {
parameter:
	int	tel_x0 = -1;
	int	tel_y0 = -1;
	int	tel_z0 = -1;
	int	tel_x1 = -1;
	int	tel_y1 = -1;
	int	tel_z1 = -1;
	string	fnHi = "cleft_gate_red001.htm";
	string	fnNotEnoughLevel = "cleft_gate_red002.htm";

handler:
	EventHandler TALKED(talker) {
		myself::ShowPage(talker,fnHi);
	}

	EventHandler TELEPORT_REQUESTED(talker) {
		if( talker.level >= 75 ) {
			myself::InstantTeleport(talker,tel_x1,tel_y1,tel_z1);
		} else {
			myself::ShowPage(talker,fnNotEnoughLevel);
		}
	}

}
