23 lines
695 B
Plaintext
23 lines
695 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName vamp_recall_rew
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 26/02/2005 2:10:37 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
void main()
|
||
|
{
|
||
|
object sword = GetItemPossessedBy(GetPCSpeaker(), "Vamp_Sword");
|
||
|
SetPlotFlag(sword, FALSE);
|
||
|
DestroyObject(sword);
|
||
|
// Give the speaker some gold
|
||
|
GiveGoldToCreature(GetPCSpeaker(), 100);
|
||
|
|
||
|
// Give the speaker some XP
|
||
|
GiveXPToCreature(GetPCSpeaker(), 200);
|
||
|
|
||
|
// Give the speaker the items
|
||
|
CreateItemOnObject("vamprecall", GetPCSpeaker(), 1);
|
||
|
|
||
|
}
|