Files
HeroesStone_PRC8/_module/nss/tlr_clothcheck.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

23 lines
709 B
Plaintext

//::///////////////////////////////////////////////
//:: Tailoring - Check for Valid Clothing on PC & Model
//:: Also check to see if clothing copying is allowed
//:: tlr_clothcheck.nss
//:://////////////////////////////////////////////
/*
//:://////////////////////////////////////////////
//:: Created By: Stacy L. Ropella
//:: from Mandragon's mil_tailor
//:://////////////////////////////////////////////
*/
int StartingConditional()
{
object oPC = GetPCSpeaker();
if(GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_CHEST, oPC))
&& GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_CHEST, OBJECT_SELF))
&& GetLocalInt(OBJECT_SELF, "Cloth_Copy") == 1)
return TRUE;
return FALSE;
}