generated from Jaysyn/ModuleTemplate
20 lines
596 B
Plaintext
20 lines
596 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Tailoring - Check for Valid Clothing on Model
|
|
//:: Also check to see if clothing buying is allowed
|
|
//:: tlr_clothbuy.nss
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Stacy L. Ropella
|
|
//:: from Mandragon's mil_tailor
|
|
//:://////////////////////////////////////////////
|
|
*/
|
|
|
|
int StartingConditional()
|
|
{
|
|
if(GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_CHEST, OBJECT_SELF))
|
|
&& GetLocalInt(OBJECT_SELF, "Cloth_Buy") == 1)
|
|
return TRUE;
|
|
return FALSE;
|
|
}
|