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

22 lines
619 B
Plaintext

//::///////////////////////////////////////////////
//:: Tailoring - Check for Valid Weapon on NPC
//:: Also check to see if weapon buying is allowed
//:: tlr_weapbuy.nss
//:://////////////////////////////////////////////
/*
//:://////////////////////////////////////////////
//:: Created By: Stacy L. Ropella
//:: from Mandragon's mil_tailor
//:://////////////////////////////////////////////
*/
int StartingConditional()
{
object oModel = OBJECT_SELF;
if(GetIsObjectValid(GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oModel))
&& GetLocalInt(OBJECT_SELF, "Weapon_Buy") == 1)
return TRUE;
return FALSE;
}