Initial commit

Initial commit
This commit is contained in:
Jaysyn904
2024-09-13 09:10:39 -04:00
parent 09dc8aec92
commit d1c309ae63
8437 changed files with 8727659 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
////////////////////////////////////////////////////////////////////////////////
// Library - Destroy Library Books On Client Enter
// opw_lib_onenter
// By Don Anderson
// dandersonru@msn.com
//
// Place this script in the Client On Enter Event
//
////////////////////////////////////////////////////////////////////////////////
void main()
{
object oPC = GetEnteringObject();
string sBook = "LibraryBook";
//Check For Library Books in Inventory
object oItem = GetFirstItemInInventory(oPC);
string sItem;
while(GetIsObjectValid(oItem))
{
sItem = GetTag(oItem);
if(sItem == sBook) DestroyObject(oItem,0.1);
oItem = GetNextItemInInventory(oPC);
}
}