25 lines
641 B
Plaintext
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;
|
||
|
|
||
|
}
|