20 lines
625 B
Plaintext
20 lines
625 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: 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);
|
||
|
}
|