Aschbourne_PRC8/_module/nss/ldf_isweapon.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -04:00

9 lines
276 B
Plaintext

#include "x2_inc_itemprop"
int StartingConditional()
{
object oTarget = GetFirstItemInInventory(GetLocalObject(OBJECT_SELF,"Forge"));
return (IPGetIsRangedWeapon(oTarget) || IPGetIsMeleeWeapon(oTarget) ||
(GetBaseItemType(oTarget) == BASE_ITEM_GLOVES));
}