Rune_PRC8/_module/nss/opa_packbox_t.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

27 lines
670 B
Plaintext

////////////////////////////////////////////////////////////////////////////////
//
// Olander's Pack Animals
// opa_packbox_t
// By Don Anderson
// dandersonru@msn.com
//
// This script is called from the Pack Animal Convo.
//
// Checks for Pack Box on Ground.
//
////////////////////////////////////////////////////////////////////////////////
int StartingConditional()
{
object oPC = GetPCSpeaker();
object oAnimal = OBJECT_SELF;
object oPackBox = GetLocalObject(oAnimal,"PackBox");
int nTransferred = GetLocalInt(oPC,"OPA_TRANSFERRED");
if(GetIsObjectValid(oPackBox) == TRUE && nTransferred == TRUE)
{
return TRUE;
}
else return FALSE;
}