Alangara_PRC8/_module/nss/ldf_isnotweap.nss

9 lines
277 B
Plaintext
Raw Permalink Normal View History

2024-06-05 21:21:06 -04:00
#include "prc_x2_itemprop"
int StartingConditional()
{
object oTarget = GetFirstItemInInventory(GetLocalObject(OBJECT_SELF,"Forge"));
return !(IPGetIsRangedWeapon(oTarget) || IPGetIsMeleeWeapon(oTarget) ||
(GetBaseItemType(oTarget) == BASE_ITEM_GLOVES));
}