Files
HeroesStone_PRC8/_module/nss/horse_closebags.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

26 lines
499 B
Plaintext

//*************************************
// Filename: horse_closebags
/*
Created by Barry_1066
12/12/2006
*/
//*************************************
void main()
{
object oPC = GetPCSpeaker();
object oBag = GetLocalObject(oPC,"PC_Bag");
object oItem = GetFirstItemInInventory(oBag);
while( oItem != OBJECT_INVALID )
{
DestroyObject(oItem);
oItem = GetNextItemInInventory(oBag);
}
DestroyObject(oBag);
DeleteLocalInt(oPC,"PC_Saddle");
}