PRC8/nwn/nwnprc/trunk/scripts/fdisk_empty_conv.nss
Jaysyn904 d87fe14826 Further file organization
Further file organization
2023-08-23 22:11:00 -04:00

20 lines
447 B
Plaintext

/*
Tenser's Floating Disk script
This will transfer ALL items from the disk's inventory.
Created by: The Amethyst Dragon (www.amethyst-dragon.com/nwn)
Created: June 18, 2008
*/
#include "spinc_fdisk"
void main()
{
object oDisk = OBJECT_SELF;
object oCaster = GetPCSpeaker();
SetLocalInt(oDisk, "bDiskBussy", TRUE);
ActionDoCommand(TransferItems(oDisk, oCaster));
ActionDoCommand(SetLocalInt(oDisk, "bDiskBussy", FALSE));
}