PoA_PRC8/module/nss/getoil.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

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);
}