PoA_PRC8/module/nss/gc_is_plotitem.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

25 lines
641 B
Plaintext

/*--------------------------------------------------------
Script Name: gc_is_plotitem
----------------------------------------------------------
Created By: Genisys(Guile)
Created On: 3/03/09
----------------------------------------------------------
This is to stop players from forging plot items..
----------------------------------------------------------*/
int StartingConditional()
{
//Delcare Variables
object oPC = GetPCSpeaker();
int nType = GetLocalInt(oPC, "CRAFT_TYPE");
int nSlot = GetLocalInt(oPC, "CRAFT_SLOT");
object oItem = GetItemInSlot(nSlot, oPC);
if(GetPlotFlag(oItem) == TRUE)
return TRUE;
else
return FALSE;
}