PoA_PRC8/_module/nss/forge_combinechk.nss

16 lines
489 B
Plaintext
Raw Normal View History

/////::///////////////////////////////////////////////
/////:: forge_combinecheck script - check to make sure items in combine are correct
/////:: Written by Winterknight on 2/17/06
/////:://////////////////////////////////////////////
#include "nw_i0_tool"
int StartingConditional()
{
object oForge = GetNearestObjectByTag("forge_combine",OBJECT_SELF,1);
object oItem = GetFirstItemInInventory(oForge);
if (!GetIsObjectValid(oItem))
return TRUE;
return FALSE;
}