Added Mine & Caverns raise & lower functionality. Revamped Level 1 events to match PnP. Updated Level 1: Core. Added new Footcatcher trap type. Added Underwater heartbeat to Glop Lake Underwater. Full compile.
20 lines
424 B
Plaintext
20 lines
424 B
Plaintext
//:: Returns true if PC passes a DC 5 search check
|
|
|
|
int StartingConditional()
|
|
{
|
|
//:: Declare major variables
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Check if the player's search skill check is successful against DC 5
|
|
if (GetIsSkillSuccessful(oPC, SKILL_SEARCH, 5))
|
|
{
|
|
//:: Player passed the search check
|
|
return TRUE;
|
|
}
|
|
else
|
|
{
|
|
//:: Player failed the search check
|
|
return FALSE;
|
|
}
|
|
}
|