Initial commit
Initial commit. Updated release archive.
This commit is contained in:
17
_module/nss/qst_takeitem.nss
Normal file
17
_module/nss/qst_takeitem.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
void main()
|
||||
{
|
||||
int iStep;
|
||||
int iSteps;
|
||||
object oPC;
|
||||
object oItemToTake;
|
||||
string sTag;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
sTag = GetLocalString(oPC,"QuestItem");
|
||||
|
||||
oItemToTake = GetItemPossessedBy(oPC, sTag);
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user