Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2024-10-09 14:17:22 -04:00
parent a13073fd78
commit e51634d39b
2354 changed files with 658510 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
void main()
{
object oPC = GetPCSpeaker();
object oItem = GetItemInSlot(INVENTORY_SLOT_HEAD, oPC);
if (GetIsObjectValid(oItem))
{
//ActionUnEquip didn't work, so put a copy in inventory and then destroy the one in the slot
object oCopy = CopyItem(oItem, oPC, TRUE);
DestroyObject(oItem);
}
}