PoA_PRC8/_module/nss/getoil.nss

20 lines
606 B
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
//::///////////////////////////////////////////////
//:: 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);
}