generated from Jaysyn/ModuleTemplate
23 lines
699 B
Plaintext
23 lines
699 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Tailoring - Check for Valid Helmet on PC & Model
|
|
//:: Also check to see if helm copying is allowed
|
|
//:: tlr_helmcheck.nss
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Stacy L. Ropella
|
|
//:: from Mandragon's mil_tailor
|
|
//:://////////////////////////////////////////////
|
|
*/
|
|
int StartingConditional()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
if(GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_HEAD, oPC))
|
|
&& GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_HEAD, OBJECT_SELF))
|
|
&& GetLocalInt(OBJECT_SELF, "Helm_Copy") == 1)
|
|
return TRUE;
|
|
|
|
return FALSE;
|
|
}
|