Changed folder name.
Changed folder name.
This commit is contained in:
24
_module/nss/gc_is_plotitem.nss
Normal file
24
_module/nss/gc_is_plotitem.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
/*--------------------------------------------------------
|
||||
|
||||
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;
|
||||
|
||||
}
|
Reference in New Issue
Block a user