PoA_PRC8/_module/nss/gc_is_plotitem.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -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;
}