21 lines
642 B
Plaintext
21 lines
642 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName aw_distroymag
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 11/13/2003 6:54:36 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
|
||
|
|
||
|
// Remove items from the player's inventory
|
||
|
object oItemToTake;
|
||
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "BLADEOFMAGICAL");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
// Give the speaker the items
|
||
|
CreateItemOnObject("essenceofmagical", GetPCSpeaker(), 1);
|
||
|
}
|