24 lines
634 B
Plaintext
24 lines
634 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName give_okorb
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 2/22/2009 12:55:36 AM
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "okonatilorb");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
|
|
// Give the speaker the items
|
|
CreateItemOnObject("okonatilorb", GetPCSpeaker(), 1);
|
|
|
|
|
|
|
|
|
|
}
|