Amon_PRC8/_module/nss/give_okorb.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

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