Added NWN Dark Sun module contents

Added NWN Dark Sun module contents.
This commit is contained in:
Jaysyn904
2021-07-12 21:24:46 -04:00
parent 556224a658
commit de24f81734
10609 changed files with 146652 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
//******************************************************************************
//* stargatish portal script put on_close for dhd
//* written by BWW aka Lord Nikon
//* 12/05/04
//* clears runes out of inventory and gets ready for next use
//******************************************************************************
void main()
{
object oItem = GetFirstItemInInventory(OBJECT_SELF);
object oSelf = OBJECT_SELF;
if (oItem == OBJECT_INVALID) return;
while (oItem != OBJECT_INVALID)
{
DestroyObject(oItem);
oItem = GetNextItemInInventory(OBJECT_SELF);
if (oItem == OBJECT_INVALID) break;
}
//SendMessageToPC(GetFirstPC(),"DONE WITH CLOSE SCRIPT");
}