17 lines
704 B
Plaintext
17 lines
704 B
Plaintext
//////////////////////////////////////////////////////////
|
|
//:: Skill check and start conversation script /////////
|
|
//:: Created By: Mathew Edwards, aka - DCMage /////////
|
|
//:: Created On: 21st July 2003 /////////
|
|
//////////////////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
object oEntered = GetEnteringObject();
|
|
if(GetIsPC(oEntered) && (GetSkillRank(SKILL_SEARCH, oEntered) + d12()>= 16)) // Search Check DC
|
|
{
|
|
SendMessageToPC(oEntered, "Search Skill Check, Success - DC 16");
|
|
ActionStartConversation(oEntered, "swimacross", TRUE, FALSE);
|
|
}
|
|
else
|
|
SendMessageToPC(oEntered, "You can sense something but can't quite grasp what it is");
|
|
}
|