27 lines
656 B
Plaintext
27 lines
656 B
Plaintext
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Olander's Pack Animals
|
|
// opa_chk_haspa
|
|
// By Don Anderson
|
|
// dandersonru@msn.com
|
|
//
|
|
// This script is called from the Pack Animal Merchant Convo.
|
|
//
|
|
// Checks for Pack Animal Ownership
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
object oAnimal = OBJECT_SELF;
|
|
object oMod = GetModule();
|
|
|
|
if(oPC == OBJECT_INVALID) return FALSE;
|
|
|
|
//Player Information
|
|
int nHasPA = GetLocalInt(oPC,"OPA_ANIMALTOTAL");
|
|
if(nHasPA == 1) return TRUE;
|
|
else return FALSE;
|
|
}
|