23 lines
660 B
Plaintext
23 lines
660 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName at_010
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 17/04/2008 22:02:41
|
|
//:://////////////////////////////////////////////
|
|
void main()
|
|
{
|
|
// Give the speaker some gold
|
|
GiveGoldToCreature(GetPCSpeaker(), 100);
|
|
|
|
// Give the speaker some XP
|
|
GiveXPToCreature(GetPCSpeaker(), 250);
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "WitchcraftVol2");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
}
|