RoT2_PRC8/_module/nss/asg_alcdesk_01t.nss
Jaysyn904 499aba4eb3 Initial upload
Initial upload
2023-09-25 18:13:22 -04:00

28 lines
852 B
Plaintext

//::///////////////////////////////////////////////
//:: 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;
}