#include "nw_i0_tool"
#include "prc_class_const"

void main()
{
    object oPC = GetEnteringObject();
    if (GetIsPC(oPC) == TRUE)
    {
        SendMessageToPC(oPC, "This passage appears to lead out to the far western side of Mount Veth. It would take far too long to try to locate a suitable route back to the village this way.");
        SendMessageToAllDMs(GetName(oPC) + " hears: This passage appears to lead out to the far western side of Mount Veth. It would take far too long to try to locate a suitable route back to the village this way.");

        if(AutoDC(DC_EASY, SKILL_SPOT, oPC))
        {
            SendMessageToPC(oPC, "You see several tracks here.");
            SendMessageToAllDMs(GetName(oPC) + " hears: You see several tracks here.");
            if (GetLevelByClass(CLASS_TYPE_RANGER, oPC) > 0 ||
				GetLevelByClass(CLASS_TYPE_DRUID, oPC) > 0 ||
				GetLevelByClass(CLASS_TYPE_TOTEMIST, oPC) > 0)
            {
                SendMessageToPC(oPC, "You can tell by the tracks that many armored goblins and several worgs have left through this passage within the last day or so.");
                SendMessageToAllDMs(GetName(oPC) + " hears: You can tell by the tracks that many goblins have left through this passage within the last day or so.");
            }
        }
    }
}
