generated from Jaysyn/ModuleTemplate
15 lines
412 B
Plaintext
15 lines
412 B
Plaintext
//Created by 420 for the CEP
|
|
//Check for a valid cloak in conversation
|
|
//Based on script tlr_color0.nss by Stacy L. Ropella
|
|
int StartingConditional()
|
|
{
|
|
if(GetLocalInt(OBJECT_SELF, "Cloak_Buy") == 0
|
|
&& GetLocalInt(OBJECT_SELF, "Cloak_Copy") == 0)
|
|
return FALSE;
|
|
|
|
if (GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_CLOAK, GetPCSpeaker())))
|
|
return TRUE;
|
|
else
|
|
return FALSE;
|
|
}
|