NWNDS/nwnds_module/at_007.nss

20 lines
625 B
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: FileName at_007
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 7/29/02 2:01:57 AM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker the items
CreateItemOnObject("AR_KEY_BARREL", GetPCSpeaker(), 1);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "AR_KEY_BLUE");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}