WizardryEE/Module/nss/at_012.nss

20 lines
621 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: FileName at_012
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 07/27/2002 11:29:11 AM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker the items
CreateItemOnObject("chevron", GetPCSpeaker(), 1);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "Amulet of Werdna");
if(GetIsObjectValid(oItemToTake) != 0)
ActionTakeItem(oItemToTake, GetPCSpeaker());
}