13 lines
374 B
Plaintext
13 lines
374 B
Plaintext
int StartingConditional()
|
|
{
|
|
// Get the PC who is involved in this conversation
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// The PC must pass a DC 10 disable trap check.
|
|
if ( !GetHasSkill(SKILL_DISABLE_TRAP, oPC) || !GetIsSkillSuccessful(oPC, SKILL_DISABLE_TRAP, 10) )
|
|
return FALSE;
|
|
|
|
// If we make it this far, we have passed all tests.
|
|
return TRUE;
|
|
}
|