Further file organization
Further file organization
This commit is contained in:
30
nwn/nwnprc/trunk/scripts/wol_t_infil.nss
Normal file
30
nwn/nwnprc/trunk/scripts/wol_t_infil.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name Infiltrator test script
|
||||
//:: FileName wol_t_infil
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Persuade 2 ranks
|
||||
Listen 2 ranks
|
||||
Sense Motive 2 ranks
|
||||
*/
|
||||
|
||||
#include "prc_inc_template"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = OBJECT_SELF;
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_CONTINUE);
|
||||
|
||||
if(2 > GetSkillRank(SKILL_PERSUADE, oPC, TRUE))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
if(2 > GetSkillRank(SKILL_LISTEN, oPC, TRUE))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
if(2 > GetSkillRank(SKILL_SENSE_MOTIVE, oPC, TRUE))
|
||||
{
|
||||
SetExecutedScriptReturnValue(X2_EXECUTE_SCRIPT_END);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user