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