26 lines
729 B
Plaintext
26 lines
729 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName at_013
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 18/04/2008 21:25:22
|
|
//:://////////////////////////////////////////////
|
|
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(), "WitchcraftVol1");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
// Set the variables
|
|
SetLocalInt(GetPCSpeaker(), "iNeedHair", 2);
|
|
|
|
}
|