Initial Upload
Initial Upload
This commit is contained in:
27
_module/nss/asg_alcdesk_01t.nss
Normal file
27
_module/nss/asg_alcdesk_01t.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName resref
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 2/18/03 2:54:15 AM
|
||||
//:://////////////////////////////////////////////
|
||||
int StartingConditional()
|
||||
{
|
||||
int iResult = TRUE;
|
||||
object oLecturn = GetNearestObjectByTag("ASG_LECTURN",OBJECT_SELF);
|
||||
if (GetIsObjectValid(oLecturn))
|
||||
{
|
||||
// Look for alchemy book
|
||||
object oItem = GetFirstItemInInventory(oLecturn);
|
||||
if (GetIsObjectValid(oItem))
|
||||
{
|
||||
string sTagLeft6 = GetStringLeft(GetTag(oItem),6);
|
||||
if (sTagLeft6=="ASG_MT")
|
||||
{
|
||||
iResult = FALSE;
|
||||
SetCustomToken(1970000,GetName(oItem));
|
||||
}
|
||||
}
|
||||
}
|
||||
return iResult;
|
||||
}
|
Reference in New Issue
Block a user