20 lines
606 B
Plaintext
20 lines
606 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName getoil
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 8/30/2002 3:53:34 PM
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
// Give the speaker the items
|
|
CreateItemOnObject("bottleofblessedo", GetPCSpeaker(), 1);
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "EmptyBottle");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
}
|